[world-local] Cross-process streaming for local dev via polling, enable e2e tests - #1739

Merged
VaguelySerious merged 6 commits into
mainfrom
peter/enable-tests
Apr 16, 2026
Merged

[world-local] Cross-process streaming for local dev via polling, enable e2e tests#1739
VaguelySerious merged 6 commits into
mainfrom
peter/enable-tests

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@changeset-bot

changeset-botBot commented Apr 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 65e58e4

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

This PR includes changesets to release 19 packages
NameType
@workflow/world-localPatch
@workflow/cliPatch
@workflow/corePatch
@workflow/vitestPatch
@workflow/world-postgresPatch
workflowPatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/web-sharedPatch
@workflow/webPatch
@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

@vercel

vercelBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production923067990
✅ 💻 Local Development9940861080
✅ 📦 Local Production9940861080
✅ 🐘 Local Postgres9940861080
✅ 🪟 Windows900090
❌ 🌍 Community Worlds133980231
✅ 📋 Other252018270
Total4380983434821

❌ Failed Tests

🌍 Community Worlds (98 failed)

mongodb (15 failed):

  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • 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_01KPA24T523H4ZARVKKN1YX8V0

redis (15 failed):

  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • 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_01KPA24T523H4ZARVKKN1YX8V0

turso (68 failed):

  • addTenWorkflow | wrun_01KPA1P5KAYE5V8Q7Q1P7SGS4E
  • addTenWorkflow | wrun_01KPA1P5KAYE5V8Q7Q1P7SGS4E
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KPA1QZHPM2FMX4WK248J9VQF
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KPA1PBCWZNJAXS3HC3R0YJ9A
  • promiseRaceWorkflow | wrun_01KPA1PGNCVGK470J4TV10S1BT
  • promiseAnyWorkflow | wrun_01KPA1PJS2YCFHR976JA7GE753
  • importedStepOnlyWorkflow | wrun_01KPA1RA9A9M76BAXVCX85XS16
  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow | wrun_01KPA1PZJ7TDD2T4XBP2FRQ2GK
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • sleepingWorkflow | wrun_01KPA1QTX86RSNHS1WT6SF3DAC
  • parallelSleepWorkflow | wrun_01KPA1R71W1N9RARDPVVX76A0N
  • nullByteWorkflow | wrun_01KPA1RA25SF104HREJ8BJ5T3V
  • workflowAndStepMetadataWorkflow | wrun_01KPA1RBZ4R2BHQ1PCHDNG9GQP
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • promiseRaceStressTestWorkflow | wrun_01KPA1V11K5MDYN2G4EMETF7PT
  • 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_01KPA1Y4Z4S6SA6ABK1HW4M1KA
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KPA1ZB0QWFCJX0CAVTBZCW2H
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KPA1ZX549HC0HZ9N5X2D5TMF
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KPA204XZW5JS2V8JG7VCYTST
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KPA209PPG16PR379TBMH9448
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KPA20BKKM4T3FQWVW6J60HWE
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KPA20NF2H2ZBF070C5A6HJ9Y
  • 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_01KPA212Z6QY9YFJC5MWH4SVYC
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KPA217KPT74R8BBXCT1DW8V2
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KPA21DNTCABVRSCC5Y25E0Q3
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KPA21KM6XR4TM3N20MA6349H
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KPA21SHF100FT0DHZXP04D1Z
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KPA21ZQ6YQCHWPBAMG8ZPR7N
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KPA225RNQ3DWWKF5DY9HAHM0
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KPA22GQXQ2212VQ5MJ1N2DA6
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KPA22RS52H3V3PAKH2F659BS
  • cancelRun - cancelling a running workflow | wrun_01KPA22YKV5QJ50VGXQNEXJAGV
  • cancelRun via CLI - cancelling a running workflow | wrun_01KPA237F5H8FRBF8BB28AANW2
  • 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_01KPA23J951BMA0SDYZBGGYYDJ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KPA245J5JE0XTKE4QNFXJK3Q
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KPA24GECVNPV5088ZCN33E6X
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KPA24PC5Z5TSFHHN913ZPKNB
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KPA24R82MHCHM8NS4V98VJT0
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KPA24T523H4ZARVKKN1YX8V0
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KPA24X3D0MB9S7BS3VSFX45Y

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8307
✅ example8307
✅ express8307
✅ fastify8307
✅ hono8307
✅ nextjs-turbopack8802
✅ nextjs-webpack8802
✅ nitro8307
✅ nuxt8307
✅ sveltekit8307
✅ vite8307
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9000
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev600
❌ mongodb56150
✅ redis-dev600
❌ redis56150
✅ turso-dev600
❌ turso3680
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable8406
✅ e2e-local-postgres-nest-stable8406
✅ e2e-local-prod-nest-stable8406

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 15, 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🥇 Express0.041s (+16.6% 🔺)1.005s (~)0.964s101.00x
💻 LocalNitro0.043s (+18.1% 🔺)1.006s (~)0.963s101.04x
🐘 PostgresNitro0.059s (-2.3%)1.010s (~)0.951s101.45x
🐘 PostgresExpress0.133s (+83.3% 🔺)1.047s (+2.6%)0.915s103.25x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.204s (-17.7% 🟢)1.769s (-17.9% 🟢)1.565s101.00x
▲ VercelExpress0.214s (-38.7% 🟢)2.056s (-4.8%)1.842s101.05x
▲ VercelNitro0.252s (+4.3%)2.217s (+8.4% 🔺)1.964s101.23x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.129s (+2.7%)2.005s (~)0.877s101.00x
💻 LocalNitro1.132s (+2.9%)2.006s (~)0.874s101.00x
🐘 PostgresNitro1.143s (~)2.009s (~)0.866s101.01x
🐘 PostgresExpress1.339s (+16.4% 🔺)2.058s (+2.3%)0.719s101.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.859s (-2.4%)3.962s (+9.9% 🔺)2.103s101.00x
▲ VercelNext.js (Turbopack)1.896s (+1.1%)3.662s (+2.0%)1.766s101.02x
▲ VercelNitro2.028s (-11.2% 🟢)3.287s (-17.4% 🟢)1.259s101.09x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro10.868s (~)11.018s (~)0.150s31.00x
💻 LocalExpress10.913s (+2.4%)11.022s (~)0.110s31.00x
💻 LocalNitro10.955s (+2.9%)11.024s (~)0.069s31.01x
🐘 PostgresExpress11.318s (+3.1%)12.016s (+5.8% 🔺)0.698s31.04x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express16.325s (-3.9%)18.559s (-3.4%)2.234s21.00x
▲ VercelNitro16.499s (-9.7% 🟢)18.405s (-10.7% 🟢)1.906s21.01x
▲ VercelNext.js (Turbopack)16.790s (-5.1% 🟢)18.920s (-3.0%)2.131s21.03x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro14.539s (~)15.021s (~)0.482s41.00x
💻 LocalExpress14.976s (+5.2% 🔺)15.030s (~)0.054s41.03x
💻 LocalNitro15.067s (+5.8% 🔺)16.033s (+6.7% 🔺)0.966s41.04x
🐘 PostgresExpress15.675s (+7.3% 🔺)16.023s (+6.6% 🔺)0.347s41.08x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.502s (-7.3% 🟢)31.032s (-7.9% 🟢)1.530s21.00x
▲ VercelNext.js (Turbopack)30.144s (-8.1% 🟢)32.338s (-6.6% 🟢)2.194s21.02x
▲ VercelExpress30.259s (-8.7% 🟢)31.779s (-9.7% 🟢)1.520s21.03x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro13.981s (~)14.305s (+2.0%)0.323s71.00x
🐘 PostgresExpress16.235s (+13.3% 🔺)16.742s (+11.4% 🔺)0.506s61.16x
💻 LocalExpress16.663s (+11.8% 🔺)17.030s (+13.3% 🔺)0.367s61.19x
💻 LocalNitro16.824s (+12.5% 🔺)17.032s (+10.9% 🔺)0.208s61.20x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro47.526s (-12.3% 🟢)48.863s (-13.4% 🟢)1.337s21.00x
▲ VercelExpress50.444s (-4.0%)51.804s (-4.3%)1.360s21.06x
▲ VercelNext.js (Turbopack)53.499s (-4.6%)55.385s (-4.0%)1.886s21.13x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.241s (-4.0%)2.009s (~)0.768s151.00x
🐘 PostgresNitro1.279s (+1.1%)2.009s (~)0.730s151.03x
💻 LocalExpress1.537s (+5.3% 🔺)2.005s (~)0.469s151.24x
💻 LocalNitro1.547s (+4.8%)2.006s (~)0.458s151.25x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.260s (+4.5%)3.937s (+6.0% 🔺)1.677s81.00x
▲ VercelNitro2.502s (-9.9% 🟢)3.861s (-11.5% 🟢)1.358s81.11x
▲ VercelExpress2.591s (~)4.203s (~)1.611s81.15x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.334s (~)3.008s (~)0.674s101.00x
🐘 PostgresExpress2.564s (+8.9% 🔺)3.218s (+6.9% 🔺)0.654s101.10x
💻 LocalNitro2.942s (+14.9% 🔺)3.676s (+22.2% 🔺)0.735s91.26x
💻 LocalExpress2.963s (+4.3%)3.208s (+3.2%)0.244s101.27x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.497s (~)3.843s (+0.8%)1.346s81.00x
▲ VercelNitro2.822s (-1.2%)4.044s (-11.3% 🟢)1.221s81.13x
▲ VercelNext.js (Turbopack)2.959s (-4.4%)4.945s (+7.1% 🔺)1.986s71.19x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.467s (~)4.009s (~)0.542s81.00x
🐘 PostgresExpress4.462s (+28.2% 🔺)5.073s (+26.4% 🔺)0.611s71.29x
💻 LocalNitro8.254s (+18.8% 🔺)9.021s (+20.0% 🔺)0.768s42.38x
💻 LocalExpress8.322s (+17.4% 🔺)9.024s (+12.6% 🔺)0.701s42.40x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.075s (-11.3% 🟢)4.610s (-10.5% 🟢)1.535s71.00x
▲ VercelNext.js (Turbopack)3.464s (-12.5% 🟢)5.441s (-3.6%)1.977s61.13x
▲ VercelExpress3.689s (+28.7% 🔺)5.588s (+27.0% 🔺)1.898s61.20x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.268s (+0.7%)2.008s (~)0.740s151.00x
💻 LocalNitro1.542s (+1.7%)2.006s (~)0.464s151.22x
💻 LocalExpress1.544s (+4.9%)2.006s (~)0.462s151.22x
🐘 PostgresExpress1.635s (+30.2% 🔺)2.095s (+4.3%)0.459s151.29x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.105s (~)3.961s (+9.3% 🔺)1.855s81.00x
▲ VercelNitro2.132s (-13.1% 🟢)3.699s (-8.9% 🟢)1.567s91.01x
▲ VercelNext.js (Turbopack)2.208s (-0.6%)3.765s (-1.4%)1.557s91.05x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.301s (-1.3%)3.008s (~)0.707s101.00x
🐘 PostgresExpress2.471s (+5.8% 🔺)3.027s (+0.6%)0.556s101.07x
💻 LocalExpress2.967s (+10.0% 🔺)3.676s (+22.2% 🔺)0.709s91.29x
💻 LocalNitro3.131s (+13.2% 🔺)4.010s (+29.0% 🔺)0.879s81.36x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.623s (-8.2% 🟢)4.164s (-4.0%)1.540s81.00x
▲ VercelNext.js (Turbopack)2.848s (-12.2% 🟢)4.742s (-3.1%)1.894s81.09x
▲ VercelNitro2.858s (-19.6% 🟢)4.213s (-21.3% 🟢)1.355s81.09x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.478s (~)4.010s (~)0.532s81.00x
🐘 PostgresExpress3.696s (+6.2% 🔺)4.070s (+1.4%)0.374s81.06x
💻 LocalNitro8.947s (+20.1% 🔺)9.774s (+21.9% 🔺)0.827s42.57x
💻 LocalExpress8.969s (+17.3% 🔺)9.524s (+18.8% 🔺)0.555s42.58x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.578s (-36.2% 🟢)3.989s (-34.2% 🟢)1.411s81.00x
▲ VercelExpress3.387s (-24.8% 🟢)5.260s (-12.6% 🟢)1.873s61.31x
▲ VercelNext.js (Turbopack)3.418s (-19.2% 🟢)5.125s (-10.8% 🟢)1.707s71.33x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.793s (-2.8%)1.006s (-1.6%)0.213s601.00x
💻 LocalExpress1.001s (+40.6% 🔺)1.338s (+31.1% 🔺)0.338s451.26x
💻 LocalNitro1.001s (+43.9% 🔺)1.434s (+42.7% 🔺)0.433s421.26x
🐘 PostgresExpress1.051s (+24.3% 🔺)1.430s (+39.8% 🔺)0.379s421.33x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro8.644s (-4.2%)10.207s (-7.7% 🟢)1.563s61.00x
▲ VercelNext.js (Turbopack)8.816s (-27.7% 🟢)10.510s (-26.0% 🟢)1.695s61.02x
▲ VercelExpress9.321s (-3.7%)11.432s (~)2.110s61.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.867s (-3.3%)2.053s (-2.3%)0.186s441.00x
🐘 PostgresExpress2.444s (+17.3% 🔺)2.832s (-3.8%)0.388s321.31x
💻 LocalNitro3.040s (+34.5% 🔺)3.843s (+27.8% 🔺)0.804s241.63x
💻 LocalExpress3.070s (+35.9% 🔺)3.923s (+30.4% 🔺)0.853s231.64x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)28.262s (-7.3% 🟢)30.127s (-6.8% 🟢)1.865s31.00x
▲ VercelExpress29.211s (-3.8%)31.264s (-3.5%)2.052s31.03x
▲ VercelNitro29.957s (-0.6%)31.075s (-4.2%)1.118s31.06x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.862s (~)4.075s (-0.8%)0.214s301.00x
🐘 PostgresExpress5.987s (+45.3% 🔺)6.458s (+32.0% 🔺)0.471s191.55x
💻 LocalExpress9.184s (+25.4% 🔺)9.864s (+23.1% 🔺)0.680s132.38x
💻 LocalNitro9.378s (+27.5% 🔺)9.941s (+24.0% 🔺)0.564s132.43x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro73.701s (-37.8% 🟢)75.280s (-37.5% 🟢)1.580s21.00x
▲ VercelNext.js (Turbopack)76.649s (-7.2% 🟢)78.535s (-6.9% 🟢)1.886s21.04x
▲ VercelExpress79.293s (-39.5% 🟢)81.837s (-38.6% 🟢)2.544s21.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.283s (-1.4%)1.007s (~)0.723s601.00x
🐘 PostgresExpress0.508s (+78.4% 🔺)1.124s (+11.6% 🔺)0.616s541.79x
💻 LocalExpress0.588s (-1.6%)1.004s (-1.6%)0.416s602.08x
💻 LocalNitro0.591s (+4.3%)1.005s (~)0.414s602.09x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.371s (-21.8% 🟢)2.771s (-20.8% 🟢)1.400s221.00x
▲ VercelExpress1.534s (-4.4%)3.059s (-6.9% 🟢)1.525s201.12x
▲ VercelNext.js (Turbopack)1.723s (+2.3%)3.220s (-1.7%)1.497s191.26x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.487s (-3.5%)1.006s (~)0.519s901.00x
🐘 PostgresExpress0.648s (+31.0% 🔺)1.177s (+16.9% 🔺)0.530s771.33x
💻 LocalNitro2.527s (+3.9%)3.009s (~)0.482s305.19x
💻 LocalExpress2.564s (+4.1%)3.009s (~)0.445s305.26x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.550s (-6.6% 🟢)3.921s (-11.8% 🟢)1.371s231.00x
▲ VercelExpress2.763s (+2.2%)4.450s (+5.3% 🔺)1.687s211.08x
▲ VercelNext.js (Turbopack)3.693s (+12.8% 🔺)5.248s (+8.2% 🔺)1.554s181.45x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.777s (-3.1%)1.016s (+0.7%)0.239s1191.00x
🐘 PostgresExpress1.181s (+45.5% 🔺)1.631s (+60.4% 🔺)0.450s741.52x
💻 LocalExpress11.114s (+5.0%)11.849s (+7.5% 🔺)0.735s1114.30x
💻 LocalNitro11.372s (+10.2% 🔺)12.028s (+10.0% 🔺)0.656s1014.63x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro7.100s (+4.7%)8.518s (-1.1%)1.418s151.00x
▲ VercelExpress7.800s (+12.7% 🔺)9.600s (+8.9% 🔺)1.800s131.10x
▲ VercelNext.js (Turbopack)43.251s (+565.6% 🔺)44.690s (+433.2% 🔺)1.439s66.09x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.201s (+42.7% 🔺)1.004s (~)0.012s (+28.7% 🔺)1.018s (~)0.817s101.00x
🐘 PostgresNitro0.210s (-1.8%)0.993s (~)0.001s (-15.4% 🟢)1.009s (~)0.799s101.05x
💻 LocalNitro0.214s (+50.7% 🔺)1.004s (~)0.013s (+31.0% 🔺)1.019s (~)0.805s101.06x
🐘 PostgresExpress0.239s (+11.0% 🔺)0.999s (~)0.078s (+4781.3% 🔺)1.089s (+7.8% 🔺)0.850s101.19x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.368s (-12.2% 🟢)2.257s (-21.0% 🟢)1.306s (+33.6% 🔺)3.942s (-7.8% 🟢)2.574s101.00x
▲ VercelExpress1.426s (+1.3%)2.595s (~)1.055s (+8.5% 🔺)4.096s (+3.0%)2.670s101.04x
▲ VercelNext.js (Turbopack)1.457s (-2.2%)3.053s (+0.7%)0.932s (+17.0% 🔺)4.430s (+4.3%)2.973s101.07x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.589s (-4.8%)1.004s (~)0.004s (-4.3%)1.021s (~)0.432s591.00x
💻 LocalExpress0.838s (+25.6% 🔺)1.011s (~)0.010s (+6.7% 🔺)1.115s (~)0.277s541.42x
💻 LocalNitro0.846s (+46.4% 🔺)1.012s (~)0.010s (+1.4%)1.116s (+9.2% 🔺)0.271s541.44x
🐘 PostgresExpress0.965s (+50.5% 🔺)1.401s (+39.3% 🔺)0.118s (+2732.6% 🔺)1.543s (+50.6% 🔺)0.578s401.64x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.873s (-9.5% 🟢)5.220s (-10.5% 🟢)0.271s (-22.5% 🟢)5.959s (-9.9% 🟢)2.086s111.00x
▲ VercelNext.js (Turbopack)3.968s (-5.8% 🟢)5.712s (-5.9% 🟢)0.213s (-39.4% 🟢)6.372s (-6.8% 🟢)2.404s101.02x
▲ VercelExpress4.394s (+5.3% 🔺)6.508s (+5.1% 🔺)0.251s (-41.9% 🟢)7.270s (+3.3%)2.876s91.13x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.945s (-3.5%)1.124s (-11.9% 🟢)0.000s (-100.0% 🟢)1.146s (-12.3% 🟢)0.201s531.00x
💻 LocalExpress1.222s (+3.6%)2.020s (~)0.000s (-22.2% 🟢)2.022s (~)0.799s301.29x
💻 LocalNitro1.245s (+5.5% 🔺)2.021s (~)0.000s (+10.0% 🔺)2.023s (~)0.777s301.32x
🐘 PostgresExpress2.217s (+126.3% 🔺)2.865s (+139.2% 🔺)0.000s (+138.1% 🔺)2.953s (+142.7% 🔺)0.736s212.35x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.748s (-18.4% 🟢)3.975s (-11.5% 🟢)0.000s (-100.0% 🟢)4.676s (-4.0%)1.928s131.00x
▲ VercelNext.js (Turbopack)3.087s (-6.0% 🟢)4.430s (-2.2%)0.000s (-93.8% 🟢)4.942s (-1.5%)1.855s131.12x
▲ VercelNitro3.424s (+21.6% 🔺)4.431s (+5.1% 🔺)0.000s (+Infinity% 🔺)4.912s (+5.9% 🔺)1.488s131.25x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.760s (+1.2%)2.097s (-2.0%)0.000s (-100.0% 🟢)2.113s (-1.9%)0.352s291.00x
🐘 PostgresExpress3.379s (+91.3% 🔺)3.799s (+77.6% 🔺)0.000s (-100.0% 🟢)3.846s (+79.0% 🔺)0.467s161.92x
💻 LocalExpress3.590s (+2.3%)4.101s (+1.7%)0.000s (+33.3% 🔺)4.103s (+1.7%)0.513s152.04x
💻 LocalNitro3.605s (-4.1%)4.164s (~)0.000s (-60.0% 🟢)4.167s (~)0.563s152.05x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.638s (-8.5% 🟢)4.955s (-4.2%)0.001s (+144.4% 🔺)5.376s (-4.7%)1.737s121.00x
▲ VercelNitro3.803s (-10.4% 🟢)5.005s (-11.0% 🟢)0.000s (+233.3% 🔺)5.423s (-10.2% 🟢)1.620s121.05x
▲ VercelNext.js (Turbopack)4.503s (+4.5%)5.938s (+4.8%)0.000s (+200.0% 🔺)6.398s (+5.2% 🔺)1.895s101.24x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress15/21
🐘 PostgresNitro20/21
▲ VercelNitro11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local9/21
Next.js (Turbopack)▲ Vercel21/21
Nitro🐘 Postgres17/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

Signed-off-by: Peter Wielander <mittgfu@gmail.com>

@TooTallNateTooTallNate left a comment

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.

Review: Cross-process streaming via filesystem polling

Clean implementation. The approach is correct — the EventEmitter only works in-process, so polling the shared filesystem at 100ms is the right fallback for the cross-process case (test runner ↔ workbench app).

What looks good

  • Deduplication is correct: deliveredChunkIds guards both the EventEmitter path and the polling path. The has() + add() are synchronous operations in the same tick, so there's no race between the two delivery mechanisms.

  • Ordering is correct: Chunk files use ULID names which are lexicographically sorted (monotonic). listChunkFilesForStream sorts them, so polling delivers in chronological order.

  • Cleanup is thorough: pollInterval is cleared in all exit paths — closeListener (EventEmitter close), cancel() (reader cancels), and inside the poll callback itself (EOF detected). isComplete and pendingClose both return before polling is set up, so no leaked intervals.

  • isPolling guard: Prevents overlapping polls if a poll callback takes longer than 100ms (slow filesystem).

  • Pre-startIndex tracking: Chunks before startIndex are added to deliveredChunkIds so polling doesn't re-deliver them.

  • Error handling: Filesystem errors (ENOENT, EACCES) are silently ignored (transient), non-filesystem errors are surfaced via console.error.

  • Test coverage: Unit test directly exercises the cross-process path by writing chunk files to disk (bypassing the EventEmitter), and all previously-skipped e2e stream tests are now enabled.

One nit (non-blocking)

See inline comment about controller.enqueue() on a potentially-closed controller inside the polling callback.

}
return;
}

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.

Nit: If the closeListener fires and closes the controller while a poll iteration is in-flight (between the deliveredChunkIds.add() and this controller.enqueue()), this will throw a TypeError ("enqueue on a closed controller"). The outer catch would log it via console.error since TypeError doesn't have a code property — slightly noisy but not harmful.

Could be silenced by adding a let streamClosed = false flag set in the close paths, checked here. But for a local dev tool this is fine as-is.

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

(AI) Good catch — added a streamClosed flag that's set in all close paths (closeListener, EOF in polling, isComplete, pendingClose) and checked before controller.enqueue() in the polling callback. This prevents the noisy console.error when closeListener races with an in-flight poll iteration.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Sign up for freeto 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.

3 participants

@VaguelySerious@TooTallNate@karthikscale3
, '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

[world-local] Cross-process streaming for local dev via polling, enable e2e tests - #1739

