Skip to content

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

Closed
ghost wants to merge 1 commit into
stablefrom
backport/pr-1676-to-stable
Closed

Backport #1676: fix(world-vercel): include runId in streams.get() request URL#1757
ghost wants to merge 1 commit into
stablefrom
backport/pr-1676-to-stable

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Apr 15, 2026

Automated backport of #1676 to stable.

Merge conflicts were resolved by AI (opencode with Claude Opus). Please review the conflict resolution before merging.

* 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 ghost self-requested a review as a code owner April 15, 2026 22:12
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 15, 2026

🦋 Changeset detected

Latest commit: 6660304

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

This PR includes changesets to release 18 packages
Name Type
@workflow/world-vercel Patch
@workflow/cli Patch
@workflow/core Patch
@workflow/web Patch
workflow Patch
@workflow/world-testing Patch
@workflow/builders Patch
@workflow/next Patch
@workflow/nitro Patch
@workflow/vitest Patch
@workflow/web-shared Patch
@workflow/ai Patch
@workflow/astro Patch
@workflow/nest Patch
@workflow/rollup Patch
@workflow/sveltekit Patch
@workflow/vite Patch
@workflow/nuxt Patch

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 15, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
❌ ▲ Vercel Production 900 1 67 968
✅ 💻 Local Development 794 0 174 968
✅ 📦 Local Production 874 0 182 1056
✅ 🐘 Local Postgres 874 0 182 1056
✅ 🪟 Windows 80 0 8 88
❌ 🌍 Community Worlds 16 60 8 84
✅ 📋 Other 222 0 42 264
Total 3760 61 663 4484

❌ Failed Tests

▲ Vercel Production (1 failed)

vite (1 failed):

🌍 Community Worlds (60 failed)

mongodb-dev (1 failed):

  • dev e2e should rebuild on imported step dependency change

redis-dev (1 failed):

  • dev e2e should rebuild on imported step dependency change

turso-dev (1 failed):

  • dev e2e should rebuild on imported step dependency change

turso (57 failed):

  • addTenWorkflow | wrun_01KP9KCBQSF0952FY1ERWNB37A
  • addTenWorkflow | wrun_01KP9KCBQSF0952FY1ERWNB37A
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KP9KE3P1D8TF13BBM395E67K
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KP9KCKT05Z7V7N13N5EN5VNR
  • promiseRaceWorkflow | wrun_01KP9KCSDENPRSK3KCBBW9AN45
  • promiseAnyWorkflow | wrun_01KP9KCVH5K5PRB4RDHBH0HX9T
  • importedStepOnlyWorkflow | wrun_01KP9KEEHCK0FTMZCMCCNWA223
  • hookWorkflow | wrun_01KP9KD7HQ217B0445S7RB4G17
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP9KDKSDJCSZNPR283AGHB6Y
  • webhookWorkflow | wrun_01KP9KDY0Z1XD5TVTHQAEKAH8Q
  • sleepingWorkflow | wrun_01KP9KHM09ZEZ8YYWG88MH1108
  • parallelSleepWorkflow | wrun_01KP9KJ0P2TC0B5ET67NSHJSJB
  • nullByteWorkflow | wrun_01KP9KJ40EDQSCDSS6F33BWFC6
  • workflowAndStepMetadataWorkflow | wrun_01KP9KJ63S5HN77YTSYA0S7H8X
  • fetchWorkflow | wrun_01KP9KN0YKCYC7QJSJ2BRKQXX8
  • promiseRaceStressTestWorkflow | wrun_01KP9KN4N4HV7YGBCDR1T9H7DF
  • 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_01KP9KRKV9YPQRJDR4AZ28T662
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP9KS94323Q443T8GRC7KWE2
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KP9KSYR7YR66N15BG2JCNX30
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KP9KTJRJ230G0V2YMND89YZ9
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KP9KTVGJ1QAZE8XBR6GF53Q4
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KP9KV11KAN4DX1EP2HPV92CH
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KP9KV35SV4BFDADK0AZSNF52
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KP9KVJZPCYMVCD7T9FJ00Q4P
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KP9KVRS3CC3YF7WE7VM89GC4
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KP9KVZG0Z9K5M3ZWC1XW3364
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KP9KW68ZYAZB4X7H4R2PZQCA
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KP9KWCW7PT9ED7MN747JHAPS
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KP9KWKH27SQBVBVAHV76GDHV
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KP9KWT4XCWX49QGY8HTDP9B7
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KP9KX6GMAYYTGWZ0P29TRG7B
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KP9KXEEMY06A1AYV18F7X412
  • cancelRun - cancelling a running workflow | wrun_01KP9KXN6GRFX19DA77E9RTPKC
  • cancelRun via CLI - cancelling a running workflow | wrun_01KP9KXYVV9BJ2PRQ7ZCYH77RW
  • 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_01KP9KYAY17SFETC2H0AE8B70F
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KP9KZ0FR82MTCV6HPFCBM34J
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KP9KZBJCFKE85D176ACR0T4A
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KP9KZJCBMW58RWY68Q5ZD4X5
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KP9KZMGM1M3393D5308X1RW2
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KP9KZPTWMMHSWAH5H3AWBJZ9

