[core] Re-try runtime replays that exceed deadline up to three times - #1740

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/runtime-timeout-triple-retry
Apr 15, 2026
Merged

[core] Re-try runtime replays that exceed deadline up to three times#1740
VaguelySerious merged 1 commit into
mainfrom
peter/runtime-timeout-triple-retry

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

No description provided.

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

vercelBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0be6831

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

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

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

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

@github-actions

github-actionsBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

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

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • 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_01KP7B7A7QYJ3HB65YQQMP7P9M

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • 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_01KP7B7A7QYJ3HB65YQQMP7P9M

turso (60 failed):

  • addTenWorkflow | wrun_01KP7AS1TVT6N4PFJZ0VQPEY9G
  • addTenWorkflow | wrun_01KP7AS1TVT6N4PFJZ0VQPEY9G
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KP7ATBN010646TM91Z0J2KCN
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KP7AS8PWTHZY5VWE8QKWD7T2
  • promiseRaceWorkflow | wrun_01KP7ASF4Y42CE2P08VZ0X7D32
  • promiseAnyWorkflow | wrun_01KP7ASH0JC28PCK6HPBMTTK3Y
  • importedStepOnlyWorkflow | wrun_01KP7ATSTCC6VSSK1YXGGBZ9GT
  • hookWorkflow | wrun_01KP7ASWT4T4DQXDR4GKBEY3NB
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • sleepingWorkflow | wrun_01KP7ATPFV02AMPASVD8EQYW38
  • parallelSleepWorkflow | wrun_01KP7AV2JH6NPWGQDKEX6XV61H
  • nullByteWorkflow | wrun_01KP7AV6PMF3FHYMWD8ZRYBRFH
  • workflowAndStepMetadataWorkflow | wrun_01KP7AV8KCCPMTHQMF14EWZQT4
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • promiseRaceStressTestWorkflow | wrun_01KP7AXY172T066FSSN5PAGFF5
  • 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_01KP7B0ZT288MHG76ECCGE27BK
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KP7B24ZX7E9SZ3YDQA8960S2
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KP7B2PQJFD50A1EN4NZSGYG2
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KP7B2Y30RDCWW54FE1114HGG
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KP7B32MR0MYBZJ8W1E7DSE1T
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KP7B34MQEYY51PHK09RYNJ2T
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KP7B3DRFR27GFA9WB424H24K
  • 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_01KP7B3TATBNZEB033YWMNANH4
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KP7B3YW92J8WK23VPN9QY311
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KP7B43AV4WT5XS3RJ47H447R
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KP7B48Z9N9D5WX8MA3DMY55J
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KP7B4ET7WVYX5YRD7JA7Z6N0
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KP7B4MDCTHKKP1GYV0S1ANJ0
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KP7B4SWEVRKR1AH0SW74D61C
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KP7B52855R8YCC5QB2C0KRFH
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KP7B5A6YCVNQ33FJ16S4HS6Q
  • cancelRun - cancelling a running workflow | wrun_01KP7B5FQRGJJ8KFRXH9TS7HVC
  • cancelRun via CLI - cancelling a running workflow | wrun_01KP7B5R36QBDYXNGT9H1AJ7Z0
  • 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_01KP7B629NGXP35C7HY4R6JGAJ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KP7B6MX876Q5DJGKSRBDXR2H
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KP7B6YR4N39DW45XX3HVBKRH
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KP7B759XJN18YD8RTVHVWSNB
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KP7B789YDM6EEJ3SB370QT0C
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KP7B7A7QYJ3HB65YQQMP7P9M
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KP7B7D8XA1AK4KWC9M2QFGE1

Details by Category

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

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 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.040s (+14.2% 🔺)1.005s (~)0.965s101.00x
💻 LocalNext.js (Turbopack)0.050s1.005s0.955s101.26x
🐘 PostgresNitro0.062s (+4.5%)1.011s (~)0.949s101.55x
🐘 PostgresNext.js (Turbopack)0.063s1.012s0.949s101.57x
🐘 PostgresExpress0.087s (+35.8% 🔺)1.009s (~)0.922s102.16x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.286s (-2.0%)2.156s (-13.0% 🟢)1.870s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.121s2.007s0.886s101.00x
💻 LocalExpress1.128s (+2.6%)2.005s (~)0.878s101.01x
🐘 PostgresNext.js (Turbopack)1.149s2.011s0.862s101.03x
🐘 PostgresNitro1.157s (+0.5%)2.011s (~)0.854s101.03x
🐘 PostgresExpress1.169s (+1.9%)2.025s (+0.8%)0.857s101.04x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.007s (+3.1%)3.784s (+7.5% 🔺)1.777s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.785s11.024s0.239s31.00x
🐘 PostgresNext.js (Turbopack)10.915s11.022s0.106s31.01x
🐘 PostgresNitro10.956s (~)11.027s (~)0.071s31.02x
💻 LocalExpress10.956s (+3.1%)11.025s (~)0.069s31.02x
🐘 PostgresExpress11.082s (+2.2%)11.713s (+6.3% 🔺)0.631s31.03x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.107s (~)19.981s (+1.3%)1.874s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)14.650s15.029s0.379s41.00x
🐘 PostgresNitro14.683s (+0.7%)15.027s (~)0.344s41.00x
🐘 PostgresNext.js (Turbopack)14.725s15.024s0.300s41.01x
🐘 PostgresExpress14.973s (+3.5%)15.775s (+5.0% 🔺)0.802s41.02x
💻 LocalExpress14.998s (+5.5% 🔺)15.279s (+1.7%)0.281s41.02x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro32.351s (-5.7% 🟢)34.063s (-7.1% 🟢)1.712s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.975s (+0.7%)14.459s (+3.1%)0.484s71.00x
🐘 PostgresNext.js (Turbopack)14.094s14.594s0.500s71.01x
🐘 PostgresNitro14.308s (+1.2%)15.023s (+0.9%)0.714s61.02x
💻 LocalNext.js (Turbopack)16.138s17.032s0.894s61.15x
💻 LocalExpress16.616s (+11.7% 🔺)17.031s (+13.3% 🔺)0.415s61.19x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro60.403s (+2.8%)63.120s (+4.3%)2.717s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.237s2.009s0.772s151.00x
🐘 PostgresExpress1.246s (-2.6%)2.008s (~)0.762s151.01x
🐘 PostgresNitro1.296s (-1.0%)2.010s (~)0.714s151.05x
💻 LocalExpress1.489s (+1.5%)2.005s (~)0.516s151.20x
💻 LocalNext.js (Turbopack)1.523s2.006s0.484s151.23x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.491s (-2.9%)4.120s (-4.7%)1.628s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.267s (-2.7%)3.009s (~)0.742s101.00x
🐘 PostgresNitro2.356s (~)3.010s (~)0.654s101.04x
🐘 PostgresNext.js (Turbopack)2.419s3.011s0.592s101.07x
💻 LocalNext.js (Turbopack)2.918s3.309s0.391s101.29x
💻 LocalExpress2.979s (+8.0% 🔺)3.674s (+18.2% 🔺)0.695s91.31x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.676s (+2.0%)4.249s (+2.2%)1.574s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.499s (+1.0%)4.012s (~)0.513s81.00x
🐘 PostgresNitro3.500s (~)4.013s (~)0.513s81.00x
🐘 PostgresNext.js (Turbopack)3.697s4.012s0.314s81.06x
💻 LocalNext.js (Turbopack)7.775s8.518s0.743s42.22x
💻 LocalExpress8.327s (+19.4% 🔺)9.021s (+21.6% 🔺)0.694s42.38x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.529s (-12.5% 🟢)5.117s (-8.1% 🟢)1.588s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.223s2.009s0.786s151.00x
🐘 PostgresNitro1.286s (+2.7%)2.010s (~)0.724s151.05x
🐘 PostgresExpress1.295s (+2.8%)2.006s (~)0.711s151.06x
💻 LocalNext.js (Turbopack)1.531s2.006s0.475s151.25x
💻 LocalExpress1.537s (+3.1%)2.006s (~)0.470s151.26x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro78.300s (+3226.4% 🔺)79.830s (+1858.5% 🔺)1.531s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.266s (-3.2%)3.009s (~)0.743s101.00x
🐘 PostgresNitro2.362s (+1.8%)3.010s (~)0.648s101.04x
🐘 PostgresNext.js (Turbopack)2.427s3.009s0.582s101.07x
💻 LocalNext.js (Turbopack)2.866s3.454s0.587s91.26x
💻 LocalExpress2.967s (+12.1% 🔺)3.677s (+22.2% 🔺)0.709s91.31x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.131s (+20.8% 🔺)5.000s (+23.4% 🔺)1.869s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.482s (+1.4%)4.011s (~)0.529s81.00x
🐘 PostgresExpress3.495s (+0.6%)4.010s (~)0.515s81.00x
🐘 PostgresNext.js (Turbopack)3.743s4.013s0.270s81.08x
💻 LocalNext.js (Turbopack)8.387s8.768s0.381s42.41x
💻 LocalExpress8.685s (+18.5% 🔺)9.523s (+18.8% 🔺)0.838s42.49x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.451s (-40.9% 🟢)5.198s (-29.2% 🟢)1.747s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.758s (-9.5% 🟢)1.077s (+5.3% 🔺)0.319s561.00x
🐘 PostgresNitro0.836s (+3.0%)1.006s (~)0.171s601.10x
🐘 PostgresNext.js (Turbopack)0.843s1.024s0.181s591.11x
💻 LocalNext.js (Turbopack)0.855s1.004s0.150s601.13x
💻 LocalExpress1.088s (+57.7% 🔺)1.276s (+27.0% 🔺)0.188s481.43x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro10.294s (+0.6%)12.175s (+0.9%)1.881s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.862s (-4.5%)2.310s (+7.4% 🔺)0.448s401.00x
🐘 PostgresNitro2.027s (+5.0%)2.638s (+24.2% 🔺)0.610s351.09x
🐘 PostgresNext.js (Turbopack)2.078s2.946s0.868s311.12x
💻 LocalNext.js (Turbopack)2.728s3.008s0.279s301.47x
💻 LocalExpress3.024s (+35.5% 🔺)3.608s (+20.0% 🔺)0.584s251.62x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.544s (-4.7%)31.759s (-4.2%)2.214s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.656s (-7.0% 🟢)4.330s (+2.7%)0.674s291.00x
🐘 PostgresNitro4.155s (+5.1% 🔺)5.012s (+17.9% 🔺)0.857s241.14x
🐘 PostgresNext.js (Turbopack)4.214s5.013s0.799s241.15x
💻 LocalNext.js (Turbopack)8.721s9.018s0.297s142.39x
💻 LocalExpress9.221s (+26.3% 🔺)9.942s (+24.0% 🔺)0.720s132.52x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro77.662s (-9.7% 🟢)79.437s (-9.7% 🟢)1.775s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.256s1.008s0.751s601.00x
🐘 PostgresExpress0.289s (+3.8%)1.006s (~)0.717s601.13x
🐘 PostgresNitro0.302s (+8.6% 🔺)1.007s (~)0.705s601.18x
💻 LocalExpress0.579s (+5.2% 🔺)1.004s (~)0.425s602.26x
💻 LocalNext.js (Turbopack)0.597s1.022s0.425s592.33x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.027s (+30.9% 🔺)3.651s (+10.8% 🔺)1.624s171.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.462s (-6.3% 🟢)1.042s (+3.5%)0.580s871.00x
🐘 PostgresNext.js (Turbopack)0.508s1.007s0.499s901.10x
🐘 PostgresNitro0.539s (+11.8% 🔺)1.007s (~)0.469s901.17x
💻 LocalExpress2.512s (+5.4% 🔺)3.008s (~)0.497s305.44x
💻 LocalNext.js (Turbopack)2.570s3.009s0.438s305.57x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.790s (-1.7%)4.324s (-4.4%)1.534s211.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.804s (+3.1%)1.241s (+23.3% 🔺)0.437s971.00x
🐘 PostgresNext.js (Turbopack)0.821s1.008s0.187s1201.02x
🐘 PostgresNitro0.857s (+6.8% 🔺)1.010s (~)0.153s1191.07x
💻 LocalNext.js (Turbopack)10.866s11.392s0.527s1113.51x
💻 LocalExpress11.137s (+9.4% 🔺)11.847s (+10.8% 🔺)0.711s1113.85x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.896s (-3.4%)8.526s (-1.3%)1.630s151.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.177s1.003s0.012s1.018s0.840s101.00x
💻 LocalExpress0.199s (+43.6% 🔺)1.004s (~)0.012s (+20.4% 🔺)1.018s (~)0.819s101.12x
🐘 PostgresNext.js (Turbopack)0.202s1.001s0.002s1.010s0.808s101.14x
🐘 PostgresExpress0.211s (-1.3%)0.999s (+0.7%)0.006s (+293.3% 🔺)1.014s (~)0.803s101.19x
🐘 PostgresNitro0.225s (+8.5% 🔺)0.997s (~)0.002s (+100.0% 🔺)1.011s (~)0.786s101.27x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.512s (+60.1% 🔺)3.983s (+27.3% 🔺)0.936s (+14.4% 🔺)5.423s (+20.7% 🔺)2.911s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.595s (-2.9%)1.039s (+2.0%)0.007s (+142.6% 🔺)1.058s (+2.0%)0.462s571.00x
🐘 PostgresNitro0.656s (+6.8% 🔺)1.005s (~)0.005s (+27.0% 🔺)1.024s (~)0.368s591.10x
🐘 PostgresNext.js (Turbopack)0.679s1.027s0.005s1.043s0.364s591.14x
💻 LocalExpress0.822s (+5.8% 🔺)1.011s (~)0.010s (+3.7%)1.116s (-9.1% 🟢)0.294s541.38x
💻 LocalNext.js (Turbopack)0.867s1.012s0.009s1.229s0.361s491.46x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.975s (+18.9% 🔺)6.764s (+21.6% 🔺)0.297s (+33.4% 🔺)7.484s (+20.7% 🔺)2.509s91.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.011s (+6.6% 🔺)1.195s (+6.4% 🔺)0.000s (+218.0% 🔺)1.216s (+5.8% 🔺)0.205s501.00x
🐘 PostgresNext.js (Turbopack)1.019s1.406s0.000s1.429s0.410s421.01x
🐘 PostgresNitro1.047s (+10.1% 🔺)1.534s (+36.8% 🔺)0.000s (+Infinity% 🔺)1.549s (+36.4% 🔺)0.501s391.04x
💻 LocalExpress1.239s (+8.6% 🔺)2.022s (~)0.001s (+87.5% 🔺)2.024s (~)0.785s301.23x
💻 LocalNext.js (Turbopack)1.243s2.019s0.000s2.021s0.778s301.23x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.209s (+8.4% 🔺)4.603s (+5.4% 🔺)0.000s (-100.0% 🟢)5.067s (+6.0% 🔺)1.857s121.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.875s (+9.6% 🔺)2.178s (+5.3% 🔺)0.000s (-100.0% 🟢)2.190s (+2.9%)0.315s281.00x
🐘 PostgresExpress1.903s (+8.8% 🔺)2.401s (+14.4% 🔺)0.000s (-42.0% 🟢)2.434s (+15.2% 🔺)0.531s251.02x
🐘 PostgresNext.js (Turbopack)1.974s2.224s0.000s2.233s0.260s271.05x
💻 LocalNext.js (Turbopack)3.600s4.164s0.001s4.168s0.567s151.92x
💻 LocalExpress3.613s (+5.3% 🔺)4.167s (+6.7% 🔺)0.000s (-23.8% 🟢)4.169s (+6.7% 🔺)0.556s151.93x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.889s (+16.0% 🔺)6.469s (+20.1% 🔺)0.000s (-79.6% 🟢)6.884s (+19.2% 🔺)1.996s91.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)15/21
🐘 PostgresExpress11/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@VaguelySerious
VaguelySerious marked this pull request as ready for review April 15, 2026 01:32
@VaguelySerious
VaguelySerious requested a review from a team as a code ownerApril 15, 2026 01:32
@VaguelySeriousVaguelySerious added the backport-stable Cherry-pick this PR to the stable branch when merged label Apr 15, 2026

@karthikscale3karthikscale3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

My only concern with this change is, if it goes through the retry loops, the queue retries after 300seconds and if it goes through 3 full retries, o11y will show that it was stuck in the queue for ~15minutes before either succeeding or failing. This will cause a bit of confusion. Also, should we introduce a run_retrying state to persist this state?

@VaguelySerious

Copy link
Copy Markdown
MemberAuthor