Merged
VaguelySerious merged 6 commits into
mainfrom
peter/enable-tests
Apr 16, 2026
Merged

[world-local] Cross-process streaming for local dev via polling, enable e2e tests#1739
VaguelySerious merged 6 commits into
mainfrom
peter/enable-tests

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@changeset-bot

changeset-botBot commented Apr 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 65e58e4

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

This PR includes changesets to release 19 packages
NameType
@workflow/world-localPatch
@workflow/cliPatch
@workflow/corePatch
@workflow/vitestPatch
@workflow/world-postgresPatch
workflowPatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/web-sharedPatch
@workflow/webPatch
@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

@vercel

vercelBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production923067990
✅ 💻 Local Development9940861080
✅ 📦 Local Production9940861080
✅ 🐘 Local Postgres9940861080
✅ 🪟 Windows900090
❌ 🌍 Community Worlds133980231
✅ 📋 Other252018270
Total4380983434821

❌ Failed Tests

🌍 Community Worlds (98 failed)

mongodb (15 failed):

  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • 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_01KPA24T523H4ZARVKKN1YX8V0

redis (15 failed):

  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • 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_01KPA24T523H4ZARVKKN1YX8V0

turso (68 failed):

  • addTenWorkflow | wrun_01KPA1P5KAYE5V8Q7Q1P7SGS4E
  • addTenWorkflow | wrun_01KPA1P5KAYE5V8Q7Q1P7SGS4E
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KPA1QZHPM2FMX4WK248J9VQF
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KPA1PBCWZNJAXS3HC3R0YJ9A
  • promiseRaceWorkflow | wrun_01KPA1PGNCVGK470J4TV10S1BT
  • promiseAnyWorkflow | wrun_01KPA1PJS2YCFHR976JA7GE753
  • importedStepOnlyWorkflow | wrun_01KPA1RA9A9M76BAXVCX85XS16
  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow | wrun_01KPA1PZJ7TDD2T4XBP2FRQ2GK
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • sleepingWorkflow | wrun_01KPA1QTX86RSNHS1WT6SF3DAC
  • parallelSleepWorkflow | wrun_01KPA1R71W1N9RARDPVVX76A0N
  • nullByteWorkflow | wrun_01KPA1RA25SF104HREJ8BJ5T3V
  • workflowAndStepMetadataWorkflow | wrun_01KPA1RBZ4R2BHQ1PCHDNG9GQP
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • promiseRaceStressTestWorkflow | wrun_01KPA1V11K5MDYN2G4EMETF7PT
  • 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_01KPA1Y4Z4S6SA6ABK1HW4M1KA
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KPA1ZB0QWFCJX0CAVTBZCW2H
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KPA1ZX549HC0HZ9N5X2D5TMF
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KPA204XZW5JS2V8JG7VCYTST
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KPA209PPG16PR379TBMH9448
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KPA20BKKM4T3FQWVW6J60HWE
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KPA20NF2H2ZBF070C5A6HJ9Y
  • 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_01KPA212Z6QY9YFJC5MWH4SVYC
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KPA217KPT74R8BBXCT1DW8V2
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KPA21DNTCABVRSCC5Y25E0Q3
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KPA21KM6XR4TM3N20MA6349H
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KPA21SHF100FT0DHZXP04D1Z
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KPA21ZQ6YQCHWPBAMG8ZPR7N
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KPA225RNQ3DWWKF5DY9HAHM0
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KPA22GQXQ2212VQ5MJ1N2DA6
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KPA22RS52H3V3PAKH2F659BS
  • cancelRun - cancelling a running workflow | wrun_01KPA22YKV5QJ50VGXQNEXJAGV
  • cancelRun via CLI - cancelling a running workflow | wrun_01KPA237F5H8FRBF8BB28AANW2
  • 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_01KPA23J951BMA0SDYZBGGYYDJ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KPA245J5JE0XTKE4QNFXJK3Q
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KPA24GECVNPV5088ZCN33E6X
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KPA24PC5Z5TSFHHN913ZPKNB
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KPA24R82MHCHM8NS4V98VJT0
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KPA24T523H4ZARVKKN1YX8V0
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KPA24X3D0MB9S7BS3VSFX45Y

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8307
✅ example8307
✅ express8307
✅ fastify8307
✅ hono8307
✅ nextjs-turbopack8802
✅ nextjs-webpack8802
✅ nitro8307
✅ nuxt8307
✅ sveltekit8307
✅ vite8307
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9000
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev600
❌ mongodb56150
✅ redis-dev600
❌ redis56150
✅ turso-dev600
❌ turso3680
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable8406
✅ e2e-local-postgres-nest-stable8406
✅ e2e-local-prod-nest-stable8406

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 15, 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🥇 Express0.041s (+16.6% 🔺)1.005s (~)0.964s101.00x
💻 LocalNitro0.043s (+18.1% 🔺)1.006s (~)0.963s101.04x
🐘 PostgresNitro0.059s (-2.3%)1.010s (~)0.951s101.45x
🐘 PostgresExpress0.133s (+83.3% 🔺)1.047s (+2.6%)0.915s103.25x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.204s (-17.7% 🟢)1.769s (-17.9% 🟢)1.565s101.00x
▲ VercelExpress0.214s (-38.7% 🟢)2.056s (-4.8%)1.842s101.05x
▲ VercelNitro0.252s (+4.3%)2.217s (+8.4% 🔺)1.964s101.23x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.129s (+2.7%)2.005s (~)0.877s101.00x
💻 LocalNitro1.132s (+2.9%)2.006s (~)0.874s101.00x
🐘 PostgresNitro1.143s (~)2.009s (~)0.866s101.01x
🐘 PostgresExpress1.339s (+16.4% 🔺)2.058s (+2.3%)0.719s101.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.859s (-2.4%)3.962s (+9.9% 🔺)2.103s101.00x
▲ VercelNext.js (Turbopack)1.896s (+1.1%)3.662s (+2.0%)1.766s101.02x
▲ VercelNitro2.028s (-11.2% 🟢)3.287s (-17.4% 🟢)1.259s101.09x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro10.868s (~)11.018s (~)0.150s31.00x
💻 LocalExpress10.913s (+2.4%)11.022s (~)0.110s31.00x
💻 LocalNitro10.955s (+2.9%)11.024s (~)0.069s31.01x
🐘 PostgresExpress11.318s (+3.1%)12.016s (+5.8% 🔺)0.698s31.04x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express16.325s (-3.9%)18.559s (-3.4%)2.234s21.00x
▲ VercelNitro16.499s (-9.7% 🟢)18.405s (-10.7% 🟢)1.906s21.01x
▲ VercelNext.js (Turbopack)16.790s (-5.1% 🟢)18.920s (-3.0%)2.131s21.03x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro14.539s (~)15.021s (~)0.482s41.00x
💻 LocalExpress14.976s (+5.2% 🔺)15.030s (~)0.054s41.03x
💻 LocalNitro15.067s (+5.8% 🔺)16.033s (+6.7% 🔺)0.966s41.04x
🐘 PostgresExpress15.675s (+7.3% 🔺)16.023s (+6.6% 🔺)0.347s41.08x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.502s (-7.3% 🟢)31.032s (-7.9% 🟢)1.530s21.00x
▲ VercelNext.js (Turbopack)30.144s (-8.1% 🟢)32.338s (-6.6% 🟢)2.194s21.02x
▲ VercelExpress30.259s (-8.7% 🟢)31.779s (-9.7% 🟢)1.520s21.03x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro13.981s (~)14.305s (+2.0%)0.323s71.00x
🐘 PostgresExpress16.235s (+13.3% 🔺)16.742s (+11.4% 🔺)0.506s61.16x
💻 LocalExpress16.663s (+11.8% 🔺)17.030s (+13.3% 🔺)0.367s61.19x
💻 LocalNitro16.824s (+12.5% 🔺)17.032s (+10.9% 🔺)0.208s61.20x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro47.526s (-12.3% 🟢)48.863s (-13.4% 🟢)1.337s21.00x
▲ VercelExpress50.444s (-4.0%)51.804s (-4.3%)1.360s21.06x
▲ VercelNext.js (Turbopack)53.499s (-4.6%)55.385s (-4.0%)1.886s21.13x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.241s (-4.0%)2.009s (~)0.768s151.00x
🐘 PostgresNitro1.279s (+1.1%)2.009s (~)0.730s151.03x
💻 LocalExpress1.537s (+5.3% 🔺)2.005s (~)0.469s151.24x
💻 LocalNitro1.547s (+4.8%)2.006s (~)0.458s151.25x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.260s (+4.5%)3.937s (+6.0% 🔺)1.677s81.00x
▲ VercelNitro2.502s (-9.9% 🟢)3.861s (-11.5% 🟢)1.358s81.11x
▲ VercelExpress2.591s (~)4.203s (~)1.611s81.15x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.334s (~)3.008s (~)0.674s101.00x
🐘 PostgresExpress2.564s (+8.9% 🔺)3.218s (+6.9% 🔺)0.654s101.10x
💻 LocalNitro2.942s (+14.9% 🔺)3.676s (+22.2% 🔺)0.735s91.26x
💻 LocalExpress2.963s (+4.3%)3.208s (+3.2%)0.244s101.27x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.497s (~)3.843s (+0.8%)1.346s81.00x
▲ VercelNitro2.822s (-1.2%)4.044s (-11.3% 🟢)1.221s81.13x
▲ VercelNext.js (Turbopack)2.959s (-4.4%)4.945s (+7.1% 🔺)1.986s71.19x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.467s (~)4.009s (~)0.542s81.00x
🐘 PostgresExpress4.462s (+28.2% 🔺)5.073s (+26.4% 🔺)0.611s71.29x
💻 LocalNitro8.254s (+18.8% 🔺)9.021s (+20.0% 🔺)0.768s42.38x
💻 LocalExpress8.322s (+17.4% 🔺)9.024s (+12.6% 🔺)0.701s42.40x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.075s (-11.3% 🟢)4.610s (-10.5% 🟢)1.535s71.00x
▲ VercelNext.js (Turbopack)3.464s (-12.5% 🟢)5.441s (-3.6%)1.977s61.13x
▲ VercelExpress3.689s (+28.7% 🔺)5.588s (+27.0% 🔺)1.898s61.20x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.268s (+0.7%)2.008s (~)0.740s151.00x
💻 LocalNitro1.542s (+1.7%)2.006s (~)0.464s151.22x
💻 LocalExpress1.544s (+4.9%)2.006s (~)0.462s151.22x
🐘 PostgresExpress1.635s (+30.2% 🔺)2.095s (+4.3%)0.459s151.29x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.105s (~)3.961s (+9.3% 🔺)1.855s81.00x
▲ VercelNitro2.132s (-13.1% 🟢)3.699s (-8.9% 🟢)1.567s91.01x
▲ VercelNext.js (Turbopack)2.208s (-0.6%)3.765s (-1.4%)1.557s91.05x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.301s (-1.3%)3.008s (~)0.707s101.00x
🐘 PostgresExpress2.471s (+5.8% 🔺)3.027s (+0.6%)0.556s101.07x
💻 LocalExpress2.967s (+10.0% 🔺)3.676s (+22.2% 🔺)0.709s91.29x
💻 LocalNitro3.131s (+13.2% 🔺)4.010s (+29.0% 🔺)0.879s81.36x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.623s (-8.2% 🟢)4.164s (-4.0%)1.540s81.00x
▲ VercelNext.js (Turbopack)2.848s (-12.2% 🟢)4.742s (-3.1%)1.894s81.09x
▲ VercelNitro2.858s (-19.6% 🟢)4.213s (-21.3% 🟢)1.355s81.09x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.478s (~)4.010s (~)0.532s81.00x
🐘 PostgresExpress3.696s (+6.2% 🔺)4.070s (+1.4%)0.374s81.06x
💻 LocalNitro8.947s (+20.1% 🔺)9.774s (+21.9% 🔺)0.827s42.57x
💻 LocalExpress8.969s (+17.3% 🔺)9.524s (+18.8% 🔺)0.555s42.58x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.578s (-36.2% 🟢)3.989s (-34.2% 🟢)1.411s81.00x
▲ VercelExpress3.387s (-24.8% 🟢)5.260s (-12.6% 🟢)1.873s61.31x
▲ VercelNext.js (Turbopack)3.418s (-19.2% 🟢)5.125s (-10.8% 🟢)1.707s71.33x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.793s (-2.8%)1.006s (-1.6%)0.213s601.00x
💻 LocalExpress1.001s (+40.6% 🔺)1.338s (+31.1% 🔺)0.338s451.26x
💻 LocalNitro1.001s (+43.9% 🔺)1.434s (+42.7% 🔺)0.433s421.26x
🐘 PostgresExpress1.051s (+24.3% 🔺)1.430s (+39.8% 🔺)0.379s421.33x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro8.644s (-4.2%)10.207s (-7.7% 🟢)1.563s61.00x
▲ VercelNext.js (Turbopack)8.816s (-27.7% 🟢)10.510s (-26.0% 🟢)1.695s61.02x
▲ VercelExpress9.321s (-3.7%)11.432s (~)2.110s61.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.867s (-3.3%)2.053s (-2.3%)0.186s441.00x
🐘 PostgresExpress2.444s (+17.3% 🔺)2.832s (-3.8%)0.388s321.31x
💻 LocalNitro3.040s (+34.5% 🔺)3.843s (+27.8% 🔺)0.804s241.63x
💻 LocalExpress3.070s (+35.9% 🔺)3.923s (+30.4% 🔺)0.853s231.64x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)28.262s (-7.3% 🟢)30.127s (-6.8% 🟢)1.865s31.00x
▲ VercelExpress29.211s (-3.8%)31.264s (-3.5%)2.052s31.03x
▲ VercelNitro29.957s (-0.6%)31.075s (-4.2%)1.118s31.06x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.862s (~)4.075s (-0.8%)0.214s301.00x
🐘 PostgresExpress5.987s (+45.3% 🔺)6.458s (+32.0% 🔺)0.471s191.55x
💻 LocalExpress9.184s (+25.4% 🔺)9.864s (+23.1% 🔺)0.680s132.38x
💻 LocalNitro9.378s (+27.5% 🔺)9.941s (+24.0% 🔺)0.564s132.43x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro73.701s (-37.8% 🟢)75.280s (-37.5% 🟢)1.580s21.00x
▲ VercelNext.js (Turbopack)76.649s (-7.2% 🟢)78.535s (-6.9% 🟢)1.886s21.04x
▲ VercelExpress79.293s (-39.5% 🟢)81.837s (-38.6% 🟢)2.544s21.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.283s (-1.4%)1.007s (~)0.723s601.00x
🐘 PostgresExpress0.508s (+78.4% 🔺)1.124s (+11.6% 🔺)0.616s541.79x
💻 LocalExpress0.588s (-1.6%)1.004s (-1.6%)0.416s602.08x
💻 LocalNitro0.591s (+4.3%)1.005s (~)0.414s602.09x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.371s (-21.8% 🟢)2.771s (-20.8% 🟢)1.400s221.00x
▲ VercelExpress1.534s (-4.4%)3.059s (-6.9% 🟢)1.525s201.12x
▲ VercelNext.js (Turbopack)1.723s (+2.3%)3.220s (-1.7%)1.497s191.26x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.487s (-3.5%)1.006s (~)0.519s901.00x
🐘 PostgresExpress0.648s (+31.0% 🔺)1.177s (+16.9% 🔺)0.530s771.33x
💻 LocalNitro2.527s (+3.9%)3.009s (~)0.482s305.19x
💻 LocalExpress2.564s (+4.1%)3.009s (~)0.445s305.26x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.550s (-6.6% 🟢)3.921s (-11.8% 🟢)1.371s231.00x
▲ VercelExpress2.763s (+2.2%)4.450s (+5.3% 🔺)1.687s211.08x
▲ VercelNext.js (Turbopack)3.693s (+12.8% 🔺)5.248s (+8.2% 🔺)1.554s181.45x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.777s (-3.1%)1.016s (+0.7%)0.239s1191.00x
🐘 PostgresExpress1.181s (+45.5% 🔺)1.631s (+60.4% 🔺)0.450s741.52x
💻 LocalExpress11.114s (+5.0%)11.849s (+7.5% 🔺)0.735s1114.30x
💻 LocalNitro11.372s (+10.2% 🔺)12.028s (+10.0% 🔺)0.656s1014.63x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro7.100s (+4.7%)8.518s (-1.1%)1.418s151.00x
▲ VercelExpress7.800s (+12.7% 🔺)9.600s (+8.9% 🔺)1.800s131.10x
▲ VercelNext.js (Turbopack)43.251s (+565.6% 🔺)44.690s (+433.2% 🔺)1.439s66.09x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.201s (+42.7% 🔺)1.004s (~)0.012s (+28.7% 🔺)1.018s (~)0.817s101.00x
🐘 PostgresNitro0.210s (-1.8%)0.993s (~)0.001s (-15.4% 🟢)1.009s (~)0.799s101.05x
💻 LocalNitro0.214s (+50.7% 🔺)1.004s (~)0.013s (+31.0% 🔺)1.019s (~)0.805s101.06x
🐘 PostgresExpress0.239s (+11.0% 🔺)0.999s (~)0.078s (+4781.3% 🔺)1.089s (+7.8% 🔺)0.850s101.19x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.368s (-12.2% 🟢)2.257s (-21.0% 🟢)1.306s (+33.6% 🔺)3.942s (-7.8% 🟢)2.574s101.00x
▲ VercelExpress1.426s (+1.3%)2.595s (~)1.055s (+8.5% 🔺)4.096s (+3.0%)2.670s101.04x
▲ VercelNext.js (Turbopack)1.457s (-2.2%)3.053s (+0.7%)0.932s (+17.0% 🔺)4.430s (+4.3%)2.973s101.07x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.589s (-4.8%)1.004s (~)0.004s (-4.3%)1.021s (~)0.432s591.00x
💻 LocalExpress0.838s (+25.6% 🔺)1.011s (~)0.010s (+6.7% 🔺)1.115s (~)0.277s541.42x
💻 LocalNitro0.846s (+46.4% 🔺)1.012s (~)0.010s (+1.4%)1.116s (+9.2% 🔺)0.271s541.44x
🐘 PostgresExpress0.965s (+50.5% 🔺)1.401s (+39.3% 🔺)0.118s (+2732.6% 🔺)1.543s (+50.6% 🔺)0.578s401.64x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.873s (-9.5% 🟢)5.220s (-10.5% 🟢)0.271s (-22.5% 🟢)5.959s (-9.9% 🟢)2.086s111.00x
▲ VercelNext.js (Turbopack)3.968s (-5.8% 🟢)5.712s (-5.9% 🟢)0.213s (-39.4% 🟢)6.372s (-6.8% 🟢)2.404s101.02x
▲ VercelExpress4.394s (+5.3% 🔺)6.508s (+5.1% 🔺)0.251s (-41.9% 🟢)7.270s (+3.3%)2.876s91.13x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.945s (-3.5%)1.124s (-11.9% 🟢)0.000s (-100.0% 🟢)1.146s (-12.3% 🟢)0.201s531.00x
💻 LocalExpress1.222s (+3.6%)2.020s (~)0.000s (-22.2% 🟢)2.022s (~)0.799s301.29x
💻 LocalNitro1.245s (+5.5% 🔺)2.021s (~)0.000s (+10.0% 🔺)2.023s (~)0.777s301.32x
🐘 PostgresExpress2.217s (+126.3% 🔺)2.865s (+139.2% 🔺)0.000s (+138.1% 🔺)2.953s (+142.7% 🔺)0.736s212.35x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.748s (-18.4% 🟢)3.975s (-11.5% 🟢)0.000s (-100.0% 🟢)4.676s (-4.0%)1.928s131.00x
▲ VercelNext.js (Turbopack)3.087s (-6.0% 🟢)4.430s (-2.2%)0.000s (-93.8% 🟢)4.942s (-1.5%)1.855s131.12x
▲ VercelNitro3.424s (+21.6% 🔺)4.431s (+5.1% 🔺)0.000s (+Infinity% 🔺)4.912s (+5.9% 🔺)1.488s131.25x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.760s (+1.2%)2.097s (-2.0%)0.000s (-100.0% 🟢)2.113s (-1.9%)0.352s291.00x
🐘 PostgresExpress3.379s (+91.3% 🔺)3.799s (+77.6% 🔺)0.000s (-100.0% 🟢)3.846s (+79.0% 🔺)0.467s161.92x
💻 LocalExpress3.590s (+2.3%)4.101s (+1.7%)0.000s (+33.3% 🔺)4.103s (+1.7%)0.513s152.04x
💻 LocalNitro3.605s (-4.1%)4.164s (~)0.000s (-60.0% 🟢)4.167s (~)0.563s152.05x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.638s (-8.5% 🟢)4.955s (-4.2%)0.001s (+144.4% 🔺)5.376s (-4.7%)1.737s121.00x
▲ VercelNitro3.803s (-10.4% 🟢)5.005s (-11.0% 🟢)0.000s (+233.3% 🔺)5.423s (-10.2% 🟢)1.620s121.05x
▲ VercelNext.js (Turbopack)4.503s (+4.5%)5.938s (+4.8%)0.000s (+200.0% 🔺)6.398s (+5.2% 🔺)1.895s101.24x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress15/21
🐘 PostgresNitro20/21
▲ VercelNitro11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local9/21
Next.js (Turbopack)▲ Vercel21/21
Nitro🐘 Postgres17/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

Signed-off-by: Peter Wielander <mittgfu@gmail.com>

@TooTallNateTooTallNate left a comment

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.

Review: Cross-process streaming via filesystem polling

Clean implementation. The approach is correct — the EventEmitter only works in-process, so polling the shared filesystem at 100ms is the right fallback for the cross-process case (test runner ↔ workbench app).

What looks good

  • Deduplication is correct: deliveredChunkIds guards both the EventEmitter path and the polling path. The has() + add() are synchronous operations in the same tick, so there's no race between the two delivery mechanisms.

  • Ordering is correct: Chunk files use ULID names which are lexicographically sorted (monotonic). listChunkFilesForStream sorts them, so polling delivers in chronological order.

  • Cleanup is thorough: pollInterval is cleared in all exit paths — closeListener (EventEmitter close), cancel() (reader cancels), and inside the poll callback itself (EOF detected). isComplete and pendingClose both return before polling is set up, so no leaked intervals.

  • isPolling guard: Prevents overlapping polls if a poll callback takes longer than 100ms (slow filesystem).

  • Pre-startIndex tracking: Chunks before startIndex are added to deliveredChunkIds so polling doesn't re-deliver them.

  • Error handling: Filesystem errors (ENOENT, EACCES) are silently ignored (transient), non-filesystem errors are surfaced via console.error.

  • Test coverage: Unit test directly exercises the cross-process path by writing chunk files to disk (bypassing the EventEmitter), and all previously-skipped e2e stream tests are now enabled.

One nit (non-blocking)

See inline comment about controller.enqueue() on a potentially-closed controller inside the polling callback.

}
return;
}

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.

Nit: If the closeListener fires and closes the controller while a poll iteration is in-flight (between the deliveredChunkIds.add() and this controller.enqueue()), this will throw a TypeError ("enqueue on a closed controller"). The outer catch would log it via console.error since TypeError doesn't have a code property — slightly noisy but not harmful.

Could be silenced by adding a let streamClosed = false flag set in the close paths, checked here. But for a local dev tool this is fine as-is.

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

(AI) Good catch — added a streamClosed flag that's set in all close paths (closeListener, EOF in polling, isComplete, pendingClose) and checked before controller.enqueue() in the polling callback. This prevents the noisy console.error when closeListener races with an in-flight poll iteration.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Sign up for freeto 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.

3 participants

@VaguelySerious@TooTallNate@karthikscale3
, '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

[world-local] Cross-process streaming for local dev via polling, enable e2e tests - #1739

Merged
VaguelySerious merged 6 commits into
mainfrom
peter/enable-tests
Apr 16, 2026
Merged

[world-local] Cross-process streaming for local dev via polling, enable e2e tests#1739
VaguelySerious merged 6 commits into
mainfrom
peter/enable-tests

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@changeset-bot

changeset-botBot commented Apr 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 65e58e4

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

This PR includes changesets to release 19 packages
NameType
@workflow/world-localPatch
@workflow/cliPatch
@workflow/corePatch
@workflow/vitestPatch
@workflow/world-postgresPatch
workflowPatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/web-sharedPatch
@workflow/webPatch
@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

@vercel

vercelBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production923067990
✅ 💻 Local Development9940861080
✅ 📦 Local Production9940861080
✅ 🐘 Local Postgres9940861080
✅ 🪟 Windows900090
❌ 🌍 Community Worlds133980231
✅ 📋 Other252018270
Total4380983434821

❌ Failed Tests

🌍 Community Worlds (98 failed)

mongodb (15 failed):

  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • 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_01KPA24T523H4ZARVKKN1YX8V0

redis (15 failed):

  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • 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_01KPA24T523H4ZARVKKN1YX8V0

turso (68 failed):

  • addTenWorkflow | wrun_01KPA1P5KAYE5V8Q7Q1P7SGS4E
  • addTenWorkflow | wrun_01KPA1P5KAYE5V8Q7Q1P7SGS4E
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KPA1QZHPM2FMX4WK248J9VQF
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KPA1PBCWZNJAXS3HC3R0YJ9A
  • promiseRaceWorkflow | wrun_01KPA1PGNCVGK470J4TV10S1BT
  • promiseAnyWorkflow | wrun_01KPA1PJS2YCFHR976JA7GE753
  • importedStepOnlyWorkflow | wrun_01KPA1RA9A9M76BAXVCX85XS16
  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow | wrun_01KPA1PZJ7TDD2T4XBP2FRQ2GK
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • sleepingWorkflow | wrun_01KPA1QTX86RSNHS1WT6SF3DAC
  • parallelSleepWorkflow | wrun_01KPA1R71W1N9RARDPVVX76A0N
  • nullByteWorkflow | wrun_01KPA1RA25SF104HREJ8BJ5T3V
  • workflowAndStepMetadataWorkflow | wrun_01KPA1RBZ4R2BHQ1PCHDNG9GQP
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • promiseRaceStressTestWorkflow | wrun_01KPA1V11K5MDYN2G4EMETF7PT
  • 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_01KPA1Y4Z4S6SA6ABK1HW4M1KA
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KPA1ZB0QWFCJX0CAVTBZCW2H
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KPA1ZX549HC0HZ9N5X2D5TMF
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KPA204XZW5JS2V8JG7VCYTST
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KPA209PPG16PR379TBMH9448
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KPA20BKKM4T3FQWVW6J60HWE
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KPA20NF2H2ZBF070C5A6HJ9Y
  • 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_01KPA212Z6QY9YFJC5MWH4SVYC
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KPA217KPT74R8BBXCT1DW8V2
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KPA21DNTCABVRSCC5Y25E0Q3
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KPA21KM6XR4TM3N20MA6349H
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KPA21SHF100FT0DHZXP04D1Z
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KPA21ZQ6YQCHWPBAMG8ZPR7N
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KPA225RNQ3DWWKF5DY9HAHM0
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KPA22GQXQ2212VQ5MJ1N2DA6
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KPA22RS52H3V3PAKH2F659BS
  • cancelRun - cancelling a running workflow | wrun_01KPA22YKV5QJ50VGXQNEXJAGV
  • cancelRun via CLI - cancelling a running workflow | wrun_01KPA237F5H8FRBF8BB28AANW2
  • 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_01KPA23J951BMA0SDYZBGGYYDJ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KPA245J5JE0XTKE4QNFXJK3Q
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KPA24GECVNPV5088ZCN33E6X
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KPA24PC5Z5TSFHHN913ZPKNB
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KPA24R82MHCHM8NS4V98VJT0
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KPA24T523H4ZARVKKN1YX8V0
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KPA24X3D0MB9S7BS3VSFX45Y

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8307
✅ example8307
✅ express8307
✅ fastify8307
✅ hono8307
✅ nextjs-turbopack8802
✅ nextjs-webpack8802
✅ nitro8307
✅ nuxt8307
✅ sveltekit8307
✅ vite8307
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9000
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev600
❌ mongodb56150
✅ redis-dev600
❌ redis56150
✅ turso-dev600
❌ turso3680
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable8406
✅ e2e-local-postgres-nest-stable8406
✅ e2e-local-prod-nest-stable8406

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 15, 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🥇 Express0.041s (+16.6% 🔺)1.005s (~)0.964s101.00x
💻 LocalNitro0.043s (+18.1% 🔺)1.006s (~)0.963s101.04x
🐘 PostgresNitro0.059s (-2.3%)1.010s (~)0.951s101.45x
🐘 PostgresExpress0.133s (+83.3% 🔺)1.047s (+2.6%)0.915s103.25x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.204s (-17.7% 🟢)1.769s (-17.9% 🟢)1.565s101.00x
▲ VercelExpress0.214s (-38.7% 🟢)2.056s (-4.8%)1.842s101.05x
▲ VercelNitro0.252s (+4.3%)2.217s (+8.4% 🔺)1.964s101.23x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.129s (+2.7%)2.005s (~)0.877s101.00x
💻 LocalNitro1.132s (+2.9%)2.006s (~)0.874s101.00x
🐘 PostgresNitro1.143s (~)2.009s (~)0.866s101.01x
🐘 PostgresExpress1.339s (+16.4% 🔺)2.058s (+2.3%)0.719s101.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.859s (-2.4%)3.962s (+9.9% 🔺)2.103s101.00x
▲ VercelNext.js (Turbopack)1.896s (+1.1%)3.662s (+2.0%)1.766s101.02x
▲ VercelNitro2.028s (-11.2% 🟢)3.287s (-17.4% 🟢)1.259s101.09x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro10.868s (~)11.018s (~)0.150s31.00x
💻 LocalExpress10.913s (+2.4%)11.022s (~)0.110s31.00x
💻 LocalNitro10.955s (+2.9%)11.024s (~)0.069s31.01x
🐘 PostgresExpress11.318s (+3.1%)12.016s (+5.8% 🔺)0.698s31.04x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express16.325s (-3.9%)18.559s (-3.4%)2.234s21.00x
▲ VercelNitro16.499s (-9.7% 🟢)18.405s (-10.7% 🟢)1.906s21.01x
▲ VercelNext.js (Turbopack)16.790s (-5.1% 🟢)18.920s (-3.0%)2.131s21.03x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro14.539s (~)15.021s (~)0.482s41.00x
💻 LocalExpress14.976s (+5.2% 🔺)15.030s (~)0.054s41.03x
💻 LocalNitro15.067s (+5.8% 🔺)16.033s (+6.7% 🔺)0.966s41.04x
🐘 PostgresExpress15.675s (+7.3% 🔺)16.023s (+6.6% 🔺)0.347s41.08x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.502s (-7.3% 🟢)31.032s (-7.9% 🟢)1.530s21.00x
▲ VercelNext.js (Turbopack)30.144s (-8.1% 🟢)32.338s (-6.6% 🟢)2.194s21.02x
▲ VercelExpress30.259s (-8.7% 🟢)31.779s (-9.7% 🟢)1.520s21.03x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro13.981s (~)14.305s (+2.0%)0.323s71.00x
🐘 PostgresExpress16.235s (+13.3% 🔺)16.742s (+11.4% 🔺)0.506s61.16x
💻 LocalExpress16.663s (+11.8% 🔺)17.030s (+13.3% 🔺)0.367s61.19x
💻 LocalNitro16.824s (+12.5% 🔺)17.032s (+10.9% 🔺)0.208s61.20x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro47.526s (-12.3% 🟢)48.863s (-13.4% 🟢)1.337s21.00x
▲ VercelExpress50.444s (-4.0%)51.804s (-4.3%)1.360s21.06x
▲ VercelNext.js (Turbopack)53.499s (-4.6%)55.385s (-4.0%)1.886s21.13x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.241s (-4.0%)2.009s (~)0.768s151.00x
🐘 PostgresNitro1.279s (+1.1%)2.009s (~)0.730s151.03x
💻 LocalExpress1.537s (+5.3% 🔺)2.005s (~)0.469s151.24x
💻 LocalNitro1.547s (+4.8%)2.006s (~)0.458s151.25x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.260s (+4.5%)3.937s (+6.0% 🔺)1.677s81.00x
▲ VercelNitro2.502s (-9.9% 🟢)3.861s (-11.5% 🟢)1.358s81.11x
▲ VercelExpress2.591s (~)4.203s (~)1.611s81.15x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.334s (~)3.008s (~)0.674s101.00x
🐘 PostgresExpress2.564s (+8.9% 🔺)3.218s (+6.9% 🔺)0.654s101.10x
💻 LocalNitro2.942s (+14.9% 🔺)3.676s (+22.2% 🔺)0.735s91.26x
💻 LocalExpress2.963s (+4.3%)3.208s (+3.2%)0.244s101.27x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.497s (~)3.843s (+0.8%)1.346s81.00x
▲ VercelNitro2.822s (-1.2%)4.044s (-11.3% 🟢)1.221s81.13x
▲ VercelNext.js (Turbopack)2.959s (-4.4%)4.945s (+7.1% 🔺)1.986s71.19x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.467s (~)4.009s (~)0.542s81.00x
🐘 PostgresExpress4.462s (+28.2% 🔺)5.073s (+26.4% 🔺)0.611s71.29x
💻 LocalNitro8.254s (+18.8% 🔺)9.021s (+20.0% 🔺)0.768s42.38x
💻 LocalExpress8.322s (+17.4% 🔺)9.024s (+12.6% 🔺)0.701s42.40x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.075s (-11.3% 🟢)4.610s (-10.5% 🟢)1.535s71.00x
▲ VercelNext.js (Turbopack)3.464s (-12.5% 🟢)5.441s (-3.6%)1.977s61.13x
▲ VercelExpress3.689s (+28.7% 🔺)5.588s (+27.0% 🔺)1.898s61.20x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.268s (+0.7%)2.008s (~)0.740s151.00x
💻 LocalNitro1.542s (+1.7%)2.006s (~)0.464s151.22x
💻 LocalExpress1.544s (+4.9%)2.006s (~)0.462s151.22x
🐘 PostgresExpress1.635s (+30.2% 🔺)2.095s (+4.3%)0.459s151.29x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.105s (~)3.961s (+9.3% 🔺)1.855s81.00x
▲ VercelNitro2.132s (-13.1% 🟢)3.699s (-8.9% 🟢)1.567s91.01x
▲ VercelNext.js (Turbopack)2.208s (-0.6%)3.765s (-1.4%)1.557s91.05x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.301s (-1.3%)3.008s (~)0.707s101.00x
🐘 PostgresExpress2.471s (+5.8% 🔺)3.027s (+0.6%)0.556s101.07x
💻 LocalExpress2.967s (+10.0% 🔺)3.676s (+22.2% 🔺)0.709s91.29x
💻 LocalNitro3.131s (+13.2% 🔺)4.010s (+29.0% 🔺)0.879s81.36x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.623s (-8.2% 🟢)4.164s (-4.0%)1.540s81.00x
▲ VercelNext.js (Turbopack)2.848s (-12.2% 🟢)4.742s (-3.1%)1.894s81.09x
▲ VercelNitro2.858s (-19.6% 🟢)4.213s (-21.3% 🟢)1.355s81.09x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.478s (~)4.010s (~)0.532s81.00x
🐘 PostgresExpress3.696s (+6.2% 🔺)4.070s (+1.4%)0.374s81.06x
💻 LocalNitro8.947s (+20.1% 🔺)9.774s (+21.9% 🔺)0.827s42.57x
💻 LocalExpress8.969s (+17.3% 🔺)9.524s (+18.8% 🔺)0.555s42.58x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.578s (-36.2% 🟢)3.989s (-34.2% 🟢)1.411s81.00x
▲ VercelExpress3.387s (-24.8% 🟢)5.260s (-12.6% 🟢)1.873s61.31x
▲ VercelNext.js (Turbopack)3.418s (-19.2% 🟢)5.125s (-10.8% 🟢)1.707s71.33x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.793s (-2.8%)1.006s (-1.6%)0.213s601.00x
💻 LocalExpress1.001s (+40.6% 🔺)1.338s (+31.1% 🔺)0.338s451.26x
💻 LocalNitro1.001s (+43.9% 🔺)1.434s (+42.7% 🔺)0.433s421.26x
🐘 PostgresExpress1.051s (+24.3% 🔺)1.430s (+39.8% 🔺)0.379s421.33x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro8.644s (-4.2%)10.207s (-7.7% 🟢)1.563s61.00x
▲ VercelNext.js (Turbopack)8.816s (-27.7% 🟢)10.510s (-26.0% 🟢)1.695s61.02x
▲ VercelExpress9.321s (-3.7%)11.432s (~)2.110s61.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.867s (-3.3%)2.053s (-2.3%)0.186s441.00x
🐘 PostgresExpress2.444s (+17.3% 🔺)2.832s (-3.8%)0.388s321.31x
💻 LocalNitro3.040s (+34.5% 🔺)3.843s (+27.8% 🔺)0.804s241.63x
💻 LocalExpress3.070s (+35.9% 🔺)3.923s (+30.4% 🔺)0.853s231.64x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)28.262s (-7.3% 🟢)30.127s (-6.8% 🟢)1.865s31.00x
▲ VercelExpress29.211s (-3.8%)31.264s (-3.5%)2.052s31.03x
▲ VercelNitro29.957s (-0.6%)31.075s (-4.2%)1.118s31.06x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.862s (~)4.075s (-0.8%)0.214s301.00x
🐘 PostgresExpress5.987s (+45.3% 🔺)6.458s (+32.0% 🔺)0.471s191.55x
💻 LocalExpress9.184s (+25.4% 🔺)9.864s (+23.1% 🔺)0.680s132.38x
💻 LocalNitro9.378s (+27.5% 🔺)9.941s (+24.0% 🔺)0.564s132.43x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro73.701s (-37.8% 🟢)75.280s (-37.5% 🟢)1.580s21.00x
▲ VercelNext.js (Turbopack)76.649s (-7.2% 🟢)78.535s (-6.9% 🟢)1.886s21.04x
▲ VercelExpress79.293s (-39.5% 🟢)81.837s (-38.6% 🟢)2.544s21.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.283s (-1.4%)1.007s (~)0.723s601.00x
🐘 PostgresExpress0.508s (+78.4% 🔺)1.124s (+11.6% 🔺)0.616s541.79x
💻 LocalExpress0.588s (-1.6%)1.004s (-1.6%)0.416s602.08x
💻 LocalNitro0.591s (+4.3%)1.005s (~)0.414s602.09x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.371s (-21.8% 🟢)2.771s (-20.8% 🟢)1.400s221.00x
▲ VercelExpress1.534s (-4.4%)3.059s (-6.9% 🟢)1.525s201.12x
▲ VercelNext.js (Turbopack)1.723s (+2.3%)3.220s (-1.7%)1.497s191.26x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.487s (-3.5%)1.006s (~)0.519s901.00x
🐘 PostgresExpress0.648s (+31.0% 🔺)1.177s (+16.9% 🔺)0.530s771.33x
💻 LocalNitro2.527s (+3.9%)3.009s (~)0.482s305.19x
💻 LocalExpress2.564s (+4.1%)3.009s (~)0.445s305.26x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.550s (-6.6% 🟢)3.921s (-11.8% 🟢)1.371s231.00x
▲ VercelExpress2.763s (+2.2%)4.450s (+5.3% 🔺)1.687s211.08x
▲ VercelNext.js (Turbopack)3.693s (+12.8% 🔺)5.248s (+8.2% 🔺)1.554s181.45x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.777s (-3.1%)1.016s (+0.7%)0.239s1191.00x
🐘 PostgresExpress1.181s (+45.5% 🔺)1.631s (+60.4% 🔺)0.450s741.52x
💻 LocalExpress11.114s (+5.0%)11.849s (+7.5% 🔺)0.735s1114.30x
💻 LocalNitro11.372s (+10.2% 🔺)12.028s (+10.0% 🔺)0.656s1014.63x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro7.100s (+4.7%)8.518s (-1.1%)1.418s151.00x
▲ VercelExpress7.800s (+12.7% 🔺)9.600s (+8.9% 🔺)1.800s131.10x
▲ VercelNext.js (Turbopack)43.251s (+565.6% 🔺)44.690s (+433.2% 🔺)1.439s66.09x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.201s (+42.7% 🔺)1.004s (~)0.012s (+28.7% 🔺)1.018s (~)0.817s101.00x
🐘 PostgresNitro0.210s (-1.8%)0.993s (~)0.001s (-15.4% 🟢)1.009s (~)0.799s101.05x
💻 LocalNitro0.214s (+50.7% 🔺)1.004s (~)0.013s (+31.0% 🔺)1.019s (~)0.805s101.06x
🐘 PostgresExpress0.239s (+11.0% 🔺)0.999s (~)0.078s (+4781.3% 🔺)1.089s (+7.8% 🔺)0.850s101.19x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.368s (-12.2% 🟢)2.257s (-21.0% 🟢)1.306s (+33.6% 🔺)3.942s (-7.8% 🟢)2.574s101.00x
▲ VercelExpress1.426s (+1.3%)2.595s (~)1.055s (+8.5% 🔺)4.096s (+3.0%)2.670s101.04x
▲ VercelNext.js (Turbopack)1.457s (-2.2%)3.053s (+0.7%)0.932s (+17.0% 🔺)4.430s (+4.3%)2.973s101.07x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.589s (-4.8%)1.004s (~)0.004s (-4.3%)1.021s (~)0.432s591.00x
💻 LocalExpress0.838s (+25.6% 🔺)1.011s (~)0.010s (+6.7% 🔺)1.115s (~)0.277s541.42x
💻 LocalNitro0.846s (+46.4% 🔺)1.012s (~)0.010s (+1.4%)1.116s (+9.2% 🔺)0.271s541.44x
🐘 PostgresExpress0.965s (+50.5% 🔺)1.401s (+39.3% 🔺)0.118s (+2732.6% 🔺)1.543s (+50.6% 🔺)0.578s401.64x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.873s (-9.5% 🟢)5.220s (-10.5% 🟢)0.271s (-22.5% 🟢)5.959s (-9.9% 🟢)2.086s111.00x
▲ VercelNext.js (Turbopack)3.968s (-5.8% 🟢)5.712s (-5.9% 🟢)0.213s (-39.4% 🟢)6.372s (-6.8% 🟢)2.404s101.02x
▲ VercelExpress4.394s (+5.3% 🔺)6.508s (+5.1% 🔺)0.251s (-41.9% 🟢)7.270s (+3.3%)2.876s91.13x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.945s (-3.5%)1.124s (-11.9% 🟢)0.000s (-100.0% 🟢)1.146s (-12.3% 🟢)0.201s531.00x
💻 LocalExpress1.222s (+3.6%)2.020s (~)0.000s (-22.2% 🟢)2.022s (~)0.799s301.29x
💻 LocalNitro1.245s (+5.5% 🔺)2.021s (~)0.000s (+10.0% 🔺)2.023s (~)0.777s301.32x
🐘 PostgresExpress2.217s (+126.3% 🔺)2.865s (+139.2% 🔺)0.000s (+138.1% 🔺)2.953s (+142.7% 🔺)0.736s212.35x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.748s (-18.4% 🟢)3.975s (-11.5% 🟢)0.000s (-100.0% 🟢)4.676s (-4.0%)1.928s131.00x
▲ VercelNext.js (Turbopack)3.087s (-6.0% 🟢)4.430s (-2.2%)0.000s (-93.8% 🟢)4.942s (-1.5%)1.855s131.12x
▲ VercelNitro3.424s (+21.6% 🔺)4.431s (+5.1% 🔺)0.000s (+Infinity% 🔺)4.912s (+5.9% 🔺)1.488s131.25x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.760s (+1.2%)2.097s (-2.0%)0.000s (-100.0% 🟢)2.113s (-1.9%)0.352s291.00x
🐘 PostgresExpress3.379s (+91.3% 🔺)3.799s (+77.6% 🔺)0.000s (-100.0% 🟢)3.846s (+79.0% 🔺)0.467s161.92x
💻 LocalExpress3.590s (+2.3%)4.101s (+1.7%)0.000s (+33.3% 🔺)4.103s (+1.7%)0.513s152.04x
💻 LocalNitro3.605s (-4.1%)4.164s (~)0.000s (-60.0% 🟢)4.167s (~)0.563s152.05x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.638s (-8.5% 🟢)4.955s (-4.2%)0.001s (+144.4% 🔺)5.376s (-4.7%)1.737s121.00x
▲ VercelNitro3.803s (-10.4% 🟢)5.005s (-11.0% 🟢)0.000s (+233.3% 🔺)5.423s (-10.2% 🟢)1.620s121.05x
▲ VercelNext.js (Turbopack)4.503s (+4.5%)5.938s (+4.8%)0.000s (+200.0% 🔺)6.398s (+5.2% 🔺)1.895s101.24x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress15/21
🐘 PostgresNitro20/21
▲ VercelNitro11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local9/21
Next.js (Turbopack)▲ Vercel21/21
Nitro🐘 Postgres17/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

Signed-off-by: Peter Wielander <mittgfu@gmail.com>

@TooTallNateTooTallNate left a comment

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.

Review: Cross-process streaming via filesystem polling

Clean implementation. The approach is correct — the EventEmitter only works in-process, so polling the shared filesystem at 100ms is the right fallback for the cross-process case (test runner ↔ workbench app).

What looks good

  • Deduplication is correct: deliveredChunkIds guards both the EventEmitter path and the polling path. The has() + add() are synchronous operations in the same tick, so there's no race between the two delivery mechanisms.

  • Ordering is correct: Chunk files use ULID names which are lexicographically sorted (monotonic). listChunkFilesForStream sorts them, so polling delivers in chronological order.

  • Cleanup is thorough: pollInterval is cleared in all exit paths — closeListener (EventEmitter close), cancel() (reader cancels), and inside the poll callback itself (EOF detected). isComplete and pendingClose both return before polling is set up, so no leaked intervals.

  • isPolling guard: Prevents overlapping polls if a poll callback takes longer than 100ms (slow filesystem).

  • Pre-startIndex tracking: Chunks before startIndex are added to deliveredChunkIds so polling doesn't re-deliver them.

  • Error handling: Filesystem errors (ENOENT, EACCES) are silently ignored (transient), non-filesystem errors are surfaced via console.error.

  • Test coverage: Unit test directly exercises the cross-process path by writing chunk files to disk (bypassing the EventEmitter), and all previously-skipped e2e stream tests are now enabled.

One nit (non-blocking)

See inline comment about controller.enqueue() on a potentially-closed controller inside the polling callback.

}
return;
}

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.

Nit: If the closeListener fires and closes the controller while a poll iteration is in-flight (between the deliveredChunkIds.add() and this controller.enqueue()), this will throw a TypeError ("enqueue on a closed controller"). The outer catch would log it via console.error since TypeError doesn't have a code property — slightly noisy but not harmful.

Could be silenced by adding a let streamClosed = false flag set in the close paths, checked here. But for a local dev tool this is fine as-is.

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

(AI) Good catch — added a streamClosed flag that's set in all close paths (closeListener, EOF in polling, isComplete, pendingClose) and checked before controller.enqueue() in the polling callback. This prevents the noisy console.error when closeListener races with an in-flight poll iteration.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Sign up for freeto 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.

3 participants

@VaguelySerious@TooTallNate@karthikscale3
, '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

[world-local] Cross-process streaming for local dev via polling, enable e2e tests - #1739

Merged
VaguelySerious merged 6 commits into
mainfrom
peter/enable-tests
Apr 16, 2026
Merged

[world-local] Cross-process streaming for local dev via polling, enable e2e tests#1739
VaguelySerious merged 6 commits into
mainfrom
peter/enable-tests

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@changeset-bot

changeset-botBot commented Apr 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 65e58e4

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

This PR includes changesets to release 19 packages
NameType
@workflow/world-localPatch
@workflow/cliPatch
@workflow/corePatch
@workflow/vitestPatch
@workflow/world-postgresPatch
workflowPatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/web-sharedPatch
@workflow/webPatch
@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

@vercel

vercelBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production923067990
✅ 💻 Local Development9940861080
✅ 📦 Local Production9940861080
✅ 🐘 Local Postgres9940861080
✅ 🪟 Windows900090
❌ 🌍 Community Worlds133980231
✅ 📋 Other252018270
Total4380983434821

❌ Failed Tests

🌍 Community Worlds (98 failed)

mongodb (15 failed):

  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • 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_01KPA24T523H4ZARVKKN1YX8V0

redis (15 failed):

  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • 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_01KPA24T523H4ZARVKKN1YX8V0

turso (68 failed):

  • addTenWorkflow | wrun_01KPA1P5KAYE5V8Q7Q1P7SGS4E
  • addTenWorkflow | wrun_01KPA1P5KAYE5V8Q7Q1P7SGS4E
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KPA1QZHPM2FMX4WK248J9VQF
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KPA1PBCWZNJAXS3HC3R0YJ9A
  • promiseRaceWorkflow | wrun_01KPA1PGNCVGK470J4TV10S1BT
  • promiseAnyWorkflow | wrun_01KPA1PJS2YCFHR976JA7GE753
  • importedStepOnlyWorkflow | wrun_01KPA1RA9A9M76BAXVCX85XS16
  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow | wrun_01KPA1PZJ7TDD2T4XBP2FRQ2GK
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • sleepingWorkflow | wrun_01KPA1QTX86RSNHS1WT6SF3DAC
  • parallelSleepWorkflow | wrun_01KPA1R71W1N9RARDPVVX76A0N
  • nullByteWorkflow | wrun_01KPA1RA25SF104HREJ8BJ5T3V
  • workflowAndStepMetadataWorkflow | wrun_01KPA1RBZ4R2BHQ1PCHDNG9GQP
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • promiseRaceStressTestWorkflow | wrun_01KPA1V11K5MDYN2G4EMETF7PT
  • 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_01KPA1Y4Z4S6SA6ABK1HW4M1KA
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KPA1ZB0QWFCJX0CAVTBZCW2H
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KPA1ZX549HC0HZ9N5X2D5TMF
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KPA204XZW5JS2V8JG7VCYTST
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KPA209PPG16PR379TBMH9448
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KPA20BKKM4T3FQWVW6J60HWE
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KPA20NF2H2ZBF070C5A6HJ9Y
  • 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_01KPA212Z6QY9YFJC5MWH4SVYC
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KPA217KPT74R8BBXCT1DW8V2
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KPA21DNTCABVRSCC5Y25E0Q3
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KPA21KM6XR4TM3N20MA6349H
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KPA21SHF100FT0DHZXP04D1Z
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KPA21ZQ6YQCHWPBAMG8ZPR7N
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KPA225RNQ3DWWKF5DY9HAHM0
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KPA22GQXQ2212VQ5MJ1N2DA6
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KPA22RS52H3V3PAKH2F659BS
  • cancelRun - cancelling a running workflow | wrun_01KPA22YKV5QJ50VGXQNEXJAGV
  • cancelRun via CLI - cancelling a running workflow | wrun_01KPA237F5H8FRBF8BB28AANW2
  • 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_01KPA23J951BMA0SDYZBGGYYDJ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KPA245J5JE0XTKE4QNFXJK3Q
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KPA24GECVNPV5088ZCN33E6X
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KPA24PC5Z5TSFHHN913ZPKNB
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KPA24R82MHCHM8NS4V98VJT0
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KPA24T523H4ZARVKKN1YX8V0
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KPA24X3D0MB9S7BS3VSFX45Y

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8307
✅ example8307
✅ express8307
✅ fastify8307
✅ hono8307
✅ nextjs-turbopack8802
✅ nextjs-webpack8802
✅ nitro8307
✅ nuxt8307
✅ sveltekit8307
✅ vite8307
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9000
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev600
❌ mongodb56150
✅ redis-dev600
❌ redis56150
✅ turso-dev600
❌ turso3680
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable8406
✅ e2e-local-postgres-nest-stable8406
✅ e2e-local-prod-nest-stable8406

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 15, 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🥇 Express0.041s (+16.6% 🔺)1.005s (~)0.964s101.00x
💻 LocalNitro0.043s (+18.1% 🔺)1.006s (~)0.963s101.04x
🐘 PostgresNitro0.059s (-2.3%)1.010s (~)0.951s101.45x
🐘 PostgresExpress0.133s (+83.3% 🔺)1.047s (+2.6%)0.915s103.25x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.204s (-17.7% 🟢)1.769s (-17.9% 🟢)1.565s101.00x
▲ VercelExpress0.214s (-38.7% 🟢)2.056s (-4.8%)1.842s101.05x
▲ VercelNitro0.252s (+4.3%)2.217s (+8.4% 🔺)1.964s101.23x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.129s (+2.7%)2.005s (~)0.877s101.00x
💻 LocalNitro1.132s (+2.9%)2.006s (~)0.874s101.00x
🐘 PostgresNitro1.143s (~)2.009s (~)0.866s101.01x
🐘 PostgresExpress1.339s (+16.4% 🔺)2.058s (+2.3%)0.719s101.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.859s (-2.4%)3.962s (+9.9% 🔺)2.103s101.00x
▲ VercelNext.js (Turbopack)1.896s (+1.1%)3.662s (+2.0%)1.766s101.02x
▲ VercelNitro2.028s (-11.2% 🟢)3.287s (-17.4% 🟢)1.259s101.09x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro10.868s (~)11.018s (~)0.150s31.00x
💻 LocalExpress10.913s (+2.4%)11.022s (~)0.110s31.00x
💻 LocalNitro10.955s (+2.9%)11.024s (~)0.069s31.01x
🐘 PostgresExpress11.318s (+3.1%)12.016s (+5.8% 🔺)0.698s31.04x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express16.325s (-3.9%)18.559s (-3.4%)2.234s21.00x
▲ VercelNitro16.499s (-9.7% 🟢)18.405s (-10.7% 🟢)1.906s21.01x
▲ VercelNext.js (Turbopack)16.790s (-5.1% 🟢)18.920s (-3.0%)2.131s21.03x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro14.539s (~)15.021s (~)0.482s41.00x
💻 LocalExpress14.976s (+5.2% 🔺)15.030s (~)0.054s41.03x
💻 LocalNitro15.067s (+5.8% 🔺)16.033s (+6.7% 🔺)0.966s41.04x
🐘 PostgresExpress15.675s (+7.3% 🔺)16.023s (+6.6% 🔺)0.347s41.08x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.502s (-7.3% 🟢)31.032s (-7.9% 🟢)1.530s21.00x
▲ VercelNext.js (Turbopack)30.144s (-8.1% 🟢)32.338s (-6.6% 🟢)2.194s21.02x
▲ VercelExpress30.259s (-8.7% 🟢)31.779s (-9.7% 🟢)1.520s21.03x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro13.981s (~)14.305s (+2.0%)0.323s71.00x
🐘 PostgresExpress16.235s (+13.3% 🔺)16.742s (+11.4% 🔺)0.506s61.16x
💻 LocalExpress16.663s (+11.8% 🔺)17.030s (+13.3% 🔺)0.367s61.19x
💻 LocalNitro16.824s (+12.5% 🔺)17.032s (+10.9% 🔺)0.208s61.20x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro47.526s (-12.3% 🟢)48.863s (-13.4% 🟢)1.337s21.00x
▲ VercelExpress50.444s (-4.0%)51.804s (-4.3%)1.360s21.06x
▲ VercelNext.js (Turbopack)53.499s (-4.6%)55.385s (-4.0%)1.886s21.13x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.241s (-4.0%)2.009s (~)0.768s151.00x
🐘 PostgresNitro1.279s (+1.1%)2.009s (~)0.730s151.03x
💻 LocalExpress1.537s (+5.3% 🔺)2.005s (~)0.469s151.24x
💻 LocalNitro1.547s (+4.8%)2.006s (~)0.458s151.25x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.260s (+4.5%)3.937s (+6.0% 🔺)1.677s81.00x
▲ VercelNitro2.502s (-9.9% 🟢)3.861s (-11.5% 🟢)1.358s81.11x
▲ VercelExpress2.591s (~)4.203s (~)1.611s81.15x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.334s (~)3.008s (~)0.674s101.00x
🐘 PostgresExpress2.564s (+8.9% 🔺)3.218s (+6.9% 🔺)0.654s101.10x
💻 LocalNitro2.942s (+14.9% 🔺)3.676s (+22.2% 🔺)0.735s91.26x
💻 LocalExpress2.963s (+4.3%)3.208s (+3.2%)0.244s101.27x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.497s (~)3.843s (+0.8%)1.346s81.00x
▲ VercelNitro2.822s (-1.2%)4.044s (-11.3% 🟢)1.221s81.13x
▲ VercelNext.js (Turbopack)2.959s (-4.4%)4.945s (+7.1% 🔺)1.986s71.19x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.467s (~)4.009s (~)0.542s81.00x
🐘 PostgresExpress4.462s (+28.2% 🔺)5.073s (+26.4% 🔺)0.611s71.29x
💻 LocalNitro8.254s (+18.8% 🔺)9.021s (+20.0% 🔺)0.768s42.38x
💻 LocalExpress8.322s (+17.4% 🔺)9.024s (+12.6% 🔺)0.701s42.40x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.075s (-11.3% 🟢)4.610s (-10.5% 🟢)1.535s71.00x
▲ VercelNext.js (Turbopack)3.464s (-12.5% 🟢)5.441s (-3.6%)1.977s61.13x
▲ VercelExpress3.689s (+28.7% 🔺)5.588s (+27.0% 🔺)1.898s61.20x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.268s (+0.7%)2.008s (~)0.740s151.00x
💻 LocalNitro1.542s (+1.7%)2.006s (~)0.464s151.22x
💻 LocalExpress1.544s (+4.9%)2.006s (~)0.462s151.22x
🐘 PostgresExpress1.635s (+30.2% 🔺)2.095s (+4.3%)0.459s151.29x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.105s (~)3.961s (+9.3% 🔺)1.855s81.00x
▲ VercelNitro2.132s (-13.1% 🟢)3.699s (-8.9% 🟢)1.567s91.01x
▲ VercelNext.js (Turbopack)2.208s (-0.6%)3.765s (-1.4%)1.557s91.05x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.301s (-1.3%)3.008s (~)0.707s101.00x
🐘 PostgresExpress2.471s (+5.8% 🔺)3.027s (+0.6%)0.556s101.07x
💻 LocalExpress2.967s (+10.0% 🔺)3.676s (+22.2% 🔺)0.709s91.29x
💻 LocalNitro3.131s (+13.2% 🔺)4.010s (+29.0% 🔺)0.879s81.36x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.623s (-8.2% 🟢)4.164s (-4.0%)1.540s81.00x
▲ VercelNext.js (Turbopack)2.848s (-12.2% 🟢)4.742s (-3.1%)1.894s81.09x
▲ VercelNitro2.858s (-19.6% 🟢)4.213s (-21.3% 🟢)1.355s81.09x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.478s (~)4.010s (~)0.532s81.00x
🐘 PostgresExpress3.696s (+6.2% 🔺)4.070s (+1.4%)0.374s81.06x
💻 LocalNitro8.947s (+20.1% 🔺)9.774s (+21.9% 🔺)0.827s42.57x
💻 LocalExpress8.969s (+17.3% 🔺)9.524s (+18.8% 🔺)0.555s42.58x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.578s (-36.2% 🟢)3.989s (-34.2% 🟢)1.411s81.00x
▲ VercelExpress3.387s (-24.8% 🟢)5.260s (-12.6% 🟢)1.873s61.31x
▲ VercelNext.js (Turbopack)3.418s (-19.2% 🟢)5.125s (-10.8% 🟢)1.707s71.33x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.793s (-2.8%)1.006s (-1.6%)0.213s601.00x
💻 LocalExpress1.001s (+40.6% 🔺)1.338s (+31.1% 🔺)0.338s451.26x
💻 LocalNitro1.001s (+43.9% 🔺)1.434s (+42.7% 🔺)0.433s421.26x
🐘 PostgresExpress1.051s (+24.3% 🔺)1.430s (+39.8% 🔺)0.379s421.33x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro8.644s (-4.2%)10.207s (-7.7% 🟢)1.563s61.00x
▲ VercelNext.js (Turbopack)8.816s (-27.7% 🟢)10.510s (-26.0% 🟢)1.695s61.02x
▲ VercelExpress9.321s (-3.7%)11.432s (~)2.110s61.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.867s (-3.3%)2.053s (-2.3%)0.186s441.00x
🐘 PostgresExpress2.444s (+17.3% 🔺)2.832s (-3.8%)0.388s321.31x
💻 LocalNitro3.040s (+34.5% 🔺)3.843s (+27.8% 🔺)0.804s241.63x
💻 LocalExpress3.070s (+35.9% 🔺)3.923s (+30.4% 🔺)0.853s231.64x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)28.262s (-7.3% 🟢)30.127s (-6.8% 🟢)1.865s31.00x
▲ VercelExpress29.211s (-3.8%)31.264s (-3.5%)2.052s31.03x
▲ VercelNitro29.957s (-0.6%)31.075s (-4.2%)1.118s31.06x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.862s (~)4.075s (-0.8%)0.214s301.00x
🐘 PostgresExpress5.987s (+45.3% 🔺)6.458s (+32.0% 🔺)0.471s191.55x
💻 LocalExpress9.184s (+25.4% 🔺)9.864s (+23.1% 🔺)0.680s132.38x
💻 LocalNitro9.378s (+27.5% 🔺)9.941s (+24.0% 🔺)0.564s132.43x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro73.701s (-37.8% 🟢)75.280s (-37.5% 🟢)1.580s21.00x
▲ VercelNext.js (Turbopack)76.649s (-7.2% 🟢)78.535s (-6.9% 🟢)1.886s21.04x
▲ VercelExpress79.293s (-39.5% 🟢)81.837s (-38.6% 🟢)2.544s21.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.283s (-1.4%)1.007s (~)0.723s601.00x
🐘 PostgresExpress0.508s (+78.4% 🔺)1.124s (+11.6% 🔺)0.616s541.79x
💻 LocalExpress0.588s (-1.6%)1.004s (-1.6%)0.416s602.08x
💻 LocalNitro0.591s (+4.3%)1.005s (~)0.414s602.09x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.371s (-21.8% 🟢)2.771s (-20.8% 🟢)1.400s221.00x
▲ VercelExpress1.534s (-4.4%)3.059s (-6.9% 🟢)1.525s201.12x
▲ VercelNext.js (Turbopack)1.723s (+2.3%)3.220s (-1.7%)1.497s191.26x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.487s (-3.5%)1.006s (~)0.519s901.00x
🐘 PostgresExpress0.648s (+31.0% 🔺)1.177s (+16.9% 🔺)0.530s771.33x
💻 LocalNitro2.527s (+3.9%)3.009s (~)0.482s305.19x
💻 LocalExpress2.564s (+4.1%)3.009s (~)0.445s305.26x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.550s (-6.6% 🟢)3.921s (-11.8% 🟢)1.371s231.00x
▲ VercelExpress2.763s (+2.2%)4.450s (+5.3% 🔺)1.687s211.08x
▲ VercelNext.js (Turbopack)3.693s (+12.8% 🔺)5.248s (+8.2% 🔺)1.554s181.45x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.777s (-3.1%)1.016s (+0.7%)0.239s1191.00x
🐘 PostgresExpress1.181s (+45.5% 🔺)1.631s (+60.4% 🔺)0.450s741.52x
💻 LocalExpress11.114s (+5.0%)11.849s (+7.5% 🔺)0.735s1114.30x
💻 LocalNitro11.372s (+10.2% 🔺)12.028s (+10.0% 🔺)0.656s1014.63x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro7.100s (+4.7%)8.518s (-1.1%)1.418s151.00x
▲ VercelExpress7.800s (+12.7% 🔺)9.600s (+8.9% 🔺)1.800s131.10x
▲ VercelNext.js (Turbopack)43.251s (+565.6% 🔺)44.690s (+433.2% 🔺)1.439s66.09x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.201s (+42.7% 🔺)1.004s (~)0.012s (+28.7% 🔺)1.018s (~)0.817s101.00x
🐘 PostgresNitro0.210s (-1.8%)0.993s (~)0.001s (-15.4% 🟢)1.009s (~)0.799s101.05x
💻 LocalNitro0.214s (+50.7% 🔺)1.004s (~)0.013s (+31.0% 🔺)1.019s (~)0.805s101.06x
🐘 PostgresExpress0.239s (+11.0% 🔺)0.999s (~)0.078s (+4781.3% 🔺)1.089s (+7.8% 🔺)0.850s101.19x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.368s (-12.2% 🟢)2.257s (-21.0% 🟢)1.306s (+33.6% 🔺)3.942s (-7.8% 🟢)2.574s101.00x
▲ VercelExpress1.426s (+1.3%)2.595s (~)1.055s (+8.5% 🔺)4.096s (+3.0%)2.670s101.04x
▲ VercelNext.js (Turbopack)1.457s (-2.2%)3.053s (+0.7%)0.932s (+17.0% 🔺)4.430s (+4.3%)2.973s101.07x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.589s (-4.8%)1.004s (~)0.004s (-4.3%)1.021s (~)0.432s591.00x
💻 LocalExpress0.838s (+25.6% 🔺)1.011s (~)0.010s (+6.7% 🔺)1.115s (~)0.277s541.42x
💻 LocalNitro0.846s (+46.4% 🔺)1.012s (~)0.010s (+1.4%)1.116s (+9.2% 🔺)0.271s541.44x
🐘 PostgresExpress0.965s (+50.5% 🔺)1.401s (+39.3% 🔺)0.118s (+2732.6% 🔺)1.543s (+50.6% 🔺)0.578s401.64x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.873s (-9.5% 🟢)5.220s (-10.5% 🟢)0.271s (-22.5% 🟢)5.959s (-9.9% 🟢)2.086s111.00x
▲ VercelNext.js (Turbopack)3.968s (-5.8% 🟢)5.712s (-5.9% 🟢)0.213s (-39.4% 🟢)6.372s (-6.8% 🟢)2.404s101.02x
▲ VercelExpress4.394s (+5.3% 🔺)6.508s (+5.1% 🔺)0.251s (-41.9% 🟢)7.270s (+3.3%)2.876s91.13x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.945s (-3.5%)1.124s (-11.9% 🟢)0.000s (-100.0% 🟢)1.146s (-12.3% 🟢)0.201s531.00x
💻 LocalExpress1.222s (+3.6%)2.020s (~)0.000s (-22.2% 🟢)2.022s (~)0.799s301.29x
💻 LocalNitro1.245s (+5.5% 🔺)2.021s (~)0.000s (+10.0% 🔺)2.023s (~)0.777s301.32x
🐘 PostgresExpress2.217s (+126.3% 🔺)2.865s (+139.2% 🔺)0.000s (+138.1% 🔺)2.953s (+142.7% 🔺)0.736s212.35x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.748s (-18.4% 🟢)3.975s (-11.5% 🟢)0.000s (-100.0% 🟢)4.676s (-4.0%)1.928s131.00x
▲ VercelNext.js (Turbopack)3.087s (-6.0% 🟢)4.430s (-2.2%)0.000s (-93.8% 🟢)4.942s (-1.5%)1.855s131.12x
▲ VercelNitro3.424s (+21.6% 🔺)4.431s (+5.1% 🔺)0.000s (+Infinity% 🔺)4.912s (+5.9% 🔺)1.488s131.25x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.760s (+1.2%)2.097s (-2.0%)0.000s (-100.0% 🟢)2.113s (-1.9%)0.352s291.00x
🐘 PostgresExpress3.379s (+91.3% 🔺)3.799s (+77.6% 🔺)0.000s (-100.0% 🟢)3.846s (+79.0% 🔺)0.467s161.92x
💻 LocalExpress3.590s (+2.3%)4.101s (+1.7%)0.000s (+33.3% 🔺)4.103s (+1.7%)0.513s152.04x
💻 LocalNitro3.605s (-4.1%)4.164s (~)0.000s (-60.0% 🟢)4.167s (~)0.563s152.05x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.638s (-8.5% 🟢)4.955s (-4.2%)0.001s (+144.4% 🔺)5.376s (-4.7%)1.737s121.00x
▲ VercelNitro3.803s (-10.4% 🟢)5.005s (-11.0% 🟢)0.000s (+233.3% 🔺)5.423s (-10.2% 🟢)1.620s121.05x
▲ VercelNext.js (Turbopack)4.503s (+4.5%)5.938s (+4.8%)0.000s (+200.0% 🔺)6.398s (+5.2% 🔺)1.895s101.24x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress15/21
🐘 PostgresNitro20/21
▲ VercelNitro11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local9/21
Next.js (Turbopack)▲ Vercel21/21
Nitro🐘 Postgres17/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

Signed-off-by: Peter Wielander <mittgfu@gmail.com>

@TooTallNateTooTallNate left a comment

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.

Review: Cross-process streaming via filesystem polling

Clean implementation. The approach is correct — the EventEmitter only works in-process, so polling the shared filesystem at 100ms is the right fallback for the cross-process case (test runner ↔ workbench app).

What looks good

  • Deduplication is correct: deliveredChunkIds guards both the EventEmitter path and the polling path. The has() + add() are synchronous operations in the same tick, so there's no race between the two delivery mechanisms.

  • Ordering is correct: Chunk files use ULID names which are lexicographically sorted (monotonic). listChunkFilesForStream sorts them, so polling delivers in chronological order.

  • Cleanup is thorough: pollInterval is cleared in all exit paths — closeListener (EventEmitter close), cancel() (reader cancels), and inside the poll callback itself (EOF detected). isComplete and pendingClose both return before polling is set up, so no leaked intervals.

  • isPolling guard: Prevents overlapping polls if a poll callback takes longer than 100ms (slow filesystem).

  • Pre-startIndex tracking: Chunks before startIndex are added to deliveredChunkIds so polling doesn't re-deliver them.

  • Error handling: Filesystem errors (ENOENT, EACCES) are silently ignored (transient), non-filesystem errors are surfaced via console.error.

  • Test coverage: Unit test directly exercises the cross-process path by writing chunk files to disk (bypassing the EventEmitter), and all previously-skipped e2e stream tests are now enabled.

One nit (non-blocking)

See inline comment about controller.enqueue() on a potentially-closed controller inside the polling callback.

}
return;
}

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.

Nit: If the closeListener fires and closes the controller while a poll iteration is in-flight (between the deliveredChunkIds.add() and this controller.enqueue()), this will throw a TypeError ("enqueue on a closed controller"). The outer catch would log it via console.error since TypeError doesn't have a code property — slightly noisy but not harmful.

Could be silenced by adding a let streamClosed = false flag set in the close paths, checked here. But for a local dev tool this is fine as-is.

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

(AI) Good catch — added a streamClosed flag that's set in all close paths (closeListener, EOF in polling, isComplete, pendingClose) and checked before controller.enqueue() in the polling callback. This prevents the noisy console.error when closeListener races with an in-flight poll iteration.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Sign up for freeto 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.

3 participants

@VaguelySerious@TooTallNate@karthikscale3
, '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

[world-local] Cross-process streaming for local dev via polling, enable e2e tests - #1739

Merged
VaguelySerious merged 6 commits into
mainfrom
peter/enable-tests
Apr 16, 2026
Merged

[world-local] Cross-process streaming for local dev via polling, enable e2e tests#1739
VaguelySerious merged 6 commits into
mainfrom
peter/enable-tests

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@changeset-bot

changeset-botBot commented Apr 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 65e58e4

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

This PR includes changesets to release 19 packages
NameType
@workflow/world-localPatch
@workflow/cliPatch
@workflow/corePatch
@workflow/vitestPatch
@workflow/world-postgresPatch
workflowPatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/web-sharedPatch
@workflow/webPatch
@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

@vercel

vercelBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production923067990
✅ 💻 Local Development9940861080
✅ 📦 Local Production9940861080
✅ 🐘 Local Postgres9940861080
✅ 🪟 Windows900090
❌ 🌍 Community Worlds133980231
✅ 📋 Other252018270
Total4380983434821

❌ Failed Tests

🌍 Community Worlds (98 failed)

mongodb (15 failed):

  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • 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_01KPA24T523H4ZARVKKN1YX8V0

redis (15 failed):

  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • 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_01KPA24T523H4ZARVKKN1YX8V0

turso (68 failed):

  • addTenWorkflow | wrun_01KPA1P5KAYE5V8Q7Q1P7SGS4E
  • addTenWorkflow | wrun_01KPA1P5KAYE5V8Q7Q1P7SGS4E
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KPA1QZHPM2FMX4WK248J9VQF
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KPA1PBCWZNJAXS3HC3R0YJ9A
  • promiseRaceWorkflow | wrun_01KPA1PGNCVGK470J4TV10S1BT
  • promiseAnyWorkflow | wrun_01KPA1PJS2YCFHR976JA7GE753
  • importedStepOnlyWorkflow | wrun_01KPA1RA9A9M76BAXVCX85XS16
  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow | wrun_01KPA1PZJ7TDD2T4XBP2FRQ2GK
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • sleepingWorkflow | wrun_01KPA1QTX86RSNHS1WT6SF3DAC
  • parallelSleepWorkflow | wrun_01KPA1R71W1N9RARDPVVX76A0N
  • nullByteWorkflow | wrun_01KPA1RA25SF104HREJ8BJ5T3V
  • workflowAndStepMetadataWorkflow | wrun_01KPA1RBZ4R2BHQ1PCHDNG9GQP
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • promiseRaceStressTestWorkflow | wrun_01KPA1V11K5MDYN2G4EMETF7PT
  • 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_01KPA1Y4Z4S6SA6ABK1HW4M1KA
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KPA1ZB0QWFCJX0CAVTBZCW2H
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KPA1ZX549HC0HZ9N5X2D5TMF
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KPA204XZW5JS2V8JG7VCYTST
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KPA209PPG16PR379TBMH9448
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KPA20BKKM4T3FQWVW6J60HWE
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KPA20NF2H2ZBF070C5A6HJ9Y
  • 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_01KPA212Z6QY9YFJC5MWH4SVYC
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KPA217KPT74R8BBXCT1DW8V2
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KPA21DNTCABVRSCC5Y25E0Q3
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KPA21KM6XR4TM3N20MA6349H
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KPA21SHF100FT0DHZXP04D1Z
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KPA21ZQ6YQCHWPBAMG8ZPR7N
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KPA225RNQ3DWWKF5DY9HAHM0
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KPA22GQXQ2212VQ5MJ1N2DA6
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KPA22RS52H3V3PAKH2F659BS
  • cancelRun - cancelling a running workflow | wrun_01KPA22YKV5QJ50VGXQNEXJAGV
  • cancelRun via CLI - cancelling a running workflow | wrun_01KPA237F5H8FRBF8BB28AANW2
  • 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_01KPA23J951BMA0SDYZBGGYYDJ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KPA245J5JE0XTKE4QNFXJK3Q
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KPA24GECVNPV5088ZCN33E6X
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KPA24PC5Z5TSFHHN913ZPKNB
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KPA24R82MHCHM8NS4V98VJT0
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KPA24T523H4ZARVKKN1YX8V0
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KPA24X3D0MB9S7BS3VSFX45Y

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8307
✅ example8307
✅ express8307
✅ fastify8307
✅ hono8307
✅ nextjs-turbopack8802
✅ nextjs-webpack8802
✅ nitro8307
✅ nuxt8307
✅ sveltekit8307
✅ vite8307
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9000
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev600
❌ mongodb56150
✅ redis-dev600
❌ redis56150
✅ turso-dev600
❌ turso3680
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable8406
✅ e2e-local-postgres-nest-stable8406
✅ e2e-local-prod-nest-stable8406

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 15, 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🥇 Express0.041s (+16.6% 🔺)1.005s (~)0.964s101.00x
💻 LocalNitro0.043s (+18.1% 🔺)1.006s (~)0.963s101.04x
🐘 PostgresNitro0.059s (-2.3%)1.010s (~)0.951s101.45x
🐘 PostgresExpress0.133s (+83.3% 🔺)1.047s (+2.6%)0.915s103.25x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.204s (-17.7% 🟢)1.769s (-17.9% 🟢)1.565s101.00x
▲ VercelExpress0.214s (-38.7% 🟢)2.056s (-4.8%)1.842s101.05x
▲ VercelNitro0.252s (+4.3%)2.217s (+8.4% 🔺)1.964s101.23x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.129s (+2.7%)2.005s (~)0.877s101.00x
💻 LocalNitro1.132s (+2.9%)2.006s (~)0.874s101.00x
🐘 PostgresNitro1.143s (~)2.009s (~)0.866s101.01x
🐘 PostgresExpress1.339s (+16.4% 🔺)2.058s (+2.3%)0.719s101.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.859s (-2.4%)3.962s (+9.9% 🔺)2.103s101.00x
▲ VercelNext.js (Turbopack)1.896s (+1.1%)3.662s (+2.0%)1.766s101.02x
▲ VercelNitro2.028s (-11.2% 🟢)3.287s (-17.4% 🟢)1.259s101.09x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro10.868s (~)11.018s (~)0.150s31.00x
💻 LocalExpress10.913s (+2.4%)11.022s (~)0.110s31.00x
💻 LocalNitro10.955s (+2.9%)11.024s (~)0.069s31.01x
🐘 PostgresExpress11.318s (+3.1%)12.016s (+5.8% 🔺)0.698s31.04x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express16.325s (-3.9%)18.559s (-3.4%)2.234s21.00x
▲ VercelNitro16.499s (-9.7% 🟢)18.405s (-10.7% 🟢)1.906s21.01x
▲ VercelNext.js (Turbopack)16.790s (-5.1% 🟢)18.920s (-3.0%)2.131s21.03x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro14.539s (~)15.021s (~)0.482s41.00x
💻 LocalExpress14.976s (+5.2% 🔺)15.030s (~)0.054s41.03x
💻 LocalNitro15.067s (+5.8% 🔺)16.033s (+6.7% 🔺)0.966s41.04x
🐘 PostgresExpress15.675s (+7.3% 🔺)16.023s (+6.6% 🔺)0.347s41.08x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.502s (-7.3% 🟢)31.032s (-7.9% 🟢)1.530s21.00x
▲ VercelNext.js (Turbopack)30.144s (-8.1% 🟢)32.338s (-6.6% 🟢)2.194s21.02x
▲ VercelExpress30.259s (-8.7% 🟢)31.779s (-9.7% 🟢)1.520s21.03x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro13.981s (~)14.305s (+2.0%)0.323s71.00x
🐘 PostgresExpress16.235s (+13.3% 🔺)16.742s (+11.4% 🔺)0.506s61.16x
💻 LocalExpress16.663s (+11.8% 🔺)17.030s (+13.3% 🔺)0.367s61.19x
💻 LocalNitro16.824s (+12.5% 🔺)17.032s (+10.9% 🔺)0.208s61.20x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro47.526s (-12.3% 🟢)48.863s (-13.4% 🟢)1.337s21.00x
▲ VercelExpress50.444s (-4.0%)51.804s (-4.3%)1.360s21.06x
▲ VercelNext.js (Turbopack)53.499s (-4.6%)55.385s (-4.0%)1.886s21.13x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.241s (-4.0%)2.009s (~)0.768s151.00x
🐘 PostgresNitro1.279s (+1.1%)2.009s (~)0.730s151.03x
💻 LocalExpress1.537s (+5.3% 🔺)2.005s (~)0.469s151.24x
💻 LocalNitro1.547s (+4.8%)2.006s (~)0.458s151.25x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.260s (+4.5%)3.937s (+6.0% 🔺)1.677s81.00x
▲ VercelNitro2.502s (-9.9% 🟢)3.861s (-11.5% 🟢)1.358s81.11x
▲ VercelExpress2.591s (~)4.203s (~)1.611s81.15x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.334s (~)3.008s (~)0.674s101.00x
🐘 PostgresExpress2.564s (+8.9% 🔺)3.218s (+6.9% 🔺)0.654s101.10x
💻 LocalNitro2.942s (+14.9% 🔺)3.676s (+22.2% 🔺)0.735s91.26x
💻 LocalExpress2.963s (+4.3%)3.208s (+3.2%)0.244s101.27x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.497s (~)3.843s (+0.8%)1.346s81.00x
▲ VercelNitro2.822s (-1.2%)4.044s (-11.3% 🟢)1.221s81.13x
▲ VercelNext.js (Turbopack)2.959s (-4.4%)4.945s (+7.1% 🔺)1.986s71.19x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.467s (~)4.009s (~)0.542s81.00x
🐘 PostgresExpress4.462s (+28.2% 🔺)5.073s (+26.4% 🔺)0.611s71.29x
💻 LocalNitro8.254s (+18.8% 🔺)9.021s (+20.0% 🔺)0.768s42.38x
💻 LocalExpress8.322s (+17.4% 🔺)9.024s (+12.6% 🔺)0.701s42.40x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.075s (-11.3% 🟢)4.610s (-10.5% 🟢)1.535s71.00x
▲ VercelNext.js (Turbopack)3.464s (-12.5% 🟢)5.441s (-3.6%)1.977s61.13x
▲ VercelExpress3.689s (+28.7% 🔺)5.588s (+27.0% 🔺)1.898s61.20x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.268s (+0.7%)2.008s (~)0.740s151.00x
💻 LocalNitro1.542s (+1.7%)2.006s (~)0.464s151.22x
💻 LocalExpress1.544s (+4.9%)2.006s (~)0.462s151.22x
🐘 PostgresExpress1.635s (+30.2% 🔺)2.095s (+4.3%)0.459s151.29x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.105s (~)3.961s (+9.3% 🔺)1.855s81.00x
▲ VercelNitro2.132s (-13.1% 🟢)3.699s (-8.9% 🟢)1.567s91.01x
▲ VercelNext.js (Turbopack)2.208s (-0.6%)3.765s (-1.4%)1.557s91.05x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.301s (-1.3%)3.008s (~)0.707s101.00x
🐘 PostgresExpress2.471s (+5.8% 🔺)3.027s (+0.6%)0.556s101.07x
💻 LocalExpress2.967s (+10.0% 🔺)3.676s (+22.2% 🔺)0.709s91.29x
💻 LocalNitro3.131s (+13.2% 🔺)4.010s (+29.0% 🔺)0.879s81.36x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.623s (-8.2% 🟢)4.164s (-4.0%)1.540s81.00x
▲ VercelNext.js (Turbopack)2.848s (-12.2% 🟢)4.742s (-3.1%)1.894s81.09x
▲ VercelNitro2.858s (-19.6% 🟢)4.213s (-21.3% 🟢)1.355s81.09x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.478s (~)4.010s (~)0.532s81.00x
🐘 PostgresExpress3.696s (+6.2% 🔺)4.070s (+1.4%)0.374s81.06x
💻 LocalNitro8.947s (+20.1% 🔺)9.774s (+21.9% 🔺)0.827s42.57x
💻 LocalExpress8.969s (+17.3% 🔺)9.524s (+18.8% 🔺)0.555s42.58x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.578s (-36.2% 🟢)3.989s (-34.2% 🟢)1.411s81.00x
▲ VercelExpress3.387s (-24.8% 🟢)5.260s (-12.6% 🟢)1.873s61.31x
▲ VercelNext.js (Turbopack)3.418s (-19.2% 🟢)5.125s (-10.8% 🟢)1.707s71.33x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.793s (-2.8%)1.006s (-1.6%)0.213s601.00x
💻 LocalExpress1.001s (+40.6% 🔺)1.338s (+31.1% 🔺)0.338s451.26x
💻 LocalNitro1.001s (+43.9% 🔺)1.434s (+42.7% 🔺)0.433s421.26x
🐘 PostgresExpress1.051s (+24.3% 🔺)1.430s (+39.8% 🔺)0.379s421.33x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro8.644s (-4.2%)10.207s (-7.7% 🟢)1.563s61.00x
▲ VercelNext.js (Turbopack)8.816s (-27.7% 🟢)10.510s (-26.0% 🟢)1.695s61.02x
▲ VercelExpress9.321s (-3.7%)11.432s (~)2.110s61.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.867s (-3.3%)2.053s (-2.3%)0.186s441.00x
🐘 PostgresExpress2.444s (+17.3% 🔺)2.832s (-3.8%)0.388s321.31x
💻 LocalNitro3.040s (+34.5% 🔺)3.843s (+27.8% 🔺)0.804s241.63x
💻 LocalExpress3.070s (+35.9% 🔺)3.923s (+30.4% 🔺)0.853s231.64x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)28.262s (-7.3% 🟢)30.127s (-6.8% 🟢)1.865s31.00x
▲ VercelExpress29.211s (-3.8%)31.264s (-3.5%)2.052s31.03x
▲ VercelNitro29.957s (-0.6%)31.075s (-4.2%)1.118s31.06x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.862s (~)4.075s (-0.8%)0.214s301.00x
🐘 PostgresExpress5.987s (+45.3% 🔺)6.458s (+32.0% 🔺)0.471s191.55x
💻 LocalExpress9.184s (+25.4% 🔺)9.864s (+23.1% 🔺)0.680s132.38x
💻 LocalNitro9.378s (+27.5% 🔺)9.941s (+24.0% 🔺)0.564s132.43x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro73.701s (-37.8% 🟢)75.280s (-37.5% 🟢)1.580s21.00x
▲ VercelNext.js (Turbopack)76.649s (-7.2% 🟢)78.535s (-6.9% 🟢)1.886s21.04x
▲ VercelExpress79.293s (-39.5% 🟢)81.837s (-38.6% 🟢)2.544s21.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.283s (-1.4%)1.007s (~)0.723s601.00x
🐘 PostgresExpress0.508s (+78.4% 🔺)1.124s (+11.6% 🔺)0.616s541.79x
💻 LocalExpress0.588s (-1.6%)1.004s (-1.6%)0.416s602.08x
💻 LocalNitro0.591s (+4.3%)1.005s (~)0.414s602.09x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.371s (-21.8% 🟢)2.771s (-20.8% 🟢)1.400s221.00x
▲ VercelExpress1.534s (-4.4%)3.059s (-6.9% 🟢)1.525s201.12x
▲ VercelNext.js (Turbopack)1.723s (+2.3%)3.220s (-1.7%)1.497s191.26x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.487s (-3.5%)1.006s (~)0.519s901.00x
🐘 PostgresExpress0.648s (+31.0% 🔺)1.177s (+16.9% 🔺)0.530s771.33x
💻 LocalNitro2.527s (+3.9%)3.009s (~)0.482s305.19x
💻 LocalExpress2.564s (+4.1%)3.009s (~)0.445s305.26x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.550s (-6.6% 🟢)3.921s (-11.8% 🟢)1.371s231.00x
▲ VercelExpress2.763s (+2.2%)4.450s (+5.3% 🔺)1.687s211.08x
▲ VercelNext.js (Turbopack)3.693s (+12.8% 🔺)5.248s (+8.2% 🔺)1.554s181.45x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.777s (-3.1%)1.016s (+0.7%)0.239s1191.00x
🐘 PostgresExpress1.181s (+45.5% 🔺)1.631s (+60.4% 🔺)0.450s741.52x
💻 LocalExpress11.114s (+5.0%)11.849s (+7.5% 🔺)0.735s1114.30x
💻 LocalNitro11.372s (+10.2% 🔺)12.028s (+10.0% 🔺)0.656s1014.63x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro7.100s (+4.7%)8.518s (-1.1%)1.418s151.00x
▲ VercelExpress7.800s (+12.7% 🔺)9.600s (+8.9% 🔺)1.800s131.10x
▲ VercelNext.js (Turbopack)43.251s (+565.6% 🔺)44.690s (+433.2% 🔺)1.439s66.09x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.201s (+42.7% 🔺)1.004s (~)0.012s (+28.7% 🔺)1.018s (~)0.817s101.00x
🐘 PostgresNitro0.210s (-1.8%)0.993s (~)0.001s (-15.4% 🟢)1.009s (~)0.799s101.05x
💻 LocalNitro0.214s (+50.7% 🔺)1.004s (~)0.013s (+31.0% 🔺)1.019s (~)0.805s101.06x
🐘 PostgresExpress0.239s (+11.0% 🔺)0.999s (~)0.078s (+4781.3% 🔺)1.089s (+7.8% 🔺)0.850s101.19x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.368s (-12.2% 🟢)2.257s (-21.0% 🟢)1.306s (+33.6% 🔺)3.942s (-7.8% 🟢)2.574s101.00x
▲ VercelExpress1.426s (+1.3%)2.595s (~)1.055s (+8.5% 🔺)4.096s (+3.0%)2.670s101.04x
▲ VercelNext.js (Turbopack)1.457s (-2.2%)3.053s (+0.7%)0.932s (+17.0% 🔺)4.430s (+4.3%)2.973s101.07x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.589s (-4.8%)1.004s (~)0.004s (-4.3%)1.021s (~)0.432s591.00x
💻 LocalExpress0.838s (+25.6% 🔺)1.011s (~)0.010s (+6.7% 🔺)1.115s (~)0.277s541.42x
💻 LocalNitro0.846s (+46.4% 🔺)1.012s (~)0.010s (+1.4%)1.116s (+9.2% 🔺)0.271s541.44x
🐘 PostgresExpress0.965s (+50.5% 🔺)1.401s (+39.3% 🔺)0.118s (+2732.6% 🔺)1.543s (+50.6% 🔺)0.578s401.64x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.873s (-9.5% 🟢)5.220s (-10.5% 🟢)0.271s (-22.5% 🟢)5.959s (-9.9% 🟢)2.086s111.00x
▲ VercelNext.js (Turbopack)3.968s (-5.8% 🟢)5.712s (-5.9% 🟢)0.213s (-39.4% 🟢)6.372s (-6.8% 🟢)2.404s101.02x
▲ VercelExpress4.394s (+5.3% 🔺)6.508s (+5.1% 🔺)0.251s (-41.9% 🟢)7.270s (+3.3%)2.876s91.13x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.945s (-3.5%)1.124s (-11.9% 🟢)0.000s (-100.0% 🟢)1.146s (-12.3% 🟢)0.201s531.00x
💻 LocalExpress1.222s (+3.6%)2.020s (~)0.000s (-22.2% 🟢)2.022s (~)0.799s301.29x
💻 LocalNitro1.245s (+5.5% 🔺)2.021s (~)0.000s (+10.0% 🔺)2.023s (~)0.777s301.32x
🐘 PostgresExpress2.217s (+126.3% 🔺)2.865s (+139.2% 🔺)0.000s (+138.1% 🔺)2.953s (+142.7% 🔺)0.736s212.35x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.748s (-18.4% 🟢)3.975s (-11.5% 🟢)0.000s (-100.0% 🟢)4.676s (-4.0%)1.928s131.00x
▲ VercelNext.js (Turbopack)3.087s (-6.0% 🟢)4.430s (-2.2%)0.000s (-93.8% 🟢)4.942s (-1.5%)1.855s131.12x
▲ VercelNitro3.424s (+21.6% 🔺)4.431s (+5.1% 🔺)0.000s (+Infinity% 🔺)4.912s (+5.9% 🔺)1.488s131.25x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.760s (+1.2%)2.097s (-2.0%)0.000s (-100.0% 🟢)2.113s (-1.9%)0.352s291.00x
🐘 PostgresExpress3.379s (+91.3% 🔺)3.799s (+77.6% 🔺)0.000s (-100.0% 🟢)3.846s (+79.0% 🔺)0.467s161.92x
💻 LocalExpress3.590s (+2.3%)4.101s (+1.7%)0.000s (+33.3% 🔺)4.103s (+1.7%)0.513s152.04x
💻 LocalNitro3.605s (-4.1%)4.164s (~)0.000s (-60.0% 🟢)4.167s (~)0.563s152.05x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.638s (-8.5% 🟢)4.955s (-4.2%)0.001s (+144.4% 🔺)5.376s (-4.7%)1.737s121.00x
▲ VercelNitro3.803s (-10.4% 🟢)5.005s (-11.0% 🟢)0.000s (+233.3% 🔺)5.423s (-10.2% 🟢)1.620s121.05x
▲ VercelNext.js (Turbopack)4.503s (+4.5%)5.938s (+4.8%)0.000s (+200.0% 🔺)6.398s (+5.2% 🔺)1.895s101.24x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress15/21
🐘 PostgresNitro20/21
▲ VercelNitro11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local9/21
Next.js (Turbopack)▲ Vercel21/21
Nitro🐘 Postgres17/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

Signed-off-by: Peter Wielander <mittgfu@gmail.com>

@TooTallNateTooTallNate left a comment

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.

Review: Cross-process streaming via filesystem polling

Clean implementation. The approach is correct — the EventEmitter only works in-process, so polling the shared filesystem at 100ms is the right fallback for the cross-process case (test runner ↔ workbench app).

What looks good

  • Deduplication is correct: deliveredChunkIds guards both the EventEmitter path and the polling path. The has() + add() are synchronous operations in the same tick, so there's no race between the two delivery mechanisms.

  • Ordering is correct: Chunk files use ULID names which are lexicographically sorted (monotonic). listChunkFilesForStream sorts them, so polling delivers in chronological order.

  • Cleanup is thorough: pollInterval is cleared in all exit paths — closeListener (EventEmitter close), cancel() (reader cancels), and inside the poll callback itself (EOF detected). isComplete and pendingClose both return before polling is set up, so no leaked intervals.

  • isPolling guard: Prevents overlapping polls if a poll callback takes longer than 100ms (slow filesystem).

  • Pre-startIndex tracking: Chunks before startIndex are added to deliveredChunkIds so polling doesn't re-deliver them.

  • Error handling: Filesystem errors (ENOENT, EACCES) are silently ignored (transient), non-filesystem errors are surfaced via console.error.

  • Test coverage: Unit test directly exercises the cross-process path by writing chunk files to disk (bypassing the EventEmitter), and all previously-skipped e2e stream tests are now enabled.

One nit (non-blocking)

See inline comment about controller.enqueue() on a potentially-closed controller inside the polling callback.

}
return;
}

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.

Nit: If the closeListener fires and closes the controller while a poll iteration is in-flight (between the deliveredChunkIds.add() and this controller.enqueue()), this will throw a TypeError ("enqueue on a closed controller"). The outer catch would log it via console.error since TypeError doesn't have a code property — slightly noisy but not harmful.

Could be silenced by adding a let streamClosed = false flag set in the close paths, checked here. But for a local dev tool this is fine as-is.

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

(AI) Good catch — added a streamClosed flag that's set in all close paths (closeListener, EOF in polling, isComplete, pendingClose) and checked before controller.enqueue() in the polling callback. This prevents the noisy console.error when closeListener races with an in-flight poll iteration.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Sign up for freeto 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.

3 participants

@VaguelySerious@TooTallNate@karthikscale3
, '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

[world-local] Cross-process streaming for local dev via polling, enable e2e tests - #1739

Merged
VaguelySerious merged 6 commits into
mainfrom
peter/enable-tests
Apr 16, 2026
Merged

[world-local] Cross-process streaming for local dev via polling, enable e2e tests#1739
VaguelySerious merged 6 commits into
mainfrom
peter/enable-tests

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@changeset-bot

changeset-botBot commented Apr 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 65e58e4

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

This PR includes changesets to release 19 packages
NameType
@workflow/world-localPatch
@workflow/cliPatch
@workflow/corePatch
@workflow/vitestPatch
@workflow/world-postgresPatch
workflowPatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/web-sharedPatch
@workflow/webPatch
@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

@vercel

vercelBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production923067990
✅ 💻 Local Development9940861080
✅ 📦 Local Production9940861080
✅ 🐘 Local Postgres9940861080
✅ 🪟 Windows900090
❌ 🌍 Community Worlds133980231
✅ 📋 Other252018270
Total4380983434821

❌ Failed Tests

🌍 Community Worlds (98 failed)

mongodb (15 failed):

  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • 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_01KPA24T523H4ZARVKKN1YX8V0

redis (15 failed):

  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • 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_01KPA24T523H4ZARVKKN1YX8V0

turso (68 failed):

  • addTenWorkflow | wrun_01KPA1P5KAYE5V8Q7Q1P7SGS4E
  • addTenWorkflow | wrun_01KPA1P5KAYE5V8Q7Q1P7SGS4E
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KPA1QZHPM2FMX4WK248J9VQF
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KPA1PBCWZNJAXS3HC3R0YJ9A
  • promiseRaceWorkflow | wrun_01KPA1PGNCVGK470J4TV10S1BT
  • promiseAnyWorkflow | wrun_01KPA1PJS2YCFHR976JA7GE753
  • importedStepOnlyWorkflow | wrun_01KPA1RA9A9M76BAXVCX85XS16
  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow | wrun_01KPA1PZJ7TDD2T4XBP2FRQ2GK
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • sleepingWorkflow | wrun_01KPA1QTX86RSNHS1WT6SF3DAC
  • parallelSleepWorkflow | wrun_01KPA1R71W1N9RARDPVVX76A0N
  • nullByteWorkflow | wrun_01KPA1RA25SF104HREJ8BJ5T3V
  • workflowAndStepMetadataWorkflow | wrun_01KPA1RBZ4R2BHQ1PCHDNG9GQP
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • promiseRaceStressTestWorkflow | wrun_01KPA1V11K5MDYN2G4EMETF7PT
  • 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_01KPA1Y4Z4S6SA6ABK1HW4M1KA
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KPA1ZB0QWFCJX0CAVTBZCW2H
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KPA1ZX549HC0HZ9N5X2D5TMF
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KPA204XZW5JS2V8JG7VCYTST
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KPA209PPG16PR379TBMH9448
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KPA20BKKM4T3FQWVW6J60HWE
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KPA20NF2H2ZBF070C5A6HJ9Y
  • 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_01KPA212Z6QY9YFJC5MWH4SVYC
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KPA217KPT74R8BBXCT1DW8V2
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KPA21DNTCABVRSCC5Y25E0Q3
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KPA21KM6XR4TM3N20MA6349H
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KPA21SHF100FT0DHZXP04D1Z
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KPA21ZQ6YQCHWPBAMG8ZPR7N
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KPA225RNQ3DWWKF5DY9HAHM0
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KPA22GQXQ2212VQ5MJ1N2DA6
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KPA22RS52H3V3PAKH2F659BS
  • cancelRun - cancelling a running workflow | wrun_01KPA22YKV5QJ50VGXQNEXJAGV
  • cancelRun via CLI - cancelling a running workflow | wrun_01KPA237F5H8FRBF8BB28AANW2
  • 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_01KPA23J951BMA0SDYZBGGYYDJ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KPA245J5JE0XTKE4QNFXJK3Q
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KPA24GECVNPV5088ZCN33E6X
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KPA24PC5Z5TSFHHN913ZPKNB
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KPA24R82MHCHM8NS4V98VJT0
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KPA24T523H4ZARVKKN1YX8V0
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KPA24X3D0MB9S7BS3VSFX45Y

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8307
✅ example8307
✅ express8307
✅ fastify8307
✅ hono8307
✅ nextjs-turbopack8802
✅ nextjs-webpack8802
✅ nitro8307
✅ nuxt8307
✅ sveltekit8307
✅ vite8307
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9000
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev600
❌ mongodb56150
✅ redis-dev600
❌ redis56150
✅ turso-dev600
❌ turso3680
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable8406
✅ e2e-local-postgres-nest-stable8406
✅ e2e-local-prod-nest-stable8406

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 15, 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🥇 Express0.041s (+16.6% 🔺)1.005s (~)0.964s101.00x
💻 LocalNitro0.043s (+18.1% 🔺)1.006s (~)0.963s101.04x
🐘 PostgresNitro0.059s (-2.3%)1.010s (~)0.951s101.45x
🐘 PostgresExpress0.133s (+83.3% 🔺)1.047s (+2.6%)0.915s103.25x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.204s (-17.7% 🟢)1.769s (-17.9% 🟢)1.565s101.00x
▲ VercelExpress0.214s (-38.7% 🟢)2.056s (-4.8%)1.842s101.05x
▲ VercelNitro0.252s (+4.3%)2.217s (+8.4% 🔺)1.964s101.23x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.129s (+2.7%)2.005s (~)0.877s101.00x
💻 LocalNitro1.132s (+2.9%)2.006s (~)0.874s101.00x
🐘 PostgresNitro1.143s (~)2.009s (~)0.866s101.01x
🐘 PostgresExpress1.339s (+16.4% 🔺)2.058s (+2.3%)0.719s101.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.859s (-2.4%)3.962s (+9.9% 🔺)2.103s101.00x
▲ VercelNext.js (Turbopack)1.896s (+1.1%)3.662s (+2.0%)1.766s101.02x
▲ VercelNitro2.028s (-11.2% 🟢)3.287s (-17.4% 🟢)1.259s101.09x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro10.868s (~)11.018s (~)0.150s31.00x
💻 LocalExpress10.913s (+2.4%)11.022s (~)0.110s31.00x
💻 LocalNitro10.955s (+2.9%)11.024s (~)0.069s31.01x
🐘 PostgresExpress11.318s (+3.1%)12.016s (+5.8% 🔺)0.698s31.04x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express16.325s (-3.9%)18.559s (-3.4%)2.234s21.00x
▲ VercelNitro16.499s (-9.7% 🟢)18.405s (-10.7% 🟢)1.906s21.01x
▲ VercelNext.js (Turbopack)16.790s (-5.1% 🟢)18.920s (-3.0%)2.131s21.03x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro14.539s (~)15.021s (~)0.482s41.00x
💻 LocalExpress14.976s (+5.2% 🔺)15.030s (~)0.054s41.03x
💻 LocalNitro15.067s (+5.8% 🔺)16.033s (+6.7% 🔺)0.966s41.04x
🐘 PostgresExpress15.675s (+7.3% 🔺)16.023s (+6.6% 🔺)0.347s41.08x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.502s (-7.3% 🟢)31.032s (-7.9% 🟢)1.530s21.00x
▲ VercelNext.js (Turbopack)30.144s (-8.1% 🟢)32.338s (-6.6% 🟢)2.194s21.02x
▲ VercelExpress30.259s (-8.7% 🟢)31.779s (-9.7% 🟢)1.520s21.03x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro13.981s (~)14.305s (+2.0%)0.323s71.00x
🐘 PostgresExpress16.235s (+13.3% 🔺)16.742s (+11.4% 🔺)0.506s61.16x
💻 LocalExpress16.663s (+11.8% 🔺)17.030s (+13.3% 🔺)0.367s61.19x
💻 LocalNitro16.824s (+12.5% 🔺)17.032s (+10.9% 🔺)0.208s61.20x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro47.526s (-12.3% 🟢)48.863s (-13.4% 🟢)1.337s21.00x
▲ VercelExpress50.444s (-4.0%)51.804s (-4.3%)1.360s21.06x
▲ VercelNext.js (Turbopack)53.499s (-4.6%)55.385s (-4.0%)1.886s21.13x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.241s (-4.0%)2.009s (~)0.768s151.00x
🐘 PostgresNitro1.279s (+1.1%)2.009s (~)0.730s151.03x
💻 LocalExpress1.537s (+5.3% 🔺)2.005s (~)0.469s151.24x
💻 LocalNitro1.547s (+4.8%)2.006s (~)0.458s151.25x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.260s (+4.5%)3.937s (+6.0% 🔺)1.677s81.00x
▲ VercelNitro2.502s (-9.9% 🟢)3.861s (-11.5% 🟢)1.358s81.11x
▲ VercelExpress2.591s (~)4.203s (~)1.611s81.15x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.334s (~)3.008s (~)0.674s101.00x
🐘 PostgresExpress2.564s (+8.9% 🔺)3.218s (+6.9% 🔺)0.654s101.10x
💻 LocalNitro2.942s (+14.9% 🔺)3.676s (+22.2% 🔺)0.735s91.26x
💻 LocalExpress2.963s (+4.3%)3.208s (+3.2%)0.244s101.27x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.497s (~)3.843s (+0.8%)1.346s81.00x
▲ VercelNitro2.822s (-1.2%)4.044s (-11.3% 🟢)1.221s81.13x
▲ VercelNext.js (Turbopack)2.959s (-4.4%)4.945s (+7.1% 🔺)1.986s71.19x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.467s (~)4.009s (~)0.542s81.00x
🐘 PostgresExpress4.462s (+28.2% 🔺)5.073s (+26.4% 🔺)0.611s71.29x
💻 LocalNitro8.254s (+18.8% 🔺)9.021s (+20.0% 🔺)0.768s42.38x
💻 LocalExpress8.322s (+17.4% 🔺)9.024s (+12.6% 🔺)0.701s42.40x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.075s (-11.3% 🟢)4.610s (-10.5% 🟢)1.535s71.00x
▲ VercelNext.js (Turbopack)3.464s (-12.5% 🟢)5.441s (-3.6%)1.977s61.13x
▲ VercelExpress3.689s (+28.7% 🔺)5.588s (+27.0% 🔺)1.898s61.20x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.268s (+0.7%)2.008s (~)0.740s151.00x
💻 LocalNitro1.542s (+1.7%)2.006s (~)0.464s151.22x
💻 LocalExpress1.544s (+4.9%)2.006s (~)0.462s151.22x
🐘 PostgresExpress1.635s (+30.2% 🔺)2.095s (+4.3%)0.459s151.29x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.105s (~)3.961s (+9.3% 🔺)1.855s81.00x
▲ VercelNitro2.132s (-13.1% 🟢)3.699s (-8.9% 🟢)1.567s91.01x
▲ VercelNext.js (Turbopack)2.208s (-0.6%)3.765s (-1.4%)1.557s91.05x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.301s (-1.3%)3.008s (~)0.707s101.00x
🐘 PostgresExpress2.471s (+5.8% 🔺)3.027s (+0.6%)0.556s101.07x
💻 LocalExpress2.967s (+10.0% 🔺)3.676s (+22.2% 🔺)0.709s91.29x
💻 LocalNitro3.131s (+13.2% 🔺)4.010s (+29.0% 🔺)0.879s81.36x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.623s (-8.2% 🟢)4.164s (-4.0%)1.540s81.00x
▲ VercelNext.js (Turbopack)2.848s (-12.2% 🟢)4.742s (-3.1%)1.894s81.09x
▲ VercelNitro2.858s (-19.6% 🟢)4.213s (-21.3% 🟢)1.355s81.09x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.478s (~)4.010s (~)0.532s81.00x
🐘 PostgresExpress3.696s (+6.2% 🔺)4.070s (+1.4%)0.374s81.06x
💻 LocalNitro8.947s (+20.1% 🔺)9.774s (+21.9% 🔺)0.827s42.57x
💻 LocalExpress8.969s (+17.3% 🔺)9.524s (+18.8% 🔺)0.555s42.58x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.578s (-36.2% 🟢)3.989s (-34.2% 🟢)1.411s81.00x
▲ VercelExpress3.387s (-24.8% 🟢)5.260s (-12.6% 🟢)1.873s61.31x
▲ VercelNext.js (Turbopack)3.418s (-19.2% 🟢)5.125s (-10.8% 🟢)1.707s71.33x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.793s (-2.8%)1.006s (-1.6%)0.213s601.00x
💻 LocalExpress1.001s (+40.6% 🔺)1.338s (+31.1% 🔺)0.338s451.26x
💻 LocalNitro1.001s (+43.9% 🔺)1.434s (+42.7% 🔺)0.433s421.26x
🐘 PostgresExpress1.051s (+24.3% 🔺)1.430s (+39.8% 🔺)0.379s421.33x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro8.644s (-4.2%)10.207s (-7.7% 🟢)1.563s61.00x
▲ VercelNext.js (Turbopack)8.816s (-27.7% 🟢)10.510s (-26.0% 🟢)1.695s61.02x
▲ VercelExpress9.321s (-3.7%)11.432s (~)2.110s61.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.867s (-3.3%)2.053s (-2.3%)0.186s441.00x
🐘 PostgresExpress2.444s (+17.3% 🔺)2.832s (-3.8%)0.388s321.31x
💻 LocalNitro3.040s (+34.5% 🔺)3.843s (+27.8% 🔺)0.804s241.63x
💻 LocalExpress3.070s (+35.9% 🔺)3.923s (+30.4% 🔺)0.853s231.64x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)28.262s (-7.3% 🟢)30.127s (-6.8% 🟢)1.865s31.00x
▲ VercelExpress29.211s (-3.8%)31.264s (-3.5%)2.052s31.03x
▲ VercelNitro29.957s (-0.6%)31.075s (-4.2%)1.118s31.06x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.862s (~)4.075s (-0.8%)0.214s301.00x
🐘 PostgresExpress5.987s (+45.3% 🔺)6.458s (+32.0% 🔺)0.471s191.55x
💻 LocalExpress9.184s (+25.4% 🔺)9.864s (+23.1% 🔺)0.680s132.38x
💻 LocalNitro9.378s (+27.5% 🔺)9.941s (+24.0% 🔺)0.564s132.43x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro73.701s (-37.8% 🟢)75.280s (-37.5% 🟢)1.580s21.00x
▲ VercelNext.js (Turbopack)76.649s (-7.2% 🟢)78.535s (-6.9% 🟢)1.886s21.04x
▲ VercelExpress79.293s (-39.5% 🟢)81.837s (-38.6% 🟢)2.544s21.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.283s (-1.4%)1.007s (~)0.723s601.00x
🐘 PostgresExpress0.508s (+78.4% 🔺)1.124s (+11.6% 🔺)0.616s541.79x
💻 LocalExpress0.588s (-1.6%)1.004s (-1.6%)0.416s602.08x
💻 LocalNitro0.591s (+4.3%)1.005s (~)0.414s602.09x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.371s (-21.8% 🟢)2.771s (-20.8% 🟢)1.400s221.00x
▲ VercelExpress1.534s (-4.4%)3.059s (-6.9% 🟢)1.525s201.12x
▲ VercelNext.js (Turbopack)1.723s (+2.3%)3.220s (-1.7%)1.497s191.26x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.487s (-3.5%)1.006s (~)0.519s901.00x
🐘 PostgresExpress0.648s (+31.0% 🔺)1.177s (+16.9% 🔺)0.530s771.33x
💻 LocalNitro2.527s (+3.9%)3.009s (~)0.482s305.19x
💻 LocalExpress2.564s (+4.1%)3.009s (~)0.445s305.26x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.550s (-6.6% 🟢)3.921s (-11.8% 🟢)1.371s231.00x
▲ VercelExpress2.763s (+2.2%)4.450s (+5.3% 🔺)1.687s211.08x
▲ VercelNext.js (Turbopack)3.693s (+12.8% 🔺)5.248s (+8.2% 🔺)1.554s181.45x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.777s (-3.1%)1.016s (+0.7%)0.239s1191.00x
🐘 PostgresExpress1.181s (+45.5% 🔺)1.631s (+60.4% 🔺)0.450s741.52x
💻 LocalExpress11.114s (+5.0%)11.849s (+7.5% 🔺)0.735s1114.30x
💻 LocalNitro11.372s (+10.2% 🔺)12.028s (+10.0% 🔺)0.656s1014.63x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro7.100s (+4.7%)8.518s (-1.1%)1.418s151.00x
▲ VercelExpress7.800s (+12.7% 🔺)9.600s (+8.9% 🔺)1.800s131.10x
▲ VercelNext.js (Turbopack)43.251s (+565.6% 🔺)44.690s (+433.2% 🔺)1.439s66.09x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.201s (+42.7% 🔺)1.004s (~)0.012s (+28.7% 🔺)1.018s (~)0.817s101.00x
🐘 PostgresNitro0.210s (-1.8%)0.993s (~)0.001s (-15.4% 🟢)1.009s (~)0.799s101.05x
💻 LocalNitro0.214s (+50.7% 🔺)1.004s (~)0.013s (+31.0% 🔺)1.019s (~)0.805s101.06x
🐘 PostgresExpress0.239s (+11.0% 🔺)0.999s (~)0.078s (+4781.3% 🔺)1.089s (+7.8% 🔺)0.850s101.19x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.368s (-12.2% 🟢)2.257s (-21.0% 🟢)1.306s (+33.6% 🔺)3.942s (-7.8% 🟢)2.574s101.00x
▲ VercelExpress1.426s (+1.3%)2.595s (~)1.055s (+8.5% 🔺)4.096s (+3.0%)2.670s101.04x
▲ VercelNext.js (Turbopack)1.457s (-2.2%)3.053s (+0.7%)0.932s (+17.0% 🔺)4.430s (+4.3%)2.973s101.07x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.589s (-4.8%)1.004s (~)0.004s (-4.3%)1.021s (~)0.432s591.00x
💻 LocalExpress0.838s (+25.6% 🔺)1.011s (~)0.010s (+6.7% 🔺)1.115s (~)0.277s541.42x
💻 LocalNitro0.846s (+46.4% 🔺)1.012s (~)0.010s (+1.4%)1.116s (+9.2% 🔺)0.271s541.44x
🐘 PostgresExpress0.965s (+50.5% 🔺)1.401s (+39.3% 🔺)0.118s (+2732.6% 🔺)1.543s (+50.6% 🔺)0.578s401.64x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.873s (-9.5% 🟢)5.220s (-10.5% 🟢)0.271s (-22.5% 🟢)5.959s (-9.9% 🟢)2.086s111.00x
▲ VercelNext.js (Turbopack)3.968s (-5.8% 🟢)5.712s (-5.9% 🟢)0.213s (-39.4% 🟢)6.372s (-6.8% 🟢)2.404s101.02x
▲ VercelExpress4.394s (+5.3% 🔺)6.508s (+5.1% 🔺)0.251s (-41.9% 🟢)7.270s (+3.3%)2.876s91.13x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.945s (-3.5%)1.124s (-11.9% 🟢)0.000s (-100.0% 🟢)1.146s (-12.3% 🟢)0.201s531.00x
💻 LocalExpress1.222s (+3.6%)2.020s (~)0.000s (-22.2% 🟢)2.022s (~)0.799s301.29x
💻 LocalNitro1.245s (+5.5% 🔺)2.021s (~)0.000s (+10.0% 🔺)2.023s (~)0.777s301.32x
🐘 PostgresExpress2.217s (+126.3% 🔺)2.865s (+139.2% 🔺)0.000s (+138.1% 🔺)2.953s (+142.7% 🔺)0.736s212.35x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.748s (-18.4% 🟢)3.975s (-11.5% 🟢)0.000s (-100.0% 🟢)4.676s (-4.0%)1.928s131.00x
▲ VercelNext.js (Turbopack)3.087s (-6.0% 🟢)4.430s (-2.2%)0.000s (-93.8% 🟢)4.942s (-1.5%)1.855s131.12x
▲ VercelNitro3.424s (+21.6% 🔺)4.431s (+5.1% 🔺)0.000s (+Infinity% 🔺)4.912s (+5.9% 🔺)1.488s131.25x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.760s (+1.2%)2.097s (-2.0%)0.000s (-100.0% 🟢)2.113s (-1.9%)0.352s291.00x
🐘 PostgresExpress3.379s (+91.3% 🔺)3.799s (+77.6% 🔺)0.000s (-100.0% 🟢)3.846s (+79.0% 🔺)0.467s161.92x
💻 LocalExpress3.590s (+2.3%)4.101s (+1.7%)0.000s (+33.3% 🔺)4.103s (+1.7%)0.513s152.04x
💻 LocalNitro3.605s (-4.1%)4.164s (~)0.000s (-60.0% 🟢)4.167s (~)0.563s152.05x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.638s (-8.5% 🟢)4.955s (-4.2%)0.001s (+144.4% 🔺)5.376s (-4.7%)1.737s121.00x
▲ VercelNitro3.803s (-10.4% 🟢)5.005s (-11.0% 🟢)0.000s (+233.3% 🔺)5.423s (-10.2% 🟢)1.620s121.05x
▲ VercelNext.js (Turbopack)4.503s (+4.5%)5.938s (+4.8%)0.000s (+200.0% 🔺)6.398s (+5.2% 🔺)1.895s101.24x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress15/21
🐘 PostgresNitro20/21
▲ VercelNitro11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local9/21
Next.js (Turbopack)▲ Vercel21/21
Nitro🐘 Postgres17/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

Signed-off-by: Peter Wielander <mittgfu@gmail.com>

@TooTallNateTooTallNate left a comment

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.

Review: Cross-process streaming via filesystem polling

Clean implementation. The approach is correct — the EventEmitter only works in-process, so polling the shared filesystem at 100ms is the right fallback for the cross-process case (test runner ↔ workbench app).

What looks good

  • Deduplication is correct: deliveredChunkIds guards both the EventEmitter path and the polling path. The has() + add() are synchronous operations in the same tick, so there's no race between the two delivery mechanisms.

  • Ordering is correct: Chunk files use ULID names which are lexicographically sorted (monotonic). listChunkFilesForStream sorts them, so polling delivers in chronological order.

  • Cleanup is thorough: pollInterval is cleared in all exit paths — closeListener (EventEmitter close), cancel() (reader cancels), and inside the poll callback itself (EOF detected). isComplete and pendingClose both return before polling is set up, so no leaked intervals.

  • isPolling guard: Prevents overlapping polls if a poll callback takes longer than 100ms (slow filesystem).

  • Pre-startIndex tracking: Chunks before startIndex are added to deliveredChunkIds so polling doesn't re-deliver them.

  • Error handling: Filesystem errors (ENOENT, EACCES) are silently ignored (transient), non-filesystem errors are surfaced via console.error.

  • Test coverage: Unit test directly exercises the cross-process path by writing chunk files to disk (bypassing the EventEmitter), and all previously-skipped e2e stream tests are now enabled.

One nit (non-blocking)

See inline comment about controller.enqueue() on a potentially-closed controller inside the polling callback.

}
return;
}

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.

Nit: If the closeListener fires and closes the controller while a poll iteration is in-flight (between the deliveredChunkIds.add() and this controller.enqueue()), this will throw a TypeError ("enqueue on a closed controller"). The outer catch would log it via console.error since TypeError doesn't have a code property — slightly noisy but not harmful.

Could be silenced by adding a let streamClosed = false flag set in the close paths, checked here. But for a local dev tool this is fine as-is.

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

(AI) Good catch — added a streamClosed flag that's set in all close paths (closeListener, EOF in polling, isComplete, pendingClose) and checked before controller.enqueue() in the polling callback. This prevents the noisy console.error when closeListener races with an in-flight poll iteration.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Sign up for freeto 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.

3 participants

@VaguelySerious@TooTallNate@karthikscale3
, '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

[world-local] Cross-process streaming for local dev via polling, enable e2e tests - #1739

Merged
VaguelySerious merged 6 commits into
mainfrom
peter/enable-tests
Apr 16, 2026
Merged

[world-local] Cross-process streaming for local dev via polling, enable e2e tests#1739
VaguelySerious merged 6 commits into
mainfrom
peter/enable-tests

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@changeset-bot

changeset-botBot commented Apr 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 65e58e4

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

This PR includes changesets to release 19 packages
NameType
@workflow/world-localPatch
@workflow/cliPatch
@workflow/corePatch
@workflow/vitestPatch
@workflow/world-postgresPatch
workflowPatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/web-sharedPatch
@workflow/webPatch
@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

@vercel

vercelBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production923067990
✅ 💻 Local Development9940861080
✅ 📦 Local Production9940861080
✅ 🐘 Local Postgres9940861080
✅ 🪟 Windows900090
❌ 🌍 Community Worlds133980231
✅ 📋 Other252018270
Total4380983434821

❌ Failed Tests

🌍 Community Worlds (98 failed)

mongodb (15 failed):

  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • 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_01KPA24T523H4ZARVKKN1YX8V0

redis (15 failed):

  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • 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_01KPA24T523H4ZARVKKN1YX8V0

turso (68 failed):

  • addTenWorkflow | wrun_01KPA1P5KAYE5V8Q7Q1P7SGS4E
  • addTenWorkflow | wrun_01KPA1P5KAYE5V8Q7Q1P7SGS4E
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KPA1QZHPM2FMX4WK248J9VQF
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KPA1PBCWZNJAXS3HC3R0YJ9A
  • promiseRaceWorkflow | wrun_01KPA1PGNCVGK470J4TV10S1BT
  • promiseAnyWorkflow | wrun_01KPA1PJS2YCFHR976JA7GE753
  • importedStepOnlyWorkflow | wrun_01KPA1RA9A9M76BAXVCX85XS16
  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow | wrun_01KPA1PZJ7TDD2T4XBP2FRQ2GK
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • sleepingWorkflow | wrun_01KPA1QTX86RSNHS1WT6SF3DAC
  • parallelSleepWorkflow | wrun_01KPA1R71W1N9RARDPVVX76A0N
  • nullByteWorkflow | wrun_01KPA1RA25SF104HREJ8BJ5T3V
  • workflowAndStepMetadataWorkflow | wrun_01KPA1RBZ4R2BHQ1PCHDNG9GQP
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • promiseRaceStressTestWorkflow | wrun_01KPA1V11K5MDYN2G4EMETF7PT
  • 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_01KPA1Y4Z4S6SA6ABK1HW4M1KA
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KPA1ZB0QWFCJX0CAVTBZCW2H
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KPA1ZX549HC0HZ9N5X2D5TMF
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KPA204XZW5JS2V8JG7VCYTST
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KPA209PPG16PR379TBMH9448
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KPA20BKKM4T3FQWVW6J60HWE
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KPA20NF2H2ZBF070C5A6HJ9Y
  • 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_01KPA212Z6QY9YFJC5MWH4SVYC
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KPA217KPT74R8BBXCT1DW8V2
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KPA21DNTCABVRSCC5Y25E0Q3
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KPA21KM6XR4TM3N20MA6349H
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KPA21SHF100FT0DHZXP04D1Z
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KPA21ZQ6YQCHWPBAMG8ZPR7N
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KPA225RNQ3DWWKF5DY9HAHM0
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KPA22GQXQ2212VQ5MJ1N2DA6
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KPA22RS52H3V3PAKH2F659BS
  • cancelRun - cancelling a running workflow | wrun_01KPA22YKV5QJ50VGXQNEXJAGV
  • cancelRun via CLI - cancelling a running workflow | wrun_01KPA237F5H8FRBF8BB28AANW2
  • 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_01KPA23J951BMA0SDYZBGGYYDJ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KPA245J5JE0XTKE4QNFXJK3Q
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KPA24GECVNPV5088ZCN33E6X
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KPA24PC5Z5TSFHHN913ZPKNB
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KPA24R82MHCHM8NS4V98VJT0
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KPA24T523H4ZARVKKN1YX8V0
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KPA24X3D0MB9S7BS3VSFX45Y

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8307
✅ example8307
✅ express8307
✅ fastify8307
✅ hono8307
✅ nextjs-turbopack8802
✅ nextjs-webpack8802
✅ nitro8307
✅ nuxt8307
✅ sveltekit8307
✅ vite8307
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9000
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev600
❌ mongodb56150
✅ redis-dev600
❌ redis56150
✅ turso-dev600
❌ turso3680
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable8406
✅ e2e-local-postgres-nest-stable8406
✅ e2e-local-prod-nest-stable8406

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 15, 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🥇 Express0.041s (+16.6% 🔺)1.005s (~)0.964s101.00x
💻 LocalNitro0.043s (+18.1% 🔺)1.006s (~)0.963s101.04x
🐘 PostgresNitro0.059s (-2.3%)1.010s (~)0.951s101.45x
🐘 PostgresExpress0.133s (+83.3% 🔺)1.047s (+2.6%)0.915s103.25x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.204s (-17.7% 🟢)1.769s (-17.9% 🟢)1.565s101.00x
▲ VercelExpress0.214s (-38.7% 🟢)2.056s (-4.8%)1.842s101.05x
▲ VercelNitro0.252s (+4.3%)2.217s (+8.4% 🔺)1.964s101.23x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.129s (+2.7%)2.005s (~)0.877s101.00x
💻 LocalNitro1.132s (+2.9%)2.006s (~)0.874s101.00x
🐘 PostgresNitro1.143s (~)2.009s (~)0.866s101.01x
🐘 PostgresExpress1.339s (+16.4% 🔺)2.058s (+2.3%)0.719s101.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.859s (-2.4%)3.962s (+9.9% 🔺)2.103s101.00x
▲ VercelNext.js (Turbopack)1.896s (+1.1%)3.662s (+2.0%)1.766s101.02x
▲ VercelNitro2.028s (-11.2% 🟢)3.287s (-17.4% 🟢)1.259s101.09x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro10.868s (~)11.018s (~)0.150s31.00x
💻 LocalExpress10.913s (+2.4%)11.022s (~)0.110s31.00x
💻 LocalNitro10.955s (+2.9%)11.024s (~)0.069s31.01x
🐘 PostgresExpress11.318s (+3.1%)12.016s (+5.8% 🔺)0.698s31.04x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express16.325s (-3.9%)18.559s (-3.4%)2.234s21.00x
▲ VercelNitro16.499s (-9.7% 🟢)18.405s (-10.7% 🟢)1.906s21.01x
▲ VercelNext.js (Turbopack)16.790s (-5.1% 🟢)18.920s (-3.0%)2.131s21.03x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro14.539s (~)15.021s (~)0.482s41.00x
💻 LocalExpress14.976s (+5.2% 🔺)15.030s (~)0.054s41.03x
💻 LocalNitro15.067s (+5.8% 🔺)16.033s (+6.7% 🔺)0.966s41.04x
🐘 PostgresExpress15.675s (+7.3% 🔺)16.023s (+6.6% 🔺)0.347s41.08x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.502s (-7.3% 🟢)31.032s (-7.9% 🟢)1.530s21.00x
▲ VercelNext.js (Turbopack)30.144s (-8.1% 🟢)32.338s (-6.6% 🟢)2.194s21.02x
▲ VercelExpress30.259s (-8.7% 🟢)31.779s (-9.7% 🟢)1.520s21.03x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro13.981s (~)14.305s (+2.0%)0.323s71.00x
🐘 PostgresExpress16.235s (+13.3% 🔺)16.742s (+11.4% 🔺)0.506s61.16x
💻 LocalExpress16.663s (+11.8% 🔺)17.030s (+13.3% 🔺)0.367s61.19x
💻 LocalNitro16.824s (+12.5% 🔺)17.032s (+10.9% 🔺)0.208s61.20x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro47.526s (-12.3% 🟢)48.863s (-13.4% 🟢)1.337s21.00x
▲ VercelExpress50.444s (-4.0%)51.804s (-4.3%)1.360s21.06x
▲ VercelNext.js (Turbopack)53.499s (-4.6%)55.385s (-4.0%)1.886s21.13x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.241s (-4.0%)2.009s (~)0.768s151.00x
🐘 PostgresNitro1.279s (+1.1%)2.009s (~)0.730s151.03x
💻 LocalExpress1.537s (+5.3% 🔺)2.005s (~)0.469s151.24x
💻 LocalNitro1.547s (+4.8%)2.006s (~)0.458s151.25x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.260s (+4.5%)3.937s (+6.0% 🔺)1.677s81.00x
▲ VercelNitro2.502s (-9.9% 🟢)3.861s (-11.5% 🟢)1.358s81.11x
▲ VercelExpress2.591s (~)4.203s (~)1.611s81.15x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.334s (~)3.008s (~)0.674s101.00x
🐘 PostgresExpress2.564s (+8.9% 🔺)3.218s (+6.9% 🔺)0.654s101.10x
💻 LocalNitro2.942s (+14.9% 🔺)3.676s (+22.2% 🔺)0.735s91.26x
💻 LocalExpress2.963s (+4.3%)3.208s (+3.2%)0.244s101.27x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.497s (~)3.843s (+0.8%)1.346s81.00x
▲ VercelNitro2.822s (-1.2%)4.044s (-11.3% 🟢)1.221s81.13x
▲ VercelNext.js (Turbopack)2.959s (-4.4%)4.945s (+7.1% 🔺)1.986s71.19x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.467s (~)4.009s (~)0.542s81.00x
🐘 PostgresExpress4.462s (+28.2% 🔺)5.073s (+26.4% 🔺)0.611s71.29x
💻 LocalNitro8.254s (+18.8% 🔺)9.021s (+20.0% 🔺)0.768s42.38x
💻 LocalExpress8.322s (+17.4% 🔺)9.024s (+12.6% 🔺)0.701s42.40x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.075s (-11.3% 🟢)4.610s (-10.5% 🟢)1.535s71.00x
▲ VercelNext.js (Turbopack)3.464s (-12.5% 🟢)5.441s (-3.6%)1.977s61.13x
▲ VercelExpress3.689s (+28.7% 🔺)5.588s (+27.0% 🔺)1.898s61.20x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.268s (+0.7%)2.008s (~)0.740s151.00x
💻 LocalNitro1.542s (+1.7%)2.006s (~)0.464s151.22x
💻 LocalExpress1.544s (+4.9%)2.006s (~)0.462s151.22x
🐘 PostgresExpress1.635s (+30.2% 🔺)2.095s (+4.3%)0.459s151.29x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.105s (~)3.961s (+9.3% 🔺)1.855s81.00x
▲ VercelNitro2.132s (-13.1% 🟢)3.699s (-8.9% 🟢)1.567s91.01x
▲ VercelNext.js (Turbopack)2.208s (-0.6%)3.765s (-1.4%)1.557s91.05x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.301s (-1.3%)3.008s (~)0.707s101.00x
🐘 PostgresExpress2.471s (+5.8% 🔺)3.027s (+0.6%)0.556s101.07x
💻 LocalExpress2.967s (+10.0% 🔺)3.676s (+22.2% 🔺)0.709s91.29x
💻 LocalNitro3.131s (+13.2% 🔺)4.010s (+29.0% 🔺)0.879s81.36x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.623s (-8.2% 🟢)4.164s (-4.0%)1.540s81.00x
▲ VercelNext.js (Turbopack)2.848s (-12.2% 🟢)4.742s (-3.1%)1.894s81.09x
▲ VercelNitro2.858s (-19.6% 🟢)4.213s (-21.3% 🟢)1.355s81.09x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.478s (~)4.010s (~)0.532s81.00x
🐘 PostgresExpress3.696s (+6.2% 🔺)4.070s (+1.4%)0.374s81.06x
💻 LocalNitro8.947s (+20.1% 🔺)9.774s (+21.9% 🔺)0.827s42.57x
💻 LocalExpress8.969s (+17.3% 🔺)9.524s (+18.8% 🔺)0.555s42.58x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.578s (-36.2% 🟢)3.989s (-34.2% 🟢)1.411s81.00x
▲ VercelExpress3.387s (-24.8% 🟢)5.260s (-12.6% 🟢)1.873s61.31x
▲ VercelNext.js (Turbopack)3.418s (-19.2% 🟢)5.125s (-10.8% 🟢)1.707s71.33x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.793s (-2.8%)1.006s (-1.6%)0.213s601.00x
💻 LocalExpress1.001s (+40.6% 🔺)1.338s (+31.1% 🔺)0.338s451.26x
💻 LocalNitro1.001s (+43.9% 🔺)1.434s (+42.7% 🔺)0.433s421.26x
🐘 PostgresExpress1.051s (+24.3% 🔺)1.430s (+39.8% 🔺)0.379s421.33x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro8.644s (-4.2%)10.207s (-7.7% 🟢)1.563s61.00x
▲ VercelNext.js (Turbopack)8.816s (-27.7% 🟢)10.510s (-26.0% 🟢)1.695s61.02x
▲ VercelExpress9.321s (-3.7%)11.432s (~)2.110s61.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.867s (-3.3%)2.053s (-2.3%)0.186s441.00x
🐘 PostgresExpress2.444s (+17.3% 🔺)2.832s (-3.8%)0.388s321.31x
💻 LocalNitro3.040s (+34.5% 🔺)3.843s (+27.8% 🔺)0.804s241.63x
💻 LocalExpress3.070s (+35.9% 🔺)3.923s (+30.4% 🔺)0.853s231.64x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)28.262s (-7.3% 🟢)30.127s (-6.8% 🟢)1.865s31.00x
▲ VercelExpress29.211s (-3.8%)31.264s (-3.5%)2.052s31.03x
▲ VercelNitro29.957s (-0.6%)31.075s (-4.2%)1.118s31.06x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.862s (~)4.075s (-0.8%)0.214s301.00x
🐘 PostgresExpress5.987s (+45.3% 🔺)6.458s (+32.0% 🔺)0.471s191.55x
💻 LocalExpress9.184s (+25.4% 🔺)9.864s (+23.1% 🔺)0.680s132.38x
💻 LocalNitro9.378s (+27.5% 🔺)9.941s (+24.0% 🔺)0.564s132.43x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro73.701s (-37.8% 🟢)75.280s (-37.5% 🟢)1.580s21.00x
▲ VercelNext.js (Turbopack)76.649s (-7.2% 🟢)78.535s (-6.9% 🟢)1.886s21.04x
▲ VercelExpress79.293s (-39.5% 🟢)81.837s (-38.6% 🟢)2.544s21.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.283s (-1.4%)1.007s (~)0.723s601.00x
🐘 PostgresExpress0.508s (+78.4% 🔺)1.124s (+11.6% 🔺)0.616s541.79x
💻 LocalExpress0.588s (-1.6%)1.004s (-1.6%)0.416s602.08x
💻 LocalNitro0.591s (+4.3%)1.005s (~)0.414s602.09x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.371s (-21.8% 🟢)2.771s (-20.8% 🟢)1.400s221.00x
▲ VercelExpress1.534s (-4.4%)3.059s (-6.9% 🟢)1.525s201.12x
▲ VercelNext.js (Turbopack)1.723s (+2.3%)3.220s (-1.7%)1.497s191.26x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.487s (-3.5%)1.006s (~)0.519s901.00x
🐘 PostgresExpress0.648s (+31.0% 🔺)1.177s (+16.9% 🔺)0.530s771.33x
💻 LocalNitro2.527s (+3.9%)3.009s (~)0.482s305.19x
💻 LocalExpress2.564s (+4.1%)3.009s (~)0.445s305.26x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.550s (-6.6% 🟢)3.921s (-11.8% 🟢)1.371s231.00x
▲ VercelExpress2.763s (+2.2%)4.450s (+5.3% 🔺)1.687s211.08x
▲ VercelNext.js (Turbopack)3.693s (+12.8% 🔺)5.248s (+8.2% 🔺)1.554s181.45x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.777s (-3.1%)1.016s (+0.7%)0.239s1191.00x
🐘 PostgresExpress1.181s (+45.5% 🔺)1.631s (+60.4% 🔺)0.450s741.52x
💻 LocalExpress11.114s (+5.0%)11.849s (+7.5% 🔺)0.735s1114.30x
💻 LocalNitro11.372s (+10.2% 🔺)12.028s (+10.0% 🔺)0.656s1014.63x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro7.100s (+4.7%)8.518s (-1.1%)1.418s151.00x
▲ VercelExpress7.800s (+12.7% 🔺)9.600s (+8.9% 🔺)1.800s131.10x
▲ VercelNext.js (Turbopack)43.251s (+565.6% 🔺)44.690s (+433.2% 🔺)1.439s66.09x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.201s (+42.7% 🔺)1.004s (~)0.012s (+28.7% 🔺)1.018s (~)0.817s101.00x
🐘 PostgresNitro0.210s (-1.8%)0.993s (~)0.001s (-15.4% 🟢)1.009s (~)0.799s101.05x
💻 LocalNitro0.214s (+50.7% 🔺)1.004s (~)0.013s (+31.0% 🔺)1.019s (~)0.805s101.06x
🐘 PostgresExpress0.239s (+11.0% 🔺)0.999s (~)0.078s (+4781.3% 🔺)1.089s (+7.8% 🔺)0.850s101.19x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.368s (-12.2% 🟢)2.257s (-21.0% 🟢)1.306s (+33.6% 🔺)3.942s (-7.8% 🟢)2.574s101.00x
▲ VercelExpress1.426s (+1.3%)2.595s (~)1.055s (+8.5% 🔺)4.096s (+3.0%)2.670s101.04x
▲ VercelNext.js (Turbopack)1.457s (-2.2%)3.053s (+0.7%)0.932s (+17.0% 🔺)4.430s (+4.3%)2.973s101.07x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.589s (-4.8%)1.004s (~)0.004s (-4.3%)1.021s (~)0.432s591.00x
💻 LocalExpress0.838s (+25.6% 🔺)1.011s (~)0.010s (+6.7% 🔺)1.115s (~)0.277s541.42x
💻 LocalNitro0.846s (+46.4% 🔺)1.012s (~)0.010s (+1.4%)1.116s (+9.2% 🔺)0.271s541.44x
🐘 PostgresExpress0.965s (+50.5% 🔺)1.401s (+39.3% 🔺)0.118s (+2732.6% 🔺)1.543s (+50.6% 🔺)0.578s401.64x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.873s (-9.5% 🟢)5.220s (-10.5% 🟢)0.271s (-22.5% 🟢)5.959s (-9.9% 🟢)2.086s111.00x
▲ VercelNext.js (Turbopack)3.968s (-5.8% 🟢)5.712s (-5.9% 🟢)0.213s (-39.4% 🟢)6.372s (-6.8% 🟢)2.404s101.02x
▲ VercelExpress4.394s (+5.3% 🔺)6.508s (+5.1% 🔺)0.251s (-41.9% 🟢)7.270s (+3.3%)2.876s91.13x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.945s (-3.5%)1.124s (-11.9% 🟢)0.000s (-100.0% 🟢)1.146s (-12.3% 🟢)0.201s531.00x
💻 LocalExpress1.222s (+3.6%)2.020s (~)0.000s (-22.2% 🟢)2.022s (~)0.799s301.29x
💻 LocalNitro1.245s (+5.5% 🔺)2.021s (~)0.000s (+10.0% 🔺)2.023s (~)0.777s301.32x
🐘 PostgresExpress2.217s (+126.3% 🔺)2.865s (+139.2% 🔺)0.000s (+138.1% 🔺)2.953s (+142.7% 🔺)0.736s212.35x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.748s (-18.4% 🟢)3.975s (-11.5% 🟢)0.000s (-100.0% 🟢)4.676s (-4.0%)1.928s131.00x
▲ VercelNext.js (Turbopack)3.087s (-6.0% 🟢)4.430s (-2.2%)0.000s (-93.8% 🟢)4.942s (-1.5%)1.855s131.12x
▲ VercelNitro3.424s (+21.6% 🔺)4.431s (+5.1% 🔺)0.000s (+Infinity% 🔺)4.912s (+5.9% 🔺)1.488s131.25x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.760s (+1.2%)2.097s (-2.0%)0.000s (-100.0% 🟢)2.113s (-1.9%)0.352s291.00x
🐘 PostgresExpress3.379s (+91.3% 🔺)3.799s (+77.6% 🔺)0.000s (-100.0% 🟢)3.846s (+79.0% 🔺)0.467s161.92x
💻 LocalExpress3.590s (+2.3%)4.101s (+1.7%)0.000s (+33.3% 🔺)4.103s (+1.7%)0.513s152.04x
💻 LocalNitro3.605s (-4.1%)4.164s (~)0.000s (-60.0% 🟢)4.167s (~)0.563s152.05x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.638s (-8.5% 🟢)4.955s (-4.2%)0.001s (+144.4% 🔺)5.376s (-4.7%)1.737s121.00x
▲ VercelNitro3.803s (-10.4% 🟢)5.005s (-11.0% 🟢)0.000s (+233.3% 🔺)5.423s (-10.2% 🟢)1.620s121.05x
▲ VercelNext.js (Turbopack)4.503s (+4.5%)5.938s (+4.8%)0.000s (+200.0% 🔺)6.398s (+5.2% 🔺)1.895s101.24x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress15/21
🐘 PostgresNitro20/21
▲ VercelNitro11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local9/21
Next.js (Turbopack)▲ Vercel21/21
Nitro🐘 Postgres17/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

Signed-off-by: Peter Wielander <mittgfu@gmail.com>

@TooTallNateTooTallNate left a comment

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.

Review: Cross-process streaming via filesystem polling

Clean implementation. The approach is correct — the EventEmitter only works in-process, so polling the shared filesystem at 100ms is the right fallback for the cross-process case (test runner ↔ workbench app).

What looks good

  • Deduplication is correct: deliveredChunkIds guards both the EventEmitter path and the polling path. The has() + add() are synchronous operations in the same tick, so there's no race between the two delivery mechanisms.

  • Ordering is correct: Chunk files use ULID names which are lexicographically sorted (monotonic). listChunkFilesForStream sorts them, so polling delivers in chronological order.

  • Cleanup is thorough: pollInterval is cleared in all exit paths — closeListener (EventEmitter close), cancel() (reader cancels), and inside the poll callback itself (EOF detected). isComplete and pendingClose both return before polling is set up, so no leaked intervals.

  • isPolling guard: Prevents overlapping polls if a poll callback takes longer than 100ms (slow filesystem).

  • Pre-startIndex tracking: Chunks before startIndex are added to deliveredChunkIds so polling doesn't re-deliver them.

  • Error handling: Filesystem errors (ENOENT, EACCES) are silently ignored (transient), non-filesystem errors are surfaced via console.error.

  • Test coverage: Unit test directly exercises the cross-process path by writing chunk files to disk (bypassing the EventEmitter), and all previously-skipped e2e stream tests are now enabled.

One nit (non-blocking)

See inline comment about controller.enqueue() on a potentially-closed controller inside the polling callback.

}
return;
}

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.

Nit: If the closeListener fires and closes the controller while a poll iteration is in-flight (between the deliveredChunkIds.add() and this controller.enqueue()), this will throw a TypeError ("enqueue on a closed controller"). The outer catch would log it via console.error since TypeError doesn't have a code property — slightly noisy but not harmful.

Could be silenced by adding a let streamClosed = false flag set in the close paths, checked here. But for a local dev tool this is fine as-is.

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

(AI) Good catch — added a streamClosed flag that's set in all close paths (closeListener, EOF in polling, isComplete, pendingClose) and checked before controller.enqueue() in the polling callback. This prevents the noisy console.error when closeListener races with an in-flight poll iteration.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Sign up for freeto 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.

3 participants

@VaguelySerious@TooTallNate@karthikscale3
, '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

[world-local] Cross-process streaming for local dev via polling, enable e2e tests - #1739

Merged
VaguelySerious merged 6 commits into
mainfrom
peter/enable-tests
Apr 16, 2026
Merged

[world-local] Cross-process streaming for local dev via polling, enable e2e tests#1739
VaguelySerious merged 6 commits into
mainfrom
peter/enable-tests

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@changeset-bot

changeset-botBot commented Apr 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 65e58e4

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

This PR includes changesets to release 19 packages
NameType
@workflow/world-localPatch
@workflow/cliPatch
@workflow/corePatch
@workflow/vitestPatch
@workflow/world-postgresPatch
workflowPatch
@workflow/world-testingPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/web-sharedPatch
@workflow/webPatch
@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

@vercel

vercelBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production923067990
✅ 💻 Local Development9940861080
✅ 📦 Local Production9940861080
✅ 🐘 Local Postgres9940861080
✅ 🪟 Windows900090
❌ 🌍 Community Worlds133980231
✅ 📋 Other252018270
Total4380983434821

❌ Failed Tests

🌍 Community Worlds (98 failed)

mongodb (15 failed):

  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • 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_01KPA24T523H4ZARVKKN1YX8V0

redis (15 failed):

  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • 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_01KPA24T523H4ZARVKKN1YX8V0

turso (68 failed):

  • addTenWorkflow | wrun_01KPA1P5KAYE5V8Q7Q1P7SGS4E
  • addTenWorkflow | wrun_01KPA1P5KAYE5V8Q7Q1P7SGS4E
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KPA1QZHPM2FMX4WK248J9VQF
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KPA1PBCWZNJAXS3HC3R0YJ9A
  • promiseRaceWorkflow | wrun_01KPA1PGNCVGK470J4TV10S1BT
  • promiseAnyWorkflow | wrun_01KPA1PJS2YCFHR976JA7GE753
  • importedStepOnlyWorkflow | wrun_01KPA1RA9A9M76BAXVCX85XS16
  • readableStreamWorkflow | wrun_01KPA1PNTKGPKJ3FF0WBW28K70
  • hookWorkflow | wrun_01KPA1PZJ7TDD2T4XBP2FRQ2GK
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KPA1QA17FM4SEZY0SKW9FC96
  • webhookWorkflow | wrun_01KPA1QJGRYEBCPD3X2PZ6MFB2
  • sleepingWorkflow | wrun_01KPA1QTX86RSNHS1WT6SF3DAC
  • parallelSleepWorkflow | wrun_01KPA1R71W1N9RARDPVVX76A0N
  • nullByteWorkflow | wrun_01KPA1RA25SF104HREJ8BJ5T3V
  • workflowAndStepMetadataWorkflow | wrun_01KPA1RBZ4R2BHQ1PCHDNG9GQP
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getChunks getTailIndex returns -1 before any chunks are written
  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KPA1TGQ31G4E6EX9CKY6YGT1
  • fetchWorkflow | wrun_01KPA1TXR4BXD81K0HPNJWF1VP
  • promiseRaceStressTestWorkflow | wrun_01KPA1V11K5MDYN2G4EMETF7PT
  • 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_01KPA1Y4Z4S6SA6ABK1HW4M1KA
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KPA1YQTZZEBEDCBE6M41BCAQ
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KPA1ZB0QWFCJX0CAVTBZCW2H
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KPA1ZX549HC0HZ9N5X2D5TMF
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KPA204XZW5JS2V8JG7VCYTST
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KPA209PPG16PR379TBMH9448
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KPA20BKKM4T3FQWVW6J60HWE
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KPA20NF2H2ZBF070C5A6HJ9Y
  • 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_01KPA212Z6QY9YFJC5MWH4SVYC
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KPA217KPT74R8BBXCT1DW8V2
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KPA21DNTCABVRSCC5Y25E0Q3
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KPA21KM6XR4TM3N20MA6349H
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KPA21SHF100FT0DHZXP04D1Z
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KPA21ZQ6YQCHWPBAMG8ZPR7N
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KPA225RNQ3DWWKF5DY9HAHM0
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KPA22GQXQ2212VQ5MJ1N2DA6
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KPA22RS52H3V3PAKH2F659BS
  • cancelRun - cancelling a running workflow | wrun_01KPA22YKV5QJ50VGXQNEXJAGV
  • cancelRun via CLI - cancelling a running workflow | wrun_01KPA237F5H8FRBF8BB28AANW2
  • 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_01KPA23J951BMA0SDYZBGGYYDJ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KPA245J5JE0XTKE4QNFXJK3Q
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KPA24GECVNPV5088ZCN33E6X
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KPA24PC5Z5TSFHHN913ZPKNB
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KPA24R82MHCHM8NS4V98VJT0
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KPA24T523H4ZARVKKN1YX8V0
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KPA24X3D0MB9S7BS3VSFX45Y

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8307
✅ example8307
✅ express8307
✅ fastify8307
✅ hono8307
✅ nextjs-turbopack8802
✅ nextjs-webpack8802
✅ nitro8307
✅ nuxt8307
✅ sveltekit8307
✅ vite8307
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable8406
✅ express-stable8406
✅ fastify-stable8406
✅ hono-stable8406
✅ nextjs-turbopack-canary71019
✅ nextjs-turbopack-stable9000
✅ nextjs-webpack-canary71019
✅ nextjs-webpack-stable9000
✅ nitro-stable8406
✅ nuxt-stable8406
✅ sveltekit-stable8406
✅ vite-stable8406
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9000
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev600
❌ mongodb56150
✅ redis-dev600
❌ redis56150
✅ turso-dev600
❌ turso3680
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable8406
✅ e2e-local-postgres-nest-stable8406
✅ e2e-local-prod-nest-stable8406

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 15, 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🥇 Express0.041s (+16.6% 🔺)1.005s (~)0.964s101.00x
💻 LocalNitro0.043s (+18.1% 🔺)1.006s (~)0.963s101.04x
🐘 PostgresNitro0.059s (-2.3%)1.010s (~)0.951s101.45x
🐘 PostgresExpress0.133s (+83.3% 🔺)1.047s (+2.6%)0.915s103.25x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.204s (-17.7% 🟢)1.769s (-17.9% 🟢)1.565s101.00x
▲ VercelExpress0.214s (-38.7% 🟢)2.056s (-4.8%)1.842s101.05x
▲ VercelNitro0.252s (+4.3%)2.217s (+8.4% 🔺)1.964s101.23x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.129s (+2.7%)2.005s (~)0.877s101.00x
💻 LocalNitro1.132s (+2.9%)2.006s (~)0.874s101.00x
🐘 PostgresNitro1.143s (~)2.009s (~)0.866s101.01x
🐘 PostgresExpress1.339s (+16.4% 🔺)2.058s (+2.3%)0.719s101.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.859s (-2.4%)3.962s (+9.9% 🔺)2.103s101.00x
▲ VercelNext.js (Turbopack)1.896s (+1.1%)3.662s (+2.0%)1.766s101.02x
▲ VercelNitro2.028s (-11.2% 🟢)3.287s (-17.4% 🟢)1.259s101.09x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro10.868s (~)11.018s (~)0.150s31.00x
💻 LocalExpress10.913s (+2.4%)11.022s (~)0.110s31.00x
💻 LocalNitro10.955s (+2.9%)11.024s (~)0.069s31.01x
🐘 PostgresExpress11.318s (+3.1%)12.016s (+5.8% 🔺)0.698s31.04x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express16.325s (-3.9%)18.559s (-3.4%)2.234s21.00x
▲ VercelNitro16.499s (-9.7% 🟢)18.405s (-10.7% 🟢)1.906s21.01x
▲ VercelNext.js (Turbopack)16.790s (-5.1% 🟢)18.920s (-3.0%)2.131s21.03x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro14.539s (~)15.021s (~)0.482s41.00x
💻 LocalExpress14.976s (+5.2% 🔺)15.030s (~)0.054s41.03x
💻 LocalNitro15.067s (+5.8% 🔺)16.033s (+6.7% 🔺)0.966s41.04x
🐘 PostgresExpress15.675s (+7.3% 🔺)16.023s (+6.6% 🔺)0.347s41.08x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.502s (-7.3% 🟢)31.032s (-7.9% 🟢)1.530s21.00x
▲ VercelNext.js (Turbopack)30.144s (-8.1% 🟢)32.338s (-6.6% 🟢)2.194s21.02x
▲ VercelExpress30.259s (-8.7% 🟢)31.779s (-9.7% 🟢)1.520s21.03x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro13.981s (~)14.305s (+2.0%)0.323s71.00x
🐘 PostgresExpress16.235s (+13.3% 🔺)16.742s (+11.4% 🔺)0.506s61.16x
💻 LocalExpress16.663s (+11.8% 🔺)17.030s (+13.3% 🔺)0.367s61.19x
💻 LocalNitro16.824s (+12.5% 🔺)17.032s (+10.9% 🔺)0.208s61.20x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro47.526s (-12.3% 🟢)48.863s (-13.4% 🟢)1.337s21.00x
▲ VercelExpress50.444s (-4.0%)51.804s (-4.3%)1.360s21.06x
▲ VercelNext.js (Turbopack)53.499s (-4.6%)55.385s (-4.0%)1.886s21.13x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.241s (-4.0%)2.009s (~)0.768s151.00x
🐘 PostgresNitro1.279s (+1.1%)2.009s (~)0.730s151.03x
💻 LocalExpress1.537s (+5.3% 🔺)2.005s (~)0.469s151.24x
💻 LocalNitro1.547s (+4.8%)2.006s (~)0.458s151.25x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.260s (+4.5%)3.937s (+6.0% 🔺)1.677s81.00x
▲ VercelNitro2.502s (-9.9% 🟢)3.861s (-11.5% 🟢)1.358s81.11x
▲ VercelExpress2.591s (~)4.203s (~)1.611s81.15x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.334s (~)3.008s (~)0.674s101.00x
🐘 PostgresExpress2.564s (+8.9% 🔺)3.218s (+6.9% 🔺)0.654s101.10x
💻 LocalNitro2.942s (+14.9% 🔺)3.676s (+22.2% 🔺)0.735s91.26x
💻 LocalExpress2.963s (+4.3%)3.208s (+3.2%)0.244s101.27x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.497s (~)3.843s (+0.8%)1.346s81.00x
▲ VercelNitro2.822s (-1.2%)4.044s (-11.3% 🟢)1.221s81.13x
▲ VercelNext.js (Turbopack)2.959s (-4.4%)4.945s (+7.1% 🔺)1.986s71.19x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.467s (~)4.009s (~)0.542s81.00x
🐘 PostgresExpress4.462s (+28.2% 🔺)5.073s (+26.4% 🔺)0.611s71.29x
💻 LocalNitro8.254s (+18.8% 🔺)9.021s (+20.0% 🔺)0.768s42.38x
💻 LocalExpress8.322s (+17.4% 🔺)9.024s (+12.6% 🔺)0.701s42.40x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.075s (-11.3% 🟢)4.610s (-10.5% 🟢)1.535s71.00x
▲ VercelNext.js (Turbopack)3.464s (-12.5% 🟢)5.441s (-3.6%)1.977s61.13x
▲ VercelExpress3.689s (+28.7% 🔺)5.588s (+27.0% 🔺)1.898s61.20x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.268s (+0.7%)2.008s (~)0.740s151.00x
💻 LocalNitro1.542s (+1.7%)2.006s (~)0.464s151.22x
💻 LocalExpress1.544s (+4.9%)2.006s (~)0.462s151.22x
🐘 PostgresExpress1.635s (+30.2% 🔺)2.095s (+4.3%)0.459s151.29x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.105s (~)3.961s (+9.3% 🔺)1.855s81.00x
▲ VercelNitro2.132s (-13.1% 🟢)3.699s (-8.9% 🟢)1.567s91.01x
▲ VercelNext.js (Turbopack)2.208s (-0.6%)3.765s (-1.4%)1.557s91.05x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.301s (-1.3%)3.008s (~)0.707s101.00x
🐘 PostgresExpress2.471s (+5.8% 🔺)3.027s (+0.6%)0.556s101.07x
💻 LocalExpress2.967s (+10.0% 🔺)3.676s (+22.2% 🔺)0.709s91.29x
💻 LocalNitro3.131s (+13.2% 🔺)4.010s (+29.0% 🔺)0.879s81.36x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.623s (-8.2% 🟢)4.164s (-4.0%)1.540s81.00x
▲ VercelNext.js (Turbopack)2.848s (-12.2% 🟢)4.742s (-3.1%)1.894s81.09x
▲ VercelNitro2.858s (-19.6% 🟢)4.213s (-21.3% 🟢)1.355s81.09x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.478s (~)4.010s (~)0.532s81.00x
🐘 PostgresExpress3.696s (+6.2% 🔺)4.070s (+1.4%)0.374s81.06x
💻 LocalNitro8.947s (+20.1% 🔺)9.774s (+21.9% 🔺)0.827s42.57x
💻 LocalExpress8.969s (+17.3% 🔺)9.524s (+18.8% 🔺)0.555s42.58x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.578s (-36.2% 🟢)3.989s (-34.2% 🟢)1.411s81.00x
▲ VercelExpress3.387s (-24.8% 🟢)5.260s (-12.6% 🟢)1.873s61.31x
▲ VercelNext.js (Turbopack)3.418s (-19.2% 🟢)5.125s (-10.8% 🟢)1.707s71.33x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.793s (-2.8%)1.006s (-1.6%)0.213s601.00x
💻 LocalExpress1.001s (+40.6% 🔺)1.338s (+31.1% 🔺)0.338s451.26x
💻 LocalNitro1.001s (+43.9% 🔺)1.434s (+42.7% 🔺)0.433s421.26x
🐘 PostgresExpress1.051s (+24.3% 🔺)1.430s (+39.8% 🔺)0.379s421.33x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro8.644s (-4.2%)10.207s (-7.7% 🟢)1.563s61.00x
▲ VercelNext.js (Turbopack)8.816s (-27.7% 🟢)10.510s (-26.0% 🟢)1.695s61.02x
▲ VercelExpress9.321s (-3.7%)11.432s (~)2.110s61.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.867s (-3.3%)2.053s (-2.3%)0.186s441.00x
🐘 PostgresExpress2.444s (+17.3% 🔺)2.832s (-3.8%)0.388s321.31x
💻 LocalNitro3.040s (+34.5% 🔺)3.843s (+27.8% 🔺)0.804s241.63x
💻 LocalExpress3.070s (+35.9% 🔺)3.923s (+30.4% 🔺)0.853s231.64x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)28.262s (-7.3% 🟢)30.127s (-6.8% 🟢)1.865s31.00x
▲ VercelExpress29.211s (-3.8%)31.264s (-3.5%)2.052s31.03x
▲ VercelNitro29.957s (-0.6%)31.075s (-4.2%)1.118s31.06x

🔍 Observability: Next.js (Turbopack) | Express | Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.862s (~)4.075s (-0.8%)0.214s301.00x
🐘 PostgresExpress5.987s (+45.3% 🔺)6.458s (+32.0% 🔺)0.471s191.55x
💻 LocalExpress9.184s (+25.4% 🔺)9.864s (+23.1% 🔺)0.680s132.38x
💻 LocalNitro9.378s (+27.5% 🔺)9.941s (+24.0% 🔺)0.564s132.43x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro73.701s (-37.8% 🟢)75.280s (-37.5% 🟢)1.580s21.00x
▲ VercelNext.js (Turbopack)76.649s (-7.2% 🟢)78.535s (-6.9% 🟢)1.886s21.04x
▲ VercelExpress79.293s (-39.5% 🟢)81.837s (-38.6% 🟢)2.544s21.08x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.283s (-1.4%)1.007s (~)0.723s601.00x
🐘 PostgresExpress0.508s (+78.4% 🔺)1.124s (+11.6% 🔺)0.616s541.79x
💻 LocalExpress0.588s (-1.6%)1.004s (-1.6%)0.416s602.08x
💻 LocalNitro0.591s (+4.3%)1.005s (~)0.414s602.09x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.371s (-21.8% 🟢)2.771s (-20.8% 🟢)1.400s221.00x
▲ VercelExpress1.534s (-4.4%)3.059s (-6.9% 🟢)1.525s201.12x
▲ VercelNext.js (Turbopack)1.723s (+2.3%)3.220s (-1.7%)1.497s191.26x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.487s (-3.5%)1.006s (~)0.519s901.00x
🐘 PostgresExpress0.648s (+31.0% 🔺)1.177s (+16.9% 🔺)0.530s771.33x
💻 LocalNitro2.527s (+3.9%)3.009s (~)0.482s305.19x
💻 LocalExpress2.564s (+4.1%)3.009s (~)0.445s305.26x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.550s (-6.6% 🟢)3.921s (-11.8% 🟢)1.371s231.00x
▲ VercelExpress2.763s (+2.2%)4.450s (+5.3% 🔺)1.687s211.08x
▲ VercelNext.js (Turbopack)3.693s (+12.8% 🔺)5.248s (+8.2% 🔺)1.554s181.45x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.777s (-3.1%)1.016s (+0.7%)0.239s1191.00x
🐘 PostgresExpress1.181s (+45.5% 🔺)1.631s (+60.4% 🔺)0.450s741.52x
💻 LocalExpress11.114s (+5.0%)11.849s (+7.5% 🔺)0.735s1114.30x
💻 LocalNitro11.372s (+10.2% 🔺)12.028s (+10.0% 🔺)0.656s1014.63x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro7.100s (+4.7%)8.518s (-1.1%)1.418s151.00x
▲ VercelExpress7.800s (+12.7% 🔺)9.600s (+8.9% 🔺)1.800s131.10x
▲ VercelNext.js (Turbopack)43.251s (+565.6% 🔺)44.690s (+433.2% 🔺)1.439s66.09x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.201s (+42.7% 🔺)1.004s (~)0.012s (+28.7% 🔺)1.018s (~)0.817s101.00x
🐘 PostgresNitro0.210s (-1.8%)0.993s (~)0.001s (-15.4% 🟢)1.009s (~)0.799s101.05x
💻 LocalNitro0.214s (+50.7% 🔺)1.004s (~)0.013s (+31.0% 🔺)1.019s (~)0.805s101.06x
🐘 PostgresExpress0.239s (+11.0% 🔺)0.999s (~)0.078s (+4781.3% 🔺)1.089s (+7.8% 🔺)0.850s101.19x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.368s (-12.2% 🟢)2.257s (-21.0% 🟢)1.306s (+33.6% 🔺)3.942s (-7.8% 🟢)2.574s101.00x
▲ VercelExpress1.426s (+1.3%)2.595s (~)1.055s (+8.5% 🔺)4.096s (+3.0%)2.670s101.04x
▲ VercelNext.js (Turbopack)1.457s (-2.2%)3.053s (+0.7%)0.932s (+17.0% 🔺)4.430s (+4.3%)2.973s101.07x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.589s (-4.8%)1.004s (~)0.004s (-4.3%)1.021s (~)0.432s591.00x
💻 LocalExpress0.838s (+25.6% 🔺)1.011s (~)0.010s (+6.7% 🔺)1.115s (~)0.277s541.42x
💻 LocalNitro0.846s (+46.4% 🔺)1.012s (~)0.010s (+1.4%)1.116s (+9.2% 🔺)0.271s541.44x
🐘 PostgresExpress0.965s (+50.5% 🔺)1.401s (+39.3% 🔺)0.118s (+2732.6% 🔺)1.543s (+50.6% 🔺)0.578s401.64x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.873s (-9.5% 🟢)5.220s (-10.5% 🟢)0.271s (-22.5% 🟢)5.959s (-9.9% 🟢)2.086s111.00x
▲ VercelNext.js (Turbopack)3.968s (-5.8% 🟢)5.712s (-5.9% 🟢)0.213s (-39.4% 🟢)6.372s (-6.8% 🟢)2.404s101.02x
▲ VercelExpress4.394s (+5.3% 🔺)6.508s (+5.1% 🔺)0.251s (-41.9% 🟢)7.270s (+3.3%)2.876s91.13x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.945s (-3.5%)1.124s (-11.9% 🟢)0.000s (-100.0% 🟢)1.146s (-12.3% 🟢)0.201s531.00x
💻 LocalExpress1.222s (+3.6%)2.020s (~)0.000s (-22.2% 🟢)2.022s (~)0.799s301.29x
💻 LocalNitro1.245s (+5.5% 🔺)2.021s (~)0.000s (+10.0% 🔺)2.023s (~)0.777s301.32x
🐘 PostgresExpress2.217s (+126.3% 🔺)2.865s (+139.2% 🔺)0.000s (+138.1% 🔺)2.953s (+142.7% 🔺)0.736s212.35x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.748s (-18.4% 🟢)3.975s (-11.5% 🟢)0.000s (-100.0% 🟢)4.676s (-4.0%)1.928s131.00x
▲ VercelNext.js (Turbopack)3.087s (-6.0% 🟢)4.430s (-2.2%)0.000s (-93.8% 🟢)4.942s (-1.5%)1.855s131.12x
▲ VercelNitro3.424s (+21.6% 🔺)4.431s (+5.1% 🔺)0.000s (+Infinity% 🔺)4.912s (+5.9% 🔺)1.488s131.25x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.760s (+1.2%)2.097s (-2.0%)0.000s (-100.0% 🟢)2.113s (-1.9%)0.352s291.00x
🐘 PostgresExpress3.379s (+91.3% 🔺)3.799s (+77.6% 🔺)0.000s (-100.0% 🟢)3.846s (+79.0% 🔺)0.467s161.92x
💻 LocalExpress3.590s (+2.3%)4.101s (+1.7%)0.000s (+33.3% 🔺)4.103s (+1.7%)0.513s152.04x
💻 LocalNitro3.605s (-4.1%)4.164s (~)0.000s (-60.0% 🟢)4.167s (~)0.563s152.05x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.638s (-8.5% 🟢)4.955s (-4.2%)0.001s (+144.4% 🔺)5.376s (-4.7%)1.737s121.00x
▲ VercelNitro3.803s (-10.4% 🟢)5.005s (-11.0% 🟢)0.000s (+233.3% 🔺)5.423s (-10.2% 🟢)1.620s121.05x
▲ VercelNext.js (Turbopack)4.503s (+4.5%)5.938s (+4.8%)0.000s (+200.0% 🔺)6.398s (+5.2% 🔺)1.895s101.24x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress15/21
🐘 PostgresNitro20/21
▲ VercelNitro11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local9/21
Next.js (Turbopack)▲ Vercel21/21
Nitro🐘 Postgres17/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

Signed-off-by: Peter Wielander <mittgfu@gmail.com>

@TooTallNateTooTallNate left a comment

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.

Review: Cross-process streaming via filesystem polling

Clean implementation. The approach is correct — the EventEmitter only works in-process, so polling the shared filesystem at 100ms is the right fallback for the cross-process case (test runner ↔ workbench app).

What looks good

  • Deduplication is correct: deliveredChunkIds guards both the EventEmitter path and the polling path. The has() + add() are synchronous operations in the same tick, so there's no race between the two delivery mechanisms.

  • Ordering is correct: Chunk files use ULID names which are lexicographically sorted (monotonic). listChunkFilesForStream sorts them, so polling delivers in chronological order.

  • Cleanup is thorough: pollInterval is cleared in all exit paths — closeListener (EventEmitter close), cancel() (reader cancels), and inside the poll callback itself (EOF detected). isComplete and pendingClose both return before polling is set up, so no leaked intervals.

  • isPolling guard: Prevents overlapping polls if a poll callback takes longer than 100ms (slow filesystem).

  • Pre-startIndex tracking: Chunks before startIndex are added to deliveredChunkIds so polling doesn't re-deliver them.

  • Error handling: Filesystem errors (ENOENT, EACCES) are silently ignored (transient), non-filesystem errors are surfaced via console.error.

  • Test coverage: Unit test directly exercises the cross-process path by writing chunk files to disk (bypassing the EventEmitter), and all previously-skipped e2e stream tests are now enabled.

One nit (non-blocking)

See inline comment about controller.enqueue() on a potentially-closed controller inside the polling callback.

}
return;
}

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.

Nit: If the closeListener fires and closes the controller while a poll iteration is in-flight (between the deliveredChunkIds.add() and this controller.enqueue()), this will throw a TypeError ("enqueue on a closed controller"). The outer catch would log it via console.error since TypeError doesn't have a code property — slightly noisy but not harmful.

Could be silenced by adding a let streamClosed = false flag set in the close paths, checked here. But for a local dev tool this is fine as-is.

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

(AI) Good catch — added a streamClosed flag that's set in all close paths (closeListener, EOF in polling, isComplete, pendingClose) and checked before controller.enqueue() in the polling callback. This prevents the noisy console.error when closeListener races with an in-flight poll iteration.

Signed-off-by: Peter Wielander <mittgfu@gmail.com>
Sign up for freeto 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.

3 participants

@VaguelySerious@TooTallNate@karthikscale3