Details by Category

❌ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 81 0 7
✅ example 81 0 7
✅ express 81 0 7
✅ fastify 81 0 7
✅ hono 81 0 7
✅ nextjs-turbopack 86 0 2
✅ nextjs-webpack 86 0 2
✅ nitro 81 0 7
✅ nuxt 81 0 7
✅ sveltekit 81 0 7
❌ vite 80 1 7
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 74 0 14
✅ express-stable 74 0 14
✅ fastify-stable 74 0 14
✅ hono-stable 74 0 14
✅ nextjs-turbopack-canary 61 0 27
✅ nextjs-turbopack-stable 80 0 8
✅ nextjs-webpack-canary 61 0 27
✅ nitro-stable 74 0 14
✅ nuxt-stable 74 0 14
✅ sveltekit-stable 74 0 14
✅ vite-stable 74 0 14
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 74 0 14
✅ express-stable 74 0 14
✅ fastify-stable 74 0 14
✅ hono-stable 74 0 14
✅ nextjs-turbopack-canary 61 0 27
✅ nextjs-turbopack-stable 80 0 8
✅ nextjs-webpack-canary 61 0 27
✅ nextjs-webpack-stable 80 0 8
✅ nitro-stable 74 0 14
✅ nuxt-stable 74 0 14
✅ sveltekit-stable 74 0 14
✅ vite-stable 74 0 14
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 74 0 14
✅ express-stable 74 0 14
✅ fastify-stable 74 0 14
✅ hono-stable 74 0 14
✅ nextjs-turbopack-canary 61 0 27
✅ nextjs-turbopack-stable 80 0 8
✅ nextjs-webpack-canary 61 0 27
✅ nextjs-webpack-stable 80 0 8
✅ nitro-stable 74 0 14
✅ nuxt-stable 74 0 14
✅ sveltekit-stable 74 0 14
✅ vite-stable 74 0 14
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 80 0 8
❌ 🌍 Community Worlds
App Passed Failed Skipped
❌ mongodb-dev 4 1 0
❌ redis-dev 4 1 0
❌ turso-dev 4 1 0
❌ turso 4 57 8
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 74 0 14
✅ e2e-local-postgres-nest-stable 74 0 14
✅ e2e-local-prod-nest-stable 74 0 14

📋 View full workflow run


Some E2E test jobs failed:

  • Vercel Prod: failure
  • Local Dev: failure
  • Local Prod: success
  • Local Postgres: success
  • Windows: success

Check the workflow run for details.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment Apr 15, 2026 10:16pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment Apr 15, 2026 10:16pm
example-workflow Ready Ready Preview, Comment Apr 15, 2026 10:16pm
workbench-astro-workflow Ready Ready Preview, Comment Apr 15, 2026 10:16pm
workbench-express-workflow Ready Ready Preview, Comment Apr 15, 2026 10:16pm
workbench-fastify-workflow Ready Ready Preview, Comment Apr 15, 2026 10:16pm
workbench-hono-workflow Ready Ready Preview, Comment Apr 15, 2026 10:16pm
workbench-nitro-workflow Ready Ready Preview, Comment Apr 15, 2026 10:16pm
workbench-nuxt-workflow Ready Ready Preview, Comment Apr 15, 2026 10:16pm
workbench-sveltekit-workflow Ready Ready Preview, Comment Apr 15, 2026 10:16pm
workbench-vite-workflow Ready Ready Preview, Comment Apr 15, 2026 10:16pm
workflow-docs Ready Ready Preview, Comment, Open in v0 Apr 15, 2026 10:16pm
workflow-swc-playground Ready Ready Preview, Comment Apr 15, 2026 10:16pm
workflow-web Ready Ready Preview, Comment Apr 15, 2026 10:16pm

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants