fix(world-vercel): include runId in streams.get() request URL - #1676

Merged
TooTallNate merged 2 commits into
mainfrom
fix/stream-get-runid
Apr 10, 2026
Merged

fix(world-vercel): include runId in streams.get() request URL#1676
TooTallNate merged 2 commits into
mainfrom
fix/stream-get-runid

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Fix streams.get() in @workflow/world-vercel to pass runId through to getStreamUrl() instead of hardcoding undefined, which was causing all stream read requests to hit /api/v2/stream/:streamId instead of /api/v2/runs/:runId/stream/:streamId
  • Remove the fallback code path in getStreamUrl() that allowed omitting runId — the parameter is now required as string (was string | undefined)

The health check case is unaffected since it already generates a synthetic runId via generateHealthCheckRunId() — the bug was just that get() was discarding it.

CopilotAI review requested due to automatic review settings April 9, 2026 22:28
@TooTallNate
TooTallNate requested a review from a team as a code ownerApril 9, 2026 22:28
@vercel

vercelBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production923067990
✅ 💻 Local Development89801821080
✅ 📦 Local Production89801821080
✅ 🐘 Local Postgres89801821080
✅ 🪟 Windows820890
❌ 🌍 Community Worlds1337424231
✅ 📋 Other228042270
Total4060746874821

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H

turso (60 failed):

  • addTenWorkflow | wrun_01KNTA3FYJFG1NHVFKDVJXC04N
  • addTenWorkflow | wrun_01KNTA3FYJFG1NHVFKDVJXC04N
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNTA5NH00QTWJWV6ZJDVBMHN
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNTA3R3X9QTX85H2731MZWNT
  • promiseRaceWorkflow | wrun_01KNTA3WCJC5V0GPRJM7A65DGZ
  • promiseAnyWorkflow | wrun_01KNTA3YNDGV4KMNSM17J7NE11
  • importedStepOnlyWorkflow | wrun_01KNTA60Z6DMGTEG23HV6R8MBV
  • hookWorkflow | wrun_01KNTA4AR4AEFFWEHG71KZ7T17
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • sleepingWorkflow | wrun_01KNTA56GV5Y3SHV4RAJQYA9SW
  • parallelSleepWorkflow | wrun_01KNTA5KV543XRHY4CQ82P0D35
  • nullByteWorkflow | wrun_01KNTA5QQVR6XAHEMJAMRBEVBW
  • workflowAndStepMetadataWorkflow | wrun_01KNTA5T1ZSWRMTY0QKN9PZMXV
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • promiseRaceStressTestWorkflow | wrun_01KNTA8R7MQWR6P8072F7EDEHH
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KNTACCSGK9D7W1B06794X8WC
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNTADQXC9HPY87E5XZGG0H0D
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNTAECCHXTK520P2Z0QG9DNE
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNTAENWAHX7VTBXHN533VSXS
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNTAEY1YHBRHZHWWC5BX95WC
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNTAF0C2F0KSGM3AKZDPG4KW
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KNTAFBTEQFTMD4K32SDW97VQ
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNTAFV65AZS4WSHDGRK97WHB
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNTAG116N27FV05KPVKPVP1H
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNTAG8AB55F3Z6ZC0275RWSS
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNTAGPDDR47GJVQYW6HTG17C
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNTAGXPRRX0JS0XSQXWQZN3X
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNTAH4JKNVAEM1E7ZK7SPXZN
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNTAHBKY906ETP9F0DQEW95N
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNTAHQJM1E550YWTB21G8RVH
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNTAHZ59ZYB36SCN6MNCSSH9
  • cancelRun - cancelling a running workflow | wrun_01KNTAJ61NAN401E3HVCQTA023
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNTAJFGW9RF21X89P0CGE77Z
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNTAJVS2757P94RSA05QGB5N
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNTAKJFM2VGBVEGXMYWFZDBD
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNTAKY9BZ5SNJ4JY8QWE7Q6C
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNTAM5QFHYE69C1QCWFZRKWG
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KNTAM8KR0AT97WTPP447V2GP
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KNTAMEPZB3206M692NTYHWEG

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8307
✅ example8307
✅ express8307
✅ fastify8307
✅ hono8307
✅ nextjs-turbopack8802
✅ nextjs-webpack8802
✅ nitro8307
✅ nuxt8307
✅ sveltekit8307
✅ vite8307
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack8208
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev600
❌ mongodb5678
✅ redis-dev600
❌ redis5678
✅ turso-dev600
❌ turso3608
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable76014
✅ e2e-local-postgres-nest-stable76014
✅ e2e-local-prod-nest-stable76014

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.036s (+0.8%)1.005s (~)0.968s101.00x
💻 LocalExpress0.051s (+44.6% 🔺)1.005s (~)0.954s101.39x
🐘 PostgresExpress0.058s (-19.6% 🟢)1.010s (-1.0%)0.952s101.60x
🐘 PostgresNitro0.062s (+1.5%)1.010s (~)0.948s101.70x
workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.094s (-0.6%)2.005s (~)0.911s101.00x
💻 LocalExpress1.126s (+2.5%)2.006s (~)0.880s101.03x
🐘 PostgresNitro1.142s (~)2.010s (~)0.867s101.04x
🐘 PostgresExpress1.151s (~)2.009s (~)0.858s101.05x
workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.630s (~)11.022s (~)0.391s31.00x
🐘 PostgresExpress10.906s (-0.7%)11.023s (-2.9%)0.118s31.03x
💻 LocalExpress10.927s (+2.5%)11.023s (~)0.096s31.03x
🐘 PostgresNitro10.932s (+0.6%)11.021s (~)0.088s31.03x
workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro14.241s (~)15.028s (~)0.788s41.00x
🐘 PostgresExpress14.480s (-0.9%)15.026s (~)0.546s41.02x
🐘 PostgresNitro14.550s (~)15.023s (~)0.472s41.02x
💻 LocalExpress14.973s (+5.1% 🔺)15.278s (+1.7%)0.306s41.05x
workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.862s (-3.3%)14.163s (-5.8% 🟢)0.301s71.00x
🐘 PostgresNitro13.959s (~)14.163s (+1.0%)0.204s71.01x
💻 LocalNitro14.934s (~)15.195s (-1.1%)0.261s61.08x
💻 LocalExpress16.532s (+10.9% 🔺)17.030s (+13.3% 🔺)0.497s61.19x
Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.254s (-3.0%)2.009s (~)0.755s151.00x
🐘 PostgresNitro1.266s (~)2.011s (~)0.745s151.01x
💻 LocalNitro1.455s (-1.4%)2.005s (~)0.549s151.16x
💻 LocalExpress1.514s (+3.8%)2.006s (~)0.492s151.21x
Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.330s (~)3.009s (~)0.679s101.00x
🐘 PostgresExpress2.355s (~)3.010s (~)0.655s101.01x
💻 LocalNitro2.507s (-2.1%)3.007s (~)0.500s101.08x
💻 LocalExpress2.910s (+2.4%)3.208s (+3.2%)0.298s101.25x
Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.476s (~)4.010s (~)0.534s81.00x
🐘 PostgresNitro3.481s (+0.8%)4.011s (~)0.530s81.00x
💻 LocalNitro6.687s (-3.7%)7.016s (-6.6% 🟢)0.329s51.92x
💻 LocalExpress8.174s (+15.3% 🔺)9.019s (+12.5% 🔺)0.845s42.35x
Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.247s (-0.7%)2.007s (~)0.760s151.00x
🐘 PostgresNitro1.256s (~)2.009s (~)0.753s151.01x
💻 LocalNitro1.481s (-2.4%)2.005s (~)0.524s151.19x
💻 LocalExpress1.537s (+4.4%)2.006s (~)0.469s151.23x
Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.344s (~)3.010s (~)0.667s101.00x
🐘 PostgresNitro2.352s (+0.9%)3.010s (~)0.658s101.00x
💻 LocalNitro2.673s (-3.4%)3.007s (-3.3%)0.335s101.14x
💻 LocalExpress3.125s (+15.9% 🔺)4.010s (+33.4% 🔺)0.885s81.33x
Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.474s (~)4.009s (~)0.535s81.00x
🐘 PostgresNitro3.494s (~)4.011s (~)0.517s81.01x
💻 LocalNitro7.321s (-1.7%)8.017s (~)0.696s42.11x
💻 LocalExpress8.747s (+14.4% 🔺)9.021s (+12.5% 🔺)0.274s42.52x
workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.686s (-1.3%)1.004s (~)0.318s601.00x
🐘 PostgresExpress0.795s (-6.1% 🟢)1.006s (-1.7%)0.211s601.16x
🐘 PostgresNitro0.827s (+1.4%)1.023s (~)0.196s591.21x
💻 LocalExpress0.981s (+37.9% 🔺)1.158s (+13.4% 🔺)0.177s521.43x
workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.874s (-10.1% 🟢)2.029s (-31.1% 🟢)0.156s451.00x
🐘 PostgresNitro1.955s (+1.3%)2.258s (+7.5% 🔺)0.302s401.04x
💻 LocalNitro2.233s (-1.2%)3.008s (~)0.775s301.19x
💻 LocalExpress3.042s (+34.7% 🔺)3.586s (+19.2% 🔺)0.544s261.62x
workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.821s (-7.2% 🟢)4.043s (-17.4% 🟢)0.222s301.00x
🐘 PostgresNitro4.048s (+4.4%)4.403s (+7.1% 🔺)0.355s281.06x
💻 LocalNitro7.287s (-0.9%)8.014s (~)0.727s151.91x
💻 LocalExpress9.357s (+27.7% 🔺)9.941s (+24.0% 🔺)0.584s132.45x
workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.280s (-2.7%)1.007s (~)0.727s601.00x
🐘 PostgresExpress0.286s (~)1.007s (~)0.721s601.02x
💻 LocalNitro0.564s (~)1.021s (+1.7%)0.457s592.02x
💻 LocalExpress0.592s (-0.9%)1.005s (-1.6%)0.412s602.12x
workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.486s (-1.6%)1.006s (~)0.520s901.00x
🐘 PostgresNitro0.495s (-1.9%)1.006s (~)0.511s901.02x
💻 LocalNitro2.333s (-4.0%)3.007s (~)0.674s304.80x
💻 LocalExpress2.586s (+5.0% 🔺)3.009s (~)0.423s305.32x
workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.780s (-2.7%)1.007s (~)0.227s1201.00x
🐘 PostgresExpress0.783s (-3.6%)1.016s (~)0.233s1191.00x
💻 LocalNitro9.939s (-3.7%)10.691s (-2.2%)0.752s1212.74x
💻 LocalExpress11.201s (+5.8% 🔺)11.845s (+7.5% 🔺)0.644s1114.35x
Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.142s (~)1.004s (~)0.010s (-4.0%)1.015s (~)0.873s101.00x
🐘 PostgresExpress0.199s (-7.8% 🟢)0.994s (~)0.002s (-6.3% 🟢)1.009s (~)0.811s101.40x
💻 LocalExpress0.203s (+43.8% 🔺)1.004s (~)0.012s (+24.5% 🔺)1.018s (~)0.815s101.43x
🐘 PostgresNitro0.214s (~)0.992s (~)0.001s (~)1.011s (~)0.797s101.51x
stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.567s (-1.9%)1.012s (~)0.008s (-14.9% 🟢)1.022s (~)0.455s591.00x
🐘 PostgresExpress0.589s (-8.2% 🟢)1.004s (~)0.004s (-2.4%)1.022s (~)0.433s591.04x
🐘 PostgresNitro0.618s (~)1.004s (~)0.004s (+0.9%)1.022s (~)0.404s591.09x
💻 LocalExpress0.787s (+18.0% 🔺)1.013s (~)0.011s (+14.3% 🔺)1.025s (-8.0% 🟢)0.238s591.39x
10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.922s (-5.9% 🟢)1.171s (-2.3%)0.000s (+292.2% 🔺)1.184s (-2.7%)0.262s511.00x
🐘 PostgresNitro0.951s (-2.9%)1.127s (-11.7% 🟢)0.000s (+30.2% 🔺)1.140s (-12.8% 🟢)0.189s531.03x
💻 LocalNitro1.141s (-3.4%)2.019s (~)0.000s (-20.0% 🟢)2.021s (~)0.880s301.24x
💻 LocalExpress1.251s (+6.0% 🔺)2.022s (~)0.001s (+88.9% 🔺)2.024s (~)0.773s301.36x
fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.716s (-1.3%)2.102s (-1.8%)0.000s (-3.4%)2.129s (-1.1%)0.413s291.00x
🐘 PostgresExpress1.792s (+1.4%)2.173s (+1.6%)0.000s (+3.6%)2.206s (+2.7%)0.415s281.04x
💻 LocalNitro3.470s (-7.7% 🟢)4.099s (-1.6%)0.001s (+40.0% 🔺)4.102s (-1.6%)0.632s152.02x
💻 LocalExpress3.525s (~)4.101s (+1.7%)0.001s (+166.7% 🔺)4.103s (+1.8%)0.578s152.05x

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro21/21
🐘 PostgresExpress16/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres19/21
Nitro🐘 Postgres14/21
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

  • Local: success
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

@changeset-bot

changeset-botBot commented Apr 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 221e1b0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 17 packages
NameType
@workflow/world-vercelPatch
@workflow/cliPatch
@workflow/corePatch
workflowPatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/aiPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes @workflow/world-vercel stream reads by ensuring streams.get() includes the runId in the generated request URL, aligning the client with the /v2/runs/:runId/stream/:streamId endpoint shape.

Changes:

  • Make getStreamUrl() require runId: string and remove the no-runId fallback URL shape.
  • Fix streams.get() to pass through its runId parameter instead of discarding it.
  • Add a changeset for a patch release of @workflow/world-vercel.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

FileDescription
packages/world-vercel/src/streamer.tsCorrects stream read URL construction to include runId and removes legacy fallback path.
.changeset/fix-stream-get-runid.mdAnnounces a patch release documenting the bug fix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment threadpackages/world-vercel/src/streamer.ts
streams.get() was ignoring the runId parameter and hardcoding undefined,
causing requests to hit /api/v2/stream/:streamId instead of the correct
/api/v2/runs/:runId/stream/:streamId. Also removes the fallback path in
getStreamUrl() that allowed omitting runId.
@TooTallNate
TooTallNateforce-pushed the fix/stream-get-runid branch from 3a747ef to 221e1b0CompareApril 9, 2026 23:42
@TooTallNate
TooTallNate enabled auto-merge (squash) April 10, 2026 00:33
@TooTallNate
TooTallNate merged commit 68cf25e into mainApr 10, 2026
160 of 166 checks passed
@TooTallNate
TooTallNate deleted the fix/stream-get-runid branch April 10, 2026 00:39
@ghostghost mentioned this pull request Apr 10, 2026
@TooTallNateTooTallNate added the backport-stable Cherry-pick this PR to the stable branch when merged label Apr 10, 2026
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick could not be applied cleanly.

To resolve manually:

git fetch origin stable
git checkout stable
git cherry-pick 68cf25e83bdc8bf912fb30cb8f9ba4cb9a30f087
# Fix conflicts, then:
git cherry-pick --continue
git push origin stable

@VaguelySeriousVaguelySerious added backport-stable Cherry-pick this PR to the stable branch when merged and removed backport-stable Cherry-pick this PR to the stable branch when merged labels Apr 15, 2026
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick could not be applied cleanly.

To resolve manually:

git fetch origin stable
git checkout stable
git cherry-pick 68cf25e83bdc8bf912fb30cb8f9ba4cb9a30f087
# Fix conflicts, then:
git cherry-pick --continue
git push origin stable

ghost pushed a commit that referenced this pull request Apr 15, 2026
* fix(world-vercel): include runId in streams.get() request URL
streams.get() was ignoring the runId parameter and hardcoding undefined,
causing requests to hit /api/v2/stream/:streamId instead of the correct
/api/v2/runs/:runId/stream/:streamId. Also removes the fallback path in
getStreamUrl() that allowed omitting runId.
* test(world-vercel): add regression test for streams.get() runId in URL
@ghost

Copy link
Copy Markdown

Cherry-pick to stable had conflicts that were resolved by AI. Please review the backport PR: #1757

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-stableCherry-pick this PR to the stable branch when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

fix(world-vercel): include runId in streams.get() request URL - #1676

Merged
TooTallNate merged 2 commits into
mainfrom
fix/stream-get-runid
Apr 10, 2026
Merged

fix(world-vercel): include runId in streams.get() request URL#1676
TooTallNate merged 2 commits into
mainfrom
fix/stream-get-runid

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Fix streams.get() in @workflow/world-vercel to pass runId through to getStreamUrl() instead of hardcoding undefined, which was causing all stream read requests to hit /api/v2/stream/:streamId instead of /api/v2/runs/:runId/stream/:streamId
  • Remove the fallback code path in getStreamUrl() that allowed omitting runId — the parameter is now required as string (was string | undefined)

The health check case is unaffected since it already generates a synthetic runId via generateHealthCheckRunId() — the bug was just that get() was discarding it.

CopilotAI review requested due to automatic review settings April 9, 2026 22:28
@TooTallNate
TooTallNate requested a review from a team as a code ownerApril 9, 2026 22:28
@vercel

vercelBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production923067990
✅ 💻 Local Development89801821080
✅ 📦 Local Production89801821080
✅ 🐘 Local Postgres89801821080
✅ 🪟 Windows820890
❌ 🌍 Community Worlds1337424231
✅ 📋 Other228042270
Total4060746874821

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H

turso (60 failed):

  • addTenWorkflow | wrun_01KNTA3FYJFG1NHVFKDVJXC04N
  • addTenWorkflow | wrun_01KNTA3FYJFG1NHVFKDVJXC04N
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNTA5NH00QTWJWV6ZJDVBMHN
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNTA3R3X9QTX85H2731MZWNT
  • promiseRaceWorkflow | wrun_01KNTA3WCJC5V0GPRJM7A65DGZ
  • promiseAnyWorkflow | wrun_01KNTA3YNDGV4KMNSM17J7NE11
  • importedStepOnlyWorkflow | wrun_01KNTA60Z6DMGTEG23HV6R8MBV
  • hookWorkflow | wrun_01KNTA4AR4AEFFWEHG71KZ7T17
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • sleepingWorkflow | wrun_01KNTA56GV5Y3SHV4RAJQYA9SW
  • parallelSleepWorkflow | wrun_01KNTA5KV543XRHY4CQ82P0D35
  • nullByteWorkflow | wrun_01KNTA5QQVR6XAHEMJAMRBEVBW
  • workflowAndStepMetadataWorkflow | wrun_01KNTA5T1ZSWRMTY0QKN9PZMXV
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • promiseRaceStressTestWorkflow | wrun_01KNTA8R7MQWR6P8072F7EDEHH
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KNTACCSGK9D7W1B06794X8WC
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNTADQXC9HPY87E5XZGG0H0D
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNTAECCHXTK520P2Z0QG9DNE
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNTAENWAHX7VTBXHN533VSXS
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNTAEY1YHBRHZHWWC5BX95WC
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNTAF0C2F0KSGM3AKZDPG4KW
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KNTAFBTEQFTMD4K32SDW97VQ
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNTAFV65AZS4WSHDGRK97WHB
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNTAG116N27FV05KPVKPVP1H
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNTAG8AB55F3Z6ZC0275RWSS
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNTAGPDDR47GJVQYW6HTG17C
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNTAGXPRRX0JS0XSQXWQZN3X
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNTAH4JKNVAEM1E7ZK7SPXZN
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNTAHBKY906ETP9F0DQEW95N
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNTAHQJM1E550YWTB21G8RVH
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNTAHZ59ZYB36SCN6MNCSSH9
  • cancelRun - cancelling a running workflow | wrun_01KNTAJ61NAN401E3HVCQTA023
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNTAJFGW9RF21X89P0CGE77Z
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNTAJVS2757P94RSA05QGB5N
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNTAKJFM2VGBVEGXMYWFZDBD
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNTAKY9BZ5SNJ4JY8QWE7Q6C
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNTAM5QFHYE69C1QCWFZRKWG
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KNTAM8KR0AT97WTPP447V2GP
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KNTAMEPZB3206M692NTYHWEG

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8307
✅ example8307
✅ express8307
✅ fastify8307
✅ hono8307
✅ nextjs-turbopack8802
✅ nextjs-webpack8802
✅ nitro8307
✅ nuxt8307
✅ sveltekit8307
✅ vite8307
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack8208
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev600
❌ mongodb5678
✅ redis-dev600
❌ redis5678
✅ turso-dev600
❌ turso3608
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable76014
✅ e2e-local-postgres-nest-stable76014
✅ e2e-local-prod-nest-stable76014

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.036s (+0.8%)1.005s (~)0.968s101.00x
💻 LocalExpress0.051s (+44.6% 🔺)1.005s (~)0.954s101.39x
🐘 PostgresExpress0.058s (-19.6% 🟢)1.010s (-1.0%)0.952s101.60x
🐘 PostgresNitro0.062s (+1.5%)1.010s (~)0.948s101.70x
workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.094s (-0.6%)2.005s (~)0.911s101.00x
💻 LocalExpress1.126s (+2.5%)2.006s (~)0.880s101.03x
🐘 PostgresNitro1.142s (~)2.010s (~)0.867s101.04x
🐘 PostgresExpress1.151s (~)2.009s (~)0.858s101.05x
workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.630s (~)11.022s (~)0.391s31.00x
🐘 PostgresExpress10.906s (-0.7%)11.023s (-2.9%)0.118s31.03x
💻 LocalExpress10.927s (+2.5%)11.023s (~)0.096s31.03x
🐘 PostgresNitro10.932s (+0.6%)11.021s (~)0.088s31.03x
workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro14.241s (~)15.028s (~)0.788s41.00x
🐘 PostgresExpress14.480s (-0.9%)15.026s (~)0.546s41.02x
🐘 PostgresNitro14.550s (~)15.023s (~)0.472s41.02x
💻 LocalExpress14.973s (+5.1% 🔺)15.278s (+1.7%)0.306s41.05x
workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.862s (-3.3%)14.163s (-5.8% 🟢)0.301s71.00x
🐘 PostgresNitro13.959s (~)14.163s (+1.0%)0.204s71.01x
💻 LocalNitro14.934s (~)15.195s (-1.1%)0.261s61.08x
💻 LocalExpress16.532s (+10.9% 🔺)17.030s (+13.3% 🔺)0.497s61.19x
Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.254s (-3.0%)2.009s (~)0.755s151.00x
🐘 PostgresNitro1.266s (~)2.011s (~)0.745s151.01x
💻 LocalNitro1.455s (-1.4%)2.005s (~)0.549s151.16x
💻 LocalExpress1.514s (+3.8%)2.006s (~)0.492s151.21x
Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.330s (~)3.009s (~)0.679s101.00x
🐘 PostgresExpress2.355s (~)3.010s (~)0.655s101.01x
💻 LocalNitro2.507s (-2.1%)3.007s (~)0.500s101.08x
💻 LocalExpress2.910s (+2.4%)3.208s (+3.2%)0.298s101.25x
Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.476s (~)4.010s (~)0.534s81.00x
🐘 PostgresNitro3.481s (+0.8%)4.011s (~)0.530s81.00x
💻 LocalNitro6.687s (-3.7%)7.016s (-6.6% 🟢)0.329s51.92x
💻 LocalExpress8.174s (+15.3% 🔺)9.019s (+12.5% 🔺)0.845s42.35x
Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.247s (-0.7%)2.007s (~)0.760s151.00x
🐘 PostgresNitro1.256s (~)2.009s (~)0.753s151.01x
💻 LocalNitro1.481s (-2.4%)2.005s (~)0.524s151.19x
💻 LocalExpress1.537s (+4.4%)2.006s (~)0.469s151.23x
Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.344s (~)3.010s (~)0.667s101.00x
🐘 PostgresNitro2.352s (+0.9%)3.010s (~)0.658s101.00x
💻 LocalNitro2.673s (-3.4%)3.007s (-3.3%)0.335s101.14x
💻 LocalExpress3.125s (+15.9% 🔺)4.010s (+33.4% 🔺)0.885s81.33x
Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.474s (~)4.009s (~)0.535s81.00x
🐘 PostgresNitro3.494s (~)4.011s (~)0.517s81.01x
💻 LocalNitro7.321s (-1.7%)8.017s (~)0.696s42.11x
💻 LocalExpress8.747s (+14.4% 🔺)9.021s (+12.5% 🔺)0.274s42.52x
workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.686s (-1.3%)1.004s (~)0.318s601.00x
🐘 PostgresExpress0.795s (-6.1% 🟢)1.006s (-1.7%)0.211s601.16x
🐘 PostgresNitro0.827s (+1.4%)1.023s (~)0.196s591.21x
💻 LocalExpress0.981s (+37.9% 🔺)1.158s (+13.4% 🔺)0.177s521.43x
workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.874s (-10.1% 🟢)2.029s (-31.1% 🟢)0.156s451.00x
🐘 PostgresNitro1.955s (+1.3%)2.258s (+7.5% 🔺)0.302s401.04x
💻 LocalNitro2.233s (-1.2%)3.008s (~)0.775s301.19x
💻 LocalExpress3.042s (+34.7% 🔺)3.586s (+19.2% 🔺)0.544s261.62x
workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.821s (-7.2% 🟢)4.043s (-17.4% 🟢)0.222s301.00x
🐘 PostgresNitro4.048s (+4.4%)4.403s (+7.1% 🔺)0.355s281.06x
💻 LocalNitro7.287s (-0.9%)8.014s (~)0.727s151.91x
💻 LocalExpress9.357s (+27.7% 🔺)9.941s (+24.0% 🔺)0.584s132.45x
workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.280s (-2.7%)1.007s (~)0.727s601.00x
🐘 PostgresExpress0.286s (~)1.007s (~)0.721s601.02x
💻 LocalNitro0.564s (~)1.021s (+1.7%)0.457s592.02x
💻 LocalExpress0.592s (-0.9%)1.005s (-1.6%)0.412s602.12x
workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.486s (-1.6%)1.006s (~)0.520s901.00x
🐘 PostgresNitro0.495s (-1.9%)1.006s (~)0.511s901.02x
💻 LocalNitro2.333s (-4.0%)3.007s (~)0.674s304.80x
💻 LocalExpress2.586s (+5.0% 🔺)3.009s (~)0.423s305.32x
workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.780s (-2.7%)1.007s (~)0.227s1201.00x
🐘 PostgresExpress0.783s (-3.6%)1.016s (~)0.233s1191.00x
💻 LocalNitro9.939s (-3.7%)10.691s (-2.2%)0.752s1212.74x
💻 LocalExpress11.201s (+5.8% 🔺)11.845s (+7.5% 🔺)0.644s1114.35x
Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.142s (~)1.004s (~)0.010s (-4.0%)1.015s (~)0.873s101.00x
🐘 PostgresExpress0.199s (-7.8% 🟢)0.994s (~)0.002s (-6.3% 🟢)1.009s (~)0.811s101.40x
💻 LocalExpress0.203s (+43.8% 🔺)1.004s (~)0.012s (+24.5% 🔺)1.018s (~)0.815s101.43x
🐘 PostgresNitro0.214s (~)0.992s (~)0.001s (~)1.011s (~)0.797s101.51x
stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.567s (-1.9%)1.012s (~)0.008s (-14.9% 🟢)1.022s (~)0.455s591.00x
🐘 PostgresExpress0.589s (-8.2% 🟢)1.004s (~)0.004s (-2.4%)1.022s (~)0.433s591.04x
🐘 PostgresNitro0.618s (~)1.004s (~)0.004s (+0.9%)1.022s (~)0.404s591.09x
💻 LocalExpress0.787s (+18.0% 🔺)1.013s (~)0.011s (+14.3% 🔺)1.025s (-8.0% 🟢)0.238s591.39x
10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.922s (-5.9% 🟢)1.171s (-2.3%)0.000s (+292.2% 🔺)1.184s (-2.7%)0.262s511.00x
🐘 PostgresNitro0.951s (-2.9%)1.127s (-11.7% 🟢)0.000s (+30.2% 🔺)1.140s (-12.8% 🟢)0.189s531.03x
💻 LocalNitro1.141s (-3.4%)2.019s (~)0.000s (-20.0% 🟢)2.021s (~)0.880s301.24x
💻 LocalExpress1.251s (+6.0% 🔺)2.022s (~)0.001s (+88.9% 🔺)2.024s (~)0.773s301.36x
fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.716s (-1.3%)2.102s (-1.8%)0.000s (-3.4%)2.129s (-1.1%)0.413s291.00x
🐘 PostgresExpress1.792s (+1.4%)2.173s (+1.6%)0.000s (+3.6%)2.206s (+2.7%)0.415s281.04x
💻 LocalNitro3.470s (-7.7% 🟢)4.099s (-1.6%)0.001s (+40.0% 🔺)4.102s (-1.6%)0.632s152.02x
💻 LocalExpress3.525s (~)4.101s (+1.7%)0.001s (+166.7% 🔺)4.103s (+1.8%)0.578s152.05x

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro21/21
🐘 PostgresExpress16/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres19/21
Nitro🐘 Postgres14/21
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

  • Local: success
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

@changeset-bot

changeset-botBot commented Apr 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 221e1b0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 17 packages
NameType
@workflow/world-vercelPatch
@workflow/cliPatch
@workflow/corePatch
workflowPatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/aiPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes @workflow/world-vercel stream reads by ensuring streams.get() includes the runId in the generated request URL, aligning the client with the /v2/runs/:runId/stream/:streamId endpoint shape.

Changes:

  • Make getStreamUrl() require runId: string and remove the no-runId fallback URL shape.
  • Fix streams.get() to pass through its runId parameter instead of discarding it.
  • Add a changeset for a patch release of @workflow/world-vercel.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

FileDescription
packages/world-vercel/src/streamer.tsCorrects stream read URL construction to include runId and removes legacy fallback path.
.changeset/fix-stream-get-runid.mdAnnounces a patch release documenting the bug fix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment threadpackages/world-vercel/src/streamer.ts
streams.get() was ignoring the runId parameter and hardcoding undefined,
causing requests to hit /api/v2/stream/:streamId instead of the correct
/api/v2/runs/:runId/stream/:streamId. Also removes the fallback path in
getStreamUrl() that allowed omitting runId.
@TooTallNate
TooTallNateforce-pushed the fix/stream-get-runid branch from 3a747ef to 221e1b0CompareApril 9, 2026 23:42
@TooTallNate
TooTallNate enabled auto-merge (squash) April 10, 2026 00:33
@TooTallNate
TooTallNate merged commit 68cf25e into mainApr 10, 2026
160 of 166 checks passed
@TooTallNate
TooTallNate deleted the fix/stream-get-runid branch April 10, 2026 00:39
@ghostghost mentioned this pull request Apr 10, 2026
@TooTallNateTooTallNate added the backport-stable Cherry-pick this PR to the stable branch when merged label Apr 10, 2026
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick could not be applied cleanly.

To resolve manually:

git fetch origin stable
git checkout stable
git cherry-pick 68cf25e83bdc8bf912fb30cb8f9ba4cb9a30f087
# Fix conflicts, then:
git cherry-pick --continue
git push origin stable

@VaguelySeriousVaguelySerious added backport-stable Cherry-pick this PR to the stable branch when merged and removed backport-stable Cherry-pick this PR to the stable branch when merged labels Apr 15, 2026
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick could not be applied cleanly.

To resolve manually:

git fetch origin stable
git checkout stable
git cherry-pick 68cf25e83bdc8bf912fb30cb8f9ba4cb9a30f087
# Fix conflicts, then:
git cherry-pick --continue
git push origin stable

ghost pushed a commit that referenced this pull request Apr 15, 2026
* fix(world-vercel): include runId in streams.get() request URL
streams.get() was ignoring the runId parameter and hardcoding undefined,
causing requests to hit /api/v2/stream/:streamId instead of the correct
/api/v2/runs/:runId/stream/:streamId. Also removes the fallback path in
getStreamUrl() that allowed omitting runId.
* test(world-vercel): add regression test for streams.get() runId in URL
@ghost

Copy link
Copy Markdown

Cherry-pick to stable had conflicts that were resolved by AI. Please review the backport PR: #1757

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-stableCherry-pick this PR to the stable branch when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

fix(world-vercel): include runId in streams.get() request URL - #1676

Merged
TooTallNate merged 2 commits into
mainfrom
fix/stream-get-runid
Apr 10, 2026
Merged

fix(world-vercel): include runId in streams.get() request URL#1676
TooTallNate merged 2 commits into
mainfrom
fix/stream-get-runid

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Fix streams.get() in @workflow/world-vercel to pass runId through to getStreamUrl() instead of hardcoding undefined, which was causing all stream read requests to hit /api/v2/stream/:streamId instead of /api/v2/runs/:runId/stream/:streamId
  • Remove the fallback code path in getStreamUrl() that allowed omitting runId — the parameter is now required as string (was string | undefined)

The health check case is unaffected since it already generates a synthetic runId via generateHealthCheckRunId() — the bug was just that get() was discarding it.

CopilotAI review requested due to automatic review settings April 9, 2026 22:28
@TooTallNate
TooTallNate requested a review from a team as a code ownerApril 9, 2026 22:28
@vercel

vercelBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production923067990
✅ 💻 Local Development89801821080
✅ 📦 Local Production89801821080
✅ 🐘 Local Postgres89801821080
✅ 🪟 Windows820890
❌ 🌍 Community Worlds1337424231
✅ 📋 Other228042270
Total4060746874821

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H

turso (60 failed):

  • addTenWorkflow | wrun_01KNTA3FYJFG1NHVFKDVJXC04N
  • addTenWorkflow | wrun_01KNTA3FYJFG1NHVFKDVJXC04N
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNTA5NH00QTWJWV6ZJDVBMHN
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNTA3R3X9QTX85H2731MZWNT
  • promiseRaceWorkflow | wrun_01KNTA3WCJC5V0GPRJM7A65DGZ
  • promiseAnyWorkflow | wrun_01KNTA3YNDGV4KMNSM17J7NE11
  • importedStepOnlyWorkflow | wrun_01KNTA60Z6DMGTEG23HV6R8MBV
  • hookWorkflow | wrun_01KNTA4AR4AEFFWEHG71KZ7T17
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • sleepingWorkflow | wrun_01KNTA56GV5Y3SHV4RAJQYA9SW
  • parallelSleepWorkflow | wrun_01KNTA5KV543XRHY4CQ82P0D35
  • nullByteWorkflow | wrun_01KNTA5QQVR6XAHEMJAMRBEVBW
  • workflowAndStepMetadataWorkflow | wrun_01KNTA5T1ZSWRMTY0QKN9PZMXV
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • promiseRaceStressTestWorkflow | wrun_01KNTA8R7MQWR6P8072F7EDEHH
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KNTACCSGK9D7W1B06794X8WC
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNTADQXC9HPY87E5XZGG0H0D
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNTAECCHXTK520P2Z0QG9DNE
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNTAENWAHX7VTBXHN533VSXS
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNTAEY1YHBRHZHWWC5BX95WC
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNTAF0C2F0KSGM3AKZDPG4KW
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KNTAFBTEQFTMD4K32SDW97VQ
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNTAFV65AZS4WSHDGRK97WHB
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNTAG116N27FV05KPVKPVP1H
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNTAG8AB55F3Z6ZC0275RWSS
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNTAGPDDR47GJVQYW6HTG17C
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNTAGXPRRX0JS0XSQXWQZN3X
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNTAH4JKNVAEM1E7ZK7SPXZN
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNTAHBKY906ETP9F0DQEW95N
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNTAHQJM1E550YWTB21G8RVH
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNTAHZ59ZYB36SCN6MNCSSH9
  • cancelRun - cancelling a running workflow | wrun_01KNTAJ61NAN401E3HVCQTA023
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNTAJFGW9RF21X89P0CGE77Z
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNTAJVS2757P94RSA05QGB5N
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNTAKJFM2VGBVEGXMYWFZDBD
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNTAKY9BZ5SNJ4JY8QWE7Q6C
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNTAM5QFHYE69C1QCWFZRKWG
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KNTAM8KR0AT97WTPP447V2GP
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KNTAMEPZB3206M692NTYHWEG

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8307
✅ example8307
✅ express8307
✅ fastify8307
✅ hono8307
✅ nextjs-turbopack8802
✅ nextjs-webpack8802
✅ nitro8307
✅ nuxt8307
✅ sveltekit8307
✅ vite8307
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack8208
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev600
❌ mongodb5678
✅ redis-dev600
❌ redis5678
✅ turso-dev600
❌ turso3608
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable76014
✅ e2e-local-postgres-nest-stable76014
✅ e2e-local-prod-nest-stable76014

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.036s (+0.8%)1.005s (~)0.968s101.00x
💻 LocalExpress0.051s (+44.6% 🔺)1.005s (~)0.954s101.39x
🐘 PostgresExpress0.058s (-19.6% 🟢)1.010s (-1.0%)0.952s101.60x
🐘 PostgresNitro0.062s (+1.5%)1.010s (~)0.948s101.70x
workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.094s (-0.6%)2.005s (~)0.911s101.00x
💻 LocalExpress1.126s (+2.5%)2.006s (~)0.880s101.03x
🐘 PostgresNitro1.142s (~)2.010s (~)0.867s101.04x
🐘 PostgresExpress1.151s (~)2.009s (~)0.858s101.05x
workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.630s (~)11.022s (~)0.391s31.00x
🐘 PostgresExpress10.906s (-0.7%)11.023s (-2.9%)0.118s31.03x
💻 LocalExpress10.927s (+2.5%)11.023s (~)0.096s31.03x
🐘 PostgresNitro10.932s (+0.6%)11.021s (~)0.088s31.03x
workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro14.241s (~)15.028s (~)0.788s41.00x
🐘 PostgresExpress14.480s (-0.9%)15.026s (~)0.546s41.02x
🐘 PostgresNitro14.550s (~)15.023s (~)0.472s41.02x
💻 LocalExpress14.973s (+5.1% 🔺)15.278s (+1.7%)0.306s41.05x
workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.862s (-3.3%)14.163s (-5.8% 🟢)0.301s71.00x
🐘 PostgresNitro13.959s (~)14.163s (+1.0%)0.204s71.01x
💻 LocalNitro14.934s (~)15.195s (-1.1%)0.261s61.08x
💻 LocalExpress16.532s (+10.9% 🔺)17.030s (+13.3% 🔺)0.497s61.19x
Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.254s (-3.0%)2.009s (~)0.755s151.00x
🐘 PostgresNitro1.266s (~)2.011s (~)0.745s151.01x
💻 LocalNitro1.455s (-1.4%)2.005s (~)0.549s151.16x
💻 LocalExpress1.514s (+3.8%)2.006s (~)0.492s151.21x
Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.330s (~)3.009s (~)0.679s101.00x
🐘 PostgresExpress2.355s (~)3.010s (~)0.655s101.01x
💻 LocalNitro2.507s (-2.1%)3.007s (~)0.500s101.08x
💻 LocalExpress2.910s (+2.4%)3.208s (+3.2%)0.298s101.25x
Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.476s (~)4.010s (~)0.534s81.00x
🐘 PostgresNitro3.481s (+0.8%)4.011s (~)0.530s81.00x
💻 LocalNitro6.687s (-3.7%)7.016s (-6.6% 🟢)0.329s51.92x
💻 LocalExpress8.174s (+15.3% 🔺)9.019s (+12.5% 🔺)0.845s42.35x
Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.247s (-0.7%)2.007s (~)0.760s151.00x
🐘 PostgresNitro1.256s (~)2.009s (~)0.753s151.01x
💻 LocalNitro1.481s (-2.4%)2.005s (~)0.524s151.19x
💻 LocalExpress1.537s (+4.4%)2.006s (~)0.469s151.23x
Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.344s (~)3.010s (~)0.667s101.00x
🐘 PostgresNitro2.352s (+0.9%)3.010s (~)0.658s101.00x
💻 LocalNitro2.673s (-3.4%)3.007s (-3.3%)0.335s101.14x
💻 LocalExpress3.125s (+15.9% 🔺)4.010s (+33.4% 🔺)0.885s81.33x
Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.474s (~)4.009s (~)0.535s81.00x
🐘 PostgresNitro3.494s (~)4.011s (~)0.517s81.01x
💻 LocalNitro7.321s (-1.7%)8.017s (~)0.696s42.11x
💻 LocalExpress8.747s (+14.4% 🔺)9.021s (+12.5% 🔺)0.274s42.52x
workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.686s (-1.3%)1.004s (~)0.318s601.00x
🐘 PostgresExpress0.795s (-6.1% 🟢)1.006s (-1.7%)0.211s601.16x
🐘 PostgresNitro0.827s (+1.4%)1.023s (~)0.196s591.21x
💻 LocalExpress0.981s (+37.9% 🔺)1.158s (+13.4% 🔺)0.177s521.43x
workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.874s (-10.1% 🟢)2.029s (-31.1% 🟢)0.156s451.00x
🐘 PostgresNitro1.955s (+1.3%)2.258s (+7.5% 🔺)0.302s401.04x
💻 LocalNitro2.233s (-1.2%)3.008s (~)0.775s301.19x
💻 LocalExpress3.042s (+34.7% 🔺)3.586s (+19.2% 🔺)0.544s261.62x
workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.821s (-7.2% 🟢)4.043s (-17.4% 🟢)0.222s301.00x
🐘 PostgresNitro4.048s (+4.4%)4.403s (+7.1% 🔺)0.355s281.06x
💻 LocalNitro7.287s (-0.9%)8.014s (~)0.727s151.91x
💻 LocalExpress9.357s (+27.7% 🔺)9.941s (+24.0% 🔺)0.584s132.45x
workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.280s (-2.7%)1.007s (~)0.727s601.00x
🐘 PostgresExpress0.286s (~)1.007s (~)0.721s601.02x
💻 LocalNitro0.564s (~)1.021s (+1.7%)0.457s592.02x
💻 LocalExpress0.592s (-0.9%)1.005s (-1.6%)0.412s602.12x
workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.486s (-1.6%)1.006s (~)0.520s901.00x
🐘 PostgresNitro0.495s (-1.9%)1.006s (~)0.511s901.02x
💻 LocalNitro2.333s (-4.0%)3.007s (~)0.674s304.80x
💻 LocalExpress2.586s (+5.0% 🔺)3.009s (~)0.423s305.32x
workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.780s (-2.7%)1.007s (~)0.227s1201.00x
🐘 PostgresExpress0.783s (-3.6%)1.016s (~)0.233s1191.00x
💻 LocalNitro9.939s (-3.7%)10.691s (-2.2%)0.752s1212.74x
💻 LocalExpress11.201s (+5.8% 🔺)11.845s (+7.5% 🔺)0.644s1114.35x
Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.142s (~)1.004s (~)0.010s (-4.0%)1.015s (~)0.873s101.00x
🐘 PostgresExpress0.199s (-7.8% 🟢)0.994s (~)0.002s (-6.3% 🟢)1.009s (~)0.811s101.40x
💻 LocalExpress0.203s (+43.8% 🔺)1.004s (~)0.012s (+24.5% 🔺)1.018s (~)0.815s101.43x
🐘 PostgresNitro0.214s (~)0.992s (~)0.001s (~)1.011s (~)0.797s101.51x
stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.567s (-1.9%)1.012s (~)0.008s (-14.9% 🟢)1.022s (~)0.455s591.00x
🐘 PostgresExpress0.589s (-8.2% 🟢)1.004s (~)0.004s (-2.4%)1.022s (~)0.433s591.04x
🐘 PostgresNitro0.618s (~)1.004s (~)0.004s (+0.9%)1.022s (~)0.404s591.09x
💻 LocalExpress0.787s (+18.0% 🔺)1.013s (~)0.011s (+14.3% 🔺)1.025s (-8.0% 🟢)0.238s591.39x
10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.922s (-5.9% 🟢)1.171s (-2.3%)0.000s (+292.2% 🔺)1.184s (-2.7%)0.262s511.00x
🐘 PostgresNitro0.951s (-2.9%)1.127s (-11.7% 🟢)0.000s (+30.2% 🔺)1.140s (-12.8% 🟢)0.189s531.03x
💻 LocalNitro1.141s (-3.4%)2.019s (~)0.000s (-20.0% 🟢)2.021s (~)0.880s301.24x
💻 LocalExpress1.251s (+6.0% 🔺)2.022s (~)0.001s (+88.9% 🔺)2.024s (~)0.773s301.36x
fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.716s (-1.3%)2.102s (-1.8%)0.000s (-3.4%)2.129s (-1.1%)0.413s291.00x
🐘 PostgresExpress1.792s (+1.4%)2.173s (+1.6%)0.000s (+3.6%)2.206s (+2.7%)0.415s281.04x
💻 LocalNitro3.470s (-7.7% 🟢)4.099s (-1.6%)0.001s (+40.0% 🔺)4.102s (-1.6%)0.632s152.02x
💻 LocalExpress3.525s (~)4.101s (+1.7%)0.001s (+166.7% 🔺)4.103s (+1.8%)0.578s152.05x

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro21/21
🐘 PostgresExpress16/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres19/21
Nitro🐘 Postgres14/21
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

  • Local: success
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

@changeset-bot

changeset-botBot commented Apr 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 221e1b0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 17 packages
NameType
@workflow/world-vercelPatch
@workflow/cliPatch
@workflow/corePatch
workflowPatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/aiPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes @workflow/world-vercel stream reads by ensuring streams.get() includes the runId in the generated request URL, aligning the client with the /v2/runs/:runId/stream/:streamId endpoint shape.

Changes:

  • Make getStreamUrl() require runId: string and remove the no-runId fallback URL shape.
  • Fix streams.get() to pass through its runId parameter instead of discarding it.
  • Add a changeset for a patch release of @workflow/world-vercel.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

FileDescription
packages/world-vercel/src/streamer.tsCorrects stream read URL construction to include runId and removes legacy fallback path.
.changeset/fix-stream-get-runid.mdAnnounces a patch release documenting the bug fix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment threadpackages/world-vercel/src/streamer.ts
streams.get() was ignoring the runId parameter and hardcoding undefined,
causing requests to hit /api/v2/stream/:streamId instead of the correct
/api/v2/runs/:runId/stream/:streamId. Also removes the fallback path in
getStreamUrl() that allowed omitting runId.
@TooTallNate
TooTallNateforce-pushed the fix/stream-get-runid branch from 3a747ef to 221e1b0CompareApril 9, 2026 23:42
@TooTallNate
TooTallNate enabled auto-merge (squash) April 10, 2026 00:33
@TooTallNate
TooTallNate merged commit 68cf25e into mainApr 10, 2026
160 of 166 checks passed
@TooTallNate
TooTallNate deleted the fix/stream-get-runid branch April 10, 2026 00:39
@ghostghost mentioned this pull request Apr 10, 2026
@TooTallNateTooTallNate added the backport-stable Cherry-pick this PR to the stable branch when merged label Apr 10, 2026
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick could not be applied cleanly.

To resolve manually:

git fetch origin stable
git checkout stable
git cherry-pick 68cf25e83bdc8bf912fb30cb8f9ba4cb9a30f087
# Fix conflicts, then:
git cherry-pick --continue
git push origin stable

@VaguelySeriousVaguelySerious added backport-stable Cherry-pick this PR to the stable branch when merged and removed backport-stable Cherry-pick this PR to the stable branch when merged labels Apr 15, 2026
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick could not be applied cleanly.

To resolve manually:

git fetch origin stable
git checkout stable
git cherry-pick 68cf25e83bdc8bf912fb30cb8f9ba4cb9a30f087
# Fix conflicts, then:
git cherry-pick --continue
git push origin stable

ghost pushed a commit that referenced this pull request Apr 15, 2026
* fix(world-vercel): include runId in streams.get() request URL
streams.get() was ignoring the runId parameter and hardcoding undefined,
causing requests to hit /api/v2/stream/:streamId instead of the correct
/api/v2/runs/:runId/stream/:streamId. Also removes the fallback path in
getStreamUrl() that allowed omitting runId.
* test(world-vercel): add regression test for streams.get() runId in URL
@ghost

Copy link
Copy Markdown

Cherry-pick to stable had conflicts that were resolved by AI. Please review the backport PR: #1757

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-stableCherry-pick this PR to the stable branch when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

fix(world-vercel): include runId in streams.get() request URL - #1676

Merged
TooTallNate merged 2 commits into
mainfrom
fix/stream-get-runid
Apr 10, 2026
Merged

fix(world-vercel): include runId in streams.get() request URL#1676
TooTallNate merged 2 commits into
mainfrom
fix/stream-get-runid

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Fix streams.get() in @workflow/world-vercel to pass runId through to getStreamUrl() instead of hardcoding undefined, which was causing all stream read requests to hit /api/v2/stream/:streamId instead of /api/v2/runs/:runId/stream/:streamId
  • Remove the fallback code path in getStreamUrl() that allowed omitting runId — the parameter is now required as string (was string | undefined)

The health check case is unaffected since it already generates a synthetic runId via generateHealthCheckRunId() — the bug was just that get() was discarding it.

CopilotAI review requested due to automatic review settings April 9, 2026 22:28
@TooTallNate
TooTallNate requested a review from a team as a code ownerApril 9, 2026 22:28
@vercel

vercelBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production923067990
✅ 💻 Local Development89801821080
✅ 📦 Local Production89801821080
✅ 🐘 Local Postgres89801821080
✅ 🪟 Windows820890
❌ 🌍 Community Worlds1337424231
✅ 📋 Other228042270
Total4060746874821

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H

turso (60 failed):

  • addTenWorkflow | wrun_01KNTA3FYJFG1NHVFKDVJXC04N
  • addTenWorkflow | wrun_01KNTA3FYJFG1NHVFKDVJXC04N
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNTA5NH00QTWJWV6ZJDVBMHN
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNTA3R3X9QTX85H2731MZWNT
  • promiseRaceWorkflow | wrun_01KNTA3WCJC5V0GPRJM7A65DGZ
  • promiseAnyWorkflow | wrun_01KNTA3YNDGV4KMNSM17J7NE11
  • importedStepOnlyWorkflow | wrun_01KNTA60Z6DMGTEG23HV6R8MBV
  • hookWorkflow | wrun_01KNTA4AR4AEFFWEHG71KZ7T17
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • sleepingWorkflow | wrun_01KNTA56GV5Y3SHV4RAJQYA9SW
  • parallelSleepWorkflow | wrun_01KNTA5KV543XRHY4CQ82P0D35
  • nullByteWorkflow | wrun_01KNTA5QQVR6XAHEMJAMRBEVBW
  • workflowAndStepMetadataWorkflow | wrun_01KNTA5T1ZSWRMTY0QKN9PZMXV
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • promiseRaceStressTestWorkflow | wrun_01KNTA8R7MQWR6P8072F7EDEHH
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KNTACCSGK9D7W1B06794X8WC
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNTADQXC9HPY87E5XZGG0H0D
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNTAECCHXTK520P2Z0QG9DNE
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNTAENWAHX7VTBXHN533VSXS
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNTAEY1YHBRHZHWWC5BX95WC
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNTAF0C2F0KSGM3AKZDPG4KW
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KNTAFBTEQFTMD4K32SDW97VQ
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNTAFV65AZS4WSHDGRK97WHB
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNTAG116N27FV05KPVKPVP1H
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNTAG8AB55F3Z6ZC0275RWSS
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNTAGPDDR47GJVQYW6HTG17C
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNTAGXPRRX0JS0XSQXWQZN3X
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNTAH4JKNVAEM1E7ZK7SPXZN
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNTAHBKY906ETP9F0DQEW95N
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNTAHQJM1E550YWTB21G8RVH
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNTAHZ59ZYB36SCN6MNCSSH9
  • cancelRun - cancelling a running workflow | wrun_01KNTAJ61NAN401E3HVCQTA023
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNTAJFGW9RF21X89P0CGE77Z
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNTAJVS2757P94RSA05QGB5N
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNTAKJFM2VGBVEGXMYWFZDBD
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNTAKY9BZ5SNJ4JY8QWE7Q6C
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNTAM5QFHYE69C1QCWFZRKWG
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KNTAM8KR0AT97WTPP447V2GP
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KNTAMEPZB3206M692NTYHWEG

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8307
✅ example8307
✅ express8307
✅ fastify8307
✅ hono8307
✅ nextjs-turbopack8802
✅ nextjs-webpack8802
✅ nitro8307
✅ nuxt8307
✅ sveltekit8307
✅ vite8307
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack8208
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev600
❌ mongodb5678
✅ redis-dev600
❌ redis5678
✅ turso-dev600
❌ turso3608
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable76014
✅ e2e-local-postgres-nest-stable76014
✅ e2e-local-prod-nest-stable76014

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.036s (+0.8%)1.005s (~)0.968s101.00x
💻 LocalExpress0.051s (+44.6% 🔺)1.005s (~)0.954s101.39x
🐘 PostgresExpress0.058s (-19.6% 🟢)1.010s (-1.0%)0.952s101.60x
🐘 PostgresNitro0.062s (+1.5%)1.010s (~)0.948s101.70x
workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.094s (-0.6%)2.005s (~)0.911s101.00x
💻 LocalExpress1.126s (+2.5%)2.006s (~)0.880s101.03x
🐘 PostgresNitro1.142s (~)2.010s (~)0.867s101.04x
🐘 PostgresExpress1.151s (~)2.009s (~)0.858s101.05x
workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.630s (~)11.022s (~)0.391s31.00x
🐘 PostgresExpress10.906s (-0.7%)11.023s (-2.9%)0.118s31.03x
💻 LocalExpress10.927s (+2.5%)11.023s (~)0.096s31.03x
🐘 PostgresNitro10.932s (+0.6%)11.021s (~)0.088s31.03x
workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro14.241s (~)15.028s (~)0.788s41.00x
🐘 PostgresExpress14.480s (-0.9%)15.026s (~)0.546s41.02x
🐘 PostgresNitro14.550s (~)15.023s (~)0.472s41.02x
💻 LocalExpress14.973s (+5.1% 🔺)15.278s (+1.7%)0.306s41.05x
workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.862s (-3.3%)14.163s (-5.8% 🟢)0.301s71.00x
🐘 PostgresNitro13.959s (~)14.163s (+1.0%)0.204s71.01x
💻 LocalNitro14.934s (~)15.195s (-1.1%)0.261s61.08x
💻 LocalExpress16.532s (+10.9% 🔺)17.030s (+13.3% 🔺)0.497s61.19x
Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.254s (-3.0%)2.009s (~)0.755s151.00x
🐘 PostgresNitro1.266s (~)2.011s (~)0.745s151.01x
💻 LocalNitro1.455s (-1.4%)2.005s (~)0.549s151.16x
💻 LocalExpress1.514s (+3.8%)2.006s (~)0.492s151.21x
Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.330s (~)3.009s (~)0.679s101.00x
🐘 PostgresExpress2.355s (~)3.010s (~)0.655s101.01x
💻 LocalNitro2.507s (-2.1%)3.007s (~)0.500s101.08x
💻 LocalExpress2.910s (+2.4%)3.208s (+3.2%)0.298s101.25x
Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.476s (~)4.010s (~)0.534s81.00x
🐘 PostgresNitro3.481s (+0.8%)4.011s (~)0.530s81.00x
💻 LocalNitro6.687s (-3.7%)7.016s (-6.6% 🟢)0.329s51.92x
💻 LocalExpress8.174s (+15.3% 🔺)9.019s (+12.5% 🔺)0.845s42.35x
Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.247s (-0.7%)2.007s (~)0.760s151.00x
🐘 PostgresNitro1.256s (~)2.009s (~)0.753s151.01x
💻 LocalNitro1.481s (-2.4%)2.005s (~)0.524s151.19x
💻 LocalExpress1.537s (+4.4%)2.006s (~)0.469s151.23x
Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.344s (~)3.010s (~)0.667s101.00x
🐘 PostgresNitro2.352s (+0.9%)3.010s (~)0.658s101.00x
💻 LocalNitro2.673s (-3.4%)3.007s (-3.3%)0.335s101.14x
💻 LocalExpress3.125s (+15.9% 🔺)4.010s (+33.4% 🔺)0.885s81.33x
Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.474s (~)4.009s (~)0.535s81.00x
🐘 PostgresNitro3.494s (~)4.011s (~)0.517s81.01x
💻 LocalNitro7.321s (-1.7%)8.017s (~)0.696s42.11x
💻 LocalExpress8.747s (+14.4% 🔺)9.021s (+12.5% 🔺)0.274s42.52x
workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.686s (-1.3%)1.004s (~)0.318s601.00x
🐘 PostgresExpress0.795s (-6.1% 🟢)1.006s (-1.7%)0.211s601.16x
🐘 PostgresNitro0.827s (+1.4%)1.023s (~)0.196s591.21x
💻 LocalExpress0.981s (+37.9% 🔺)1.158s (+13.4% 🔺)0.177s521.43x
workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.874s (-10.1% 🟢)2.029s (-31.1% 🟢)0.156s451.00x
🐘 PostgresNitro1.955s (+1.3%)2.258s (+7.5% 🔺)0.302s401.04x
💻 LocalNitro2.233s (-1.2%)3.008s (~)0.775s301.19x
💻 LocalExpress3.042s (+34.7% 🔺)3.586s (+19.2% 🔺)0.544s261.62x
workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.821s (-7.2% 🟢)4.043s (-17.4% 🟢)0.222s301.00x
🐘 PostgresNitro4.048s (+4.4%)4.403s (+7.1% 🔺)0.355s281.06x
💻 LocalNitro7.287s (-0.9%)8.014s (~)0.727s151.91x
💻 LocalExpress9.357s (+27.7% 🔺)9.941s (+24.0% 🔺)0.584s132.45x
workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.280s (-2.7%)1.007s (~)0.727s601.00x
🐘 PostgresExpress0.286s (~)1.007s (~)0.721s601.02x
💻 LocalNitro0.564s (~)1.021s (+1.7%)0.457s592.02x
💻 LocalExpress0.592s (-0.9%)1.005s (-1.6%)0.412s602.12x
workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.486s (-1.6%)1.006s (~)0.520s901.00x
🐘 PostgresNitro0.495s (-1.9%)1.006s (~)0.511s901.02x
💻 LocalNitro2.333s (-4.0%)3.007s (~)0.674s304.80x
💻 LocalExpress2.586s (+5.0% 🔺)3.009s (~)0.423s305.32x
workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.780s (-2.7%)1.007s (~)0.227s1201.00x
🐘 PostgresExpress0.783s (-3.6%)1.016s (~)0.233s1191.00x
💻 LocalNitro9.939s (-3.7%)10.691s (-2.2%)0.752s1212.74x
💻 LocalExpress11.201s (+5.8% 🔺)11.845s (+7.5% 🔺)0.644s1114.35x
Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.142s (~)1.004s (~)0.010s (-4.0%)1.015s (~)0.873s101.00x
🐘 PostgresExpress0.199s (-7.8% 🟢)0.994s (~)0.002s (-6.3% 🟢)1.009s (~)0.811s101.40x
💻 LocalExpress0.203s (+43.8% 🔺)1.004s (~)0.012s (+24.5% 🔺)1.018s (~)0.815s101.43x
🐘 PostgresNitro0.214s (~)0.992s (~)0.001s (~)1.011s (~)0.797s101.51x
stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.567s (-1.9%)1.012s (~)0.008s (-14.9% 🟢)1.022s (~)0.455s591.00x
🐘 PostgresExpress0.589s (-8.2% 🟢)1.004s (~)0.004s (-2.4%)1.022s (~)0.433s591.04x
🐘 PostgresNitro0.618s (~)1.004s (~)0.004s (+0.9%)1.022s (~)0.404s591.09x
💻 LocalExpress0.787s (+18.0% 🔺)1.013s (~)0.011s (+14.3% 🔺)1.025s (-8.0% 🟢)0.238s591.39x
10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.922s (-5.9% 🟢)1.171s (-2.3%)0.000s (+292.2% 🔺)1.184s (-2.7%)0.262s511.00x
🐘 PostgresNitro0.951s (-2.9%)1.127s (-11.7% 🟢)0.000s (+30.2% 🔺)1.140s (-12.8% 🟢)0.189s531.03x
💻 LocalNitro1.141s (-3.4%)2.019s (~)0.000s (-20.0% 🟢)2.021s (~)0.880s301.24x
💻 LocalExpress1.251s (+6.0% 🔺)2.022s (~)0.001s (+88.9% 🔺)2.024s (~)0.773s301.36x
fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.716s (-1.3%)2.102s (-1.8%)0.000s (-3.4%)2.129s (-1.1%)0.413s291.00x
🐘 PostgresExpress1.792s (+1.4%)2.173s (+1.6%)0.000s (+3.6%)2.206s (+2.7%)0.415s281.04x
💻 LocalNitro3.470s (-7.7% 🟢)4.099s (-1.6%)0.001s (+40.0% 🔺)4.102s (-1.6%)0.632s152.02x
💻 LocalExpress3.525s (~)4.101s (+1.7%)0.001s (+166.7% 🔺)4.103s (+1.8%)0.578s152.05x

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro21/21
🐘 PostgresExpress16/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres19/21
Nitro🐘 Postgres14/21
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

  • Local: success
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

@changeset-bot

changeset-botBot commented Apr 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 221e1b0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 17 packages
NameType
@workflow/world-vercelPatch
@workflow/cliPatch
@workflow/corePatch
workflowPatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/aiPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes @workflow/world-vercel stream reads by ensuring streams.get() includes the runId in the generated request URL, aligning the client with the /v2/runs/:runId/stream/:streamId endpoint shape.

Changes:

  • Make getStreamUrl() require runId: string and remove the no-runId fallback URL shape.
  • Fix streams.get() to pass through its runId parameter instead of discarding it.
  • Add a changeset for a patch release of @workflow/world-vercel.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

FileDescription
packages/world-vercel/src/streamer.tsCorrects stream read URL construction to include runId and removes legacy fallback path.
.changeset/fix-stream-get-runid.mdAnnounces a patch release documenting the bug fix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment threadpackages/world-vercel/src/streamer.ts
streams.get() was ignoring the runId parameter and hardcoding undefined,
causing requests to hit /api/v2/stream/:streamId instead of the correct
/api/v2/runs/:runId/stream/:streamId. Also removes the fallback path in
getStreamUrl() that allowed omitting runId.
@TooTallNate
TooTallNateforce-pushed the fix/stream-get-runid branch from 3a747ef to 221e1b0CompareApril 9, 2026 23:42
@TooTallNate
TooTallNate enabled auto-merge (squash) April 10, 2026 00:33
@TooTallNate
TooTallNate merged commit 68cf25e into mainApr 10, 2026
160 of 166 checks passed
@TooTallNate
TooTallNate deleted the fix/stream-get-runid branch April 10, 2026 00:39
@ghostghost mentioned this pull request Apr 10, 2026
@TooTallNateTooTallNate added the backport-stable Cherry-pick this PR to the stable branch when merged label Apr 10, 2026
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick could not be applied cleanly.

To resolve manually:

git fetch origin stable
git checkout stable
git cherry-pick 68cf25e83bdc8bf912fb30cb8f9ba4cb9a30f087
# Fix conflicts, then:
git cherry-pick --continue
git push origin stable

@VaguelySeriousVaguelySerious added backport-stable Cherry-pick this PR to the stable branch when merged and removed backport-stable Cherry-pick this PR to the stable branch when merged labels Apr 15, 2026
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick could not be applied cleanly.

To resolve manually:

git fetch origin stable
git checkout stable
git cherry-pick 68cf25e83bdc8bf912fb30cb8f9ba4cb9a30f087
# Fix conflicts, then:
git cherry-pick --continue
git push origin stable

ghost pushed a commit that referenced this pull request Apr 15, 2026
* fix(world-vercel): include runId in streams.get() request URL
streams.get() was ignoring the runId parameter and hardcoding undefined,
causing requests to hit /api/v2/stream/:streamId instead of the correct
/api/v2/runs/:runId/stream/:streamId. Also removes the fallback path in
getStreamUrl() that allowed omitting runId.
* test(world-vercel): add regression test for streams.get() runId in URL
@ghost

Copy link
Copy Markdown

Cherry-pick to stable had conflicts that were resolved by AI. Please review the backport PR: #1757

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-stableCherry-pick this PR to the stable branch when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

fix(world-vercel): include runId in streams.get() request URL - #1676

Merged
TooTallNate merged 2 commits into
mainfrom
fix/stream-get-runid
Apr 10, 2026
Merged

fix(world-vercel): include runId in streams.get() request URL#1676
TooTallNate merged 2 commits into
mainfrom
fix/stream-get-runid

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Fix streams.get() in @workflow/world-vercel to pass runId through to getStreamUrl() instead of hardcoding undefined, which was causing all stream read requests to hit /api/v2/stream/:streamId instead of /api/v2/runs/:runId/stream/:streamId
  • Remove the fallback code path in getStreamUrl() that allowed omitting runId — the parameter is now required as string (was string | undefined)

The health check case is unaffected since it already generates a synthetic runId via generateHealthCheckRunId() — the bug was just that get() was discarding it.

CopilotAI review requested due to automatic review settings April 9, 2026 22:28
@TooTallNate
TooTallNate requested a review from a team as a code ownerApril 9, 2026 22:28
@vercel

vercelBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production923067990
✅ 💻 Local Development89801821080
✅ 📦 Local Production89801821080
✅ 🐘 Local Postgres89801821080
✅ 🪟 Windows820890
❌ 🌍 Community Worlds1337424231
✅ 📋 Other228042270
Total4060746874821

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H

turso (60 failed):

  • addTenWorkflow | wrun_01KNTA3FYJFG1NHVFKDVJXC04N
  • addTenWorkflow | wrun_01KNTA3FYJFG1NHVFKDVJXC04N
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNTA5NH00QTWJWV6ZJDVBMHN
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNTA3R3X9QTX85H2731MZWNT
  • promiseRaceWorkflow | wrun_01KNTA3WCJC5V0GPRJM7A65DGZ
  • promiseAnyWorkflow | wrun_01KNTA3YNDGV4KMNSM17J7NE11
  • importedStepOnlyWorkflow | wrun_01KNTA60Z6DMGTEG23HV6R8MBV
  • hookWorkflow | wrun_01KNTA4AR4AEFFWEHG71KZ7T17
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • sleepingWorkflow | wrun_01KNTA56GV5Y3SHV4RAJQYA9SW
  • parallelSleepWorkflow | wrun_01KNTA5KV543XRHY4CQ82P0D35
  • nullByteWorkflow | wrun_01KNTA5QQVR6XAHEMJAMRBEVBW
  • workflowAndStepMetadataWorkflow | wrun_01KNTA5T1ZSWRMTY0QKN9PZMXV
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • promiseRaceStressTestWorkflow | wrun_01KNTA8R7MQWR6P8072F7EDEHH
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KNTACCSGK9D7W1B06794X8WC
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNTADQXC9HPY87E5XZGG0H0D
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNTAECCHXTK520P2Z0QG9DNE
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNTAENWAHX7VTBXHN533VSXS
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNTAEY1YHBRHZHWWC5BX95WC
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNTAF0C2F0KSGM3AKZDPG4KW
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KNTAFBTEQFTMD4K32SDW97VQ
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNTAFV65AZS4WSHDGRK97WHB
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNTAG116N27FV05KPVKPVP1H
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNTAG8AB55F3Z6ZC0275RWSS
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNTAGPDDR47GJVQYW6HTG17C
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNTAGXPRRX0JS0XSQXWQZN3X
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNTAH4JKNVAEM1E7ZK7SPXZN
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNTAHBKY906ETP9F0DQEW95N
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNTAHQJM1E550YWTB21G8RVH
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNTAHZ59ZYB36SCN6MNCSSH9
  • cancelRun - cancelling a running workflow | wrun_01KNTAJ61NAN401E3HVCQTA023
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNTAJFGW9RF21X89P0CGE77Z
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNTAJVS2757P94RSA05QGB5N
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNTAKJFM2VGBVEGXMYWFZDBD
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNTAKY9BZ5SNJ4JY8QWE7Q6C
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNTAM5QFHYE69C1QCWFZRKWG
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KNTAM8KR0AT97WTPP447V2GP
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KNTAMEPZB3206M692NTYHWEG

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8307
✅ example8307
✅ express8307
✅ fastify8307
✅ hono8307
✅ nextjs-turbopack8802
✅ nextjs-webpack8802
✅ nitro8307
✅ nuxt8307
✅ sveltekit8307
✅ vite8307
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack8208
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev600
❌ mongodb5678
✅ redis-dev600
❌ redis5678
✅ turso-dev600
❌ turso3608
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable76014
✅ e2e-local-postgres-nest-stable76014
✅ e2e-local-prod-nest-stable76014

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.036s (+0.8%)1.005s (~)0.968s101.00x
💻 LocalExpress0.051s (+44.6% 🔺)1.005s (~)0.954s101.39x
🐘 PostgresExpress0.058s (-19.6% 🟢)1.010s (-1.0%)0.952s101.60x
🐘 PostgresNitro0.062s (+1.5%)1.010s (~)0.948s101.70x
workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.094s (-0.6%)2.005s (~)0.911s101.00x
💻 LocalExpress1.126s (+2.5%)2.006s (~)0.880s101.03x
🐘 PostgresNitro1.142s (~)2.010s (~)0.867s101.04x
🐘 PostgresExpress1.151s (~)2.009s (~)0.858s101.05x
workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.630s (~)11.022s (~)0.391s31.00x
🐘 PostgresExpress10.906s (-0.7%)11.023s (-2.9%)0.118s31.03x
💻 LocalExpress10.927s (+2.5%)11.023s (~)0.096s31.03x
🐘 PostgresNitro10.932s (+0.6%)11.021s (~)0.088s31.03x
workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro14.241s (~)15.028s (~)0.788s41.00x
🐘 PostgresExpress14.480s (-0.9%)15.026s (~)0.546s41.02x
🐘 PostgresNitro14.550s (~)15.023s (~)0.472s41.02x
💻 LocalExpress14.973s (+5.1% 🔺)15.278s (+1.7%)0.306s41.05x
workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.862s (-3.3%)14.163s (-5.8% 🟢)0.301s71.00x
🐘 PostgresNitro13.959s (~)14.163s (+1.0%)0.204s71.01x
💻 LocalNitro14.934s (~)15.195s (-1.1%)0.261s61.08x
💻 LocalExpress16.532s (+10.9% 🔺)17.030s (+13.3% 🔺)0.497s61.19x
Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.254s (-3.0%)2.009s (~)0.755s151.00x
🐘 PostgresNitro1.266s (~)2.011s (~)0.745s151.01x
💻 LocalNitro1.455s (-1.4%)2.005s (~)0.549s151.16x
💻 LocalExpress1.514s (+3.8%)2.006s (~)0.492s151.21x
Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.330s (~)3.009s (~)0.679s101.00x
🐘 PostgresExpress2.355s (~)3.010s (~)0.655s101.01x
💻 LocalNitro2.507s (-2.1%)3.007s (~)0.500s101.08x
💻 LocalExpress2.910s (+2.4%)3.208s (+3.2%)0.298s101.25x
Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.476s (~)4.010s (~)0.534s81.00x
🐘 PostgresNitro3.481s (+0.8%)4.011s (~)0.530s81.00x
💻 LocalNitro6.687s (-3.7%)7.016s (-6.6% 🟢)0.329s51.92x
💻 LocalExpress8.174s (+15.3% 🔺)9.019s (+12.5% 🔺)0.845s42.35x
Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.247s (-0.7%)2.007s (~)0.760s151.00x
🐘 PostgresNitro1.256s (~)2.009s (~)0.753s151.01x
💻 LocalNitro1.481s (-2.4%)2.005s (~)0.524s151.19x
💻 LocalExpress1.537s (+4.4%)2.006s (~)0.469s151.23x
Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.344s (~)3.010s (~)0.667s101.00x
🐘 PostgresNitro2.352s (+0.9%)3.010s (~)0.658s101.00x
💻 LocalNitro2.673s (-3.4%)3.007s (-3.3%)0.335s101.14x
💻 LocalExpress3.125s (+15.9% 🔺)4.010s (+33.4% 🔺)0.885s81.33x
Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.474s (~)4.009s (~)0.535s81.00x
🐘 PostgresNitro3.494s (~)4.011s (~)0.517s81.01x
💻 LocalNitro7.321s (-1.7%)8.017s (~)0.696s42.11x
💻 LocalExpress8.747s (+14.4% 🔺)9.021s (+12.5% 🔺)0.274s42.52x
workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.686s (-1.3%)1.004s (~)0.318s601.00x
🐘 PostgresExpress0.795s (-6.1% 🟢)1.006s (-1.7%)0.211s601.16x
🐘 PostgresNitro0.827s (+1.4%)1.023s (~)0.196s591.21x
💻 LocalExpress0.981s (+37.9% 🔺)1.158s (+13.4% 🔺)0.177s521.43x
workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.874s (-10.1% 🟢)2.029s (-31.1% 🟢)0.156s451.00x
🐘 PostgresNitro1.955s (+1.3%)2.258s (+7.5% 🔺)0.302s401.04x
💻 LocalNitro2.233s (-1.2%)3.008s (~)0.775s301.19x
💻 LocalExpress3.042s (+34.7% 🔺)3.586s (+19.2% 🔺)0.544s261.62x
workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.821s (-7.2% 🟢)4.043s (-17.4% 🟢)0.222s301.00x
🐘 PostgresNitro4.048s (+4.4%)4.403s (+7.1% 🔺)0.355s281.06x
💻 LocalNitro7.287s (-0.9%)8.014s (~)0.727s151.91x
💻 LocalExpress9.357s (+27.7% 🔺)9.941s (+24.0% 🔺)0.584s132.45x
workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.280s (-2.7%)1.007s (~)0.727s601.00x
🐘 PostgresExpress0.286s (~)1.007s (~)0.721s601.02x
💻 LocalNitro0.564s (~)1.021s (+1.7%)0.457s592.02x
💻 LocalExpress0.592s (-0.9%)1.005s (-1.6%)0.412s602.12x
workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.486s (-1.6%)1.006s (~)0.520s901.00x
🐘 PostgresNitro0.495s (-1.9%)1.006s (~)0.511s901.02x
💻 LocalNitro2.333s (-4.0%)3.007s (~)0.674s304.80x
💻 LocalExpress2.586s (+5.0% 🔺)3.009s (~)0.423s305.32x
workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.780s (-2.7%)1.007s (~)0.227s1201.00x
🐘 PostgresExpress0.783s (-3.6%)1.016s (~)0.233s1191.00x
💻 LocalNitro9.939s (-3.7%)10.691s (-2.2%)0.752s1212.74x
💻 LocalExpress11.201s (+5.8% 🔺)11.845s (+7.5% 🔺)0.644s1114.35x
Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.142s (~)1.004s (~)0.010s (-4.0%)1.015s (~)0.873s101.00x
🐘 PostgresExpress0.199s (-7.8% 🟢)0.994s (~)0.002s (-6.3% 🟢)1.009s (~)0.811s101.40x
💻 LocalExpress0.203s (+43.8% 🔺)1.004s (~)0.012s (+24.5% 🔺)1.018s (~)0.815s101.43x
🐘 PostgresNitro0.214s (~)0.992s (~)0.001s (~)1.011s (~)0.797s101.51x
stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.567s (-1.9%)1.012s (~)0.008s (-14.9% 🟢)1.022s (~)0.455s591.00x
🐘 PostgresExpress0.589s (-8.2% 🟢)1.004s (~)0.004s (-2.4%)1.022s (~)0.433s591.04x
🐘 PostgresNitro0.618s (~)1.004s (~)0.004s (+0.9%)1.022s (~)0.404s591.09x
💻 LocalExpress0.787s (+18.0% 🔺)1.013s (~)0.011s (+14.3% 🔺)1.025s (-8.0% 🟢)0.238s591.39x
10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.922s (-5.9% 🟢)1.171s (-2.3%)0.000s (+292.2% 🔺)1.184s (-2.7%)0.262s511.00x
🐘 PostgresNitro0.951s (-2.9%)1.127s (-11.7% 🟢)0.000s (+30.2% 🔺)1.140s (-12.8% 🟢)0.189s531.03x
💻 LocalNitro1.141s (-3.4%)2.019s (~)0.000s (-20.0% 🟢)2.021s (~)0.880s301.24x
💻 LocalExpress1.251s (+6.0% 🔺)2.022s (~)0.001s (+88.9% 🔺)2.024s (~)0.773s301.36x
fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.716s (-1.3%)2.102s (-1.8%)0.000s (-3.4%)2.129s (-1.1%)0.413s291.00x
🐘 PostgresExpress1.792s (+1.4%)2.173s (+1.6%)0.000s (+3.6%)2.206s (+2.7%)0.415s281.04x
💻 LocalNitro3.470s (-7.7% 🟢)4.099s (-1.6%)0.001s (+40.0% 🔺)4.102s (-1.6%)0.632s152.02x
💻 LocalExpress3.525s (~)4.101s (+1.7%)0.001s (+166.7% 🔺)4.103s (+1.8%)0.578s152.05x

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro21/21
🐘 PostgresExpress16/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres19/21
Nitro🐘 Postgres14/21
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

  • Local: success
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

@changeset-bot

changeset-botBot commented Apr 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 221e1b0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 17 packages
NameType
@workflow/world-vercelPatch
@workflow/cliPatch
@workflow/corePatch
workflowPatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/aiPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes @workflow/world-vercel stream reads by ensuring streams.get() includes the runId in the generated request URL, aligning the client with the /v2/runs/:runId/stream/:streamId endpoint shape.

Changes:

  • Make getStreamUrl() require runId: string and remove the no-runId fallback URL shape.
  • Fix streams.get() to pass through its runId parameter instead of discarding it.
  • Add a changeset for a patch release of @workflow/world-vercel.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

FileDescription
packages/world-vercel/src/streamer.tsCorrects stream read URL construction to include runId and removes legacy fallback path.
.changeset/fix-stream-get-runid.mdAnnounces a patch release documenting the bug fix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment threadpackages/world-vercel/src/streamer.ts
streams.get() was ignoring the runId parameter and hardcoding undefined,
causing requests to hit /api/v2/stream/:streamId instead of the correct
/api/v2/runs/:runId/stream/:streamId. Also removes the fallback path in
getStreamUrl() that allowed omitting runId.
@TooTallNate
TooTallNateforce-pushed the fix/stream-get-runid branch from 3a747ef to 221e1b0CompareApril 9, 2026 23:42
@TooTallNate
TooTallNate enabled auto-merge (squash) April 10, 2026 00:33
@TooTallNate
TooTallNate merged commit 68cf25e into mainApr 10, 2026
160 of 166 checks passed
@TooTallNate
TooTallNate deleted the fix/stream-get-runid branch April 10, 2026 00:39
@ghostghost mentioned this pull request Apr 10, 2026
@TooTallNateTooTallNate added the backport-stable Cherry-pick this PR to the stable branch when merged label Apr 10, 2026
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick could not be applied cleanly.

To resolve manually:

git fetch origin stable
git checkout stable
git cherry-pick 68cf25e83bdc8bf912fb30cb8f9ba4cb9a30f087
# Fix conflicts, then:
git cherry-pick --continue
git push origin stable

@VaguelySeriousVaguelySerious added backport-stable Cherry-pick this PR to the stable branch when merged and removed backport-stable Cherry-pick this PR to the stable branch when merged labels Apr 15, 2026
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick could not be applied cleanly.

To resolve manually:

git fetch origin stable
git checkout stable
git cherry-pick 68cf25e83bdc8bf912fb30cb8f9ba4cb9a30f087
# Fix conflicts, then:
git cherry-pick --continue
git push origin stable

ghost pushed a commit that referenced this pull request Apr 15, 2026
* fix(world-vercel): include runId in streams.get() request URL
streams.get() was ignoring the runId parameter and hardcoding undefined,
causing requests to hit /api/v2/stream/:streamId instead of the correct
/api/v2/runs/:runId/stream/:streamId. Also removes the fallback path in
getStreamUrl() that allowed omitting runId.
* test(world-vercel): add regression test for streams.get() runId in URL
@ghost

Copy link
Copy Markdown

Cherry-pick to stable had conflicts that were resolved by AI. Please review the backport PR: #1757

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-stableCherry-pick this PR to the stable branch when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

fix(world-vercel): include runId in streams.get() request URL - #1676

Merged
TooTallNate merged 2 commits into
mainfrom
fix/stream-get-runid
Apr 10, 2026
Merged

fix(world-vercel): include runId in streams.get() request URL#1676
TooTallNate merged 2 commits into
mainfrom
fix/stream-get-runid

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Fix streams.get() in @workflow/world-vercel to pass runId through to getStreamUrl() instead of hardcoding undefined, which was causing all stream read requests to hit /api/v2/stream/:streamId instead of /api/v2/runs/:runId/stream/:streamId
  • Remove the fallback code path in getStreamUrl() that allowed omitting runId — the parameter is now required as string (was string | undefined)

The health check case is unaffected since it already generates a synthetic runId via generateHealthCheckRunId() — the bug was just that get() was discarding it.

CopilotAI review requested due to automatic review settings April 9, 2026 22:28
@TooTallNate
TooTallNate requested a review from a team as a code ownerApril 9, 2026 22:28
@vercel

vercelBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production923067990
✅ 💻 Local Development89801821080
✅ 📦 Local Production89801821080
✅ 🐘 Local Postgres89801821080
✅ 🪟 Windows820890
❌ 🌍 Community Worlds1337424231
✅ 📋 Other228042270
Total4060746874821

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H

turso (60 failed):

  • addTenWorkflow | wrun_01KNTA3FYJFG1NHVFKDVJXC04N
  • addTenWorkflow | wrun_01KNTA3FYJFG1NHVFKDVJXC04N
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNTA5NH00QTWJWV6ZJDVBMHN
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNTA3R3X9QTX85H2731MZWNT
  • promiseRaceWorkflow | wrun_01KNTA3WCJC5V0GPRJM7A65DGZ
  • promiseAnyWorkflow | wrun_01KNTA3YNDGV4KMNSM17J7NE11
  • importedStepOnlyWorkflow | wrun_01KNTA60Z6DMGTEG23HV6R8MBV
  • hookWorkflow | wrun_01KNTA4AR4AEFFWEHG71KZ7T17
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • sleepingWorkflow | wrun_01KNTA56GV5Y3SHV4RAJQYA9SW
  • parallelSleepWorkflow | wrun_01KNTA5KV543XRHY4CQ82P0D35
  • nullByteWorkflow | wrun_01KNTA5QQVR6XAHEMJAMRBEVBW
  • workflowAndStepMetadataWorkflow | wrun_01KNTA5T1ZSWRMTY0QKN9PZMXV
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • promiseRaceStressTestWorkflow | wrun_01KNTA8R7MQWR6P8072F7EDEHH
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KNTACCSGK9D7W1B06794X8WC
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNTADQXC9HPY87E5XZGG0H0D
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNTAECCHXTK520P2Z0QG9DNE
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNTAENWAHX7VTBXHN533VSXS
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNTAEY1YHBRHZHWWC5BX95WC
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNTAF0C2F0KSGM3AKZDPG4KW
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KNTAFBTEQFTMD4K32SDW97VQ
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNTAFV65AZS4WSHDGRK97WHB
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNTAG116N27FV05KPVKPVP1H
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNTAG8AB55F3Z6ZC0275RWSS
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNTAGPDDR47GJVQYW6HTG17C
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNTAGXPRRX0JS0XSQXWQZN3X
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNTAH4JKNVAEM1E7ZK7SPXZN
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNTAHBKY906ETP9F0DQEW95N
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNTAHQJM1E550YWTB21G8RVH
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNTAHZ59ZYB36SCN6MNCSSH9
  • cancelRun - cancelling a running workflow | wrun_01KNTAJ61NAN401E3HVCQTA023
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNTAJFGW9RF21X89P0CGE77Z
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNTAJVS2757P94RSA05QGB5N
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNTAKJFM2VGBVEGXMYWFZDBD
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNTAKY9BZ5SNJ4JY8QWE7Q6C
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNTAM5QFHYE69C1QCWFZRKWG
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KNTAM8KR0AT97WTPP447V2GP
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KNTAMEPZB3206M692NTYHWEG

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8307
✅ example8307
✅ express8307
✅ fastify8307
✅ hono8307
✅ nextjs-turbopack8802
✅ nextjs-webpack8802
✅ nitro8307
✅ nuxt8307
✅ sveltekit8307
✅ vite8307
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack8208
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev600
❌ mongodb5678
✅ redis-dev600
❌ redis5678
✅ turso-dev600
❌ turso3608
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable76014
✅ e2e-local-postgres-nest-stable76014
✅ e2e-local-prod-nest-stable76014

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.036s (+0.8%)1.005s (~)0.968s101.00x
💻 LocalExpress0.051s (+44.6% 🔺)1.005s (~)0.954s101.39x
🐘 PostgresExpress0.058s (-19.6% 🟢)1.010s (-1.0%)0.952s101.60x
🐘 PostgresNitro0.062s (+1.5%)1.010s (~)0.948s101.70x
workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.094s (-0.6%)2.005s (~)0.911s101.00x
💻 LocalExpress1.126s (+2.5%)2.006s (~)0.880s101.03x
🐘 PostgresNitro1.142s (~)2.010s (~)0.867s101.04x
🐘 PostgresExpress1.151s (~)2.009s (~)0.858s101.05x
workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.630s (~)11.022s (~)0.391s31.00x
🐘 PostgresExpress10.906s (-0.7%)11.023s (-2.9%)0.118s31.03x
💻 LocalExpress10.927s (+2.5%)11.023s (~)0.096s31.03x
🐘 PostgresNitro10.932s (+0.6%)11.021s (~)0.088s31.03x
workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro14.241s (~)15.028s (~)0.788s41.00x
🐘 PostgresExpress14.480s (-0.9%)15.026s (~)0.546s41.02x
🐘 PostgresNitro14.550s (~)15.023s (~)0.472s41.02x
💻 LocalExpress14.973s (+5.1% 🔺)15.278s (+1.7%)0.306s41.05x
workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.862s (-3.3%)14.163s (-5.8% 🟢)0.301s71.00x
🐘 PostgresNitro13.959s (~)14.163s (+1.0%)0.204s71.01x
💻 LocalNitro14.934s (~)15.195s (-1.1%)0.261s61.08x
💻 LocalExpress16.532s (+10.9% 🔺)17.030s (+13.3% 🔺)0.497s61.19x
Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.254s (-3.0%)2.009s (~)0.755s151.00x
🐘 PostgresNitro1.266s (~)2.011s (~)0.745s151.01x
💻 LocalNitro1.455s (-1.4%)2.005s (~)0.549s151.16x
💻 LocalExpress1.514s (+3.8%)2.006s (~)0.492s151.21x
Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.330s (~)3.009s (~)0.679s101.00x
🐘 PostgresExpress2.355s (~)3.010s (~)0.655s101.01x
💻 LocalNitro2.507s (-2.1%)3.007s (~)0.500s101.08x
💻 LocalExpress2.910s (+2.4%)3.208s (+3.2%)0.298s101.25x
Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.476s (~)4.010s (~)0.534s81.00x
🐘 PostgresNitro3.481s (+0.8%)4.011s (~)0.530s81.00x
💻 LocalNitro6.687s (-3.7%)7.016s (-6.6% 🟢)0.329s51.92x
💻 LocalExpress8.174s (+15.3% 🔺)9.019s (+12.5% 🔺)0.845s42.35x
Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.247s (-0.7%)2.007s (~)0.760s151.00x
🐘 PostgresNitro1.256s (~)2.009s (~)0.753s151.01x
💻 LocalNitro1.481s (-2.4%)2.005s (~)0.524s151.19x
💻 LocalExpress1.537s (+4.4%)2.006s (~)0.469s151.23x
Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.344s (~)3.010s (~)0.667s101.00x
🐘 PostgresNitro2.352s (+0.9%)3.010s (~)0.658s101.00x
💻 LocalNitro2.673s (-3.4%)3.007s (-3.3%)0.335s101.14x
💻 LocalExpress3.125s (+15.9% 🔺)4.010s (+33.4% 🔺)0.885s81.33x
Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.474s (~)4.009s (~)0.535s81.00x
🐘 PostgresNitro3.494s (~)4.011s (~)0.517s81.01x
💻 LocalNitro7.321s (-1.7%)8.017s (~)0.696s42.11x
💻 LocalExpress8.747s (+14.4% 🔺)9.021s (+12.5% 🔺)0.274s42.52x
workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.686s (-1.3%)1.004s (~)0.318s601.00x
🐘 PostgresExpress0.795s (-6.1% 🟢)1.006s (-1.7%)0.211s601.16x
🐘 PostgresNitro0.827s (+1.4%)1.023s (~)0.196s591.21x
💻 LocalExpress0.981s (+37.9% 🔺)1.158s (+13.4% 🔺)0.177s521.43x
workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.874s (-10.1% 🟢)2.029s (-31.1% 🟢)0.156s451.00x
🐘 PostgresNitro1.955s (+1.3%)2.258s (+7.5% 🔺)0.302s401.04x
💻 LocalNitro2.233s (-1.2%)3.008s (~)0.775s301.19x
💻 LocalExpress3.042s (+34.7% 🔺)3.586s (+19.2% 🔺)0.544s261.62x
workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.821s (-7.2% 🟢)4.043s (-17.4% 🟢)0.222s301.00x
🐘 PostgresNitro4.048s (+4.4%)4.403s (+7.1% 🔺)0.355s281.06x
💻 LocalNitro7.287s (-0.9%)8.014s (~)0.727s151.91x
💻 LocalExpress9.357s (+27.7% 🔺)9.941s (+24.0% 🔺)0.584s132.45x
workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.280s (-2.7%)1.007s (~)0.727s601.00x
🐘 PostgresExpress0.286s (~)1.007s (~)0.721s601.02x
💻 LocalNitro0.564s (~)1.021s (+1.7%)0.457s592.02x
💻 LocalExpress0.592s (-0.9%)1.005s (-1.6%)0.412s602.12x
workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.486s (-1.6%)1.006s (~)0.520s901.00x
🐘 PostgresNitro0.495s (-1.9%)1.006s (~)0.511s901.02x
💻 LocalNitro2.333s (-4.0%)3.007s (~)0.674s304.80x
💻 LocalExpress2.586s (+5.0% 🔺)3.009s (~)0.423s305.32x
workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.780s (-2.7%)1.007s (~)0.227s1201.00x
🐘 PostgresExpress0.783s (-3.6%)1.016s (~)0.233s1191.00x
💻 LocalNitro9.939s (-3.7%)10.691s (-2.2%)0.752s1212.74x
💻 LocalExpress11.201s (+5.8% 🔺)11.845s (+7.5% 🔺)0.644s1114.35x
Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.142s (~)1.004s (~)0.010s (-4.0%)1.015s (~)0.873s101.00x
🐘 PostgresExpress0.199s (-7.8% 🟢)0.994s (~)0.002s (-6.3% 🟢)1.009s (~)0.811s101.40x
💻 LocalExpress0.203s (+43.8% 🔺)1.004s (~)0.012s (+24.5% 🔺)1.018s (~)0.815s101.43x
🐘 PostgresNitro0.214s (~)0.992s (~)0.001s (~)1.011s (~)0.797s101.51x
stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.567s (-1.9%)1.012s (~)0.008s (-14.9% 🟢)1.022s (~)0.455s591.00x
🐘 PostgresExpress0.589s (-8.2% 🟢)1.004s (~)0.004s (-2.4%)1.022s (~)0.433s591.04x
🐘 PostgresNitro0.618s (~)1.004s (~)0.004s (+0.9%)1.022s (~)0.404s591.09x
💻 LocalExpress0.787s (+18.0% 🔺)1.013s (~)0.011s (+14.3% 🔺)1.025s (-8.0% 🟢)0.238s591.39x
10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.922s (-5.9% 🟢)1.171s (-2.3%)0.000s (+292.2% 🔺)1.184s (-2.7%)0.262s511.00x
🐘 PostgresNitro0.951s (-2.9%)1.127s (-11.7% 🟢)0.000s (+30.2% 🔺)1.140s (-12.8% 🟢)0.189s531.03x
💻 LocalNitro1.141s (-3.4%)2.019s (~)0.000s (-20.0% 🟢)2.021s (~)0.880s301.24x
💻 LocalExpress1.251s (+6.0% 🔺)2.022s (~)0.001s (+88.9% 🔺)2.024s (~)0.773s301.36x
fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.716s (-1.3%)2.102s (-1.8%)0.000s (-3.4%)2.129s (-1.1%)0.413s291.00x
🐘 PostgresExpress1.792s (+1.4%)2.173s (+1.6%)0.000s (+3.6%)2.206s (+2.7%)0.415s281.04x
💻 LocalNitro3.470s (-7.7% 🟢)4.099s (-1.6%)0.001s (+40.0% 🔺)4.102s (-1.6%)0.632s152.02x
💻 LocalExpress3.525s (~)4.101s (+1.7%)0.001s (+166.7% 🔺)4.103s (+1.8%)0.578s152.05x

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro21/21
🐘 PostgresExpress16/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres19/21
Nitro🐘 Postgres14/21
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

  • Local: success
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

@changeset-bot

changeset-botBot commented Apr 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 221e1b0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 17 packages
NameType
@workflow/world-vercelPatch
@workflow/cliPatch
@workflow/corePatch
workflowPatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/aiPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes @workflow/world-vercel stream reads by ensuring streams.get() includes the runId in the generated request URL, aligning the client with the /v2/runs/:runId/stream/:streamId endpoint shape.

Changes:

  • Make getStreamUrl() require runId: string and remove the no-runId fallback URL shape.
  • Fix streams.get() to pass through its runId parameter instead of discarding it.
  • Add a changeset for a patch release of @workflow/world-vercel.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

FileDescription
packages/world-vercel/src/streamer.tsCorrects stream read URL construction to include runId and removes legacy fallback path.
.changeset/fix-stream-get-runid.mdAnnounces a patch release documenting the bug fix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment threadpackages/world-vercel/src/streamer.ts
streams.get() was ignoring the runId parameter and hardcoding undefined,
causing requests to hit /api/v2/stream/:streamId instead of the correct
/api/v2/runs/:runId/stream/:streamId. Also removes the fallback path in
getStreamUrl() that allowed omitting runId.
@TooTallNate
TooTallNateforce-pushed the fix/stream-get-runid branch from 3a747ef to 221e1b0CompareApril 9, 2026 23:42
@TooTallNate
TooTallNate enabled auto-merge (squash) April 10, 2026 00:33
@TooTallNate
TooTallNate merged commit 68cf25e into mainApr 10, 2026
160 of 166 checks passed
@TooTallNate
TooTallNate deleted the fix/stream-get-runid branch April 10, 2026 00:39
@ghostghost mentioned this pull request Apr 10, 2026
@TooTallNateTooTallNate added the backport-stable Cherry-pick this PR to the stable branch when merged label Apr 10, 2026
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick could not be applied cleanly.

To resolve manually:

git fetch origin stable
git checkout stable
git cherry-pick 68cf25e83bdc8bf912fb30cb8f9ba4cb9a30f087
# Fix conflicts, then:
git cherry-pick --continue
git push origin stable

@VaguelySeriousVaguelySerious added backport-stable Cherry-pick this PR to the stable branch when merged and removed backport-stable Cherry-pick this PR to the stable branch when merged labels Apr 15, 2026
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick could not be applied cleanly.

To resolve manually:

git fetch origin stable
git checkout stable
git cherry-pick 68cf25e83bdc8bf912fb30cb8f9ba4cb9a30f087
# Fix conflicts, then:
git cherry-pick --continue
git push origin stable

ghost pushed a commit that referenced this pull request Apr 15, 2026
* fix(world-vercel): include runId in streams.get() request URL
streams.get() was ignoring the runId parameter and hardcoding undefined,
causing requests to hit /api/v2/stream/:streamId instead of the correct
/api/v2/runs/:runId/stream/:streamId. Also removes the fallback path in
getStreamUrl() that allowed omitting runId.
* test(world-vercel): add regression test for streams.get() runId in URL
@ghost

Copy link
Copy Markdown

Cherry-pick to stable had conflicts that were resolved by AI. Please review the backport PR: #1757

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-stableCherry-pick this PR to the stable branch when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

fix(world-vercel): include runId in streams.get() request URL - #1676

Merged
TooTallNate merged 2 commits into
mainfrom
fix/stream-get-runid
Apr 10, 2026
Merged

fix(world-vercel): include runId in streams.get() request URL#1676
TooTallNate merged 2 commits into
mainfrom
fix/stream-get-runid

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Fix streams.get() in @workflow/world-vercel to pass runId through to getStreamUrl() instead of hardcoding undefined, which was causing all stream read requests to hit /api/v2/stream/:streamId instead of /api/v2/runs/:runId/stream/:streamId
  • Remove the fallback code path in getStreamUrl() that allowed omitting runId — the parameter is now required as string (was string | undefined)

The health check case is unaffected since it already generates a synthetic runId via generateHealthCheckRunId() — the bug was just that get() was discarding it.

CopilotAI review requested due to automatic review settings April 9, 2026 22:28
@TooTallNate
TooTallNate requested a review from a team as a code ownerApril 9, 2026 22:28
@vercel

vercelBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production923067990
✅ 💻 Local Development89801821080
✅ 📦 Local Production89801821080
✅ 🐘 Local Postgres89801821080
✅ 🪟 Windows820890
❌ 🌍 Community Worlds1337424231
✅ 📋 Other228042270
Total4060746874821

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H

turso (60 failed):

  • addTenWorkflow | wrun_01KNTA3FYJFG1NHVFKDVJXC04N
  • addTenWorkflow | wrun_01KNTA3FYJFG1NHVFKDVJXC04N
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNTA5NH00QTWJWV6ZJDVBMHN
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNTA3R3X9QTX85H2731MZWNT
  • promiseRaceWorkflow | wrun_01KNTA3WCJC5V0GPRJM7A65DGZ
  • promiseAnyWorkflow | wrun_01KNTA3YNDGV4KMNSM17J7NE11
  • importedStepOnlyWorkflow | wrun_01KNTA60Z6DMGTEG23HV6R8MBV
  • hookWorkflow | wrun_01KNTA4AR4AEFFWEHG71KZ7T17
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • sleepingWorkflow | wrun_01KNTA56GV5Y3SHV4RAJQYA9SW
  • parallelSleepWorkflow | wrun_01KNTA5KV543XRHY4CQ82P0D35
  • nullByteWorkflow | wrun_01KNTA5QQVR6XAHEMJAMRBEVBW
  • workflowAndStepMetadataWorkflow | wrun_01KNTA5T1ZSWRMTY0QKN9PZMXV
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • promiseRaceStressTestWorkflow | wrun_01KNTA8R7MQWR6P8072F7EDEHH
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KNTACCSGK9D7W1B06794X8WC
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNTADQXC9HPY87E5XZGG0H0D
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNTAECCHXTK520P2Z0QG9DNE
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNTAENWAHX7VTBXHN533VSXS
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNTAEY1YHBRHZHWWC5BX95WC
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNTAF0C2F0KSGM3AKZDPG4KW
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KNTAFBTEQFTMD4K32SDW97VQ
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNTAFV65AZS4WSHDGRK97WHB
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNTAG116N27FV05KPVKPVP1H
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNTAG8AB55F3Z6ZC0275RWSS
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNTAGPDDR47GJVQYW6HTG17C
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNTAGXPRRX0JS0XSQXWQZN3X
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNTAH4JKNVAEM1E7ZK7SPXZN
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNTAHBKY906ETP9F0DQEW95N
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNTAHQJM1E550YWTB21G8RVH
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNTAHZ59ZYB36SCN6MNCSSH9
  • cancelRun - cancelling a running workflow | wrun_01KNTAJ61NAN401E3HVCQTA023
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNTAJFGW9RF21X89P0CGE77Z
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNTAJVS2757P94RSA05QGB5N
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNTAKJFM2VGBVEGXMYWFZDBD
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNTAKY9BZ5SNJ4JY8QWE7Q6C
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNTAM5QFHYE69C1QCWFZRKWG
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KNTAM8KR0AT97WTPP447V2GP
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KNTAMEPZB3206M692NTYHWEG

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8307
✅ example8307
✅ express8307
✅ fastify8307
✅ hono8307
✅ nextjs-turbopack8802
✅ nextjs-webpack8802
✅ nitro8307
✅ nuxt8307
✅ sveltekit8307
✅ vite8307
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack8208
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev600
❌ mongodb5678
✅ redis-dev600
❌ redis5678
✅ turso-dev600
❌ turso3608
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable76014
✅ e2e-local-postgres-nest-stable76014
✅ e2e-local-prod-nest-stable76014

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.036s (+0.8%)1.005s (~)0.968s101.00x
💻 LocalExpress0.051s (+44.6% 🔺)1.005s (~)0.954s101.39x
🐘 PostgresExpress0.058s (-19.6% 🟢)1.010s (-1.0%)0.952s101.60x
🐘 PostgresNitro0.062s (+1.5%)1.010s (~)0.948s101.70x
workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.094s (-0.6%)2.005s (~)0.911s101.00x
💻 LocalExpress1.126s (+2.5%)2.006s (~)0.880s101.03x
🐘 PostgresNitro1.142s (~)2.010s (~)0.867s101.04x
🐘 PostgresExpress1.151s (~)2.009s (~)0.858s101.05x
workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.630s (~)11.022s (~)0.391s31.00x
🐘 PostgresExpress10.906s (-0.7%)11.023s (-2.9%)0.118s31.03x
💻 LocalExpress10.927s (+2.5%)11.023s (~)0.096s31.03x
🐘 PostgresNitro10.932s (+0.6%)11.021s (~)0.088s31.03x
workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro14.241s (~)15.028s (~)0.788s41.00x
🐘 PostgresExpress14.480s (-0.9%)15.026s (~)0.546s41.02x
🐘 PostgresNitro14.550s (~)15.023s (~)0.472s41.02x
💻 LocalExpress14.973s (+5.1% 🔺)15.278s (+1.7%)0.306s41.05x
workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.862s (-3.3%)14.163s (-5.8% 🟢)0.301s71.00x
🐘 PostgresNitro13.959s (~)14.163s (+1.0%)0.204s71.01x
💻 LocalNitro14.934s (~)15.195s (-1.1%)0.261s61.08x
💻 LocalExpress16.532s (+10.9% 🔺)17.030s (+13.3% 🔺)0.497s61.19x
Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.254s (-3.0%)2.009s (~)0.755s151.00x
🐘 PostgresNitro1.266s (~)2.011s (~)0.745s151.01x
💻 LocalNitro1.455s (-1.4%)2.005s (~)0.549s151.16x
💻 LocalExpress1.514s (+3.8%)2.006s (~)0.492s151.21x
Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.330s (~)3.009s (~)0.679s101.00x
🐘 PostgresExpress2.355s (~)3.010s (~)0.655s101.01x
💻 LocalNitro2.507s (-2.1%)3.007s (~)0.500s101.08x
💻 LocalExpress2.910s (+2.4%)3.208s (+3.2%)0.298s101.25x
Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.476s (~)4.010s (~)0.534s81.00x
🐘 PostgresNitro3.481s (+0.8%)4.011s (~)0.530s81.00x
💻 LocalNitro6.687s (-3.7%)7.016s (-6.6% 🟢)0.329s51.92x
💻 LocalExpress8.174s (+15.3% 🔺)9.019s (+12.5% 🔺)0.845s42.35x
Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.247s (-0.7%)2.007s (~)0.760s151.00x
🐘 PostgresNitro1.256s (~)2.009s (~)0.753s151.01x
💻 LocalNitro1.481s (-2.4%)2.005s (~)0.524s151.19x
💻 LocalExpress1.537s (+4.4%)2.006s (~)0.469s151.23x
Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.344s (~)3.010s (~)0.667s101.00x
🐘 PostgresNitro2.352s (+0.9%)3.010s (~)0.658s101.00x
💻 LocalNitro2.673s (-3.4%)3.007s (-3.3%)0.335s101.14x
💻 LocalExpress3.125s (+15.9% 🔺)4.010s (+33.4% 🔺)0.885s81.33x
Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.474s (~)4.009s (~)0.535s81.00x
🐘 PostgresNitro3.494s (~)4.011s (~)0.517s81.01x
💻 LocalNitro7.321s (-1.7%)8.017s (~)0.696s42.11x
💻 LocalExpress8.747s (+14.4% 🔺)9.021s (+12.5% 🔺)0.274s42.52x
workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.686s (-1.3%)1.004s (~)0.318s601.00x
🐘 PostgresExpress0.795s (-6.1% 🟢)1.006s (-1.7%)0.211s601.16x
🐘 PostgresNitro0.827s (+1.4%)1.023s (~)0.196s591.21x
💻 LocalExpress0.981s (+37.9% 🔺)1.158s (+13.4% 🔺)0.177s521.43x
workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.874s (-10.1% 🟢)2.029s (-31.1% 🟢)0.156s451.00x
🐘 PostgresNitro1.955s (+1.3%)2.258s (+7.5% 🔺)0.302s401.04x
💻 LocalNitro2.233s (-1.2%)3.008s (~)0.775s301.19x
💻 LocalExpress3.042s (+34.7% 🔺)3.586s (+19.2% 🔺)0.544s261.62x
workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.821s (-7.2% 🟢)4.043s (-17.4% 🟢)0.222s301.00x
🐘 PostgresNitro4.048s (+4.4%)4.403s (+7.1% 🔺)0.355s281.06x
💻 LocalNitro7.287s (-0.9%)8.014s (~)0.727s151.91x
💻 LocalExpress9.357s (+27.7% 🔺)9.941s (+24.0% 🔺)0.584s132.45x
workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.280s (-2.7%)1.007s (~)0.727s601.00x
🐘 PostgresExpress0.286s (~)1.007s (~)0.721s601.02x
💻 LocalNitro0.564s (~)1.021s (+1.7%)0.457s592.02x
💻 LocalExpress0.592s (-0.9%)1.005s (-1.6%)0.412s602.12x
workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.486s (-1.6%)1.006s (~)0.520s901.00x
🐘 PostgresNitro0.495s (-1.9%)1.006s (~)0.511s901.02x
💻 LocalNitro2.333s (-4.0%)3.007s (~)0.674s304.80x
💻 LocalExpress2.586s (+5.0% 🔺)3.009s (~)0.423s305.32x
workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.780s (-2.7%)1.007s (~)0.227s1201.00x
🐘 PostgresExpress0.783s (-3.6%)1.016s (~)0.233s1191.00x
💻 LocalNitro9.939s (-3.7%)10.691s (-2.2%)0.752s1212.74x
💻 LocalExpress11.201s (+5.8% 🔺)11.845s (+7.5% 🔺)0.644s1114.35x
Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.142s (~)1.004s (~)0.010s (-4.0%)1.015s (~)0.873s101.00x
🐘 PostgresExpress0.199s (-7.8% 🟢)0.994s (~)0.002s (-6.3% 🟢)1.009s (~)0.811s101.40x
💻 LocalExpress0.203s (+43.8% 🔺)1.004s (~)0.012s (+24.5% 🔺)1.018s (~)0.815s101.43x
🐘 PostgresNitro0.214s (~)0.992s (~)0.001s (~)1.011s (~)0.797s101.51x
stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.567s (-1.9%)1.012s (~)0.008s (-14.9% 🟢)1.022s (~)0.455s591.00x
🐘 PostgresExpress0.589s (-8.2% 🟢)1.004s (~)0.004s (-2.4%)1.022s (~)0.433s591.04x
🐘 PostgresNitro0.618s (~)1.004s (~)0.004s (+0.9%)1.022s (~)0.404s591.09x
💻 LocalExpress0.787s (+18.0% 🔺)1.013s (~)0.011s (+14.3% 🔺)1.025s (-8.0% 🟢)0.238s591.39x
10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.922s (-5.9% 🟢)1.171s (-2.3%)0.000s (+292.2% 🔺)1.184s (-2.7%)0.262s511.00x
🐘 PostgresNitro0.951s (-2.9%)1.127s (-11.7% 🟢)0.000s (+30.2% 🔺)1.140s (-12.8% 🟢)0.189s531.03x
💻 LocalNitro1.141s (-3.4%)2.019s (~)0.000s (-20.0% 🟢)2.021s (~)0.880s301.24x
💻 LocalExpress1.251s (+6.0% 🔺)2.022s (~)0.001s (+88.9% 🔺)2.024s (~)0.773s301.36x
fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.716s (-1.3%)2.102s (-1.8%)0.000s (-3.4%)2.129s (-1.1%)0.413s291.00x
🐘 PostgresExpress1.792s (+1.4%)2.173s (+1.6%)0.000s (+3.6%)2.206s (+2.7%)0.415s281.04x
💻 LocalNitro3.470s (-7.7% 🟢)4.099s (-1.6%)0.001s (+40.0% 🔺)4.102s (-1.6%)0.632s152.02x
💻 LocalExpress3.525s (~)4.101s (+1.7%)0.001s (+166.7% 🔺)4.103s (+1.8%)0.578s152.05x

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro21/21
🐘 PostgresExpress16/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres19/21
Nitro🐘 Postgres14/21
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

  • Local: success
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

@changeset-bot

changeset-botBot commented Apr 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 221e1b0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 17 packages
NameType
@workflow/world-vercelPatch
@workflow/cliPatch
@workflow/corePatch
workflowPatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/aiPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes @workflow/world-vercel stream reads by ensuring streams.get() includes the runId in the generated request URL, aligning the client with the /v2/runs/:runId/stream/:streamId endpoint shape.

Changes:

  • Make getStreamUrl() require runId: string and remove the no-runId fallback URL shape.
  • Fix streams.get() to pass through its runId parameter instead of discarding it.
  • Add a changeset for a patch release of @workflow/world-vercel.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

FileDescription
packages/world-vercel/src/streamer.tsCorrects stream read URL construction to include runId and removes legacy fallback path.
.changeset/fix-stream-get-runid.mdAnnounces a patch release documenting the bug fix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment threadpackages/world-vercel/src/streamer.ts
streams.get() was ignoring the runId parameter and hardcoding undefined,
causing requests to hit /api/v2/stream/:streamId instead of the correct
/api/v2/runs/:runId/stream/:streamId. Also removes the fallback path in
getStreamUrl() that allowed omitting runId.
@TooTallNate
TooTallNateforce-pushed the fix/stream-get-runid branch from 3a747ef to 221e1b0CompareApril 9, 2026 23:42
@TooTallNate
TooTallNate enabled auto-merge (squash) April 10, 2026 00:33
@TooTallNate
TooTallNate merged commit 68cf25e into mainApr 10, 2026
160 of 166 checks passed
@TooTallNate
TooTallNate deleted the fix/stream-get-runid branch April 10, 2026 00:39
@ghostghost mentioned this pull request Apr 10, 2026
@TooTallNateTooTallNate added the backport-stable Cherry-pick this PR to the stable branch when merged label Apr 10, 2026
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick could not be applied cleanly.

To resolve manually:

git fetch origin stable
git checkout stable
git cherry-pick 68cf25e83bdc8bf912fb30cb8f9ba4cb9a30f087
# Fix conflicts, then:
git cherry-pick --continue
git push origin stable

@VaguelySeriousVaguelySerious added backport-stable Cherry-pick this PR to the stable branch when merged and removed backport-stable Cherry-pick this PR to the stable branch when merged labels Apr 15, 2026
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick could not be applied cleanly.

To resolve manually:

git fetch origin stable
git checkout stable
git cherry-pick 68cf25e83bdc8bf912fb30cb8f9ba4cb9a30f087
# Fix conflicts, then:
git cherry-pick --continue
git push origin stable

ghost pushed a commit that referenced this pull request Apr 15, 2026
* fix(world-vercel): include runId in streams.get() request URL
streams.get() was ignoring the runId parameter and hardcoding undefined,
causing requests to hit /api/v2/stream/:streamId instead of the correct
/api/v2/runs/:runId/stream/:streamId. Also removes the fallback path in
getStreamUrl() that allowed omitting runId.
* test(world-vercel): add regression test for streams.get() runId in URL
@ghost

Copy link
Copy Markdown

Cherry-pick to stable had conflicts that were resolved by AI. Please review the backport PR: #1757

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-stableCherry-pick this PR to the stable branch when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

fix(world-vercel): include runId in streams.get() request URL - #1676

Merged
TooTallNate merged 2 commits into
mainfrom
fix/stream-get-runid
Apr 10, 2026
Merged

fix(world-vercel): include runId in streams.get() request URL#1676
TooTallNate merged 2 commits into
mainfrom
fix/stream-get-runid

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Fix streams.get() in @workflow/world-vercel to pass runId through to getStreamUrl() instead of hardcoding undefined, which was causing all stream read requests to hit /api/v2/stream/:streamId instead of /api/v2/runs/:runId/stream/:streamId
  • Remove the fallback code path in getStreamUrl() that allowed omitting runId — the parameter is now required as string (was string | undefined)

The health check case is unaffected since it already generates a synthetic runId via generateHealthCheckRunId() — the bug was just that get() was discarding it.

CopilotAI review requested due to automatic review settings April 9, 2026 22:28
@TooTallNate
TooTallNate requested a review from a team as a code ownerApril 9, 2026 22:28
@vercel

vercelBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production923067990
✅ 💻 Local Development89801821080
✅ 📦 Local Production89801821080
✅ 🐘 Local Postgres89801821080
✅ 🪟 Windows820890
❌ 🌍 Community Worlds1337424231
✅ 📋 Other228042270
Total4060746874821

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H

turso (60 failed):

  • addTenWorkflow | wrun_01KNTA3FYJFG1NHVFKDVJXC04N
  • addTenWorkflow | wrun_01KNTA3FYJFG1NHVFKDVJXC04N
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNTA5NH00QTWJWV6ZJDVBMHN
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNTA3R3X9QTX85H2731MZWNT
  • promiseRaceWorkflow | wrun_01KNTA3WCJC5V0GPRJM7A65DGZ
  • promiseAnyWorkflow | wrun_01KNTA3YNDGV4KMNSM17J7NE11
  • importedStepOnlyWorkflow | wrun_01KNTA60Z6DMGTEG23HV6R8MBV
  • hookWorkflow | wrun_01KNTA4AR4AEFFWEHG71KZ7T17
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNTA4PKZYG4N1251Y6S71D6M
  • webhookWorkflow | wrun_01KNTA5015KPX230FHJAQM4WV3
  • sleepingWorkflow | wrun_01KNTA56GV5Y3SHV4RAJQYA9SW
  • parallelSleepWorkflow | wrun_01KNTA5KV543XRHY4CQ82P0D35
  • nullByteWorkflow | wrun_01KNTA5QQVR6XAHEMJAMRBEVBW
  • workflowAndStepMetadataWorkflow | wrun_01KNTA5T1ZSWRMTY0QKN9PZMXV
  • fetchWorkflow | wrun_01KNTA8MMM0WJ2WNFVY0EQTZ74
  • promiseRaceStressTestWorkflow | wrun_01KNTA8R7MQWR6P8072F7EDEHH
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KNTACCSGK9D7W1B06794X8WC
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNTAD1RQJF8SQN2WCZGBVDMW
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNTADQXC9HPY87E5XZGG0H0D
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNTAECCHXTK520P2Z0QG9DNE
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNTAENWAHX7VTBXHN533VSXS
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNTAEY1YHBRHZHWWC5BX95WC
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNTAF0C2F0KSGM3AKZDPG4KW
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KNTAFBTEQFTMD4K32SDW97VQ
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNTAFV65AZS4WSHDGRK97WHB
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNTAG116N27FV05KPVKPVP1H
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNTAG8AB55F3Z6ZC0275RWSS
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNTAGPDDR47GJVQYW6HTG17C
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNTAGXPRRX0JS0XSQXWQZN3X
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNTAH4JKNVAEM1E7ZK7SPXZN
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNTAHBKY906ETP9F0DQEW95N
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNTAHQJM1E550YWTB21G8RVH
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNTAHZ59ZYB36SCN6MNCSSH9
  • cancelRun - cancelling a running workflow | wrun_01KNTAJ61NAN401E3HVCQTA023
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNTAJFGW9RF21X89P0CGE77Z
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNTAJVS2757P94RSA05QGB5N
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNTAKJFM2VGBVEGXMYWFZDBD
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNTAKY9BZ5SNJ4JY8QWE7Q6C
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNTAM5QFHYE69C1QCWFZRKWG
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KNTAM8KR0AT97WTPP447V2GP
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KNTAMB9PZ8XHPWE76RJ3DY0H
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KNTAMEPZB3206M692NTYHWEG

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8307
✅ example8307
✅ express8307
✅ fastify8307
✅ hono8307
✅ nextjs-turbopack8802
✅ nextjs-webpack8802
✅ nitro8307
✅ nuxt8307
✅ sveltekit8307
✅ vite8307
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable76014
✅ express-stable76014
✅ fastify-stable76014
✅ hono-stable76014
✅ nextjs-turbopack-canary63027
✅ nextjs-turbopack-stable8208
✅ nextjs-webpack-canary63027
✅ nextjs-webpack-stable8208
✅ nitro-stable76014
✅ nuxt-stable76014
✅ sveltekit-stable76014
✅ vite-stable76014
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack8208
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev600
❌ mongodb5678
✅ redis-dev600
❌ redis5678
✅ turso-dev600
❌ turso3608
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable76014
✅ e2e-local-postgres-nest-stable76014
✅ e2e-local-prod-nest-stable76014

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.036s (+0.8%)1.005s (~)0.968s101.00x
💻 LocalExpress0.051s (+44.6% 🔺)1.005s (~)0.954s101.39x
🐘 PostgresExpress0.058s (-19.6% 🟢)1.010s (-1.0%)0.952s101.60x
🐘 PostgresNitro0.062s (+1.5%)1.010s (~)0.948s101.70x
workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.094s (-0.6%)2.005s (~)0.911s101.00x
💻 LocalExpress1.126s (+2.5%)2.006s (~)0.880s101.03x
🐘 PostgresNitro1.142s (~)2.010s (~)0.867s101.04x
🐘 PostgresExpress1.151s (~)2.009s (~)0.858s101.05x
workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro10.630s (~)11.022s (~)0.391s31.00x
🐘 PostgresExpress10.906s (-0.7%)11.023s (-2.9%)0.118s31.03x
💻 LocalExpress10.927s (+2.5%)11.023s (~)0.096s31.03x
🐘 PostgresNitro10.932s (+0.6%)11.021s (~)0.088s31.03x
workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro14.241s (~)15.028s (~)0.788s41.00x
🐘 PostgresExpress14.480s (-0.9%)15.026s (~)0.546s41.02x
🐘 PostgresNitro14.550s (~)15.023s (~)0.472s41.02x
💻 LocalExpress14.973s (+5.1% 🔺)15.278s (+1.7%)0.306s41.05x
workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.862s (-3.3%)14.163s (-5.8% 🟢)0.301s71.00x
🐘 PostgresNitro13.959s (~)14.163s (+1.0%)0.204s71.01x
💻 LocalNitro14.934s (~)15.195s (-1.1%)0.261s61.08x
💻 LocalExpress16.532s (+10.9% 🔺)17.030s (+13.3% 🔺)0.497s61.19x
Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.254s (-3.0%)2.009s (~)0.755s151.00x
🐘 PostgresNitro1.266s (~)2.011s (~)0.745s151.01x
💻 LocalNitro1.455s (-1.4%)2.005s (~)0.549s151.16x
💻 LocalExpress1.514s (+3.8%)2.006s (~)0.492s151.21x
Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.330s (~)3.009s (~)0.679s101.00x
🐘 PostgresExpress2.355s (~)3.010s (~)0.655s101.01x
💻 LocalNitro2.507s (-2.1%)3.007s (~)0.500s101.08x
💻 LocalExpress2.910s (+2.4%)3.208s (+3.2%)0.298s101.25x
Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.476s (~)4.010s (~)0.534s81.00x
🐘 PostgresNitro3.481s (+0.8%)4.011s (~)0.530s81.00x
💻 LocalNitro6.687s (-3.7%)7.016s (-6.6% 🟢)0.329s51.92x
💻 LocalExpress8.174s (+15.3% 🔺)9.019s (+12.5% 🔺)0.845s42.35x
Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.247s (-0.7%)2.007s (~)0.760s151.00x
🐘 PostgresNitro1.256s (~)2.009s (~)0.753s151.01x
💻 LocalNitro1.481s (-2.4%)2.005s (~)0.524s151.19x
💻 LocalExpress1.537s (+4.4%)2.006s (~)0.469s151.23x
Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.344s (~)3.010s (~)0.667s101.00x
🐘 PostgresNitro2.352s (+0.9%)3.010s (~)0.658s101.00x
💻 LocalNitro2.673s (-3.4%)3.007s (-3.3%)0.335s101.14x
💻 LocalExpress3.125s (+15.9% 🔺)4.010s (+33.4% 🔺)0.885s81.33x
Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.474s (~)4.009s (~)0.535s81.00x
🐘 PostgresNitro3.494s (~)4.011s (~)0.517s81.01x
💻 LocalNitro7.321s (-1.7%)8.017s (~)0.696s42.11x
💻 LocalExpress8.747s (+14.4% 🔺)9.021s (+12.5% 🔺)0.274s42.52x
workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.686s (-1.3%)1.004s (~)0.318s601.00x
🐘 PostgresExpress0.795s (-6.1% 🟢)1.006s (-1.7%)0.211s601.16x
🐘 PostgresNitro0.827s (+1.4%)1.023s (~)0.196s591.21x
💻 LocalExpress0.981s (+37.9% 🔺)1.158s (+13.4% 🔺)0.177s521.43x
workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.874s (-10.1% 🟢)2.029s (-31.1% 🟢)0.156s451.00x
🐘 PostgresNitro1.955s (+1.3%)2.258s (+7.5% 🔺)0.302s401.04x
💻 LocalNitro2.233s (-1.2%)3.008s (~)0.775s301.19x
💻 LocalExpress3.042s (+34.7% 🔺)3.586s (+19.2% 🔺)0.544s261.62x
workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.821s (-7.2% 🟢)4.043s (-17.4% 🟢)0.222s301.00x
🐘 PostgresNitro4.048s (+4.4%)4.403s (+7.1% 🔺)0.355s281.06x
💻 LocalNitro7.287s (-0.9%)8.014s (~)0.727s151.91x
💻 LocalExpress9.357s (+27.7% 🔺)9.941s (+24.0% 🔺)0.584s132.45x
workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.280s (-2.7%)1.007s (~)0.727s601.00x
🐘 PostgresExpress0.286s (~)1.007s (~)0.721s601.02x
💻 LocalNitro0.564s (~)1.021s (+1.7%)0.457s592.02x
💻 LocalExpress0.592s (-0.9%)1.005s (-1.6%)0.412s602.12x
workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.486s (-1.6%)1.006s (~)0.520s901.00x
🐘 PostgresNitro0.495s (-1.9%)1.006s (~)0.511s901.02x
💻 LocalNitro2.333s (-4.0%)3.007s (~)0.674s304.80x
💻 LocalExpress2.586s (+5.0% 🔺)3.009s (~)0.423s305.32x
workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.780s (-2.7%)1.007s (~)0.227s1201.00x
🐘 PostgresExpress0.783s (-3.6%)1.016s (~)0.233s1191.00x
💻 LocalNitro9.939s (-3.7%)10.691s (-2.2%)0.752s1212.74x
💻 LocalExpress11.201s (+5.8% 🔺)11.845s (+7.5% 🔺)0.644s1114.35x
Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.142s (~)1.004s (~)0.010s (-4.0%)1.015s (~)0.873s101.00x
🐘 PostgresExpress0.199s (-7.8% 🟢)0.994s (~)0.002s (-6.3% 🟢)1.009s (~)0.811s101.40x
💻 LocalExpress0.203s (+43.8% 🔺)1.004s (~)0.012s (+24.5% 🔺)1.018s (~)0.815s101.43x
🐘 PostgresNitro0.214s (~)0.992s (~)0.001s (~)1.011s (~)0.797s101.51x
stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.567s (-1.9%)1.012s (~)0.008s (-14.9% 🟢)1.022s (~)0.455s591.00x
🐘 PostgresExpress0.589s (-8.2% 🟢)1.004s (~)0.004s (-2.4%)1.022s (~)0.433s591.04x
🐘 PostgresNitro0.618s (~)1.004s (~)0.004s (+0.9%)1.022s (~)0.404s591.09x
💻 LocalExpress0.787s (+18.0% 🔺)1.013s (~)0.011s (+14.3% 🔺)1.025s (-8.0% 🟢)0.238s591.39x
10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.922s (-5.9% 🟢)1.171s (-2.3%)0.000s (+292.2% 🔺)1.184s (-2.7%)0.262s511.00x
🐘 PostgresNitro0.951s (-2.9%)1.127s (-11.7% 🟢)0.000s (+30.2% 🔺)1.140s (-12.8% 🟢)0.189s531.03x
💻 LocalNitro1.141s (-3.4%)2.019s (~)0.000s (-20.0% 🟢)2.021s (~)0.880s301.24x
💻 LocalExpress1.251s (+6.0% 🔺)2.022s (~)0.001s (+88.9% 🔺)2.024s (~)0.773s301.36x
fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.716s (-1.3%)2.102s (-1.8%)0.000s (-3.4%)2.129s (-1.1%)0.413s291.00x
🐘 PostgresExpress1.792s (+1.4%)2.173s (+1.6%)0.000s (+3.6%)2.206s (+2.7%)0.415s281.04x
💻 LocalNitro3.470s (-7.7% 🟢)4.099s (-1.6%)0.001s (+40.0% 🔺)4.102s (-1.6%)0.632s152.02x
💻 LocalExpress3.525s (~)4.101s (+1.7%)0.001s (+166.7% 🔺)4.103s (+1.8%)0.578s152.05x

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro21/21
🐘 PostgresExpress16/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres19/21
Nitro🐘 Postgres14/21
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

  • Local: success
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

@changeset-bot

changeset-botBot commented Apr 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 221e1b0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 17 packages
NameType
@workflow/world-vercelPatch
@workflow/cliPatch
@workflow/corePatch
workflowPatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/aiPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes @workflow/world-vercel stream reads by ensuring streams.get() includes the runId in the generated request URL, aligning the client with the /v2/runs/:runId/stream/:streamId endpoint shape.

Changes:

  • Make getStreamUrl() require runId: string and remove the no-runId fallback URL shape.
  • Fix streams.get() to pass through its runId parameter instead of discarding it.
  • Add a changeset for a patch release of @workflow/world-vercel.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

FileDescription
packages/world-vercel/src/streamer.tsCorrects stream read URL construction to include runId and removes legacy fallback path.
.changeset/fix-stream-get-runid.mdAnnounces a patch release documenting the bug fix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment threadpackages/world-vercel/src/streamer.ts
streams.get() was ignoring the runId parameter and hardcoding undefined,
causing requests to hit /api/v2/stream/:streamId instead of the correct
/api/v2/runs/:runId/stream/:streamId. Also removes the fallback path in
getStreamUrl() that allowed omitting runId.
@TooTallNate
TooTallNateforce-pushed the fix/stream-get-runid branch from 3a747ef to 221e1b0CompareApril 9, 2026 23:42
@TooTallNate
TooTallNate enabled auto-merge (squash) April 10, 2026 00:33
@TooTallNate
TooTallNate merged commit 68cf25e into mainApr 10, 2026
160 of 166 checks passed
@TooTallNate
TooTallNate deleted the fix/stream-get-runid branch April 10, 2026 00:39
@ghostghost mentioned this pull request Apr 10, 2026
@TooTallNateTooTallNate added the backport-stable Cherry-pick this PR to the stable branch when merged label Apr 10, 2026
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick could not be applied cleanly.

To resolve manually:

git fetch origin stable
git checkout stable
git cherry-pick 68cf25e83bdc8bf912fb30cb8f9ba4cb9a30f087
# Fix conflicts, then:
git cherry-pick --continue
git push origin stable

@VaguelySeriousVaguelySerious added backport-stable Cherry-pick this PR to the stable branch when merged and removed backport-stable Cherry-pick this PR to the stable branch when merged labels Apr 15, 2026
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick could not be applied cleanly.

To resolve manually:

git fetch origin stable
git checkout stable
git cherry-pick 68cf25e83bdc8bf912fb30cb8f9ba4cb9a30f087
# Fix conflicts, then:
git cherry-pick --continue
git push origin stable

ghost pushed a commit that referenced this pull request Apr 15, 2026
* fix(world-vercel): include runId in streams.get() request URL
streams.get() was ignoring the runId parameter and hardcoding undefined,
causing requests to hit /api/v2/stream/:streamId instead of the correct
/api/v2/runs/:runId/stream/:streamId. Also removes the fallback path in
getStreamUrl() that allowed omitting runId.
* test(world-vercel): add regression test for streams.get() runId in URL
@ghost

Copy link
Copy Markdown

Cherry-pick to stable had conflicts that were resolved by AI. Please review the backport PR: #1757

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-stableCherry-pick this PR to the stable branch when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@TooTallNate@VaguelySerious