Skip to content

[world-vercel] Use stream close control frame to decide whether to reconnect to stream#1742

Open
VaguelySerious wants to merge 12 commits intomainfrom
peter/stream-reconnect
Open

[world-vercel] Use stream close control frame to decide whether to reconnect to stream#1742
VaguelySerious wants to merge 12 commits intomainfrom
peter/stream-reconnect

Conversation

@VaguelySerious
Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
# Conflicts:
#	packages/world-vercel/src/streamer.test.ts
#	packages/world-vercel/src/streamer.ts
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 15, 2026

🦋 Changeset detected

Latest commit: 552c2eb

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

@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 16, 2026 2:38am
example-nextjs-workflow-webpack Ready Ready Preview, Comment Apr 16, 2026 2:38am
example-workflow Ready Ready Preview, Comment Apr 16, 2026 2:38am
workbench-astro-workflow Ready Ready Preview, Comment Apr 16, 2026 2:38am
workbench-express-workflow Ready Ready Preview, Comment Apr 16, 2026 2:38am
workbench-fastify-workflow Ready Ready Preview, Comment Apr 16, 2026 2:38am
workbench-hono-workflow Ready Ready Preview, Comment Apr 16, 2026 2:38am
workbench-nitro-workflow Ready Ready Preview, Comment Apr 16, 2026 2:38am
workbench-nuxt-workflow Ready Ready Preview, Comment Apr 16, 2026 2:38am
workbench-sveltekit-workflow Ready Ready Preview, Comment Apr 16, 2026 2:38am
workbench-vite-workflow Ready Ready Preview, Comment Apr 16, 2026 2:38am
workflow-docs Ready Ready Preview, Comment, Open in v0 Apr 16, 2026 2:38am
workflow-swc-playground Ready Ready Preview, Comment Apr 16, 2026 2:38am
workflow-web Ready Ready Preview, Comment Apr 16, 2026 2:38am

@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 923 0 67 990
✅ 💻 Local Development 898 0 182 1080
✅ 📦 Local Production 898 0 182 1080
✅ 🐘 Local Postgres 898 0 182 1080
✅ 🪟 Windows 82 0 8 90
❌ 🌍 Community Worlds 133 74 24 231
✅ 📋 Other 228 0 42 270
Total 4060 74 687 4821

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA2D1P7C32BZTMSYPWE0GM0
  • webhookWorkflow | wrun_01KPA2DA820CETQ0Z5GX0SCFMN
  • fetchWorkflow | wrun_01KPA2GPMWG0S7PEKW0G4F2CDX
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA2MJ498Z2TBDT5N5MTT106
  • 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_01KPA2TQD0NFF0KMBHQ7NVJP7R

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA2D1P7C32BZTMSYPWE0GM0
  • webhookWorkflow | wrun_01KPA2DA820CETQ0Z5GX0SCFMN
  • fetchWorkflow | wrun_01KPA2GPMWG0S7PEKW0G4F2CDX
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA2MJ498Z2TBDT5N5MTT106
  • 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_01KPA2TQD0NFF0KMBHQ7NVJP7R

turso (60 failed):

  • addTenWorkflow | wrun_01KPA2BXMMNF2DFX2N8WKKBPGC
  • addTenWorkflow | wrun_01KPA2BXMMNF2DFX2N8WKKBPGC
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KPA2C37N4QXRXS2FC2XWNWWR
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KPA2C3MD4172ABC84EMRJ5VB
  • promiseRaceWorkflow | wrun_01KPA2C91N33WXEHR2BT2QBQ7J
  • promiseAnyWorkflow | wrun_01KPA2CAYA566XW4PVE6RGD04D
  • importedStepOnlyWorkflow | wrun_01KPA2CDWEBNJ53F5DSPP30XKJ
  • hookWorkflow | wrun_01KPA2CQECPZQ6B8Y1RR5B42B0
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA2D1P7C32BZTMSYPWE0GM0
  • webhookWorkflow | wrun_01KPA2DA820CETQ0Z5GX0SCFMN
  • sleepingWorkflow | wrun_01KPA2DERCJ6K10XTD9AK21FF3
  • parallelSleepWorkflow | wrun_01KPA2DTGT5XCKJC2VFGHE18D1
  • nullByteWorkflow | wrun_01KPA2DYSWTT9GFKDVG4W5QEP4
  • workflowAndStepMetadataWorkflow | wrun_01KPA2E0MRYW6GF4DDMS184WCR
  • fetchWorkflow | wrun_01KPA2GPMWG0S7PEKW0G4F2CDX
  • promiseRaceStressTestWorkflow | wrun_01KPA2GSMNKBNNCASVJ3F5D9YG
  • 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_01KPA2KZ70EH2KY8N5HHES9EAJ
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA2MJ498Z2TBDT5N5MTT106
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KPA2N5NPBCWJ9C9J3D480K6R
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KPA2NR72337D9SD5ZM2RYR61
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KPA2P08QB90DCNPJA22G7DEX
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KPA2P542XAD8C0MZNBZG2SAV
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KPA2P70SJB27F3V4SV91NN7V
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KPA2PGWG5G5JS65HJH91TMGH
  • 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_01KPA2PZTRF26HVHRF9CSHX6PG
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KPA2Q4K9R790ZN2ZWPZPZ86C
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KPA2QACFA4VJNVVDAEH3D4M4
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KPA2QG8TKJWQRA8M6F0C4CST
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KPA2QPXVX7PVSBRBXQCJQ01T
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KPA2QXZ1MK2B60RCJ7Z5EBDB
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KPA2R4BNXZGKDE2AXJTPMCYV
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KPA2REAWE69DRRWH56KCFS62
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KPA2RPG2CP7H2110NKZ95G28
  • cancelRun - cancelling a running workflow | wrun_01KPA2RWE68D37H81V6GWY7JSY
  • cancelRun via CLI - cancelling a running workflow | wrun_01KPA2S5Z6KG00NQ3HFVDHA6SF
  • 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_01KPA2SH01PKBY4X41DGKF3GGP
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KPA2T3WYK1BGVZAZPKPC5CWM
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KPA2TDHZSDCPQ2MTY0Q2VJ96
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KPA2TKPPVB0GWY6TTMENSC1Y
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KPA2TNJCRD7WY95SQMCJYEG4
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KPA2TQD0NFF0KMBHQ7NVJP7R
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KPA2TTCZ2H2WF90XKBJX5B8M

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 83 0 7
✅ example 83 0 7
✅ express 83 0 7
✅ fastify 83 0 7
✅ hono 83 0 7
✅ nextjs-turbopack 88 0 2
✅ nextjs-webpack 88 0 2
✅ nitro 83 0 7
✅ nuxt 83 0 7
✅ sveltekit 83 0 7
✅ vite 83 0 7
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 76 0 14
✅ express-stable 76 0 14
✅ fastify-stable 76 0 14
✅ hono-stable 76 0 14
✅ nextjs-turbopack-canary 63 0 27
✅ nextjs-turbopack-stable 82 0 8
✅ nextjs-webpack-canary 63 0 27
✅ nextjs-webpack-stable 82 0 8
✅ nitro-stable 76 0 14
✅ nuxt-stable 76 0 14
✅ sveltekit-stable 76 0 14
✅ vite-stable 76 0 14
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 76 0 14
✅ express-stable 76 0 14
✅ fastify-stable 76 0 14
✅ hono-stable 76 0 14
✅ nextjs-turbopack-canary 63 0 27
✅ nextjs-turbopack-stable 82 0 8
✅ nextjs-webpack-canary 63 0 27
✅ nextjs-webpack-stable 82 0 8
✅ nitro-stable 76 0 14
✅ nuxt-stable 76 0 14
✅ sveltekit-stable 76 0 14
✅ vite-stable 76 0 14
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 76 0 14
✅ express-stable 76 0 14
✅ fastify-stable 76 0 14
✅ hono-stable 76 0 14
✅ nextjs-turbopack-canary 63 0 27
✅ nextjs-turbopack-stable 82 0 8
✅ nextjs-webpack-canary 63 0 27
✅ nextjs-webpack-stable 82 0 8
✅ nitro-stable 76 0 14
✅ nuxt-stable 76 0 14
✅ sveltekit-stable 76 0 14
✅ vite-stable 76 0 14
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 82 0 8
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 6 0 0
❌ mongodb 56 7 8
✅ redis-dev 6 0 0
❌ redis 56 7 8
✅ turso-dev 6 0 0
❌ turso 3 60 8
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 76 0 14
✅ e2e-local-postgres-nest-stable 76 0 14
✅ e2e-local-prod-nest-stable 76 0 14

📋 View full workflow run

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 15, 2026

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 0.042s (+19.1% 🔺) 1.005s (~) 0.963s 10 1.00x
🐘 Postgres Next.js (Turbopack) 0.047s 1.009s 0.962s 10 1.12x
💻 Local Next.js (Turbopack) 0.047s 1.005s 0.958s 10 1.12x
🐘 Postgres Express 0.057s (-20.9% 🟢) 1.010s (-1.0%) 0.953s 10 1.37x
🐘 Postgres Nitro 0.101s (+66.9% 🔺) 1.049s (+3.8%) 0.947s 10 2.43x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 0.216s (-10.8% 🟢) 1.883s (-7.9% 🟢) 1.667s 10 1.00x
▲ Vercel Next.js (Turbopack) 0.253s (+1.7%) 1.954s (-9.3% 🟢) 1.701s 10 1.17x
▲ Vercel Express ⚠️ missing - - - -

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 1.114s 2.010s 0.896s 10 1.00x
💻 Local Next.js (Turbopack) 1.123s 2.005s 0.882s 10 1.01x
🐘 Postgres Nitro 1.127s (-1.0%) 2.015s (~) 0.887s 10 1.01x
💻 Local Express 1.140s (+3.7%) 2.017s (+0.5%) 0.877s 10 1.02x
🐘 Postgres Express 1.148s (~) 2.009s (~) 0.862s 10 1.03x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 1.767s (-22.7% 🟢) 3.441s (-13.5% 🟢) 1.673s 10 1.00x
▲ Vercel Next.js (Turbopack) 1.957s (+4.4%) 3.458s (-3.7%) 1.500s 10 1.11x
▲ Vercel Express ⚠️ missing - - - -

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 10.666s 11.018s 0.352s 3 1.00x
💻 Local Next.js (Turbopack) 10.784s 11.022s 0.239s 3 1.01x
🐘 Postgres Nitro 10.886s (~) 11.020s (~) 0.134s 3 1.02x
🐘 Postgres Express 10.889s (-0.8%) 11.026s (-2.9%) 0.136s 3 1.02x
💻 Local Express 10.932s (+2.6%) 11.024s (~) 0.092s 3 1.02x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 16.189s (-11.4% 🟢) 17.970s (-12.8% 🟢) 1.781s 2 1.00x
▲ Vercel Next.js (Turbopack) 17.376s (-1.7%) 18.479s (-5.3% 🟢) 1.103s 2 1.07x
▲ Vercel Express ⚠️ missing - - - -

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 14.102s 15.024s 0.921s 4 1.00x
💻 Local Next.js (Turbopack) 14.599s 15.030s 0.431s 4 1.04x
🐘 Postgres Express 14.653s (~) 15.030s (~) 0.377s 4 1.04x
🐘 Postgres Nitro 14.745s (+1.1%) 15.273s (+1.6%) 0.527s 4 1.05x
💻 Local Express 14.964s (+5.1% 🔺) 15.279s (+1.7%) 0.315s 4 1.06x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 31.725s (~) 33.787s (~) 2.062s 2 1.00x
▲ Vercel Next.js (Turbopack) 33.553s (+2.3%) 34.730s (~) 1.177s 2 1.06x
▲ Vercel Express ⚠️ missing - - - -

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 50 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 13.018s 13.446s 0.428s 7 1.00x
🐘 Postgres Nitro 13.761s (-1.3%) 14.306s (+2.0%) 0.545s 7 1.06x
🐘 Postgres Express 13.885s (-3.1%) 14.020s (-6.7% 🟢) 0.135s 7 1.07x
💻 Local Next.js (Turbopack) 16.128s 16.530s 0.402s 6 1.24x
💻 Local Express 16.546s (+11.0% 🔺) 17.030s (+13.3% 🔺) 0.484s 6 1.27x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 50.975s (-6.0% 🟢) 52.856s (-6.4% 🟢) 1.881s 2 1.00x
▲ Vercel Next.js (Turbopack) 53.966s (-3.8%) 55.486s (-3.8%) 1.520s 2 1.06x
▲ Vercel Express ⚠️ missing - - - -

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 1.175s 2.008s 0.834s 15 1.00x
🐘 Postgres Nitro 1.210s (-4.4%) 2.009s (~) 0.798s 15 1.03x
🐘 Postgres Express 1.267s (-2.0%) 2.011s (~) 0.744s 15 1.08x
💻 Local Express 1.507s (+3.3%) 2.006s (~) 0.499s 15 1.28x
💻 Local Next.js (Turbopack) 1.571s 2.007s 0.436s 15 1.34x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.264s (-18.5% 🟢) 3.854s (-11.6% 🟢) 1.590s 8 1.00x
▲ Vercel Next.js (Turbopack) 2.339s (+8.2% 🔺) 3.813s (+2.7%) 1.473s 8 1.03x
▲ Vercel Express ⚠️ missing - - - -

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 2.284s (-2.3%) 3.014s (~) 0.730s 10 1.00x
🐘 Postgres Express 2.342s (-0.5%) 3.009s (~) 0.666s 10 1.03x
🐘 Postgres Next.js (Turbopack) 2.346s 3.009s 0.663s 10 1.03x
💻 Local Express 2.969s (+4.5%) 3.342s (+7.5% 🔺) 0.372s 9 1.30x
💻 Local Next.js (Turbopack) 3.061s 3.759s 0.698s 8 1.34x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.542s (-17.9% 🟢) 3.774s (-18.3% 🟢) 1.232s 9 1.00x
▲ Vercel Nitro 2.975s (+4.2%) 4.424s (-3.0%) 1.449s 7 1.17x
▲ Vercel Express ⚠️ missing - - - -

🔍 Observability: Next.js (Turbopack) | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 3.420s (-1.0%) 4.010s (~) 0.589s 8 1.00x
🐘 Postgres Express 3.458s (-0.7%) 4.011s (~) 0.553s 8 1.01x
🐘 Postgres Next.js (Turbopack) 3.546s 4.009s 0.462s 8 1.04x
💻 Local Next.js (Turbopack) 8.002s 8.516s 0.514s 4 2.34x
💻 Local Express 8.336s (+17.6% 🔺) 9.023s (+12.6% 🔺) 0.687s 4 2.44x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.901s (-16.3% 🟢) 4.331s (-15.9% 🟢) 1.430s 7 1.00x
▲ Vercel Next.js (Turbopack) 3.201s (-19.1% 🟢) 4.708s (-16.6% 🟢) 1.507s 7 1.10x
▲ Vercel Express ⚠️ missing - - - -

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 1.175s 2.009s 0.835s 15 1.00x
🐘 Postgres Nitro 1.211s (-3.8%) 2.007s (~) 0.796s 15 1.03x
🐘 Postgres Express 1.266s (+0.8%) 2.008s (~) 0.742s 15 1.08x
💻 Local Next.js (Turbopack) 1.477s 2.006s 0.530s 15 1.26x
💻 Local Express 1.550s (+5.4% 🔺) 2.007s (~) 0.456s 15 1.32x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.192s (-1.3%) 3.534s (-7.4% 🟢) 1.342s 9 1.00x
▲ Vercel Nitro 2.518s (+2.6%) 3.887s (-4.2%) 1.368s 8 1.15x
▲ Vercel Express ⚠️ missing - - - -

🔍 Observability: Next.js (Turbopack) | Nitro

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 2.329s (~) 3.010s (~) 0.680s 10 1.00x
🐘 Postgres Next.js (Turbopack) 2.337s 3.008s 0.671s 10 1.00x
🐘 Postgres Nitro 2.351s (+0.9%) 3.008s (~) 0.657s 10 1.01x
💻 Local Express 3.006s (+11.5% 🔺) 3.760s (+25.0% 🔺) 0.753s 8 1.29x
💻 Local Next.js (Turbopack) 3.017s 3.675s 0.658s 9 1.30x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.270s (-30.0% 🟢) 3.567s (-27.1% 🟢) 1.297s 9 1.00x
▲ Vercel Nitro 2.774s (-22.0% 🟢) 4.802s (-10.3% 🟢) 2.028s 7 1.22x
▲ Vercel Express ⚠️ missing - - - -

🔍 Observability: Next.js (Turbopack) | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 3.497s (~) 4.009s (~) 0.512s 8 1.00x
🐘 Postgres Next.js (Turbopack) 3.530s 4.012s 0.482s 8 1.01x
🐘 Postgres Nitro 3.899s (+11.8% 🔺) 4.323s (+7.8% 🔺) 0.424s 7 1.11x
💻 Local Express 8.506s (+11.2% 🔺) 9.022s (+12.6% 🔺) 0.516s 4 2.43x
💻 Local Next.js (Turbopack) 8.947s 9.521s 0.574s 4 2.56x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 4.904s (+21.3% 🔺) 6.390s (+5.4% 🔺) 1.487s 5 1.00x
▲ Vercel Next.js (Turbopack) 6.045s (+42.9% 🔺) 7.595s (+32.2% 🔺) 1.550s 4 1.23x
▲ Vercel Express ⚠️ missing - - - -

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 0.632s 1.023s 0.390s 59 1.00x
🐘 Postgres Nitro 0.751s (-7.9% 🟢) 1.098s (+7.4% 🔺) 0.347s 55 1.19x
🐘 Postgres Express 0.824s (-2.6%) 1.006s (-1.7%) 0.182s 60 1.30x
💻 Local Next.js (Turbopack) 0.826s 1.004s 0.179s 60 1.31x
💻 Local Express 0.976s (+37.1% 🔺) 1.076s (+5.4% 🔺) 0.100s 56 1.54x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 8.733s (-3.2%) 10.439s (-5.6% 🟢) 1.705s 6 1.00x
▲ Vercel Next.js (Turbopack) 9.590s (-21.3% 🟢) 11.093s (-21.9% 🟢) 1.503s 6 1.10x
▲ Vercel Express ⚠️ missing - - - -

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 1.458s 2.007s 0.549s 45 1.00x
🐘 Postgres Express 1.937s (-7.0% 🟢) 2.124s (-27.9% 🟢) 0.187s 43 1.33x
🐘 Postgres Nitro 1.946s (+0.8%) 2.314s (+10.2% 🔺) 0.369s 39 1.34x
💻 Local Next.js (Turbopack) 2.625s 3.007s 0.382s 30 1.80x
💻 Local Express 2.999s (+32.8% 🔺) 3.470s (+15.4% 🔺) 0.471s 26 2.06x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 26.979s (-10.5% 🟢) 28.916s (-10.8% 🟢) 1.937s 4 1.00x
▲ Vercel Next.js (Turbopack) 28.269s (-7.3% 🟢) 29.771s (-7.9% 🟢) 1.502s 4 1.05x
▲ Vercel Express ⚠️ missing - - - -

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 2.967s 3.166s 0.199s 38 1.00x
🐘 Postgres Nitro 3.493s (-9.9% 🟢) 4.108s (~) 0.616s 30 1.18x
🐘 Postgres Express 3.960s (-3.9%) 4.332s (-11.5% 🟢) 0.372s 28 1.33x
💻 Local Next.js (Turbopack) 8.463s 9.017s 0.553s 14 2.85x
💻 Local Express 9.082s (+24.0% 🔺) 9.634s (+20.2% 🔺) 0.552s 13 3.06x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 68.088s (-42.5% 🟢) 70.160s (-41.8% 🟢) 2.072s 2 1.00x
▲ Vercel Next.js (Turbopack) 76.416s (-7.5% 🟢) 77.584s (-8.0% 🟢) 1.168s 2 1.12x
▲ Vercel Express ⚠️ missing - - - -

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 0.190s 1.007s 0.817s 60 1.00x
🐘 Postgres Nitro 0.241s (-16.1% 🟢) 1.007s (~) 0.766s 60 1.27x
🐘 Postgres Express 0.279s (-2.0%) 1.007s (~) 0.728s 60 1.47x
💻 Local Next.js (Turbopack) 0.564s 1.004s 0.440s 60 2.97x
💻 Local Express 0.582s (-2.7%) 1.004s (-1.6%) 0.422s 60 3.07x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 1.632s (-6.9% 🟢) 3.194s (-8.7% 🟢) 1.562s 19 1.00x
▲ Vercel Next.js (Turbopack) 1.708s (+1.5%) 3.335s (+1.9%) 1.627s 19 1.05x
▲ Vercel Express ⚠️ missing - - - -

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 0.389s 1.006s 0.617s 90 1.00x
🐘 Postgres Nitro 0.410s (-18.8% 🟢) 1.018s (+1.1%) 0.608s 89 1.05x
🐘 Postgres Express 0.498s (+0.8%) 1.006s (~) 0.508s 90 1.28x
💻 Local Next.js (Turbopack) 2.489s 3.009s 0.520s 30 6.41x
💻 Local Express 2.547s (+3.4%) 3.009s (~) 0.462s 30 6.55x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.486s (-8.9% 🟢) 3.937s (-11.4% 🟢) 1.452s 23 1.00x
▲ Vercel Next.js (Turbopack) 3.172s (-3.1%) 4.436s (-8.5% 🟢) 1.263s 21 1.28x
▲ Vercel Express ⚠️ missing - - - -

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 0.605s 1.006s 0.402s 120 1.00x
🐘 Postgres Nitro 0.684s (-14.7% 🟢) 1.049s (+4.0%) 0.365s 115 1.13x
🐘 Postgres Express 0.801s (-1.4%) 1.008s (-0.9%) 0.207s 120 1.32x
💻 Local Next.js (Turbopack) 10.548s 11.116s 0.568s 11 17.45x
💻 Local Express 10.993s (+3.8%) 11.483s (+4.2%) 0.490s 11 18.18x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 6.433s (-5.1% 🟢) 8.020s (-6.9% 🟢) 1.587s 15 1.00x
▲ Vercel Next.js (Turbopack) 8.088s (+24.5% 🔺) 9.471s (+13.0% 🔺) 1.383s 13 1.26x
▲ Vercel Express ⚠️ missing - - - -

🔍 Observability: Nitro | Next.js (Turbopack)

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 0.154s 1.001s 0.001s 1.010s 0.856s 10 1.00x
💻 Local Next.js (Turbopack) 0.183s 1.003s 0.012s 1.018s 0.835s 10 1.18x
🐘 Postgres Express 0.196s (-9.1% 🟢) 0.998s (~) 0.002s (-6.3% 🟢) 1.009s (~) 0.814s 10 1.27x
💻 Local Express 0.202s (+43.2% 🔺) 1.004s (~) 0.011s (+19.1% 🔺) 1.017s (~) 0.815s 10 1.31x
🐘 Postgres Nitro 0.259s (+20.7% 🔺) 0.985s (-1.2%) 0.139s (+10607.7% 🔺) 1.172s (+16.0% 🔺) 0.914s 10 1.67x
💻 Local Nitro ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 1.617s (+3.9%) 3.293s (+15.2% 🔺) 0.601s (-38.5% 🟢) 4.380s (+2.5%) 2.763s 10 1.00x
▲ Vercel Next.js (Turbopack) 1.895s (+27.2% 🔺) 2.937s (-3.1%) 1.030s (+29.3% 🔺) 4.308s (+1.4%) 2.413s 10 1.17x
▲ Vercel Express ⚠️ missing - - - - -

🔍 Observability: Nitro | Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 0.512s 1.008s 0.003s 1.020s 0.508s 59 1.00x
🐘 Postgres Nitro 0.602s (-2.6%) 1.056s (+5.0%) 0.003s (-19.3% 🟢) 1.076s (+4.9%) 0.473s 56 1.18x
🐘 Postgres Express 0.630s (-1.8%) 1.023s (+1.7%) 0.004s (-2.4%) 1.041s (+1.7%) 0.412s 58 1.23x
💻 Local Express 0.814s (+22.1% 🔺) 1.011s (~) 0.009s (-7.1% 🟢) 1.114s (~) 0.300s 54 1.59x
💻 Local Next.js (Turbopack) 0.853s 1.010s 0.009s 1.226s 0.373s 49 1.67x
💻 Local Nitro ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 4.037s (-5.6% 🟢) 5.085s (-12.8% 🟢) 0.214s (-38.7% 🟢) 5.801s (-12.3% 🟢) 1.764s 11 1.00x
▲ Vercel Next.js (Turbopack) 4.565s (+8.3% 🔺) 5.458s (-10.0% 🟢) 0.159s (-54.9% 🟢) 6.103s (-10.8% 🟢) 1.537s 10 1.13x
▲ Vercel Express ⚠️ missing - - - - -

🔍 Observability: Nitro | Next.js (Turbopack)

10 parallel streams (1MB each)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 0.873s 1.054s 0.000s 1.059s 0.186s 57 1.00x
🐘 Postgres Express 0.975s (~) 1.261s (+5.3% 🔺) 0.000s (+212.5% 🔺) 1.290s (+6.0% 🔺) 0.315s 48 1.12x
🐘 Postgres Nitro 1.035s (+5.6% 🔺) 1.361s (+6.7% 🔺) 0.000s (-100.0% 🟢) 1.370s (+4.8%) 0.336s 44 1.19x
💻 Local Express 1.215s (+3.0%) 2.020s (~) 0.001s (+66.7% 🔺) 2.022s (~) 0.807s 30 1.39x
💻 Local Next.js (Turbopack) 1.389s 2.017s 0.000s 2.199s 0.810s 28 1.59x
💻 Local Nitro ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.801s (-0.5%) 4.327s (+2.7%) 0.000s (NaN%) 4.802s (+3.5%) 2.001s 13 1.00x
▲ Vercel Next.js (Turbopack) 2.913s (-11.2% 🟢) 3.898s (-13.9% 🟢) 0.000s (-100.0% 🟢) 4.293s (-14.4% 🟢) 1.379s 14 1.04x
▲ Vercel Express ⚠️ missing - - - - -

🔍 Observability: Nitro | Next.js (Turbopack)

fan-out fan-in 10 streams (1MB each)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.720s (-2.6%) 2.100s (-1.8%) 0.000s (~) 2.134s (-0.7%) 0.413s 29 1.00x
🐘 Postgres Next.js (Turbopack) 1.750s 2.071s 0.000s 2.091s 0.341s 29 1.02x
🐘 Postgres Nitro 1.849s (+6.3% 🔺) 2.352s (+9.9% 🔺) 0.000s (-100.0% 🟢) 2.481s (+15.2% 🔺) 0.632s 25 1.07x
💻 Local Express 3.351s (-4.5%) 4.033s (~) 0.000s (-46.7% 🟢) 4.035s (~) 0.684s 15 1.95x
💻 Local Next.js (Turbopack) 3.469s 4.097s 0.000s 4.100s 0.631s 15 2.02x
💻 Local Nitro ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 4.052s (-4.5%) 5.153s (-8.4% 🟢) 0.000s (-100.0% 🟢) 5.571s (-7.7% 🟢) 1.520s 11 1.00x
▲ Vercel Next.js (Turbopack) 4.074s (-5.4% 🟢) 5.147s (-9.1% 🟢) 0.000s (-9.1% 🟢) 5.543s (-8.8% 🟢) 1.468s 11 1.01x
▲ Vercel Express ⚠️ missing - - - - -

🔍 Observability: Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World 🥇 Fastest Framework Wins
💻 Local Next.js (Turbopack) 13/21
🐘 Postgres Next.js (Turbopack) 16/21
▲ Vercel Nitro 18/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework 🥇 Fastest World Wins
Express 🐘 Postgres 19/21
Next.js (Turbopack) 🐘 Postgres 19/21
Nitro 🐘 Postgres 20/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

c
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
VaguelySerious and others added 2 commits April 15, 2026 16:27
- Fix streamer-reconnect.test.ts: use streams.get(runId, name) instead
  of non-existent readFromStream method
- Update stream GET URL from v2 to v3 to receive control frames
- Remove unused readFromStream from Streamer interface
- Reset WORKFLOW_SERVER_URL_OVERRIDE to empty string

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Comment thread packages/world-vercel/src/utils.ts Outdated
*/
const WORKFLOW_SERVER_URL_OVERRIDE = '';
const WORKFLOW_SERVER_URL_OVERRIDE =
'https://workflow-server-git-peter-stream-control-frame.vercel.sh';
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Don't forget to remove this before merging :plz:

Copy link
Copy Markdown
Member

@TooTallNate TooTallNate left a comment

Choose a reason for hiding this comment

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

The reconnection design is well thought out. The hold-back buffer approach for control frame detection is correct and handles all edge cases I traced through (split frames, coalesced chunks, empty streams, short data). The test coverage is thorough. But there's one blocking issue and a couple of concerns.

Cross-reference with server-side PR 367: I reviewed the server PR and left a REQUEST_CHANGES there too. The server currently only emits the control frame on timeout (enableControlFrame && maxDurationReached), NOT on natural stream completion. This client correctly handles that via the "no control frame" fallback path — so the two PRs are compatible as-is. However, the server PR has 6 failing integration tests due to a test/code mismatch introduced in its last commits. This client PR should not be merged until the server PR is resolved and deployed.

Changes reviewed:

  1. parseStreamControlFrame (streamer.ts): Correct mirror of server's format. Checks zero-marker + magic footer, parses flags and nextIndex.
  2. Hold-back buffer (streamer.ts:278-348): Retains last 13 bytes during streaming to detect the control frame at close. Handles split frames, coalesced chunks, and backward compat (no frame) gracefully.
  3. Reconnection loop (streamer.ts:335-345): On done=false, reconnects from control.nextIndex. Clean loop.
  4. Error handling (streamer.ts:289-296): Network errors flush the buffer and close without retrying. Correct.
  5. Unit tests (streamer.test.ts): Good coverage of parseStreamControlFrame edge cases.
  6. Integration tests (streamer-reconnect.test.ts): Comprehensive — covers single reconnect, multiple reconnects, split frames, coalesced frames, empty streams, backwards compat, network errors, and non-200 responses.

Comment thread packages/world-vercel/src/utils.ts Outdated
*/
const WORKFLOW_SERVER_URL_OVERRIDE = '';
const WORKFLOW_SERVER_URL_OVERRIDE =
'https://workflow-server-git-peter-stream-control-frame.vercel.sh';
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Blocking: This hardcodes WORKFLOW_SERVER_URL_OVERRIDE to a preview deployment URL. This must be reverted to '' before merging — it would route all production traffic to a preview branch deployment.

(I left a comment about this earlier, flagging again as blocking since it's still present.)

Comment thread packages/world-vercel/src/streamer.ts Outdated
controller.enqueue(tailBuffer);
tailBuffer = new Uint8Array(0);
}
controller.close();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Non-blocking concern: On network error, the code swallows the error and calls controller.close() instead of controller.error(err). This means consumers of the returned ReadableStream see a clean close rather than an error, and have no way to know the stream was truncated.

The reconnect test asserts the partial data is received and only 1 fetch is made, which is correct for "no retry on errors." But silently closing on error could be a footgun — the consumer (the workflow VM) would think it received the complete stream.

Consider either:

  • Propagating the error via controller.error(err) so consumers can handle it
  • Or at minimum, logging a warning

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in 6ee6e7d — network errors now propagate via controller.error(err) instead of silently closing.

}
const response = await fetch(url, {
headers: httpConfig.headers,
let currentStartIndex = startIndex ?? 0;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Non-blocking: There's no upper bound on reconnection attempts. If the server keeps returning done=false (e.g., due to a bug where the stream never completes), this will loop indefinitely. Consider adding a maxReconnects counter (e.g., 50 — enough for ~100 minutes of streaming at 2-minute timeouts) with a warning log when exhausted.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in 6ee6e7d — added MAX_RECONNECTS = 50 cap (~100 min at 2-min server timeout). Errors with a descriptive message when exhausted.

VaguelySerious and others added 4 commits April 15, 2026 17:42
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
- Propagate network errors via controller.error() instead of silently
  closing, so consumers know the stream was truncated
- Add MAX_RECONNECTS (50) cap to prevent infinite loops if the server
  never completes the stream

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The override was accidentally reset to empty in f92a411, causing e2e
tests to hit production workflow-server which doesn't have the v3
stream endpoint yet. Restore to the preview deploy URL.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Member

@TooTallNate TooTallNate left a comment

Choose a reason for hiding this comment

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

All feedback addressed. LGTM.

What changed since my last review:

  1. WORKFLOW_SERVER_URL_OVERRIDE — Reverted. utils.ts is no longer in the diff.
  2. Error propagationcontroller.close() changed to controller.error(err) on network errors. Test updated to assert rejects.toThrow('connection reset').
  3. Reconnection cap — Added MAX_RECONNECTS = 50 (~100 min at 2-min timeouts). Errors with a clear message when exhausted.

All CI checks pass (unit tests on both ubuntu and windows, build, E2E).

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