@karthikscale3 This would only happen for runs which get stuck, so it shouldn't be a common occurrence, and it's better than failing due to a single delayed replay (if it's temporary, and the second would work)

@karthikscale3

Copy link
Copy Markdown
Contributor

@karthikscale3 This would only happen for runs which get stuck, so it shouldn't be a common occurrence, and it's better than failing due to a single delayed replay (if it's temporary, and the second would work)

Makes sense and sounds reasonable. I will let @TooTallNate and @pranaygp to weigh in too.

@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.

Clean, well-targeted change. The logic is correct:

  • On attempts 1–3 (metadata.attempt <= REPLAY_TIMEOUT_MAX_RETRIES): process.exit(1) without writing run_failed. The message isn't acked, so the queue retries with an incremented attempt counter.
  • On attempt 4+: writes run_failed then exits. Same behavior as before this PR.

This is strictly more lenient than the previous behavior (immediate failure on first timeout) — it can only help, not hurt. Transient slowness (e.g., cold start + large event log) that causes a one-off timeout now gets retried instead of permanently failing the run.

The timeout retry budget (3 attempts) is drawn from the same metadata.attempt counter as MAX_QUEUE_DELIVERIES (48), so messages that have already been retried for other reasons get fewer timeout grace attempts. This is reasonable — a message already at attempt 10 has had plenty of chances.

Changeset is properly scoped.

@VaguelySerious
VaguelySerious merged commit 0810b75 into mainApr 15, 2026
177 of 188 checks passed
@VaguelySerious
VaguelySerious deleted the peter/runtime-timeout-triple-retry branch April 15, 2026 21:26
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick had conflicts that could not be resolved automatically.

To resolve manually:

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

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

Copy link
Copy Markdown

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

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

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

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

[core] Re-try runtime replays that exceed deadline up to three times - #1740

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/runtime-timeout-triple-retry
Apr 15, 2026
Merged

[core] Re-try runtime replays that exceed deadline up to three times#1740
VaguelySerious merged 1 commit into
mainfrom
peter/runtime-timeout-triple-retry

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

No description provided.

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

vercelBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0be6831

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

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

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

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

@github-actions

github-actionsBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

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

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • 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_01KP7B7A7QYJ3HB65YQQMP7P9M

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • 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_01KP7B7A7QYJ3HB65YQQMP7P9M

turso (60 failed):

  • addTenWorkflow | wrun_01KP7AS1TVT6N4PFJZ0VQPEY9G
  • addTenWorkflow | wrun_01KP7AS1TVT6N4PFJZ0VQPEY9G
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KP7ATBN010646TM91Z0J2KCN
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KP7AS8PWTHZY5VWE8QKWD7T2
  • promiseRaceWorkflow | wrun_01KP7ASF4Y42CE2P08VZ0X7D32
  • promiseAnyWorkflow | wrun_01KP7ASH0JC28PCK6HPBMTTK3Y
  • importedStepOnlyWorkflow | wrun_01KP7ATSTCC6VSSK1YXGGBZ9GT
  • hookWorkflow | wrun_01KP7ASWT4T4DQXDR4GKBEY3NB
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • sleepingWorkflow | wrun_01KP7ATPFV02AMPASVD8EQYW38
  • parallelSleepWorkflow | wrun_01KP7AV2JH6NPWGQDKEX6XV61H
  • nullByteWorkflow | wrun_01KP7AV6PMF3FHYMWD8ZRYBRFH
  • workflowAndStepMetadataWorkflow | wrun_01KP7AV8KCCPMTHQMF14EWZQT4
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • promiseRaceStressTestWorkflow | wrun_01KP7AXY172T066FSSN5PAGFF5
  • 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_01KP7B0ZT288MHG76ECCGE27BK
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KP7B24ZX7E9SZ3YDQA8960S2
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KP7B2PQJFD50A1EN4NZSGYG2
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KP7B2Y30RDCWW54FE1114HGG
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KP7B32MR0MYBZJ8W1E7DSE1T
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KP7B34MQEYY51PHK09RYNJ2T
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KP7B3DRFR27GFA9WB424H24K
  • 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_01KP7B3TATBNZEB033YWMNANH4
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KP7B3YW92J8WK23VPN9QY311
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KP7B43AV4WT5XS3RJ47H447R
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KP7B48Z9N9D5WX8MA3DMY55J
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KP7B4ET7WVYX5YRD7JA7Z6N0
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KP7B4MDCTHKKP1GYV0S1ANJ0
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KP7B4SWEVRKR1AH0SW74D61C
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KP7B52855R8YCC5QB2C0KRFH
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KP7B5A6YCVNQ33FJ16S4HS6Q
  • cancelRun - cancelling a running workflow | wrun_01KP7B5FQRGJJ8KFRXH9TS7HVC
  • cancelRun via CLI - cancelling a running workflow | wrun_01KP7B5R36QBDYXNGT9H1AJ7Z0
  • 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_01KP7B629NGXP35C7HY4R6JGAJ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KP7B6MX876Q5DJGKSRBDXR2H
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KP7B6YR4N39DW45XX3HVBKRH
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KP7B759XJN18YD8RTVHVWSNB
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KP7B789YDM6EEJ3SB370QT0C
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KP7B7A7QYJ3HB65YQQMP7P9M
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KP7B7D8XA1AK4KWC9M2QFGE1

Details by Category

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

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 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.040s (+14.2% 🔺)1.005s (~)0.965s101.00x
💻 LocalNext.js (Turbopack)0.050s1.005s0.955s101.26x
🐘 PostgresNitro0.062s (+4.5%)1.011s (~)0.949s101.55x
🐘 PostgresNext.js (Turbopack)0.063s1.012s0.949s101.57x
🐘 PostgresExpress0.087s (+35.8% 🔺)1.009s (~)0.922s102.16x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.286s (-2.0%)2.156s (-13.0% 🟢)1.870s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.121s2.007s0.886s101.00x
💻 LocalExpress1.128s (+2.6%)2.005s (~)0.878s101.01x
🐘 PostgresNext.js (Turbopack)1.149s2.011s0.862s101.03x
🐘 PostgresNitro1.157s (+0.5%)2.011s (~)0.854s101.03x
🐘 PostgresExpress1.169s (+1.9%)2.025s (+0.8%)0.857s101.04x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.007s (+3.1%)3.784s (+7.5% 🔺)1.777s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.785s11.024s0.239s31.00x
🐘 PostgresNext.js (Turbopack)10.915s11.022s0.106s31.01x
🐘 PostgresNitro10.956s (~)11.027s (~)0.071s31.02x
💻 LocalExpress10.956s (+3.1%)11.025s (~)0.069s31.02x
🐘 PostgresExpress11.082s (+2.2%)11.713s (+6.3% 🔺)0.631s31.03x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.107s (~)19.981s (+1.3%)1.874s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)14.650s15.029s0.379s41.00x
🐘 PostgresNitro14.683s (+0.7%)15.027s (~)0.344s41.00x
🐘 PostgresNext.js (Turbopack)14.725s15.024s0.300s41.01x
🐘 PostgresExpress14.973s (+3.5%)15.775s (+5.0% 🔺)0.802s41.02x
💻 LocalExpress14.998s (+5.5% 🔺)15.279s (+1.7%)0.281s41.02x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro32.351s (-5.7% 🟢)34.063s (-7.1% 🟢)1.712s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.975s (+0.7%)14.459s (+3.1%)0.484s71.00x
🐘 PostgresNext.js (Turbopack)14.094s14.594s0.500s71.01x
🐘 PostgresNitro14.308s (+1.2%)15.023s (+0.9%)0.714s61.02x
💻 LocalNext.js (Turbopack)16.138s17.032s0.894s61.15x
💻 LocalExpress16.616s (+11.7% 🔺)17.031s (+13.3% 🔺)0.415s61.19x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro60.403s (+2.8%)63.120s (+4.3%)2.717s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.237s2.009s0.772s151.00x
🐘 PostgresExpress1.246s (-2.6%)2.008s (~)0.762s151.01x
🐘 PostgresNitro1.296s (-1.0%)2.010s (~)0.714s151.05x
💻 LocalExpress1.489s (+1.5%)2.005s (~)0.516s151.20x
💻 LocalNext.js (Turbopack)1.523s2.006s0.484s151.23x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.491s (-2.9%)4.120s (-4.7%)1.628s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.267s (-2.7%)3.009s (~)0.742s101.00x
🐘 PostgresNitro2.356s (~)3.010s (~)0.654s101.04x
🐘 PostgresNext.js (Turbopack)2.419s3.011s0.592s101.07x
💻 LocalNext.js (Turbopack)2.918s3.309s0.391s101.29x
💻 LocalExpress2.979s (+8.0% 🔺)3.674s (+18.2% 🔺)0.695s91.31x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.676s (+2.0%)4.249s (+2.2%)1.574s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.499s (+1.0%)4.012s (~)0.513s81.00x
🐘 PostgresNitro3.500s (~)4.013s (~)0.513s81.00x
🐘 PostgresNext.js (Turbopack)3.697s4.012s0.314s81.06x
💻 LocalNext.js (Turbopack)7.775s8.518s0.743s42.22x
💻 LocalExpress8.327s (+19.4% 🔺)9.021s (+21.6% 🔺)0.694s42.38x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.529s (-12.5% 🟢)5.117s (-8.1% 🟢)1.588s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.223s2.009s0.786s151.00x
🐘 PostgresNitro1.286s (+2.7%)2.010s (~)0.724s151.05x
🐘 PostgresExpress1.295s (+2.8%)2.006s (~)0.711s151.06x
💻 LocalNext.js (Turbopack)1.531s2.006s0.475s151.25x
💻 LocalExpress1.537s (+3.1%)2.006s (~)0.470s151.26x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro78.300s (+3226.4% 🔺)79.830s (+1858.5% 🔺)1.531s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.266s (-3.2%)3.009s (~)0.743s101.00x
🐘 PostgresNitro2.362s (+1.8%)3.010s (~)0.648s101.04x
🐘 PostgresNext.js (Turbopack)2.427s3.009s0.582s101.07x
💻 LocalNext.js (Turbopack)2.866s3.454s0.587s91.26x
💻 LocalExpress2.967s (+12.1% 🔺)3.677s (+22.2% 🔺)0.709s91.31x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.131s (+20.8% 🔺)5.000s (+23.4% 🔺)1.869s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.482s (+1.4%)4.011s (~)0.529s81.00x
🐘 PostgresExpress3.495s (+0.6%)4.010s (~)0.515s81.00x
🐘 PostgresNext.js (Turbopack)3.743s4.013s0.270s81.08x
💻 LocalNext.js (Turbopack)8.387s8.768s0.381s42.41x
💻 LocalExpress8.685s (+18.5% 🔺)9.523s (+18.8% 🔺)0.838s42.49x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.451s (-40.9% 🟢)5.198s (-29.2% 🟢)1.747s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.758s (-9.5% 🟢)1.077s (+5.3% 🔺)0.319s561.00x
🐘 PostgresNitro0.836s (+3.0%)1.006s (~)0.171s601.10x
🐘 PostgresNext.js (Turbopack)0.843s1.024s0.181s591.11x
💻 LocalNext.js (Turbopack)0.855s1.004s0.150s601.13x
💻 LocalExpress1.088s (+57.7% 🔺)1.276s (+27.0% 🔺)0.188s481.43x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro10.294s (+0.6%)12.175s (+0.9%)1.881s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.862s (-4.5%)2.310s (+7.4% 🔺)0.448s401.00x
🐘 PostgresNitro2.027s (+5.0%)2.638s (+24.2% 🔺)0.610s351.09x
🐘 PostgresNext.js (Turbopack)2.078s2.946s0.868s311.12x
💻 LocalNext.js (Turbopack)2.728s3.008s0.279s301.47x
💻 LocalExpress3.024s (+35.5% 🔺)3.608s (+20.0% 🔺)0.584s251.62x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.544s (-4.7%)31.759s (-4.2%)2.214s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.656s (-7.0% 🟢)4.330s (+2.7%)0.674s291.00x
🐘 PostgresNitro4.155s (+5.1% 🔺)5.012s (+17.9% 🔺)0.857s241.14x
🐘 PostgresNext.js (Turbopack)4.214s5.013s0.799s241.15x
💻 LocalNext.js (Turbopack)8.721s9.018s0.297s142.39x
💻 LocalExpress9.221s (+26.3% 🔺)9.942s (+24.0% 🔺)0.720s132.52x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro77.662s (-9.7% 🟢)79.437s (-9.7% 🟢)1.775s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.256s1.008s0.751s601.00x
🐘 PostgresExpress0.289s (+3.8%)1.006s (~)0.717s601.13x
🐘 PostgresNitro0.302s (+8.6% 🔺)1.007s (~)0.705s601.18x
💻 LocalExpress0.579s (+5.2% 🔺)1.004s (~)0.425s602.26x
💻 LocalNext.js (Turbopack)0.597s1.022s0.425s592.33x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.027s (+30.9% 🔺)3.651s (+10.8% 🔺)1.624s171.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.462s (-6.3% 🟢)1.042s (+3.5%)0.580s871.00x
🐘 PostgresNext.js (Turbopack)0.508s1.007s0.499s901.10x
🐘 PostgresNitro0.539s (+11.8% 🔺)1.007s (~)0.469s901.17x
💻 LocalExpress2.512s (+5.4% 🔺)3.008s (~)0.497s305.44x
💻 LocalNext.js (Turbopack)2.570s3.009s0.438s305.57x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.790s (-1.7%)4.324s (-4.4%)1.534s211.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.804s (+3.1%)1.241s (+23.3% 🔺)0.437s971.00x
🐘 PostgresNext.js (Turbopack)0.821s1.008s0.187s1201.02x
🐘 PostgresNitro0.857s (+6.8% 🔺)1.010s (~)0.153s1191.07x
💻 LocalNext.js (Turbopack)10.866s11.392s0.527s1113.51x
💻 LocalExpress11.137s (+9.4% 🔺)11.847s (+10.8% 🔺)0.711s1113.85x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.896s (-3.4%)8.526s (-1.3%)1.630s151.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.177s1.003s0.012s1.018s0.840s101.00x
💻 LocalExpress0.199s (+43.6% 🔺)1.004s (~)0.012s (+20.4% 🔺)1.018s (~)0.819s101.12x
🐘 PostgresNext.js (Turbopack)0.202s1.001s0.002s1.010s0.808s101.14x
🐘 PostgresExpress0.211s (-1.3%)0.999s (+0.7%)0.006s (+293.3% 🔺)1.014s (~)0.803s101.19x
🐘 PostgresNitro0.225s (+8.5% 🔺)0.997s (~)0.002s (+100.0% 🔺)1.011s (~)0.786s101.27x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.512s (+60.1% 🔺)3.983s (+27.3% 🔺)0.936s (+14.4% 🔺)5.423s (+20.7% 🔺)2.911s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.595s (-2.9%)1.039s (+2.0%)0.007s (+142.6% 🔺)1.058s (+2.0%)0.462s571.00x
🐘 PostgresNitro0.656s (+6.8% 🔺)1.005s (~)0.005s (+27.0% 🔺)1.024s (~)0.368s591.10x
🐘 PostgresNext.js (Turbopack)0.679s1.027s0.005s1.043s0.364s591.14x
💻 LocalExpress0.822s (+5.8% 🔺)1.011s (~)0.010s (+3.7%)1.116s (-9.1% 🟢)0.294s541.38x
💻 LocalNext.js (Turbopack)0.867s1.012s0.009s1.229s0.361s491.46x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.975s (+18.9% 🔺)6.764s (+21.6% 🔺)0.297s (+33.4% 🔺)7.484s (+20.7% 🔺)2.509s91.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.011s (+6.6% 🔺)1.195s (+6.4% 🔺)0.000s (+218.0% 🔺)1.216s (+5.8% 🔺)0.205s501.00x
🐘 PostgresNext.js (Turbopack)1.019s1.406s0.000s1.429s0.410s421.01x
🐘 PostgresNitro1.047s (+10.1% 🔺)1.534s (+36.8% 🔺)0.000s (+Infinity% 🔺)1.549s (+36.4% 🔺)0.501s391.04x
💻 LocalExpress1.239s (+8.6% 🔺)2.022s (~)0.001s (+87.5% 🔺)2.024s (~)0.785s301.23x
💻 LocalNext.js (Turbopack)1.243s2.019s0.000s2.021s0.778s301.23x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.209s (+8.4% 🔺)4.603s (+5.4% 🔺)0.000s (-100.0% 🟢)5.067s (+6.0% 🔺)1.857s121.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.875s (+9.6% 🔺)2.178s (+5.3% 🔺)0.000s (-100.0% 🟢)2.190s (+2.9%)0.315s281.00x
🐘 PostgresExpress1.903s (+8.8% 🔺)2.401s (+14.4% 🔺)0.000s (-42.0% 🟢)2.434s (+15.2% 🔺)0.531s251.02x
🐘 PostgresNext.js (Turbopack)1.974s2.224s0.000s2.233s0.260s271.05x
💻 LocalNext.js (Turbopack)3.600s4.164s0.001s4.168s0.567s151.92x
💻 LocalExpress3.613s (+5.3% 🔺)4.167s (+6.7% 🔺)0.000s (-23.8% 🟢)4.169s (+6.7% 🔺)0.556s151.93x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.889s (+16.0% 🔺)6.469s (+20.1% 🔺)0.000s (-79.6% 🟢)6.884s (+19.2% 🔺)1.996s91.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)15/21
🐘 PostgresExpress11/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@VaguelySerious
VaguelySerious marked this pull request as ready for review April 15, 2026 01:32
@VaguelySerious
VaguelySerious requested a review from a team as a code ownerApril 15, 2026 01:32
@VaguelySeriousVaguelySerious added the backport-stable Cherry-pick this PR to the stable branch when merged label Apr 15, 2026

@karthikscale3karthikscale3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

My only concern with this change is, if it goes through the retry loops, the queue retries after 300seconds and if it goes through 3 full retries, o11y will show that it was stuck in the queue for ~15minutes before either succeeding or failing. This will cause a bit of confusion. Also, should we introduce a run_retrying state to persist this state?

@VaguelySerious

Copy link
Copy Markdown
MemberAuthor

@karthikscale3 This would only happen for runs which get stuck, so it shouldn't be a common occurrence, and it's better than failing due to a single delayed replay (if it's temporary, and the second would work)

@karthikscale3

Copy link
Copy Markdown
Contributor

@karthikscale3 This would only happen for runs which get stuck, so it shouldn't be a common occurrence, and it's better than failing due to a single delayed replay (if it's temporary, and the second would work)

Makes sense and sounds reasonable. I will let @TooTallNate and @pranaygp to weigh in too.

@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.

Clean, well-targeted change. The logic is correct:

  • On attempts 1–3 (metadata.attempt <= REPLAY_TIMEOUT_MAX_RETRIES): process.exit(1) without writing run_failed. The message isn't acked, so the queue retries with an incremented attempt counter.
  • On attempt 4+: writes run_failed then exits. Same behavior as before this PR.

This is strictly more lenient than the previous behavior (immediate failure on first timeout) — it can only help, not hurt. Transient slowness (e.g., cold start + large event log) that causes a one-off timeout now gets retried instead of permanently failing the run.

The timeout retry budget (3 attempts) is drawn from the same metadata.attempt counter as MAX_QUEUE_DELIVERIES (48), so messages that have already been retried for other reasons get fewer timeout grace attempts. This is reasonable — a message already at attempt 10 has had plenty of chances.

Changeset is properly scoped.

@VaguelySerious
VaguelySerious merged commit 0810b75 into mainApr 15, 2026
177 of 188 checks passed
@VaguelySerious
VaguelySerious deleted the peter/runtime-timeout-triple-retry branch April 15, 2026 21:26
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick had conflicts that could not be resolved automatically.

To resolve manually:

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

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

Copy link
Copy Markdown

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

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

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

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

[core] Re-try runtime replays that exceed deadline up to three times - #1740

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/runtime-timeout-triple-retry
Apr 15, 2026
Merged

[core] Re-try runtime replays that exceed deadline up to three times#1740
VaguelySerious merged 1 commit into
mainfrom
peter/runtime-timeout-triple-retry

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

No description provided.

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

vercelBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0be6831

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

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

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

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

@github-actions

github-actionsBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

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

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • 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_01KP7B7A7QYJ3HB65YQQMP7P9M

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • 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_01KP7B7A7QYJ3HB65YQQMP7P9M

turso (60 failed):

  • addTenWorkflow | wrun_01KP7AS1TVT6N4PFJZ0VQPEY9G
  • addTenWorkflow | wrun_01KP7AS1TVT6N4PFJZ0VQPEY9G
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KP7ATBN010646TM91Z0J2KCN
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KP7AS8PWTHZY5VWE8QKWD7T2
  • promiseRaceWorkflow | wrun_01KP7ASF4Y42CE2P08VZ0X7D32
  • promiseAnyWorkflow | wrun_01KP7ASH0JC28PCK6HPBMTTK3Y
  • importedStepOnlyWorkflow | wrun_01KP7ATSTCC6VSSK1YXGGBZ9GT
  • hookWorkflow | wrun_01KP7ASWT4T4DQXDR4GKBEY3NB
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • sleepingWorkflow | wrun_01KP7ATPFV02AMPASVD8EQYW38
  • parallelSleepWorkflow | wrun_01KP7AV2JH6NPWGQDKEX6XV61H
  • nullByteWorkflow | wrun_01KP7AV6PMF3FHYMWD8ZRYBRFH
  • workflowAndStepMetadataWorkflow | wrun_01KP7AV8KCCPMTHQMF14EWZQT4
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • promiseRaceStressTestWorkflow | wrun_01KP7AXY172T066FSSN5PAGFF5
  • 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_01KP7B0ZT288MHG76ECCGE27BK
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KP7B24ZX7E9SZ3YDQA8960S2
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KP7B2PQJFD50A1EN4NZSGYG2
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KP7B2Y30RDCWW54FE1114HGG
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KP7B32MR0MYBZJ8W1E7DSE1T
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KP7B34MQEYY51PHK09RYNJ2T
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KP7B3DRFR27GFA9WB424H24K
  • 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_01KP7B3TATBNZEB033YWMNANH4
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KP7B3YW92J8WK23VPN9QY311
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KP7B43AV4WT5XS3RJ47H447R
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KP7B48Z9N9D5WX8MA3DMY55J
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KP7B4ET7WVYX5YRD7JA7Z6N0
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KP7B4MDCTHKKP1GYV0S1ANJ0
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KP7B4SWEVRKR1AH0SW74D61C
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KP7B52855R8YCC5QB2C0KRFH
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KP7B5A6YCVNQ33FJ16S4HS6Q
  • cancelRun - cancelling a running workflow | wrun_01KP7B5FQRGJJ8KFRXH9TS7HVC
  • cancelRun via CLI - cancelling a running workflow | wrun_01KP7B5R36QBDYXNGT9H1AJ7Z0
  • 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_01KP7B629NGXP35C7HY4R6JGAJ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KP7B6MX876Q5DJGKSRBDXR2H
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KP7B6YR4N39DW45XX3HVBKRH
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KP7B759XJN18YD8RTVHVWSNB
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KP7B789YDM6EEJ3SB370QT0C
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KP7B7A7QYJ3HB65YQQMP7P9M
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KP7B7D8XA1AK4KWC9M2QFGE1

Details by Category

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

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 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.040s (+14.2% 🔺)1.005s (~)0.965s101.00x
💻 LocalNext.js (Turbopack)0.050s1.005s0.955s101.26x
🐘 PostgresNitro0.062s (+4.5%)1.011s (~)0.949s101.55x
🐘 PostgresNext.js (Turbopack)0.063s1.012s0.949s101.57x
🐘 PostgresExpress0.087s (+35.8% 🔺)1.009s (~)0.922s102.16x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.286s (-2.0%)2.156s (-13.0% 🟢)1.870s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.121s2.007s0.886s101.00x
💻 LocalExpress1.128s (+2.6%)2.005s (~)0.878s101.01x
🐘 PostgresNext.js (Turbopack)1.149s2.011s0.862s101.03x
🐘 PostgresNitro1.157s (+0.5%)2.011s (~)0.854s101.03x
🐘 PostgresExpress1.169s (+1.9%)2.025s (+0.8%)0.857s101.04x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.007s (+3.1%)3.784s (+7.5% 🔺)1.777s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.785s11.024s0.239s31.00x
🐘 PostgresNext.js (Turbopack)10.915s11.022s0.106s31.01x
🐘 PostgresNitro10.956s (~)11.027s (~)0.071s31.02x
💻 LocalExpress10.956s (+3.1%)11.025s (~)0.069s31.02x
🐘 PostgresExpress11.082s (+2.2%)11.713s (+6.3% 🔺)0.631s31.03x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.107s (~)19.981s (+1.3%)1.874s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)14.650s15.029s0.379s41.00x
🐘 PostgresNitro14.683s (+0.7%)15.027s (~)0.344s41.00x
🐘 PostgresNext.js (Turbopack)14.725s15.024s0.300s41.01x
🐘 PostgresExpress14.973s (+3.5%)15.775s (+5.0% 🔺)0.802s41.02x
💻 LocalExpress14.998s (+5.5% 🔺)15.279s (+1.7%)0.281s41.02x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro32.351s (-5.7% 🟢)34.063s (-7.1% 🟢)1.712s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.975s (+0.7%)14.459s (+3.1%)0.484s71.00x
🐘 PostgresNext.js (Turbopack)14.094s14.594s0.500s71.01x
🐘 PostgresNitro14.308s (+1.2%)15.023s (+0.9%)0.714s61.02x
💻 LocalNext.js (Turbopack)16.138s17.032s0.894s61.15x
💻 LocalExpress16.616s (+11.7% 🔺)17.031s (+13.3% 🔺)0.415s61.19x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro60.403s (+2.8%)63.120s (+4.3%)2.717s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.237s2.009s0.772s151.00x
🐘 PostgresExpress1.246s (-2.6%)2.008s (~)0.762s151.01x
🐘 PostgresNitro1.296s (-1.0%)2.010s (~)0.714s151.05x
💻 LocalExpress1.489s (+1.5%)2.005s (~)0.516s151.20x
💻 LocalNext.js (Turbopack)1.523s2.006s0.484s151.23x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.491s (-2.9%)4.120s (-4.7%)1.628s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.267s (-2.7%)3.009s (~)0.742s101.00x
🐘 PostgresNitro2.356s (~)3.010s (~)0.654s101.04x
🐘 PostgresNext.js (Turbopack)2.419s3.011s0.592s101.07x
💻 LocalNext.js (Turbopack)2.918s3.309s0.391s101.29x
💻 LocalExpress2.979s (+8.0% 🔺)3.674s (+18.2% 🔺)0.695s91.31x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.676s (+2.0%)4.249s (+2.2%)1.574s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.499s (+1.0%)4.012s (~)0.513s81.00x
🐘 PostgresNitro3.500s (~)4.013s (~)0.513s81.00x
🐘 PostgresNext.js (Turbopack)3.697s4.012s0.314s81.06x
💻 LocalNext.js (Turbopack)7.775s8.518s0.743s42.22x
💻 LocalExpress8.327s (+19.4% 🔺)9.021s (+21.6% 🔺)0.694s42.38x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.529s (-12.5% 🟢)5.117s (-8.1% 🟢)1.588s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.223s2.009s0.786s151.00x
🐘 PostgresNitro1.286s (+2.7%)2.010s (~)0.724s151.05x
🐘 PostgresExpress1.295s (+2.8%)2.006s (~)0.711s151.06x
💻 LocalNext.js (Turbopack)1.531s2.006s0.475s151.25x
💻 LocalExpress1.537s (+3.1%)2.006s (~)0.470s151.26x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro78.300s (+3226.4% 🔺)79.830s (+1858.5% 🔺)1.531s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.266s (-3.2%)3.009s (~)0.743s101.00x
🐘 PostgresNitro2.362s (+1.8%)3.010s (~)0.648s101.04x
🐘 PostgresNext.js (Turbopack)2.427s3.009s0.582s101.07x
💻 LocalNext.js (Turbopack)2.866s3.454s0.587s91.26x
💻 LocalExpress2.967s (+12.1% 🔺)3.677s (+22.2% 🔺)0.709s91.31x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.131s (+20.8% 🔺)5.000s (+23.4% 🔺)1.869s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.482s (+1.4%)4.011s (~)0.529s81.00x
🐘 PostgresExpress3.495s (+0.6%)4.010s (~)0.515s81.00x
🐘 PostgresNext.js (Turbopack)3.743s4.013s0.270s81.08x
💻 LocalNext.js (Turbopack)8.387s8.768s0.381s42.41x
💻 LocalExpress8.685s (+18.5% 🔺)9.523s (+18.8% 🔺)0.838s42.49x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.451s (-40.9% 🟢)5.198s (-29.2% 🟢)1.747s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.758s (-9.5% 🟢)1.077s (+5.3% 🔺)0.319s561.00x
🐘 PostgresNitro0.836s (+3.0%)1.006s (~)0.171s601.10x
🐘 PostgresNext.js (Turbopack)0.843s1.024s0.181s591.11x
💻 LocalNext.js (Turbopack)0.855s1.004s0.150s601.13x
💻 LocalExpress1.088s (+57.7% 🔺)1.276s (+27.0% 🔺)0.188s481.43x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro10.294s (+0.6%)12.175s (+0.9%)1.881s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.862s (-4.5%)2.310s (+7.4% 🔺)0.448s401.00x
🐘 PostgresNitro2.027s (+5.0%)2.638s (+24.2% 🔺)0.610s351.09x
🐘 PostgresNext.js (Turbopack)2.078s2.946s0.868s311.12x
💻 LocalNext.js (Turbopack)2.728s3.008s0.279s301.47x
💻 LocalExpress3.024s (+35.5% 🔺)3.608s (+20.0% 🔺)0.584s251.62x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.544s (-4.7%)31.759s (-4.2%)2.214s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.656s (-7.0% 🟢)4.330s (+2.7%)0.674s291.00x
🐘 PostgresNitro4.155s (+5.1% 🔺)5.012s (+17.9% 🔺)0.857s241.14x
🐘 PostgresNext.js (Turbopack)4.214s5.013s0.799s241.15x
💻 LocalNext.js (Turbopack)8.721s9.018s0.297s142.39x
💻 LocalExpress9.221s (+26.3% 🔺)9.942s (+24.0% 🔺)0.720s132.52x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro77.662s (-9.7% 🟢)79.437s (-9.7% 🟢)1.775s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.256s1.008s0.751s601.00x
🐘 PostgresExpress0.289s (+3.8%)1.006s (~)0.717s601.13x
🐘 PostgresNitro0.302s (+8.6% 🔺)1.007s (~)0.705s601.18x
💻 LocalExpress0.579s (+5.2% 🔺)1.004s (~)0.425s602.26x
💻 LocalNext.js (Turbopack)0.597s1.022s0.425s592.33x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.027s (+30.9% 🔺)3.651s (+10.8% 🔺)1.624s171.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.462s (-6.3% 🟢)1.042s (+3.5%)0.580s871.00x
🐘 PostgresNext.js (Turbopack)0.508s1.007s0.499s901.10x
🐘 PostgresNitro0.539s (+11.8% 🔺)1.007s (~)0.469s901.17x
💻 LocalExpress2.512s (+5.4% 🔺)3.008s (~)0.497s305.44x
💻 LocalNext.js (Turbopack)2.570s3.009s0.438s305.57x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.790s (-1.7%)4.324s (-4.4%)1.534s211.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.804s (+3.1%)1.241s (+23.3% 🔺)0.437s971.00x
🐘 PostgresNext.js (Turbopack)0.821s1.008s0.187s1201.02x
🐘 PostgresNitro0.857s (+6.8% 🔺)1.010s (~)0.153s1191.07x
💻 LocalNext.js (Turbopack)10.866s11.392s0.527s1113.51x
💻 LocalExpress11.137s (+9.4% 🔺)11.847s (+10.8% 🔺)0.711s1113.85x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.896s (-3.4%)8.526s (-1.3%)1.630s151.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.177s1.003s0.012s1.018s0.840s101.00x
💻 LocalExpress0.199s (+43.6% 🔺)1.004s (~)0.012s (+20.4% 🔺)1.018s (~)0.819s101.12x
🐘 PostgresNext.js (Turbopack)0.202s1.001s0.002s1.010s0.808s101.14x
🐘 PostgresExpress0.211s (-1.3%)0.999s (+0.7%)0.006s (+293.3% 🔺)1.014s (~)0.803s101.19x
🐘 PostgresNitro0.225s (+8.5% 🔺)0.997s (~)0.002s (+100.0% 🔺)1.011s (~)0.786s101.27x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.512s (+60.1% 🔺)3.983s (+27.3% 🔺)0.936s (+14.4% 🔺)5.423s (+20.7% 🔺)2.911s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.595s (-2.9%)1.039s (+2.0%)0.007s (+142.6% 🔺)1.058s (+2.0%)0.462s571.00x
🐘 PostgresNitro0.656s (+6.8% 🔺)1.005s (~)0.005s (+27.0% 🔺)1.024s (~)0.368s591.10x
🐘 PostgresNext.js (Turbopack)0.679s1.027s0.005s1.043s0.364s591.14x
💻 LocalExpress0.822s (+5.8% 🔺)1.011s (~)0.010s (+3.7%)1.116s (-9.1% 🟢)0.294s541.38x
💻 LocalNext.js (Turbopack)0.867s1.012s0.009s1.229s0.361s491.46x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.975s (+18.9% 🔺)6.764s (+21.6% 🔺)0.297s (+33.4% 🔺)7.484s (+20.7% 🔺)2.509s91.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.011s (+6.6% 🔺)1.195s (+6.4% 🔺)0.000s (+218.0% 🔺)1.216s (+5.8% 🔺)0.205s501.00x
🐘 PostgresNext.js (Turbopack)1.019s1.406s0.000s1.429s0.410s421.01x
🐘 PostgresNitro1.047s (+10.1% 🔺)1.534s (+36.8% 🔺)0.000s (+Infinity% 🔺)1.549s (+36.4% 🔺)0.501s391.04x
💻 LocalExpress1.239s (+8.6% 🔺)2.022s (~)0.001s (+87.5% 🔺)2.024s (~)0.785s301.23x
💻 LocalNext.js (Turbopack)1.243s2.019s0.000s2.021s0.778s301.23x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.209s (+8.4% 🔺)4.603s (+5.4% 🔺)0.000s (-100.0% 🟢)5.067s (+6.0% 🔺)1.857s121.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.875s (+9.6% 🔺)2.178s (+5.3% 🔺)0.000s (-100.0% 🟢)2.190s (+2.9%)0.315s281.00x
🐘 PostgresExpress1.903s (+8.8% 🔺)2.401s (+14.4% 🔺)0.000s (-42.0% 🟢)2.434s (+15.2% 🔺)0.531s251.02x
🐘 PostgresNext.js (Turbopack)1.974s2.224s0.000s2.233s0.260s271.05x
💻 LocalNext.js (Turbopack)3.600s4.164s0.001s4.168s0.567s151.92x
💻 LocalExpress3.613s (+5.3% 🔺)4.167s (+6.7% 🔺)0.000s (-23.8% 🟢)4.169s (+6.7% 🔺)0.556s151.93x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.889s (+16.0% 🔺)6.469s (+20.1% 🔺)0.000s (-79.6% 🟢)6.884s (+19.2% 🔺)1.996s91.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)15/21
🐘 PostgresExpress11/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@VaguelySerious
VaguelySerious marked this pull request as ready for review April 15, 2026 01:32
@VaguelySerious
VaguelySerious requested a review from a team as a code ownerApril 15, 2026 01:32
@VaguelySeriousVaguelySerious added the backport-stable Cherry-pick this PR to the stable branch when merged label Apr 15, 2026

@karthikscale3karthikscale3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

My only concern with this change is, if it goes through the retry loops, the queue retries after 300seconds and if it goes through 3 full retries, o11y will show that it was stuck in the queue for ~15minutes before either succeeding or failing. This will cause a bit of confusion. Also, should we introduce a run_retrying state to persist this state?

@VaguelySerious

Copy link
Copy Markdown
MemberAuthor

@karthikscale3 This would only happen for runs which get stuck, so it shouldn't be a common occurrence, and it's better than failing due to a single delayed replay (if it's temporary, and the second would work)

@karthikscale3

Copy link
Copy Markdown
Contributor

@karthikscale3 This would only happen for runs which get stuck, so it shouldn't be a common occurrence, and it's better than failing due to a single delayed replay (if it's temporary, and the second would work)

Makes sense and sounds reasonable. I will let @TooTallNate and @pranaygp to weigh in too.

@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.

Clean, well-targeted change. The logic is correct:

  • On attempts 1–3 (metadata.attempt <= REPLAY_TIMEOUT_MAX_RETRIES): process.exit(1) without writing run_failed. The message isn't acked, so the queue retries with an incremented attempt counter.
  • On attempt 4+: writes run_failed then exits. Same behavior as before this PR.

This is strictly more lenient than the previous behavior (immediate failure on first timeout) — it can only help, not hurt. Transient slowness (e.g., cold start + large event log) that causes a one-off timeout now gets retried instead of permanently failing the run.

The timeout retry budget (3 attempts) is drawn from the same metadata.attempt counter as MAX_QUEUE_DELIVERIES (48), so messages that have already been retried for other reasons get fewer timeout grace attempts. This is reasonable — a message already at attempt 10 has had plenty of chances.

Changeset is properly scoped.

@VaguelySerious
VaguelySerious merged commit 0810b75 into mainApr 15, 2026
177 of 188 checks passed
@VaguelySerious
VaguelySerious deleted the peter/runtime-timeout-triple-retry branch April 15, 2026 21:26
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick had conflicts that could not be resolved automatically.

To resolve manually:

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

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

Copy link
Copy Markdown

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

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

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

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

[core] Re-try runtime replays that exceed deadline up to three times - #1740

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/runtime-timeout-triple-retry
Apr 15, 2026
Merged

[core] Re-try runtime replays that exceed deadline up to three times#1740
VaguelySerious merged 1 commit into
mainfrom
peter/runtime-timeout-triple-retry

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

No description provided.

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

vercelBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0be6831

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

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

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

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

@github-actions

github-actionsBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

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

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • 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_01KP7B7A7QYJ3HB65YQQMP7P9M

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • 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_01KP7B7A7QYJ3HB65YQQMP7P9M

turso (60 failed):

  • addTenWorkflow | wrun_01KP7AS1TVT6N4PFJZ0VQPEY9G
  • addTenWorkflow | wrun_01KP7AS1TVT6N4PFJZ0VQPEY9G
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KP7ATBN010646TM91Z0J2KCN
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KP7AS8PWTHZY5VWE8QKWD7T2
  • promiseRaceWorkflow | wrun_01KP7ASF4Y42CE2P08VZ0X7D32
  • promiseAnyWorkflow | wrun_01KP7ASH0JC28PCK6HPBMTTK3Y
  • importedStepOnlyWorkflow | wrun_01KP7ATSTCC6VSSK1YXGGBZ9GT
  • hookWorkflow | wrun_01KP7ASWT4T4DQXDR4GKBEY3NB
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • sleepingWorkflow | wrun_01KP7ATPFV02AMPASVD8EQYW38
  • parallelSleepWorkflow | wrun_01KP7AV2JH6NPWGQDKEX6XV61H
  • nullByteWorkflow | wrun_01KP7AV6PMF3FHYMWD8ZRYBRFH
  • workflowAndStepMetadataWorkflow | wrun_01KP7AV8KCCPMTHQMF14EWZQT4
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • promiseRaceStressTestWorkflow | wrun_01KP7AXY172T066FSSN5PAGFF5
  • 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_01KP7B0ZT288MHG76ECCGE27BK
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KP7B24ZX7E9SZ3YDQA8960S2
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KP7B2PQJFD50A1EN4NZSGYG2
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KP7B2Y30RDCWW54FE1114HGG
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KP7B32MR0MYBZJ8W1E7DSE1T
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KP7B34MQEYY51PHK09RYNJ2T
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KP7B3DRFR27GFA9WB424H24K
  • 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_01KP7B3TATBNZEB033YWMNANH4
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KP7B3YW92J8WK23VPN9QY311
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KP7B43AV4WT5XS3RJ47H447R
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KP7B48Z9N9D5WX8MA3DMY55J
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KP7B4ET7WVYX5YRD7JA7Z6N0
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KP7B4MDCTHKKP1GYV0S1ANJ0
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KP7B4SWEVRKR1AH0SW74D61C
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KP7B52855R8YCC5QB2C0KRFH
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KP7B5A6YCVNQ33FJ16S4HS6Q
  • cancelRun - cancelling a running workflow | wrun_01KP7B5FQRGJJ8KFRXH9TS7HVC
  • cancelRun via CLI - cancelling a running workflow | wrun_01KP7B5R36QBDYXNGT9H1AJ7Z0
  • 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_01KP7B629NGXP35C7HY4R6JGAJ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KP7B6MX876Q5DJGKSRBDXR2H
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KP7B6YR4N39DW45XX3HVBKRH
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KP7B759XJN18YD8RTVHVWSNB
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KP7B789YDM6EEJ3SB370QT0C
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KP7B7A7QYJ3HB65YQQMP7P9M
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KP7B7D8XA1AK4KWC9M2QFGE1

Details by Category

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

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 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.040s (+14.2% 🔺)1.005s (~)0.965s101.00x
💻 LocalNext.js (Turbopack)0.050s1.005s0.955s101.26x
🐘 PostgresNitro0.062s (+4.5%)1.011s (~)0.949s101.55x
🐘 PostgresNext.js (Turbopack)0.063s1.012s0.949s101.57x
🐘 PostgresExpress0.087s (+35.8% 🔺)1.009s (~)0.922s102.16x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.286s (-2.0%)2.156s (-13.0% 🟢)1.870s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.121s2.007s0.886s101.00x
💻 LocalExpress1.128s (+2.6%)2.005s (~)0.878s101.01x
🐘 PostgresNext.js (Turbopack)1.149s2.011s0.862s101.03x
🐘 PostgresNitro1.157s (+0.5%)2.011s (~)0.854s101.03x
🐘 PostgresExpress1.169s (+1.9%)2.025s (+0.8%)0.857s101.04x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.007s (+3.1%)3.784s (+7.5% 🔺)1.777s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.785s11.024s0.239s31.00x
🐘 PostgresNext.js (Turbopack)10.915s11.022s0.106s31.01x
🐘 PostgresNitro10.956s (~)11.027s (~)0.071s31.02x
💻 LocalExpress10.956s (+3.1%)11.025s (~)0.069s31.02x
🐘 PostgresExpress11.082s (+2.2%)11.713s (+6.3% 🔺)0.631s31.03x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.107s (~)19.981s (+1.3%)1.874s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)14.650s15.029s0.379s41.00x
🐘 PostgresNitro14.683s (+0.7%)15.027s (~)0.344s41.00x
🐘 PostgresNext.js (Turbopack)14.725s15.024s0.300s41.01x
🐘 PostgresExpress14.973s (+3.5%)15.775s (+5.0% 🔺)0.802s41.02x
💻 LocalExpress14.998s (+5.5% 🔺)15.279s (+1.7%)0.281s41.02x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro32.351s (-5.7% 🟢)34.063s (-7.1% 🟢)1.712s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.975s (+0.7%)14.459s (+3.1%)0.484s71.00x
🐘 PostgresNext.js (Turbopack)14.094s14.594s0.500s71.01x
🐘 PostgresNitro14.308s (+1.2%)15.023s (+0.9%)0.714s61.02x
💻 LocalNext.js (Turbopack)16.138s17.032s0.894s61.15x
💻 LocalExpress16.616s (+11.7% 🔺)17.031s (+13.3% 🔺)0.415s61.19x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro60.403s (+2.8%)63.120s (+4.3%)2.717s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.237s2.009s0.772s151.00x
🐘 PostgresExpress1.246s (-2.6%)2.008s (~)0.762s151.01x
🐘 PostgresNitro1.296s (-1.0%)2.010s (~)0.714s151.05x
💻 LocalExpress1.489s (+1.5%)2.005s (~)0.516s151.20x
💻 LocalNext.js (Turbopack)1.523s2.006s0.484s151.23x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.491s (-2.9%)4.120s (-4.7%)1.628s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.267s (-2.7%)3.009s (~)0.742s101.00x
🐘 PostgresNitro2.356s (~)3.010s (~)0.654s101.04x
🐘 PostgresNext.js (Turbopack)2.419s3.011s0.592s101.07x
💻 LocalNext.js (Turbopack)2.918s3.309s0.391s101.29x
💻 LocalExpress2.979s (+8.0% 🔺)3.674s (+18.2% 🔺)0.695s91.31x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.676s (+2.0%)4.249s (+2.2%)1.574s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.499s (+1.0%)4.012s (~)0.513s81.00x
🐘 PostgresNitro3.500s (~)4.013s (~)0.513s81.00x
🐘 PostgresNext.js (Turbopack)3.697s4.012s0.314s81.06x
💻 LocalNext.js (Turbopack)7.775s8.518s0.743s42.22x
💻 LocalExpress8.327s (+19.4% 🔺)9.021s (+21.6% 🔺)0.694s42.38x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.529s (-12.5% 🟢)5.117s (-8.1% 🟢)1.588s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.223s2.009s0.786s151.00x
🐘 PostgresNitro1.286s (+2.7%)2.010s (~)0.724s151.05x
🐘 PostgresExpress1.295s (+2.8%)2.006s (~)0.711s151.06x
💻 LocalNext.js (Turbopack)1.531s2.006s0.475s151.25x
💻 LocalExpress1.537s (+3.1%)2.006s (~)0.470s151.26x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro78.300s (+3226.4% 🔺)79.830s (+1858.5% 🔺)1.531s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.266s (-3.2%)3.009s (~)0.743s101.00x
🐘 PostgresNitro2.362s (+1.8%)3.010s (~)0.648s101.04x
🐘 PostgresNext.js (Turbopack)2.427s3.009s0.582s101.07x
💻 LocalNext.js (Turbopack)2.866s3.454s0.587s91.26x
💻 LocalExpress2.967s (+12.1% 🔺)3.677s (+22.2% 🔺)0.709s91.31x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.131s (+20.8% 🔺)5.000s (+23.4% 🔺)1.869s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.482s (+1.4%)4.011s (~)0.529s81.00x
🐘 PostgresExpress3.495s (+0.6%)4.010s (~)0.515s81.00x
🐘 PostgresNext.js (Turbopack)3.743s4.013s0.270s81.08x
💻 LocalNext.js (Turbopack)8.387s8.768s0.381s42.41x
💻 LocalExpress8.685s (+18.5% 🔺)9.523s (+18.8% 🔺)0.838s42.49x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.451s (-40.9% 🟢)5.198s (-29.2% 🟢)1.747s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.758s (-9.5% 🟢)1.077s (+5.3% 🔺)0.319s561.00x
🐘 PostgresNitro0.836s (+3.0%)1.006s (~)0.171s601.10x
🐘 PostgresNext.js (Turbopack)0.843s1.024s0.181s591.11x
💻 LocalNext.js (Turbopack)0.855s1.004s0.150s601.13x
💻 LocalExpress1.088s (+57.7% 🔺)1.276s (+27.0% 🔺)0.188s481.43x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro10.294s (+0.6%)12.175s (+0.9%)1.881s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.862s (-4.5%)2.310s (+7.4% 🔺)0.448s401.00x
🐘 PostgresNitro2.027s (+5.0%)2.638s (+24.2% 🔺)0.610s351.09x
🐘 PostgresNext.js (Turbopack)2.078s2.946s0.868s311.12x
💻 LocalNext.js (Turbopack)2.728s3.008s0.279s301.47x
💻 LocalExpress3.024s (+35.5% 🔺)3.608s (+20.0% 🔺)0.584s251.62x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.544s (-4.7%)31.759s (-4.2%)2.214s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.656s (-7.0% 🟢)4.330s (+2.7%)0.674s291.00x
🐘 PostgresNitro4.155s (+5.1% 🔺)5.012s (+17.9% 🔺)0.857s241.14x
🐘 PostgresNext.js (Turbopack)4.214s5.013s0.799s241.15x
💻 LocalNext.js (Turbopack)8.721s9.018s0.297s142.39x
💻 LocalExpress9.221s (+26.3% 🔺)9.942s (+24.0% 🔺)0.720s132.52x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro77.662s (-9.7% 🟢)79.437s (-9.7% 🟢)1.775s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.256s1.008s0.751s601.00x
🐘 PostgresExpress0.289s (+3.8%)1.006s (~)0.717s601.13x
🐘 PostgresNitro0.302s (+8.6% 🔺)1.007s (~)0.705s601.18x
💻 LocalExpress0.579s (+5.2% 🔺)1.004s (~)0.425s602.26x
💻 LocalNext.js (Turbopack)0.597s1.022s0.425s592.33x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.027s (+30.9% 🔺)3.651s (+10.8% 🔺)1.624s171.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.462s (-6.3% 🟢)1.042s (+3.5%)0.580s871.00x
🐘 PostgresNext.js (Turbopack)0.508s1.007s0.499s901.10x
🐘 PostgresNitro0.539s (+11.8% 🔺)1.007s (~)0.469s901.17x
💻 LocalExpress2.512s (+5.4% 🔺)3.008s (~)0.497s305.44x
💻 LocalNext.js (Turbopack)2.570s3.009s0.438s305.57x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.790s (-1.7%)4.324s (-4.4%)1.534s211.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.804s (+3.1%)1.241s (+23.3% 🔺)0.437s971.00x
🐘 PostgresNext.js (Turbopack)0.821s1.008s0.187s1201.02x
🐘 PostgresNitro0.857s (+6.8% 🔺)1.010s (~)0.153s1191.07x
💻 LocalNext.js (Turbopack)10.866s11.392s0.527s1113.51x
💻 LocalExpress11.137s (+9.4% 🔺)11.847s (+10.8% 🔺)0.711s1113.85x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.896s (-3.4%)8.526s (-1.3%)1.630s151.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.177s1.003s0.012s1.018s0.840s101.00x
💻 LocalExpress0.199s (+43.6% 🔺)1.004s (~)0.012s (+20.4% 🔺)1.018s (~)0.819s101.12x
🐘 PostgresNext.js (Turbopack)0.202s1.001s0.002s1.010s0.808s101.14x
🐘 PostgresExpress0.211s (-1.3%)0.999s (+0.7%)0.006s (+293.3% 🔺)1.014s (~)0.803s101.19x
🐘 PostgresNitro0.225s (+8.5% 🔺)0.997s (~)0.002s (+100.0% 🔺)1.011s (~)0.786s101.27x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.512s (+60.1% 🔺)3.983s (+27.3% 🔺)0.936s (+14.4% 🔺)5.423s (+20.7% 🔺)2.911s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.595s (-2.9%)1.039s (+2.0%)0.007s (+142.6% 🔺)1.058s (+2.0%)0.462s571.00x
🐘 PostgresNitro0.656s (+6.8% 🔺)1.005s (~)0.005s (+27.0% 🔺)1.024s (~)0.368s591.10x
🐘 PostgresNext.js (Turbopack)0.679s1.027s0.005s1.043s0.364s591.14x
💻 LocalExpress0.822s (+5.8% 🔺)1.011s (~)0.010s (+3.7%)1.116s (-9.1% 🟢)0.294s541.38x
💻 LocalNext.js (Turbopack)0.867s1.012s0.009s1.229s0.361s491.46x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.975s (+18.9% 🔺)6.764s (+21.6% 🔺)0.297s (+33.4% 🔺)7.484s (+20.7% 🔺)2.509s91.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.011s (+6.6% 🔺)1.195s (+6.4% 🔺)0.000s (+218.0% 🔺)1.216s (+5.8% 🔺)0.205s501.00x
🐘 PostgresNext.js (Turbopack)1.019s1.406s0.000s1.429s0.410s421.01x
🐘 PostgresNitro1.047s (+10.1% 🔺)1.534s (+36.8% 🔺)0.000s (+Infinity% 🔺)1.549s (+36.4% 🔺)0.501s391.04x
💻 LocalExpress1.239s (+8.6% 🔺)2.022s (~)0.001s (+87.5% 🔺)2.024s (~)0.785s301.23x
💻 LocalNext.js (Turbopack)1.243s2.019s0.000s2.021s0.778s301.23x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.209s (+8.4% 🔺)4.603s (+5.4% 🔺)0.000s (-100.0% 🟢)5.067s (+6.0% 🔺)1.857s121.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.875s (+9.6% 🔺)2.178s (+5.3% 🔺)0.000s (-100.0% 🟢)2.190s (+2.9%)0.315s281.00x
🐘 PostgresExpress1.903s (+8.8% 🔺)2.401s (+14.4% 🔺)0.000s (-42.0% 🟢)2.434s (+15.2% 🔺)0.531s251.02x
🐘 PostgresNext.js (Turbopack)1.974s2.224s0.000s2.233s0.260s271.05x
💻 LocalNext.js (Turbopack)3.600s4.164s0.001s4.168s0.567s151.92x
💻 LocalExpress3.613s (+5.3% 🔺)4.167s (+6.7% 🔺)0.000s (-23.8% 🟢)4.169s (+6.7% 🔺)0.556s151.93x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.889s (+16.0% 🔺)6.469s (+20.1% 🔺)0.000s (-79.6% 🟢)6.884s (+19.2% 🔺)1.996s91.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)15/21
🐘 PostgresExpress11/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@VaguelySerious
VaguelySerious marked this pull request as ready for review April 15, 2026 01:32
@VaguelySerious
VaguelySerious requested a review from a team as a code ownerApril 15, 2026 01:32
@VaguelySeriousVaguelySerious added the backport-stable Cherry-pick this PR to the stable branch when merged label Apr 15, 2026

@karthikscale3karthikscale3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

My only concern with this change is, if it goes through the retry loops, the queue retries after 300seconds and if it goes through 3 full retries, o11y will show that it was stuck in the queue for ~15minutes before either succeeding or failing. This will cause a bit of confusion. Also, should we introduce a run_retrying state to persist this state?

@VaguelySerious

Copy link
Copy Markdown
MemberAuthor

@karthikscale3 This would only happen for runs which get stuck, so it shouldn't be a common occurrence, and it's better than failing due to a single delayed replay (if it's temporary, and the second would work)

@karthikscale3

Copy link
Copy Markdown
Contributor

@karthikscale3 This would only happen for runs which get stuck, so it shouldn't be a common occurrence, and it's better than failing due to a single delayed replay (if it's temporary, and the second would work)

Makes sense and sounds reasonable. I will let @TooTallNate and @pranaygp to weigh in too.

@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.

Clean, well-targeted change. The logic is correct:

  • On attempts 1–3 (metadata.attempt <= REPLAY_TIMEOUT_MAX_RETRIES): process.exit(1) without writing run_failed. The message isn't acked, so the queue retries with an incremented attempt counter.
  • On attempt 4+: writes run_failed then exits. Same behavior as before this PR.

This is strictly more lenient than the previous behavior (immediate failure on first timeout) — it can only help, not hurt. Transient slowness (e.g., cold start + large event log) that causes a one-off timeout now gets retried instead of permanently failing the run.

The timeout retry budget (3 attempts) is drawn from the same metadata.attempt counter as MAX_QUEUE_DELIVERIES (48), so messages that have already been retried for other reasons get fewer timeout grace attempts. This is reasonable — a message already at attempt 10 has had plenty of chances.

Changeset is properly scoped.

@VaguelySerious
VaguelySerious merged commit 0810b75 into mainApr 15, 2026
177 of 188 checks passed
@VaguelySerious
VaguelySerious deleted the peter/runtime-timeout-triple-retry branch April 15, 2026 21:26
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick had conflicts that could not be resolved automatically.

To resolve manually:

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

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

Copy link
Copy Markdown

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

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

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

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

[core] Re-try runtime replays that exceed deadline up to three times - #1740

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/runtime-timeout-triple-retry
Apr 15, 2026
Merged

[core] Re-try runtime replays that exceed deadline up to three times#1740
VaguelySerious merged 1 commit into
mainfrom
peter/runtime-timeout-triple-retry

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

No description provided.

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

vercelBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0be6831

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

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

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

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

@github-actions

github-actionsBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

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

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • 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_01KP7B7A7QYJ3HB65YQQMP7P9M

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • 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_01KP7B7A7QYJ3HB65YQQMP7P9M

turso (60 failed):

  • addTenWorkflow | wrun_01KP7AS1TVT6N4PFJZ0VQPEY9G
  • addTenWorkflow | wrun_01KP7AS1TVT6N4PFJZ0VQPEY9G
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KP7ATBN010646TM91Z0J2KCN
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KP7AS8PWTHZY5VWE8QKWD7T2
  • promiseRaceWorkflow | wrun_01KP7ASF4Y42CE2P08VZ0X7D32
  • promiseAnyWorkflow | wrun_01KP7ASH0JC28PCK6HPBMTTK3Y
  • importedStepOnlyWorkflow | wrun_01KP7ATSTCC6VSSK1YXGGBZ9GT
  • hookWorkflow | wrun_01KP7ASWT4T4DQXDR4GKBEY3NB
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • sleepingWorkflow | wrun_01KP7ATPFV02AMPASVD8EQYW38
  • parallelSleepWorkflow | wrun_01KP7AV2JH6NPWGQDKEX6XV61H
  • nullByteWorkflow | wrun_01KP7AV6PMF3FHYMWD8ZRYBRFH
  • workflowAndStepMetadataWorkflow | wrun_01KP7AV8KCCPMTHQMF14EWZQT4
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • promiseRaceStressTestWorkflow | wrun_01KP7AXY172T066FSSN5PAGFF5
  • 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_01KP7B0ZT288MHG76ECCGE27BK
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KP7B24ZX7E9SZ3YDQA8960S2
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KP7B2PQJFD50A1EN4NZSGYG2
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KP7B2Y30RDCWW54FE1114HGG
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KP7B32MR0MYBZJ8W1E7DSE1T
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KP7B34MQEYY51PHK09RYNJ2T
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KP7B3DRFR27GFA9WB424H24K
  • 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_01KP7B3TATBNZEB033YWMNANH4
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KP7B3YW92J8WK23VPN9QY311
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KP7B43AV4WT5XS3RJ47H447R
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KP7B48Z9N9D5WX8MA3DMY55J
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KP7B4ET7WVYX5YRD7JA7Z6N0
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KP7B4MDCTHKKP1GYV0S1ANJ0
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KP7B4SWEVRKR1AH0SW74D61C
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KP7B52855R8YCC5QB2C0KRFH
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KP7B5A6YCVNQ33FJ16S4HS6Q
  • cancelRun - cancelling a running workflow | wrun_01KP7B5FQRGJJ8KFRXH9TS7HVC
  • cancelRun via CLI - cancelling a running workflow | wrun_01KP7B5R36QBDYXNGT9H1AJ7Z0
  • 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_01KP7B629NGXP35C7HY4R6JGAJ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KP7B6MX876Q5DJGKSRBDXR2H
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KP7B6YR4N39DW45XX3HVBKRH
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KP7B759XJN18YD8RTVHVWSNB
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KP7B789YDM6EEJ3SB370QT0C
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KP7B7A7QYJ3HB65YQQMP7P9M
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KP7B7D8XA1AK4KWC9M2QFGE1

Details by Category

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

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 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.040s (+14.2% 🔺)1.005s (~)0.965s101.00x
💻 LocalNext.js (Turbopack)0.050s1.005s0.955s101.26x
🐘 PostgresNitro0.062s (+4.5%)1.011s (~)0.949s101.55x
🐘 PostgresNext.js (Turbopack)0.063s1.012s0.949s101.57x
🐘 PostgresExpress0.087s (+35.8% 🔺)1.009s (~)0.922s102.16x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.286s (-2.0%)2.156s (-13.0% 🟢)1.870s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.121s2.007s0.886s101.00x
💻 LocalExpress1.128s (+2.6%)2.005s (~)0.878s101.01x
🐘 PostgresNext.js (Turbopack)1.149s2.011s0.862s101.03x
🐘 PostgresNitro1.157s (+0.5%)2.011s (~)0.854s101.03x
🐘 PostgresExpress1.169s (+1.9%)2.025s (+0.8%)0.857s101.04x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.007s (+3.1%)3.784s (+7.5% 🔺)1.777s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.785s11.024s0.239s31.00x
🐘 PostgresNext.js (Turbopack)10.915s11.022s0.106s31.01x
🐘 PostgresNitro10.956s (~)11.027s (~)0.071s31.02x
💻 LocalExpress10.956s (+3.1%)11.025s (~)0.069s31.02x
🐘 PostgresExpress11.082s (+2.2%)11.713s (+6.3% 🔺)0.631s31.03x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.107s (~)19.981s (+1.3%)1.874s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)14.650s15.029s0.379s41.00x
🐘 PostgresNitro14.683s (+0.7%)15.027s (~)0.344s41.00x
🐘 PostgresNext.js (Turbopack)14.725s15.024s0.300s41.01x
🐘 PostgresExpress14.973s (+3.5%)15.775s (+5.0% 🔺)0.802s41.02x
💻 LocalExpress14.998s (+5.5% 🔺)15.279s (+1.7%)0.281s41.02x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro32.351s (-5.7% 🟢)34.063s (-7.1% 🟢)1.712s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.975s (+0.7%)14.459s (+3.1%)0.484s71.00x
🐘 PostgresNext.js (Turbopack)14.094s14.594s0.500s71.01x
🐘 PostgresNitro14.308s (+1.2%)15.023s (+0.9%)0.714s61.02x
💻 LocalNext.js (Turbopack)16.138s17.032s0.894s61.15x
💻 LocalExpress16.616s (+11.7% 🔺)17.031s (+13.3% 🔺)0.415s61.19x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro60.403s (+2.8%)63.120s (+4.3%)2.717s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.237s2.009s0.772s151.00x
🐘 PostgresExpress1.246s (-2.6%)2.008s (~)0.762s151.01x
🐘 PostgresNitro1.296s (-1.0%)2.010s (~)0.714s151.05x
💻 LocalExpress1.489s (+1.5%)2.005s (~)0.516s151.20x
💻 LocalNext.js (Turbopack)1.523s2.006s0.484s151.23x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.491s (-2.9%)4.120s (-4.7%)1.628s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.267s (-2.7%)3.009s (~)0.742s101.00x
🐘 PostgresNitro2.356s (~)3.010s (~)0.654s101.04x
🐘 PostgresNext.js (Turbopack)2.419s3.011s0.592s101.07x
💻 LocalNext.js (Turbopack)2.918s3.309s0.391s101.29x
💻 LocalExpress2.979s (+8.0% 🔺)3.674s (+18.2% 🔺)0.695s91.31x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.676s (+2.0%)4.249s (+2.2%)1.574s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.499s (+1.0%)4.012s (~)0.513s81.00x
🐘 PostgresNitro3.500s (~)4.013s (~)0.513s81.00x
🐘 PostgresNext.js (Turbopack)3.697s4.012s0.314s81.06x
💻 LocalNext.js (Turbopack)7.775s8.518s0.743s42.22x
💻 LocalExpress8.327s (+19.4% 🔺)9.021s (+21.6% 🔺)0.694s42.38x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.529s (-12.5% 🟢)5.117s (-8.1% 🟢)1.588s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.223s2.009s0.786s151.00x
🐘 PostgresNitro1.286s (+2.7%)2.010s (~)0.724s151.05x
🐘 PostgresExpress1.295s (+2.8%)2.006s (~)0.711s151.06x
💻 LocalNext.js (Turbopack)1.531s2.006s0.475s151.25x
💻 LocalExpress1.537s (+3.1%)2.006s (~)0.470s151.26x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro78.300s (+3226.4% 🔺)79.830s (+1858.5% 🔺)1.531s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.266s (-3.2%)3.009s (~)0.743s101.00x
🐘 PostgresNitro2.362s (+1.8%)3.010s (~)0.648s101.04x
🐘 PostgresNext.js (Turbopack)2.427s3.009s0.582s101.07x
💻 LocalNext.js (Turbopack)2.866s3.454s0.587s91.26x
💻 LocalExpress2.967s (+12.1% 🔺)3.677s (+22.2% 🔺)0.709s91.31x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.131s (+20.8% 🔺)5.000s (+23.4% 🔺)1.869s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.482s (+1.4%)4.011s (~)0.529s81.00x
🐘 PostgresExpress3.495s (+0.6%)4.010s (~)0.515s81.00x
🐘 PostgresNext.js (Turbopack)3.743s4.013s0.270s81.08x
💻 LocalNext.js (Turbopack)8.387s8.768s0.381s42.41x
💻 LocalExpress8.685s (+18.5% 🔺)9.523s (+18.8% 🔺)0.838s42.49x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.451s (-40.9% 🟢)5.198s (-29.2% 🟢)1.747s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.758s (-9.5% 🟢)1.077s (+5.3% 🔺)0.319s561.00x
🐘 PostgresNitro0.836s (+3.0%)1.006s (~)0.171s601.10x
🐘 PostgresNext.js (Turbopack)0.843s1.024s0.181s591.11x
💻 LocalNext.js (Turbopack)0.855s1.004s0.150s601.13x
💻 LocalExpress1.088s (+57.7% 🔺)1.276s (+27.0% 🔺)0.188s481.43x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro10.294s (+0.6%)12.175s (+0.9%)1.881s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.862s (-4.5%)2.310s (+7.4% 🔺)0.448s401.00x
🐘 PostgresNitro2.027s (+5.0%)2.638s (+24.2% 🔺)0.610s351.09x
🐘 PostgresNext.js (Turbopack)2.078s2.946s0.868s311.12x
💻 LocalNext.js (Turbopack)2.728s3.008s0.279s301.47x
💻 LocalExpress3.024s (+35.5% 🔺)3.608s (+20.0% 🔺)0.584s251.62x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.544s (-4.7%)31.759s (-4.2%)2.214s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.656s (-7.0% 🟢)4.330s (+2.7%)0.674s291.00x
🐘 PostgresNitro4.155s (+5.1% 🔺)5.012s (+17.9% 🔺)0.857s241.14x
🐘 PostgresNext.js (Turbopack)4.214s5.013s0.799s241.15x
💻 LocalNext.js (Turbopack)8.721s9.018s0.297s142.39x
💻 LocalExpress9.221s (+26.3% 🔺)9.942s (+24.0% 🔺)0.720s132.52x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro77.662s (-9.7% 🟢)79.437s (-9.7% 🟢)1.775s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.256s1.008s0.751s601.00x
🐘 PostgresExpress0.289s (+3.8%)1.006s (~)0.717s601.13x
🐘 PostgresNitro0.302s (+8.6% 🔺)1.007s (~)0.705s601.18x
💻 LocalExpress0.579s (+5.2% 🔺)1.004s (~)0.425s602.26x
💻 LocalNext.js (Turbopack)0.597s1.022s0.425s592.33x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.027s (+30.9% 🔺)3.651s (+10.8% 🔺)1.624s171.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.462s (-6.3% 🟢)1.042s (+3.5%)0.580s871.00x
🐘 PostgresNext.js (Turbopack)0.508s1.007s0.499s901.10x
🐘 PostgresNitro0.539s (+11.8% 🔺)1.007s (~)0.469s901.17x
💻 LocalExpress2.512s (+5.4% 🔺)3.008s (~)0.497s305.44x
💻 LocalNext.js (Turbopack)2.570s3.009s0.438s305.57x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.790s (-1.7%)4.324s (-4.4%)1.534s211.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.804s (+3.1%)1.241s (+23.3% 🔺)0.437s971.00x
🐘 PostgresNext.js (Turbopack)0.821s1.008s0.187s1201.02x
🐘 PostgresNitro0.857s (+6.8% 🔺)1.010s (~)0.153s1191.07x
💻 LocalNext.js (Turbopack)10.866s11.392s0.527s1113.51x
💻 LocalExpress11.137s (+9.4% 🔺)11.847s (+10.8% 🔺)0.711s1113.85x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.896s (-3.4%)8.526s (-1.3%)1.630s151.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.177s1.003s0.012s1.018s0.840s101.00x
💻 LocalExpress0.199s (+43.6% 🔺)1.004s (~)0.012s (+20.4% 🔺)1.018s (~)0.819s101.12x
🐘 PostgresNext.js (Turbopack)0.202s1.001s0.002s1.010s0.808s101.14x
🐘 PostgresExpress0.211s (-1.3%)0.999s (+0.7%)0.006s (+293.3% 🔺)1.014s (~)0.803s101.19x
🐘 PostgresNitro0.225s (+8.5% 🔺)0.997s (~)0.002s (+100.0% 🔺)1.011s (~)0.786s101.27x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.512s (+60.1% 🔺)3.983s (+27.3% 🔺)0.936s (+14.4% 🔺)5.423s (+20.7% 🔺)2.911s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.595s (-2.9%)1.039s (+2.0%)0.007s (+142.6% 🔺)1.058s (+2.0%)0.462s571.00x
🐘 PostgresNitro0.656s (+6.8% 🔺)1.005s (~)0.005s (+27.0% 🔺)1.024s (~)0.368s591.10x
🐘 PostgresNext.js (Turbopack)0.679s1.027s0.005s1.043s0.364s591.14x
💻 LocalExpress0.822s (+5.8% 🔺)1.011s (~)0.010s (+3.7%)1.116s (-9.1% 🟢)0.294s541.38x
💻 LocalNext.js (Turbopack)0.867s1.012s0.009s1.229s0.361s491.46x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.975s (+18.9% 🔺)6.764s (+21.6% 🔺)0.297s (+33.4% 🔺)7.484s (+20.7% 🔺)2.509s91.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.011s (+6.6% 🔺)1.195s (+6.4% 🔺)0.000s (+218.0% 🔺)1.216s (+5.8% 🔺)0.205s501.00x
🐘 PostgresNext.js (Turbopack)1.019s1.406s0.000s1.429s0.410s421.01x
🐘 PostgresNitro1.047s (+10.1% 🔺)1.534s (+36.8% 🔺)0.000s (+Infinity% 🔺)1.549s (+36.4% 🔺)0.501s391.04x
💻 LocalExpress1.239s (+8.6% 🔺)2.022s (~)0.001s (+87.5% 🔺)2.024s (~)0.785s301.23x
💻 LocalNext.js (Turbopack)1.243s2.019s0.000s2.021s0.778s301.23x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.209s (+8.4% 🔺)4.603s (+5.4% 🔺)0.000s (-100.0% 🟢)5.067s (+6.0% 🔺)1.857s121.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.875s (+9.6% 🔺)2.178s (+5.3% 🔺)0.000s (-100.0% 🟢)2.190s (+2.9%)0.315s281.00x
🐘 PostgresExpress1.903s (+8.8% 🔺)2.401s (+14.4% 🔺)0.000s (-42.0% 🟢)2.434s (+15.2% 🔺)0.531s251.02x
🐘 PostgresNext.js (Turbopack)1.974s2.224s0.000s2.233s0.260s271.05x
💻 LocalNext.js (Turbopack)3.600s4.164s0.001s4.168s0.567s151.92x
💻 LocalExpress3.613s (+5.3% 🔺)4.167s (+6.7% 🔺)0.000s (-23.8% 🟢)4.169s (+6.7% 🔺)0.556s151.93x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.889s (+16.0% 🔺)6.469s (+20.1% 🔺)0.000s (-79.6% 🟢)6.884s (+19.2% 🔺)1.996s91.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)15/21
🐘 PostgresExpress11/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@VaguelySerious
VaguelySerious marked this pull request as ready for review April 15, 2026 01:32
@VaguelySerious
VaguelySerious requested a review from a team as a code ownerApril 15, 2026 01:32
@VaguelySeriousVaguelySerious added the backport-stable Cherry-pick this PR to the stable branch when merged label Apr 15, 2026

@karthikscale3karthikscale3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

My only concern with this change is, if it goes through the retry loops, the queue retries after 300seconds and if it goes through 3 full retries, o11y will show that it was stuck in the queue for ~15minutes before either succeeding or failing. This will cause a bit of confusion. Also, should we introduce a run_retrying state to persist this state?

@VaguelySerious

Copy link
Copy Markdown
MemberAuthor

@karthikscale3 This would only happen for runs which get stuck, so it shouldn't be a common occurrence, and it's better than failing due to a single delayed replay (if it's temporary, and the second would work)

@karthikscale3

Copy link
Copy Markdown
Contributor

@karthikscale3 This would only happen for runs which get stuck, so it shouldn't be a common occurrence, and it's better than failing due to a single delayed replay (if it's temporary, and the second would work)

Makes sense and sounds reasonable. I will let @TooTallNate and @pranaygp to weigh in too.

@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.

Clean, well-targeted change. The logic is correct:

  • On attempts 1–3 (metadata.attempt <= REPLAY_TIMEOUT_MAX_RETRIES): process.exit(1) without writing run_failed. The message isn't acked, so the queue retries with an incremented attempt counter.
  • On attempt 4+: writes run_failed then exits. Same behavior as before this PR.

This is strictly more lenient than the previous behavior (immediate failure on first timeout) — it can only help, not hurt. Transient slowness (e.g., cold start + large event log) that causes a one-off timeout now gets retried instead of permanently failing the run.

The timeout retry budget (3 attempts) is drawn from the same metadata.attempt counter as MAX_QUEUE_DELIVERIES (48), so messages that have already been retried for other reasons get fewer timeout grace attempts. This is reasonable — a message already at attempt 10 has had plenty of chances.

Changeset is properly scoped.

@VaguelySerious
VaguelySerious merged commit 0810b75 into mainApr 15, 2026
177 of 188 checks passed
@VaguelySerious
VaguelySerious deleted the peter/runtime-timeout-triple-retry branch April 15, 2026 21:26
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick had conflicts that could not be resolved automatically.

To resolve manually:

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

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

Copy link
Copy Markdown

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

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

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

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

[core] Re-try runtime replays that exceed deadline up to three times - #1740

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/runtime-timeout-triple-retry
Apr 15, 2026
Merged

[core] Re-try runtime replays that exceed deadline up to three times#1740
VaguelySerious merged 1 commit into
mainfrom
peter/runtime-timeout-triple-retry

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

No description provided.

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

vercelBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0be6831

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

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

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

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

@github-actions

github-actionsBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

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

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • 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_01KP7B7A7QYJ3HB65YQQMP7P9M

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • 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_01KP7B7A7QYJ3HB65YQQMP7P9M

turso (60 failed):

  • addTenWorkflow | wrun_01KP7AS1TVT6N4PFJZ0VQPEY9G
  • addTenWorkflow | wrun_01KP7AS1TVT6N4PFJZ0VQPEY9G
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KP7ATBN010646TM91Z0J2KCN
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KP7AS8PWTHZY5VWE8QKWD7T2
  • promiseRaceWorkflow | wrun_01KP7ASF4Y42CE2P08VZ0X7D32
  • promiseAnyWorkflow | wrun_01KP7ASH0JC28PCK6HPBMTTK3Y
  • importedStepOnlyWorkflow | wrun_01KP7ATSTCC6VSSK1YXGGBZ9GT
  • hookWorkflow | wrun_01KP7ASWT4T4DQXDR4GKBEY3NB
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • sleepingWorkflow | wrun_01KP7ATPFV02AMPASVD8EQYW38
  • parallelSleepWorkflow | wrun_01KP7AV2JH6NPWGQDKEX6XV61H
  • nullByteWorkflow | wrun_01KP7AV6PMF3FHYMWD8ZRYBRFH
  • workflowAndStepMetadataWorkflow | wrun_01KP7AV8KCCPMTHQMF14EWZQT4
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • promiseRaceStressTestWorkflow | wrun_01KP7AXY172T066FSSN5PAGFF5
  • 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_01KP7B0ZT288MHG76ECCGE27BK
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KP7B24ZX7E9SZ3YDQA8960S2
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KP7B2PQJFD50A1EN4NZSGYG2
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KP7B2Y30RDCWW54FE1114HGG
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KP7B32MR0MYBZJ8W1E7DSE1T
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KP7B34MQEYY51PHK09RYNJ2T
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KP7B3DRFR27GFA9WB424H24K
  • 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_01KP7B3TATBNZEB033YWMNANH4
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KP7B3YW92J8WK23VPN9QY311
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KP7B43AV4WT5XS3RJ47H447R
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KP7B48Z9N9D5WX8MA3DMY55J
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KP7B4ET7WVYX5YRD7JA7Z6N0
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KP7B4MDCTHKKP1GYV0S1ANJ0
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KP7B4SWEVRKR1AH0SW74D61C
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KP7B52855R8YCC5QB2C0KRFH
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KP7B5A6YCVNQ33FJ16S4HS6Q
  • cancelRun - cancelling a running workflow | wrun_01KP7B5FQRGJJ8KFRXH9TS7HVC
  • cancelRun via CLI - cancelling a running workflow | wrun_01KP7B5R36QBDYXNGT9H1AJ7Z0
  • 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_01KP7B629NGXP35C7HY4R6JGAJ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KP7B6MX876Q5DJGKSRBDXR2H
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KP7B6YR4N39DW45XX3HVBKRH
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KP7B759XJN18YD8RTVHVWSNB
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KP7B789YDM6EEJ3SB370QT0C
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KP7B7A7QYJ3HB65YQQMP7P9M
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KP7B7D8XA1AK4KWC9M2QFGE1

Details by Category

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

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 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.040s (+14.2% 🔺)1.005s (~)0.965s101.00x
💻 LocalNext.js (Turbopack)0.050s1.005s0.955s101.26x
🐘 PostgresNitro0.062s (+4.5%)1.011s (~)0.949s101.55x
🐘 PostgresNext.js (Turbopack)0.063s1.012s0.949s101.57x
🐘 PostgresExpress0.087s (+35.8% 🔺)1.009s (~)0.922s102.16x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.286s (-2.0%)2.156s (-13.0% 🟢)1.870s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.121s2.007s0.886s101.00x
💻 LocalExpress1.128s (+2.6%)2.005s (~)0.878s101.01x
🐘 PostgresNext.js (Turbopack)1.149s2.011s0.862s101.03x
🐘 PostgresNitro1.157s (+0.5%)2.011s (~)0.854s101.03x
🐘 PostgresExpress1.169s (+1.9%)2.025s (+0.8%)0.857s101.04x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.007s (+3.1%)3.784s (+7.5% 🔺)1.777s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.785s11.024s0.239s31.00x
🐘 PostgresNext.js (Turbopack)10.915s11.022s0.106s31.01x
🐘 PostgresNitro10.956s (~)11.027s (~)0.071s31.02x
💻 LocalExpress10.956s (+3.1%)11.025s (~)0.069s31.02x
🐘 PostgresExpress11.082s (+2.2%)11.713s (+6.3% 🔺)0.631s31.03x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.107s (~)19.981s (+1.3%)1.874s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)14.650s15.029s0.379s41.00x
🐘 PostgresNitro14.683s (+0.7%)15.027s (~)0.344s41.00x
🐘 PostgresNext.js (Turbopack)14.725s15.024s0.300s41.01x
🐘 PostgresExpress14.973s (+3.5%)15.775s (+5.0% 🔺)0.802s41.02x
💻 LocalExpress14.998s (+5.5% 🔺)15.279s (+1.7%)0.281s41.02x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro32.351s (-5.7% 🟢)34.063s (-7.1% 🟢)1.712s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.975s (+0.7%)14.459s (+3.1%)0.484s71.00x
🐘 PostgresNext.js (Turbopack)14.094s14.594s0.500s71.01x
🐘 PostgresNitro14.308s (+1.2%)15.023s (+0.9%)0.714s61.02x
💻 LocalNext.js (Turbopack)16.138s17.032s0.894s61.15x
💻 LocalExpress16.616s (+11.7% 🔺)17.031s (+13.3% 🔺)0.415s61.19x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro60.403s (+2.8%)63.120s (+4.3%)2.717s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.237s2.009s0.772s151.00x
🐘 PostgresExpress1.246s (-2.6%)2.008s (~)0.762s151.01x
🐘 PostgresNitro1.296s (-1.0%)2.010s (~)0.714s151.05x
💻 LocalExpress1.489s (+1.5%)2.005s (~)0.516s151.20x
💻 LocalNext.js (Turbopack)1.523s2.006s0.484s151.23x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.491s (-2.9%)4.120s (-4.7%)1.628s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.267s (-2.7%)3.009s (~)0.742s101.00x
🐘 PostgresNitro2.356s (~)3.010s (~)0.654s101.04x
🐘 PostgresNext.js (Turbopack)2.419s3.011s0.592s101.07x
💻 LocalNext.js (Turbopack)2.918s3.309s0.391s101.29x
💻 LocalExpress2.979s (+8.0% 🔺)3.674s (+18.2% 🔺)0.695s91.31x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.676s (+2.0%)4.249s (+2.2%)1.574s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.499s (+1.0%)4.012s (~)0.513s81.00x
🐘 PostgresNitro3.500s (~)4.013s (~)0.513s81.00x
🐘 PostgresNext.js (Turbopack)3.697s4.012s0.314s81.06x
💻 LocalNext.js (Turbopack)7.775s8.518s0.743s42.22x
💻 LocalExpress8.327s (+19.4% 🔺)9.021s (+21.6% 🔺)0.694s42.38x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.529s (-12.5% 🟢)5.117s (-8.1% 🟢)1.588s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.223s2.009s0.786s151.00x
🐘 PostgresNitro1.286s (+2.7%)2.010s (~)0.724s151.05x
🐘 PostgresExpress1.295s (+2.8%)2.006s (~)0.711s151.06x
💻 LocalNext.js (Turbopack)1.531s2.006s0.475s151.25x
💻 LocalExpress1.537s (+3.1%)2.006s (~)0.470s151.26x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro78.300s (+3226.4% 🔺)79.830s (+1858.5% 🔺)1.531s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.266s (-3.2%)3.009s (~)0.743s101.00x
🐘 PostgresNitro2.362s (+1.8%)3.010s (~)0.648s101.04x
🐘 PostgresNext.js (Turbopack)2.427s3.009s0.582s101.07x
💻 LocalNext.js (Turbopack)2.866s3.454s0.587s91.26x
💻 LocalExpress2.967s (+12.1% 🔺)3.677s (+22.2% 🔺)0.709s91.31x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.131s (+20.8% 🔺)5.000s (+23.4% 🔺)1.869s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.482s (+1.4%)4.011s (~)0.529s81.00x
🐘 PostgresExpress3.495s (+0.6%)4.010s (~)0.515s81.00x
🐘 PostgresNext.js (Turbopack)3.743s4.013s0.270s81.08x
💻 LocalNext.js (Turbopack)8.387s8.768s0.381s42.41x
💻 LocalExpress8.685s (+18.5% 🔺)9.523s (+18.8% 🔺)0.838s42.49x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.451s (-40.9% 🟢)5.198s (-29.2% 🟢)1.747s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.758s (-9.5% 🟢)1.077s (+5.3% 🔺)0.319s561.00x
🐘 PostgresNitro0.836s (+3.0%)1.006s (~)0.171s601.10x
🐘 PostgresNext.js (Turbopack)0.843s1.024s0.181s591.11x
💻 LocalNext.js (Turbopack)0.855s1.004s0.150s601.13x
💻 LocalExpress1.088s (+57.7% 🔺)1.276s (+27.0% 🔺)0.188s481.43x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro10.294s (+0.6%)12.175s (+0.9%)1.881s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.862s (-4.5%)2.310s (+7.4% 🔺)0.448s401.00x
🐘 PostgresNitro2.027s (+5.0%)2.638s (+24.2% 🔺)0.610s351.09x
🐘 PostgresNext.js (Turbopack)2.078s2.946s0.868s311.12x
💻 LocalNext.js (Turbopack)2.728s3.008s0.279s301.47x
💻 LocalExpress3.024s (+35.5% 🔺)3.608s (+20.0% 🔺)0.584s251.62x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.544s (-4.7%)31.759s (-4.2%)2.214s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.656s (-7.0% 🟢)4.330s (+2.7%)0.674s291.00x
🐘 PostgresNitro4.155s (+5.1% 🔺)5.012s (+17.9% 🔺)0.857s241.14x
🐘 PostgresNext.js (Turbopack)4.214s5.013s0.799s241.15x
💻 LocalNext.js (Turbopack)8.721s9.018s0.297s142.39x
💻 LocalExpress9.221s (+26.3% 🔺)9.942s (+24.0% 🔺)0.720s132.52x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro77.662s (-9.7% 🟢)79.437s (-9.7% 🟢)1.775s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.256s1.008s0.751s601.00x
🐘 PostgresExpress0.289s (+3.8%)1.006s (~)0.717s601.13x
🐘 PostgresNitro0.302s (+8.6% 🔺)1.007s (~)0.705s601.18x
💻 LocalExpress0.579s (+5.2% 🔺)1.004s (~)0.425s602.26x
💻 LocalNext.js (Turbopack)0.597s1.022s0.425s592.33x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.027s (+30.9% 🔺)3.651s (+10.8% 🔺)1.624s171.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.462s (-6.3% 🟢)1.042s (+3.5%)0.580s871.00x
🐘 PostgresNext.js (Turbopack)0.508s1.007s0.499s901.10x
🐘 PostgresNitro0.539s (+11.8% 🔺)1.007s (~)0.469s901.17x
💻 LocalExpress2.512s (+5.4% 🔺)3.008s (~)0.497s305.44x
💻 LocalNext.js (Turbopack)2.570s3.009s0.438s305.57x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.790s (-1.7%)4.324s (-4.4%)1.534s211.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.804s (+3.1%)1.241s (+23.3% 🔺)0.437s971.00x
🐘 PostgresNext.js (Turbopack)0.821s1.008s0.187s1201.02x
🐘 PostgresNitro0.857s (+6.8% 🔺)1.010s (~)0.153s1191.07x
💻 LocalNext.js (Turbopack)10.866s11.392s0.527s1113.51x
💻 LocalExpress11.137s (+9.4% 🔺)11.847s (+10.8% 🔺)0.711s1113.85x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.896s (-3.4%)8.526s (-1.3%)1.630s151.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.177s1.003s0.012s1.018s0.840s101.00x
💻 LocalExpress0.199s (+43.6% 🔺)1.004s (~)0.012s (+20.4% 🔺)1.018s (~)0.819s101.12x
🐘 PostgresNext.js (Turbopack)0.202s1.001s0.002s1.010s0.808s101.14x
🐘 PostgresExpress0.211s (-1.3%)0.999s (+0.7%)0.006s (+293.3% 🔺)1.014s (~)0.803s101.19x
🐘 PostgresNitro0.225s (+8.5% 🔺)0.997s (~)0.002s (+100.0% 🔺)1.011s (~)0.786s101.27x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.512s (+60.1% 🔺)3.983s (+27.3% 🔺)0.936s (+14.4% 🔺)5.423s (+20.7% 🔺)2.911s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.595s (-2.9%)1.039s (+2.0%)0.007s (+142.6% 🔺)1.058s (+2.0%)0.462s571.00x
🐘 PostgresNitro0.656s (+6.8% 🔺)1.005s (~)0.005s (+27.0% 🔺)1.024s (~)0.368s591.10x
🐘 PostgresNext.js (Turbopack)0.679s1.027s0.005s1.043s0.364s591.14x
💻 LocalExpress0.822s (+5.8% 🔺)1.011s (~)0.010s (+3.7%)1.116s (-9.1% 🟢)0.294s541.38x
💻 LocalNext.js (Turbopack)0.867s1.012s0.009s1.229s0.361s491.46x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.975s (+18.9% 🔺)6.764s (+21.6% 🔺)0.297s (+33.4% 🔺)7.484s (+20.7% 🔺)2.509s91.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.011s (+6.6% 🔺)1.195s (+6.4% 🔺)0.000s (+218.0% 🔺)1.216s (+5.8% 🔺)0.205s501.00x
🐘 PostgresNext.js (Turbopack)1.019s1.406s0.000s1.429s0.410s421.01x
🐘 PostgresNitro1.047s (+10.1% 🔺)1.534s (+36.8% 🔺)0.000s (+Infinity% 🔺)1.549s (+36.4% 🔺)0.501s391.04x
💻 LocalExpress1.239s (+8.6% 🔺)2.022s (~)0.001s (+87.5% 🔺)2.024s (~)0.785s301.23x
💻 LocalNext.js (Turbopack)1.243s2.019s0.000s2.021s0.778s301.23x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.209s (+8.4% 🔺)4.603s (+5.4% 🔺)0.000s (-100.0% 🟢)5.067s (+6.0% 🔺)1.857s121.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.875s (+9.6% 🔺)2.178s (+5.3% 🔺)0.000s (-100.0% 🟢)2.190s (+2.9%)0.315s281.00x
🐘 PostgresExpress1.903s (+8.8% 🔺)2.401s (+14.4% 🔺)0.000s (-42.0% 🟢)2.434s (+15.2% 🔺)0.531s251.02x
🐘 PostgresNext.js (Turbopack)1.974s2.224s0.000s2.233s0.260s271.05x
💻 LocalNext.js (Turbopack)3.600s4.164s0.001s4.168s0.567s151.92x
💻 LocalExpress3.613s (+5.3% 🔺)4.167s (+6.7% 🔺)0.000s (-23.8% 🟢)4.169s (+6.7% 🔺)0.556s151.93x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.889s (+16.0% 🔺)6.469s (+20.1% 🔺)0.000s (-79.6% 🟢)6.884s (+19.2% 🔺)1.996s91.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)15/21
🐘 PostgresExpress11/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@VaguelySerious
VaguelySerious marked this pull request as ready for review April 15, 2026 01:32
@VaguelySerious
VaguelySerious requested a review from a team as a code ownerApril 15, 2026 01:32
@VaguelySeriousVaguelySerious added the backport-stable Cherry-pick this PR to the stable branch when merged label Apr 15, 2026

@karthikscale3karthikscale3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

My only concern with this change is, if it goes through the retry loops, the queue retries after 300seconds and if it goes through 3 full retries, o11y will show that it was stuck in the queue for ~15minutes before either succeeding or failing. This will cause a bit of confusion. Also, should we introduce a run_retrying state to persist this state?

@VaguelySerious

Copy link
Copy Markdown
MemberAuthor

@karthikscale3 This would only happen for runs which get stuck, so it shouldn't be a common occurrence, and it's better than failing due to a single delayed replay (if it's temporary, and the second would work)

@karthikscale3

Copy link
Copy Markdown
Contributor

@karthikscale3 This would only happen for runs which get stuck, so it shouldn't be a common occurrence, and it's better than failing due to a single delayed replay (if it's temporary, and the second would work)

Makes sense and sounds reasonable. I will let @TooTallNate and @pranaygp to weigh in too.

@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.

Clean, well-targeted change. The logic is correct:

  • On attempts 1–3 (metadata.attempt <= REPLAY_TIMEOUT_MAX_RETRIES): process.exit(1) without writing run_failed. The message isn't acked, so the queue retries with an incremented attempt counter.
  • On attempt 4+: writes run_failed then exits. Same behavior as before this PR.

This is strictly more lenient than the previous behavior (immediate failure on first timeout) — it can only help, not hurt. Transient slowness (e.g., cold start + large event log) that causes a one-off timeout now gets retried instead of permanently failing the run.

The timeout retry budget (3 attempts) is drawn from the same metadata.attempt counter as MAX_QUEUE_DELIVERIES (48), so messages that have already been retried for other reasons get fewer timeout grace attempts. This is reasonable — a message already at attempt 10 has had plenty of chances.

Changeset is properly scoped.

@VaguelySerious
VaguelySerious merged commit 0810b75 into mainApr 15, 2026
177 of 188 checks passed
@VaguelySerious
VaguelySerious deleted the peter/runtime-timeout-triple-retry branch April 15, 2026 21:26
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick had conflicts that could not be resolved automatically.

To resolve manually:

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

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

Copy link
Copy Markdown

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

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

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

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

[core] Re-try runtime replays that exceed deadline up to three times - #1740

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/runtime-timeout-triple-retry
Apr 15, 2026
Merged

[core] Re-try runtime replays that exceed deadline up to three times#1740
VaguelySerious merged 1 commit into
mainfrom
peter/runtime-timeout-triple-retry

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

No description provided.

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

vercelBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0be6831

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

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

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

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

@github-actions

github-actionsBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

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

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • 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_01KP7B7A7QYJ3HB65YQQMP7P9M

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • 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_01KP7B7A7QYJ3HB65YQQMP7P9M

turso (60 failed):

  • addTenWorkflow | wrun_01KP7AS1TVT6N4PFJZ0VQPEY9G
  • addTenWorkflow | wrun_01KP7AS1TVT6N4PFJZ0VQPEY9G
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KP7ATBN010646TM91Z0J2KCN
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KP7AS8PWTHZY5VWE8QKWD7T2
  • promiseRaceWorkflow | wrun_01KP7ASF4Y42CE2P08VZ0X7D32
  • promiseAnyWorkflow | wrun_01KP7ASH0JC28PCK6HPBMTTK3Y
  • importedStepOnlyWorkflow | wrun_01KP7ATSTCC6VSSK1YXGGBZ9GT
  • hookWorkflow | wrun_01KP7ASWT4T4DQXDR4GKBEY3NB
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • sleepingWorkflow | wrun_01KP7ATPFV02AMPASVD8EQYW38
  • parallelSleepWorkflow | wrun_01KP7AV2JH6NPWGQDKEX6XV61H
  • nullByteWorkflow | wrun_01KP7AV6PMF3FHYMWD8ZRYBRFH
  • workflowAndStepMetadataWorkflow | wrun_01KP7AV8KCCPMTHQMF14EWZQT4
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • promiseRaceStressTestWorkflow | wrun_01KP7AXY172T066FSSN5PAGFF5
  • 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_01KP7B0ZT288MHG76ECCGE27BK
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KP7B24ZX7E9SZ3YDQA8960S2
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KP7B2PQJFD50A1EN4NZSGYG2
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KP7B2Y30RDCWW54FE1114HGG
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KP7B32MR0MYBZJ8W1E7DSE1T
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KP7B34MQEYY51PHK09RYNJ2T
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KP7B3DRFR27GFA9WB424H24K
  • 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_01KP7B3TATBNZEB033YWMNANH4
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KP7B3YW92J8WK23VPN9QY311
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KP7B43AV4WT5XS3RJ47H447R
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KP7B48Z9N9D5WX8MA3DMY55J
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KP7B4ET7WVYX5YRD7JA7Z6N0
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KP7B4MDCTHKKP1GYV0S1ANJ0
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KP7B4SWEVRKR1AH0SW74D61C
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KP7B52855R8YCC5QB2C0KRFH
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KP7B5A6YCVNQ33FJ16S4HS6Q
  • cancelRun - cancelling a running workflow | wrun_01KP7B5FQRGJJ8KFRXH9TS7HVC
  • cancelRun via CLI - cancelling a running workflow | wrun_01KP7B5R36QBDYXNGT9H1AJ7Z0
  • 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_01KP7B629NGXP35C7HY4R6JGAJ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KP7B6MX876Q5DJGKSRBDXR2H
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KP7B6YR4N39DW45XX3HVBKRH
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KP7B759XJN18YD8RTVHVWSNB
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KP7B789YDM6EEJ3SB370QT0C
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KP7B7A7QYJ3HB65YQQMP7P9M
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KP7B7D8XA1AK4KWC9M2QFGE1

Details by Category

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

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 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.040s (+14.2% 🔺)1.005s (~)0.965s101.00x
💻 LocalNext.js (Turbopack)0.050s1.005s0.955s101.26x
🐘 PostgresNitro0.062s (+4.5%)1.011s (~)0.949s101.55x
🐘 PostgresNext.js (Turbopack)0.063s1.012s0.949s101.57x
🐘 PostgresExpress0.087s (+35.8% 🔺)1.009s (~)0.922s102.16x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.286s (-2.0%)2.156s (-13.0% 🟢)1.870s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.121s2.007s0.886s101.00x
💻 LocalExpress1.128s (+2.6%)2.005s (~)0.878s101.01x
🐘 PostgresNext.js (Turbopack)1.149s2.011s0.862s101.03x
🐘 PostgresNitro1.157s (+0.5%)2.011s (~)0.854s101.03x
🐘 PostgresExpress1.169s (+1.9%)2.025s (+0.8%)0.857s101.04x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.007s (+3.1%)3.784s (+7.5% 🔺)1.777s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.785s11.024s0.239s31.00x
🐘 PostgresNext.js (Turbopack)10.915s11.022s0.106s31.01x
🐘 PostgresNitro10.956s (~)11.027s (~)0.071s31.02x
💻 LocalExpress10.956s (+3.1%)11.025s (~)0.069s31.02x
🐘 PostgresExpress11.082s (+2.2%)11.713s (+6.3% 🔺)0.631s31.03x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.107s (~)19.981s (+1.3%)1.874s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)14.650s15.029s0.379s41.00x
🐘 PostgresNitro14.683s (+0.7%)15.027s (~)0.344s41.00x
🐘 PostgresNext.js (Turbopack)14.725s15.024s0.300s41.01x
🐘 PostgresExpress14.973s (+3.5%)15.775s (+5.0% 🔺)0.802s41.02x
💻 LocalExpress14.998s (+5.5% 🔺)15.279s (+1.7%)0.281s41.02x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro32.351s (-5.7% 🟢)34.063s (-7.1% 🟢)1.712s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.975s (+0.7%)14.459s (+3.1%)0.484s71.00x
🐘 PostgresNext.js (Turbopack)14.094s14.594s0.500s71.01x
🐘 PostgresNitro14.308s (+1.2%)15.023s (+0.9%)0.714s61.02x
💻 LocalNext.js (Turbopack)16.138s17.032s0.894s61.15x
💻 LocalExpress16.616s (+11.7% 🔺)17.031s (+13.3% 🔺)0.415s61.19x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro60.403s (+2.8%)63.120s (+4.3%)2.717s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.237s2.009s0.772s151.00x
🐘 PostgresExpress1.246s (-2.6%)2.008s (~)0.762s151.01x
🐘 PostgresNitro1.296s (-1.0%)2.010s (~)0.714s151.05x
💻 LocalExpress1.489s (+1.5%)2.005s (~)0.516s151.20x
💻 LocalNext.js (Turbopack)1.523s2.006s0.484s151.23x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.491s (-2.9%)4.120s (-4.7%)1.628s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.267s (-2.7%)3.009s (~)0.742s101.00x
🐘 PostgresNitro2.356s (~)3.010s (~)0.654s101.04x
🐘 PostgresNext.js (Turbopack)2.419s3.011s0.592s101.07x
💻 LocalNext.js (Turbopack)2.918s3.309s0.391s101.29x
💻 LocalExpress2.979s (+8.0% 🔺)3.674s (+18.2% 🔺)0.695s91.31x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.676s (+2.0%)4.249s (+2.2%)1.574s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.499s (+1.0%)4.012s (~)0.513s81.00x
🐘 PostgresNitro3.500s (~)4.013s (~)0.513s81.00x
🐘 PostgresNext.js (Turbopack)3.697s4.012s0.314s81.06x
💻 LocalNext.js (Turbopack)7.775s8.518s0.743s42.22x
💻 LocalExpress8.327s (+19.4% 🔺)9.021s (+21.6% 🔺)0.694s42.38x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.529s (-12.5% 🟢)5.117s (-8.1% 🟢)1.588s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.223s2.009s0.786s151.00x
🐘 PostgresNitro1.286s (+2.7%)2.010s (~)0.724s151.05x
🐘 PostgresExpress1.295s (+2.8%)2.006s (~)0.711s151.06x
💻 LocalNext.js (Turbopack)1.531s2.006s0.475s151.25x
💻 LocalExpress1.537s (+3.1%)2.006s (~)0.470s151.26x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro78.300s (+3226.4% 🔺)79.830s (+1858.5% 🔺)1.531s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.266s (-3.2%)3.009s (~)0.743s101.00x
🐘 PostgresNitro2.362s (+1.8%)3.010s (~)0.648s101.04x
🐘 PostgresNext.js (Turbopack)2.427s3.009s0.582s101.07x
💻 LocalNext.js (Turbopack)2.866s3.454s0.587s91.26x
💻 LocalExpress2.967s (+12.1% 🔺)3.677s (+22.2% 🔺)0.709s91.31x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.131s (+20.8% 🔺)5.000s (+23.4% 🔺)1.869s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.482s (+1.4%)4.011s (~)0.529s81.00x
🐘 PostgresExpress3.495s (+0.6%)4.010s (~)0.515s81.00x
🐘 PostgresNext.js (Turbopack)3.743s4.013s0.270s81.08x
💻 LocalNext.js (Turbopack)8.387s8.768s0.381s42.41x
💻 LocalExpress8.685s (+18.5% 🔺)9.523s (+18.8% 🔺)0.838s42.49x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.451s (-40.9% 🟢)5.198s (-29.2% 🟢)1.747s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.758s (-9.5% 🟢)1.077s (+5.3% 🔺)0.319s561.00x
🐘 PostgresNitro0.836s (+3.0%)1.006s (~)0.171s601.10x
🐘 PostgresNext.js (Turbopack)0.843s1.024s0.181s591.11x
💻 LocalNext.js (Turbopack)0.855s1.004s0.150s601.13x
💻 LocalExpress1.088s (+57.7% 🔺)1.276s (+27.0% 🔺)0.188s481.43x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro10.294s (+0.6%)12.175s (+0.9%)1.881s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.862s (-4.5%)2.310s (+7.4% 🔺)0.448s401.00x
🐘 PostgresNitro2.027s (+5.0%)2.638s (+24.2% 🔺)0.610s351.09x
🐘 PostgresNext.js (Turbopack)2.078s2.946s0.868s311.12x
💻 LocalNext.js (Turbopack)2.728s3.008s0.279s301.47x
💻 LocalExpress3.024s (+35.5% 🔺)3.608s (+20.0% 🔺)0.584s251.62x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.544s (-4.7%)31.759s (-4.2%)2.214s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.656s (-7.0% 🟢)4.330s (+2.7%)0.674s291.00x
🐘 PostgresNitro4.155s (+5.1% 🔺)5.012s (+17.9% 🔺)0.857s241.14x
🐘 PostgresNext.js (Turbopack)4.214s5.013s0.799s241.15x
💻 LocalNext.js (Turbopack)8.721s9.018s0.297s142.39x
💻 LocalExpress9.221s (+26.3% 🔺)9.942s (+24.0% 🔺)0.720s132.52x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro77.662s (-9.7% 🟢)79.437s (-9.7% 🟢)1.775s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.256s1.008s0.751s601.00x
🐘 PostgresExpress0.289s (+3.8%)1.006s (~)0.717s601.13x
🐘 PostgresNitro0.302s (+8.6% 🔺)1.007s (~)0.705s601.18x
💻 LocalExpress0.579s (+5.2% 🔺)1.004s (~)0.425s602.26x
💻 LocalNext.js (Turbopack)0.597s1.022s0.425s592.33x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.027s (+30.9% 🔺)3.651s (+10.8% 🔺)1.624s171.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.462s (-6.3% 🟢)1.042s (+3.5%)0.580s871.00x
🐘 PostgresNext.js (Turbopack)0.508s1.007s0.499s901.10x
🐘 PostgresNitro0.539s (+11.8% 🔺)1.007s (~)0.469s901.17x
💻 LocalExpress2.512s (+5.4% 🔺)3.008s (~)0.497s305.44x
💻 LocalNext.js (Turbopack)2.570s3.009s0.438s305.57x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.790s (-1.7%)4.324s (-4.4%)1.534s211.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.804s (+3.1%)1.241s (+23.3% 🔺)0.437s971.00x
🐘 PostgresNext.js (Turbopack)0.821s1.008s0.187s1201.02x
🐘 PostgresNitro0.857s (+6.8% 🔺)1.010s (~)0.153s1191.07x
💻 LocalNext.js (Turbopack)10.866s11.392s0.527s1113.51x
💻 LocalExpress11.137s (+9.4% 🔺)11.847s (+10.8% 🔺)0.711s1113.85x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.896s (-3.4%)8.526s (-1.3%)1.630s151.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.177s1.003s0.012s1.018s0.840s101.00x
💻 LocalExpress0.199s (+43.6% 🔺)1.004s (~)0.012s (+20.4% 🔺)1.018s (~)0.819s101.12x
🐘 PostgresNext.js (Turbopack)0.202s1.001s0.002s1.010s0.808s101.14x
🐘 PostgresExpress0.211s (-1.3%)0.999s (+0.7%)0.006s (+293.3% 🔺)1.014s (~)0.803s101.19x
🐘 PostgresNitro0.225s (+8.5% 🔺)0.997s (~)0.002s (+100.0% 🔺)1.011s (~)0.786s101.27x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.512s (+60.1% 🔺)3.983s (+27.3% 🔺)0.936s (+14.4% 🔺)5.423s (+20.7% 🔺)2.911s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.595s (-2.9%)1.039s (+2.0%)0.007s (+142.6% 🔺)1.058s (+2.0%)0.462s571.00x
🐘 PostgresNitro0.656s (+6.8% 🔺)1.005s (~)0.005s (+27.0% 🔺)1.024s (~)0.368s591.10x
🐘 PostgresNext.js (Turbopack)0.679s1.027s0.005s1.043s0.364s591.14x
💻 LocalExpress0.822s (+5.8% 🔺)1.011s (~)0.010s (+3.7%)1.116s (-9.1% 🟢)0.294s541.38x
💻 LocalNext.js (Turbopack)0.867s1.012s0.009s1.229s0.361s491.46x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.975s (+18.9% 🔺)6.764s (+21.6% 🔺)0.297s (+33.4% 🔺)7.484s (+20.7% 🔺)2.509s91.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.011s (+6.6% 🔺)1.195s (+6.4% 🔺)0.000s (+218.0% 🔺)1.216s (+5.8% 🔺)0.205s501.00x
🐘 PostgresNext.js (Turbopack)1.019s1.406s0.000s1.429s0.410s421.01x
🐘 PostgresNitro1.047s (+10.1% 🔺)1.534s (+36.8% 🔺)0.000s (+Infinity% 🔺)1.549s (+36.4% 🔺)0.501s391.04x
💻 LocalExpress1.239s (+8.6% 🔺)2.022s (~)0.001s (+87.5% 🔺)2.024s (~)0.785s301.23x
💻 LocalNext.js (Turbopack)1.243s2.019s0.000s2.021s0.778s301.23x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.209s (+8.4% 🔺)4.603s (+5.4% 🔺)0.000s (-100.0% 🟢)5.067s (+6.0% 🔺)1.857s121.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.875s (+9.6% 🔺)2.178s (+5.3% 🔺)0.000s (-100.0% 🟢)2.190s (+2.9%)0.315s281.00x
🐘 PostgresExpress1.903s (+8.8% 🔺)2.401s (+14.4% 🔺)0.000s (-42.0% 🟢)2.434s (+15.2% 🔺)0.531s251.02x
🐘 PostgresNext.js (Turbopack)1.974s2.224s0.000s2.233s0.260s271.05x
💻 LocalNext.js (Turbopack)3.600s4.164s0.001s4.168s0.567s151.92x
💻 LocalExpress3.613s (+5.3% 🔺)4.167s (+6.7% 🔺)0.000s (-23.8% 🟢)4.169s (+6.7% 🔺)0.556s151.93x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.889s (+16.0% 🔺)6.469s (+20.1% 🔺)0.000s (-79.6% 🟢)6.884s (+19.2% 🔺)1.996s91.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)15/21
🐘 PostgresExpress11/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@VaguelySerious
VaguelySerious marked this pull request as ready for review April 15, 2026 01:32
@VaguelySerious
VaguelySerious requested a review from a team as a code ownerApril 15, 2026 01:32
@VaguelySeriousVaguelySerious added the backport-stable Cherry-pick this PR to the stable branch when merged label Apr 15, 2026

@karthikscale3karthikscale3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

My only concern with this change is, if it goes through the retry loops, the queue retries after 300seconds and if it goes through 3 full retries, o11y will show that it was stuck in the queue for ~15minutes before either succeeding or failing. This will cause a bit of confusion. Also, should we introduce a run_retrying state to persist this state?

@VaguelySerious

Copy link
Copy Markdown
MemberAuthor

@karthikscale3 This would only happen for runs which get stuck, so it shouldn't be a common occurrence, and it's better than failing due to a single delayed replay (if it's temporary, and the second would work)

@karthikscale3

Copy link
Copy Markdown
Contributor

@karthikscale3 This would only happen for runs which get stuck, so it shouldn't be a common occurrence, and it's better than failing due to a single delayed replay (if it's temporary, and the second would work)

Makes sense and sounds reasonable. I will let @TooTallNate and @pranaygp to weigh in too.

@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.

Clean, well-targeted change. The logic is correct:

  • On attempts 1–3 (metadata.attempt <= REPLAY_TIMEOUT_MAX_RETRIES): process.exit(1) without writing run_failed. The message isn't acked, so the queue retries with an incremented attempt counter.
  • On attempt 4+: writes run_failed then exits. Same behavior as before this PR.

This is strictly more lenient than the previous behavior (immediate failure on first timeout) — it can only help, not hurt. Transient slowness (e.g., cold start + large event log) that causes a one-off timeout now gets retried instead of permanently failing the run.

The timeout retry budget (3 attempts) is drawn from the same metadata.attempt counter as MAX_QUEUE_DELIVERIES (48), so messages that have already been retried for other reasons get fewer timeout grace attempts. This is reasonable — a message already at attempt 10 has had plenty of chances.

Changeset is properly scoped.

@VaguelySerious
VaguelySerious merged commit 0810b75 into mainApr 15, 2026
177 of 188 checks passed
@VaguelySerious
VaguelySerious deleted the peter/runtime-timeout-triple-retry branch April 15, 2026 21:26
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick had conflicts that could not be resolved automatically.

To resolve manually:

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

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

Copy link
Copy Markdown

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

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

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

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

[core] Re-try runtime replays that exceed deadline up to three times - #1740

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/runtime-timeout-triple-retry
Apr 15, 2026
Merged

[core] Re-try runtime replays that exceed deadline up to three times#1740
VaguelySerious merged 1 commit into
mainfrom
peter/runtime-timeout-triple-retry

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

No description provided.

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

vercelBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0be6831

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

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

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

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

@github-actions

github-actionsBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

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

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • 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_01KP7B7A7QYJ3HB65YQQMP7P9M

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • 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_01KP7B7A7QYJ3HB65YQQMP7P9M

turso (60 failed):

  • addTenWorkflow | wrun_01KP7AS1TVT6N4PFJZ0VQPEY9G
  • addTenWorkflow | wrun_01KP7AS1TVT6N4PFJZ0VQPEY9G
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KP7ATBN010646TM91Z0J2KCN
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KP7AS8PWTHZY5VWE8QKWD7T2
  • promiseRaceWorkflow | wrun_01KP7ASF4Y42CE2P08VZ0X7D32
  • promiseAnyWorkflow | wrun_01KP7ASH0JC28PCK6HPBMTTK3Y
  • importedStepOnlyWorkflow | wrun_01KP7ATSTCC6VSSK1YXGGBZ9GT
  • hookWorkflow | wrun_01KP7ASWT4T4DQXDR4GKBEY3NB
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP7AT7R8NG1ZA8WBXM8X07W6
  • webhookWorkflow | wrun_01KP7ATGQMDS94H0B0M2NHG8C3
  • sleepingWorkflow | wrun_01KP7ATPFV02AMPASVD8EQYW38
  • parallelSleepWorkflow | wrun_01KP7AV2JH6NPWGQDKEX6XV61H
  • nullByteWorkflow | wrun_01KP7AV6PMF3FHYMWD8ZRYBRFH
  • workflowAndStepMetadataWorkflow | wrun_01KP7AV8KCCPMTHQMF14EWZQT4
  • fetchWorkflow | wrun_01KP7AXTJ76W52QXC3560VM0WD
  • promiseRaceStressTestWorkflow | wrun_01KP7AXY172T066FSSN5PAGFF5
  • 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_01KP7B0ZT288MHG76ECCGE27BK
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP7B1JB8WXRMM9KTCDV63PR8
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KP7B24ZX7E9SZ3YDQA8960S2
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KP7B2PQJFD50A1EN4NZSGYG2
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KP7B2Y30RDCWW54FE1114HGG
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KP7B32MR0MYBZJ8W1E7DSE1T
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KP7B34MQEYY51PHK09RYNJ2T
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KP7B3DRFR27GFA9WB424H24K
  • 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_01KP7B3TATBNZEB033YWMNANH4
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KP7B3YW92J8WK23VPN9QY311
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KP7B43AV4WT5XS3RJ47H447R
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KP7B48Z9N9D5WX8MA3DMY55J
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KP7B4ET7WVYX5YRD7JA7Z6N0
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KP7B4MDCTHKKP1GYV0S1ANJ0
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KP7B4SWEVRKR1AH0SW74D61C
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KP7B52855R8YCC5QB2C0KRFH
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KP7B5A6YCVNQ33FJ16S4HS6Q
  • cancelRun - cancelling a running workflow | wrun_01KP7B5FQRGJJ8KFRXH9TS7HVC
  • cancelRun via CLI - cancelling a running workflow | wrun_01KP7B5R36QBDYXNGT9H1AJ7Z0
  • 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_01KP7B629NGXP35C7HY4R6JGAJ
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KP7B6MX876Q5DJGKSRBDXR2H
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KP7B6YR4N39DW45XX3HVBKRH
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KP7B759XJN18YD8RTVHVWSNB
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KP7B789YDM6EEJ3SB370QT0C
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KP7B7A7QYJ3HB65YQQMP7P9M
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KP7B7D8XA1AK4KWC9M2QFGE1

Details by Category

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

📋 View full workflow run

@github-actions

github-actionsBot commented Apr 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.040s (+14.2% 🔺)1.005s (~)0.965s101.00x
💻 LocalNext.js (Turbopack)0.050s1.005s0.955s101.26x
🐘 PostgresNitro0.062s (+4.5%)1.011s (~)0.949s101.55x
🐘 PostgresNext.js (Turbopack)0.063s1.012s0.949s101.57x
🐘 PostgresExpress0.087s (+35.8% 🔺)1.009s (~)0.922s102.16x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.286s (-2.0%)2.156s (-13.0% 🟢)1.870s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.121s2.007s0.886s101.00x
💻 LocalExpress1.128s (+2.6%)2.005s (~)0.878s101.01x
🐘 PostgresNext.js (Turbopack)1.149s2.011s0.862s101.03x
🐘 PostgresNitro1.157s (+0.5%)2.011s (~)0.854s101.03x
🐘 PostgresExpress1.169s (+1.9%)2.025s (+0.8%)0.857s101.04x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.007s (+3.1%)3.784s (+7.5% 🔺)1.777s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.785s11.024s0.239s31.00x
🐘 PostgresNext.js (Turbopack)10.915s11.022s0.106s31.01x
🐘 PostgresNitro10.956s (~)11.027s (~)0.071s31.02x
💻 LocalExpress10.956s (+3.1%)11.025s (~)0.069s31.02x
🐘 PostgresExpress11.082s (+2.2%)11.713s (+6.3% 🔺)0.631s31.03x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.107s (~)19.981s (+1.3%)1.874s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)14.650s15.029s0.379s41.00x
🐘 PostgresNitro14.683s (+0.7%)15.027s (~)0.344s41.00x
🐘 PostgresNext.js (Turbopack)14.725s15.024s0.300s41.01x
🐘 PostgresExpress14.973s (+3.5%)15.775s (+5.0% 🔺)0.802s41.02x
💻 LocalExpress14.998s (+5.5% 🔺)15.279s (+1.7%)0.281s41.02x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro32.351s (-5.7% 🟢)34.063s (-7.1% 🟢)1.712s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.975s (+0.7%)14.459s (+3.1%)0.484s71.00x
🐘 PostgresNext.js (Turbopack)14.094s14.594s0.500s71.01x
🐘 PostgresNitro14.308s (+1.2%)15.023s (+0.9%)0.714s61.02x
💻 LocalNext.js (Turbopack)16.138s17.032s0.894s61.15x
💻 LocalExpress16.616s (+11.7% 🔺)17.031s (+13.3% 🔺)0.415s61.19x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro60.403s (+2.8%)63.120s (+4.3%)2.717s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.237s2.009s0.772s151.00x
🐘 PostgresExpress1.246s (-2.6%)2.008s (~)0.762s151.01x
🐘 PostgresNitro1.296s (-1.0%)2.010s (~)0.714s151.05x
💻 LocalExpress1.489s (+1.5%)2.005s (~)0.516s151.20x
💻 LocalNext.js (Turbopack)1.523s2.006s0.484s151.23x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.491s (-2.9%)4.120s (-4.7%)1.628s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.267s (-2.7%)3.009s (~)0.742s101.00x
🐘 PostgresNitro2.356s (~)3.010s (~)0.654s101.04x
🐘 PostgresNext.js (Turbopack)2.419s3.011s0.592s101.07x
💻 LocalNext.js (Turbopack)2.918s3.309s0.391s101.29x
💻 LocalExpress2.979s (+8.0% 🔺)3.674s (+18.2% 🔺)0.695s91.31x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.676s (+2.0%)4.249s (+2.2%)1.574s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.499s (+1.0%)4.012s (~)0.513s81.00x
🐘 PostgresNitro3.500s (~)4.013s (~)0.513s81.00x
🐘 PostgresNext.js (Turbopack)3.697s4.012s0.314s81.06x
💻 LocalNext.js (Turbopack)7.775s8.518s0.743s42.22x
💻 LocalExpress8.327s (+19.4% 🔺)9.021s (+21.6% 🔺)0.694s42.38x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.529s (-12.5% 🟢)5.117s (-8.1% 🟢)1.588s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.223s2.009s0.786s151.00x
🐘 PostgresNitro1.286s (+2.7%)2.010s (~)0.724s151.05x
🐘 PostgresExpress1.295s (+2.8%)2.006s (~)0.711s151.06x
💻 LocalNext.js (Turbopack)1.531s2.006s0.475s151.25x
💻 LocalExpress1.537s (+3.1%)2.006s (~)0.470s151.26x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro78.300s (+3226.4% 🔺)79.830s (+1858.5% 🔺)1.531s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.266s (-3.2%)3.009s (~)0.743s101.00x
🐘 PostgresNitro2.362s (+1.8%)3.010s (~)0.648s101.04x
🐘 PostgresNext.js (Turbopack)2.427s3.009s0.582s101.07x
💻 LocalNext.js (Turbopack)2.866s3.454s0.587s91.26x
💻 LocalExpress2.967s (+12.1% 🔺)3.677s (+22.2% 🔺)0.709s91.31x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.131s (+20.8% 🔺)5.000s (+23.4% 🔺)1.869s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.482s (+1.4%)4.011s (~)0.529s81.00x
🐘 PostgresExpress3.495s (+0.6%)4.010s (~)0.515s81.00x
🐘 PostgresNext.js (Turbopack)3.743s4.013s0.270s81.08x
💻 LocalNext.js (Turbopack)8.387s8.768s0.381s42.41x
💻 LocalExpress8.685s (+18.5% 🔺)9.523s (+18.8% 🔺)0.838s42.49x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.451s (-40.9% 🟢)5.198s (-29.2% 🟢)1.747s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.758s (-9.5% 🟢)1.077s (+5.3% 🔺)0.319s561.00x
🐘 PostgresNitro0.836s (+3.0%)1.006s (~)0.171s601.10x
🐘 PostgresNext.js (Turbopack)0.843s1.024s0.181s591.11x
💻 LocalNext.js (Turbopack)0.855s1.004s0.150s601.13x
💻 LocalExpress1.088s (+57.7% 🔺)1.276s (+27.0% 🔺)0.188s481.43x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro10.294s (+0.6%)12.175s (+0.9%)1.881s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.862s (-4.5%)2.310s (+7.4% 🔺)0.448s401.00x
🐘 PostgresNitro2.027s (+5.0%)2.638s (+24.2% 🔺)0.610s351.09x
🐘 PostgresNext.js (Turbopack)2.078s2.946s0.868s311.12x
💻 LocalNext.js (Turbopack)2.728s3.008s0.279s301.47x
💻 LocalExpress3.024s (+35.5% 🔺)3.608s (+20.0% 🔺)0.584s251.62x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro29.544s (-4.7%)31.759s (-4.2%)2.214s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.656s (-7.0% 🟢)4.330s (+2.7%)0.674s291.00x
🐘 PostgresNitro4.155s (+5.1% 🔺)5.012s (+17.9% 🔺)0.857s241.14x
🐘 PostgresNext.js (Turbopack)4.214s5.013s0.799s241.15x
💻 LocalNext.js (Turbopack)8.721s9.018s0.297s142.39x
💻 LocalExpress9.221s (+26.3% 🔺)9.942s (+24.0% 🔺)0.720s132.52x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro77.662s (-9.7% 🟢)79.437s (-9.7% 🟢)1.775s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.256s1.008s0.751s601.00x
🐘 PostgresExpress0.289s (+3.8%)1.006s (~)0.717s601.13x
🐘 PostgresNitro0.302s (+8.6% 🔺)1.007s (~)0.705s601.18x
💻 LocalExpress0.579s (+5.2% 🔺)1.004s (~)0.425s602.26x
💻 LocalNext.js (Turbopack)0.597s1.022s0.425s592.33x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.027s (+30.9% 🔺)3.651s (+10.8% 🔺)1.624s171.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.462s (-6.3% 🟢)1.042s (+3.5%)0.580s871.00x
🐘 PostgresNext.js (Turbopack)0.508s1.007s0.499s901.10x
🐘 PostgresNitro0.539s (+11.8% 🔺)1.007s (~)0.469s901.17x
💻 LocalExpress2.512s (+5.4% 🔺)3.008s (~)0.497s305.44x
💻 LocalNext.js (Turbopack)2.570s3.009s0.438s305.57x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.790s (-1.7%)4.324s (-4.4%)1.534s211.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.804s (+3.1%)1.241s (+23.3% 🔺)0.437s971.00x
🐘 PostgresNext.js (Turbopack)0.821s1.008s0.187s1201.02x
🐘 PostgresNitro0.857s (+6.8% 🔺)1.010s (~)0.153s1191.07x
💻 LocalNext.js (Turbopack)10.866s11.392s0.527s1113.51x
💻 LocalExpress11.137s (+9.4% 🔺)11.847s (+10.8% 🔺)0.711s1113.85x
💻 LocalNitro⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.896s (-3.4%)8.526s (-1.3%)1.630s151.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)0.177s1.003s0.012s1.018s0.840s101.00x
💻 LocalExpress0.199s (+43.6% 🔺)1.004s (~)0.012s (+20.4% 🔺)1.018s (~)0.819s101.12x
🐘 PostgresNext.js (Turbopack)0.202s1.001s0.002s1.010s0.808s101.14x
🐘 PostgresExpress0.211s (-1.3%)0.999s (+0.7%)0.006s (+293.3% 🔺)1.014s (~)0.803s101.19x
🐘 PostgresNitro0.225s (+8.5% 🔺)0.997s (~)0.002s (+100.0% 🔺)1.011s (~)0.786s101.27x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.512s (+60.1% 🔺)3.983s (+27.3% 🔺)0.936s (+14.4% 🔺)5.423s (+20.7% 🔺)2.911s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.595s (-2.9%)1.039s (+2.0%)0.007s (+142.6% 🔺)1.058s (+2.0%)0.462s571.00x
🐘 PostgresNitro0.656s (+6.8% 🔺)1.005s (~)0.005s (+27.0% 🔺)1.024s (~)0.368s591.10x
🐘 PostgresNext.js (Turbopack)0.679s1.027s0.005s1.043s0.364s591.14x
💻 LocalExpress0.822s (+5.8% 🔺)1.011s (~)0.010s (+3.7%)1.116s (-9.1% 🟢)0.294s541.38x
💻 LocalNext.js (Turbopack)0.867s1.012s0.009s1.229s0.361s491.46x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.975s (+18.9% 🔺)6.764s (+21.6% 🔺)0.297s (+33.4% 🔺)7.484s (+20.7% 🔺)2.509s91.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.011s (+6.6% 🔺)1.195s (+6.4% 🔺)0.000s (+218.0% 🔺)1.216s (+5.8% 🔺)0.205s501.00x
🐘 PostgresNext.js (Turbopack)1.019s1.406s0.000s1.429s0.410s421.01x
🐘 PostgresNitro1.047s (+10.1% 🔺)1.534s (+36.8% 🔺)0.000s (+Infinity% 🔺)1.549s (+36.4% 🔺)0.501s391.04x
💻 LocalExpress1.239s (+8.6% 🔺)2.022s (~)0.001s (+87.5% 🔺)2.024s (~)0.785s301.23x
💻 LocalNext.js (Turbopack)1.243s2.019s0.000s2.021s0.778s301.23x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.209s (+8.4% 🔺)4.603s (+5.4% 🔺)0.000s (-100.0% 🟢)5.067s (+6.0% 🔺)1.857s121.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.875s (+9.6% 🔺)2.178s (+5.3% 🔺)0.000s (-100.0% 🟢)2.190s (+2.9%)0.315s281.00x
🐘 PostgresExpress1.903s (+8.8% 🔺)2.401s (+14.4% 🔺)0.000s (-42.0% 🟢)2.434s (+15.2% 🔺)0.531s251.02x
🐘 PostgresNext.js (Turbopack)1.974s2.224s0.000s2.233s0.260s271.05x
💻 LocalNext.js (Turbopack)3.600s4.164s0.001s4.168s0.567s151.92x
💻 LocalExpress3.613s (+5.3% 🔺)4.167s (+6.7% 🔺)0.000s (-23.8% 🟢)4.169s (+6.7% 🔺)0.556s151.93x
💻 LocalNitro⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.889s (+16.0% 🔺)6.469s (+20.1% 🔺)0.000s (-79.6% 🟢)6.884s (+19.2% 🔺)1.996s91.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)15/21
🐘 PostgresExpress11/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@VaguelySerious
VaguelySerious marked this pull request as ready for review April 15, 2026 01:32
@VaguelySerious
VaguelySerious requested a review from a team as a code ownerApril 15, 2026 01:32
@VaguelySeriousVaguelySerious added the backport-stable Cherry-pick this PR to the stable branch when merged label Apr 15, 2026

@karthikscale3karthikscale3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

My only concern with this change is, if it goes through the retry loops, the queue retries after 300seconds and if it goes through 3 full retries, o11y will show that it was stuck in the queue for ~15minutes before either succeeding or failing. This will cause a bit of confusion. Also, should we introduce a run_retrying state to persist this state?

@VaguelySerious

Copy link
Copy Markdown
MemberAuthor

@karthikscale3 This would only happen for runs which get stuck, so it shouldn't be a common occurrence, and it's better than failing due to a single delayed replay (if it's temporary, and the second would work)

@karthikscale3

Copy link
Copy Markdown
Contributor

@karthikscale3 This would only happen for runs which get stuck, so it shouldn't be a common occurrence, and it's better than failing due to a single delayed replay (if it's temporary, and the second would work)

Makes sense and sounds reasonable. I will let @TooTallNate and @pranaygp to weigh in too.

@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.

Clean, well-targeted change. The logic is correct:

  • On attempts 1–3 (metadata.attempt <= REPLAY_TIMEOUT_MAX_RETRIES): process.exit(1) without writing run_failed. The message isn't acked, so the queue retries with an incremented attempt counter.
  • On attempt 4+: writes run_failed then exits. Same behavior as before this PR.

This is strictly more lenient than the previous behavior (immediate failure on first timeout) — it can only help, not hurt. Transient slowness (e.g., cold start + large event log) that causes a one-off timeout now gets retried instead of permanently failing the run.

The timeout retry budget (3 attempts) is drawn from the same metadata.attempt counter as MAX_QUEUE_DELIVERIES (48), so messages that have already been retried for other reasons get fewer timeout grace attempts. This is reasonable — a message already at attempt 10 has had plenty of chances.

Changeset is properly scoped.

@VaguelySerious
VaguelySerious merged commit 0810b75 into mainApr 15, 2026
177 of 188 checks passed
@VaguelySerious
VaguelySerious deleted the peter/runtime-timeout-triple-retry branch April 15, 2026 21:26
@ghost

Copy link
Copy Markdown

Backport to stable failed — the cherry-pick had conflicts that could not be resolved automatically.

To resolve manually:

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

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

Copy link
Copy Markdown

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

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

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@VaguelySerious@karthikscale3@TooTallNate