fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals - #1307

Merged
TooTallNate merged 3 commits into
mainfrom
fix/local-queue-timeout-status-code
Mar 10, 2026
Merged

fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals#1307
TooTallNate merged 3 commits into
mainfrom
fix/local-queue-timeout-status-code

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Changed the local queue's timeout re-enqueue signal from HTTP 503 (Service Unavailable) to HTTP 200, matching how the VQS client handles successful responses
  • Updated the consumer side to detect timeoutSeconds from the response body on 2xx responses instead of checking for status 503
  • The 503 status was misleading — it's not an error but normal workflow operation signaling the queue to re-enqueue after a delay. This caused confusion when inspecting logs/network traffic (especially for LLMs analyzing output).

…-enqueue signals
The local queue used HTTP 503 (Service Unavailable) as an internal signal
for re-enqueueing after a timeout delay. This is misleading since 503 is
an error status, causing confusion when inspecting logs or network traffic.
Changed to return 200 with timeoutSeconds in the body, and updated the
consumer to detect the re-enqueue signal from the response body instead
of the status code.
CopilotAI review requested due to automatic review settings March 9, 2026 21:56
@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 9, 2026 21:56
@changeset-bot

changeset-botBot commented Mar 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6cf7b19

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

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

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

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

@vercel

vercelBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.026s (-19.9% 🟢)1.005s (~)0.980s101.00x
💻 LocalNitro0.035s (-1.7%)1.005s (~)0.971s101.35x
🐘 PostgresExpress0.039s (-28.8% 🟢)1.011s (~)0.972s101.51x
🐘 PostgresNitro0.041s (-25.6% 🟢)1.012s (~)0.971s101.58x
💻 LocalNext.js (Turbopack)0.041s1.006s0.965s101.61x
🌐 RedisNext.js (Turbopack)0.045s1.005s0.959s101.77x
🌐 MongoDBNext.js (Turbopack)0.092s1.008s0.916s103.60x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.438s (-9.3% 🟢)1.833s (-25.1% 🟢)1.395s101.00x
▲ VercelNitro0.476s (-8.6% 🟢)2.162s (-3.3%)1.686s101.09x
▲ VercelNext.js (Turbopack)0.566s (-10.4% 🟢)2.304s (-1.6%)1.738s101.29x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.072s (-2.8%)2.006s (~)0.934s101.00x
🐘 PostgresNitro1.093s (-5.3% 🟢)2.013s (~)0.919s101.02x
💻 LocalNext.js (Turbopack)1.102s2.005s0.904s101.03x
🐘 PostgresExpress1.103s (-2.2%)2.012s (~)0.909s101.03x
🌐 RedisNext.js (Turbopack)1.104s2.006s0.902s101.03x
💻 LocalNitro1.114s (+0.9%)2.006s (~)0.892s101.04x
🌐 MongoDBNext.js (Turbopack)1.304s2.010s0.706s101.22x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.000s (-1.0%)3.450s (-5.9% 🟢)1.450s101.00x
▲ VercelNitro2.050s (-2.8%)3.548s (-6.6% 🟢)1.497s101.03x
▲ VercelNext.js (Turbopack)2.054s (-2.4%)3.351s (-4.5%)1.297s101.03x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.539s (-2.2%)11.025s (~)0.486s31.00x
🐘 PostgresExpress10.586s (-2.1%)11.038s (~)0.452s31.00x
🐘 PostgresNitro10.612s (-2.6%)11.039s (~)0.426s31.01x
🌐 RedisNext.js (Turbopack)10.672s11.023s0.351s31.01x
💻 LocalNext.js (Turbopack)10.686s11.024s0.338s31.01x
💻 LocalNitro10.828s (~)11.024s (~)0.195s31.03x
🌐 MongoDBNext.js (Turbopack)12.302s13.025s0.723s31.17x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro16.212s (-3.4%)17.277s (-4.5%)1.066s21.00x
▲ VercelNext.js (Turbopack)16.881s (-0.7%)18.313s (+1.1%)1.432s21.04x
▲ VercelExpress18.035s (+7.8% 🔺)19.471s (+4.8%)1.436s21.11x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro26.362s (-2.5%)27.061s (~)0.699s31.00x
🐘 PostgresExpress26.393s (-2.3%)27.056s (~)0.663s31.00x
🌐 RedisNext.js (Turbopack)26.521s27.050s0.529s31.01x
💻 LocalExpress26.548s (-2.3%)27.057s (-3.5%)0.510s31.01x
💻 LocalNext.js (Turbopack)26.927s27.052s0.125s31.02x
💻 LocalNitro27.344s (+0.5%)28.055s (~)0.711s31.04x
🌐 MongoDBNext.js (Turbopack)30.585s31.049s0.464s21.16x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro42.795s (-1.8%)44.412s (-1.5%)1.617s21.00x
▲ VercelNext.js (Turbopack)43.806s (~)45.011s (-0.9%)1.205s21.02x
▲ VercelExpress44.955s (+2.9%)46.469s (+3.4%)1.514s21.05x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express52.712s (-2.3%)53.090s (-1.9%)0.378s21.00x
🐘 PostgresNitro52.754s (-2.2%)53.094s (-1.9%)0.341s21.00x
🌐 RedisNext.js (Turbopack)53.084s53.097s0.013s21.01x
💻 LocalExpress54.583s (-2.6%)55.104s (-1.8%)0.521s21.04x
💻 LocalNext.js (Turbopack)55.624s56.102s0.478s21.06x
💻 LocalNitro56.238s (~)57.107s (~)0.869s21.07x
🌐 MongoDBNext.js (Turbopack)60.972s61.084s0.111s21.16x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)92.237s (-77.1% 🟢)93.650s (-76.9% 🟢)1.413s11.00x
▲ VercelNitro93.081s (-3.2%)94.287s (-3.3%)1.206s11.01x
▲ VercelExpress94.478s (-1.1%)96.363s (-0.7%)1.885s11.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.256s2.006s0.750s151.00x
🐘 PostgresNitro1.297s (-5.8% 🟢)2.010s (~)0.714s151.03x
🐘 PostgresExpress1.308s (-4.9%)2.010s (~)0.702s151.04x
💻 LocalExpress1.345s (-4.7%)2.005s (~)0.660s151.07x
💻 LocalNitro1.410s (-1.6%)2.006s (~)0.596s151.12x
💻 LocalNext.js (Turbopack)1.423s2.005s0.582s151.13x
🌐 MongoDBNext.js (Turbopack)2.139s3.009s0.869s101.70x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.399s (-4.5%)3.847s (+0.9%)1.448s81.00x
▲ VercelExpress2.798s (+20.3% 🔺)4.173s (+11.0% 🔺)1.374s81.17x
▲ VercelNext.js (Turbopack)3.626s (+33.4% 🔺)4.815s (+20.1% 🔺)1.189s71.51x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.683s (-20.3% 🟢)2.155s (-17.1% 🟢)0.473s141.00x
🐘 PostgresExpress1.715s (-14.8% 🟢)2.146s (-17.5% 🟢)0.432s151.02x
💻 LocalExpress2.292s (-10.4% 🟢)3.007s (~)0.715s101.36x
🌐 RedisNext.js (Turbopack)2.501s3.008s0.507s101.49x
💻 LocalNext.js (Turbopack)2.577s2.916s0.339s111.53x
💻 LocalNitro2.583s (-2.9%)3.008s (~)0.425s101.54x
🌐 MongoDBNext.js (Turbopack)4.769s5.179s0.410s62.83x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.638s (-5.4% 🟢)3.783s (-3.0%)1.146s81.00x
▲ VercelNitro2.719s (-6.6% 🟢)3.980s (-3.6%)1.261s81.03x
▲ VercelExpress2.772s (+1.1%)3.816s (-5.2% 🟢)1.045s81.05x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.867s (-23.8% 🟢)3.891s (-12.8% 🟢)1.024s81.00x
🐘 PostgresExpress2.905s (-21.9% 🟢)3.769s (-12.7% 🟢)0.863s81.01x
🌐 RedisNext.js (Turbopack)4.152s4.868s0.716s71.45x
💻 LocalExpress6.214s (-19.1% 🟢)6.814s (-15.0% 🟢)0.600s52.17x
💻 LocalNext.js (Turbopack)7.120s7.515s0.394s42.48x
💻 LocalNitro7.370s (-3.0%)8.018s (~)0.648s42.57x
🌐 MongoDBNext.js (Turbopack)9.891s10.351s0.460s33.45x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.668s (+26.4% 🔺)4.890s (+13.3% 🔺)1.222s71.00x
▲ VercelExpress4.069s (+42.9% 🔺)5.174s (+34.3% 🔺)1.105s61.11x
▲ VercelNext.js (Turbopack)4.359s (+53.1% 🔺)5.304s (+34.4% 🔺)0.945s61.19x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.241s2.006s0.766s151.00x
🐘 PostgresNitro1.290s (-7.9% 🟢)2.011s (~)0.722s151.04x
🐘 PostgresExpress1.293s (-7.6% 🟢)2.011s (~)0.719s151.04x
💻 LocalExpress1.369s (-6.5% 🟢)2.005s (~)0.636s151.10x
💻 LocalNext.js (Turbopack)1.428s2.005s0.577s151.15x
💻 LocalNitro1.461s (+1.6%)2.006s (~)0.545s151.18x
🌐 MongoDBNext.js (Turbopack)2.163s3.010s0.847s101.74x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.168s (-7.4% 🟢)3.572s (-9.3% 🟢)1.405s91.00x
▲ VercelNext.js (Turbopack)2.201s (+4.7%)3.600s (+5.0%)1.399s91.02x
▲ VercelExpress2.259s (+2.4%)3.647s (-0.6%)1.388s91.04x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.654s (-20.5% 🟢)2.079s (-22.5% 🟢)0.424s151.00x
🐘 PostgresExpress1.810s (-18.8% 🟢)2.227s (-17.0% 🟢)0.417s141.09x
💻 LocalExpress2.417s (-11.6% 🟢)3.008s (~)0.592s101.46x
💻 LocalNext.js (Turbopack)2.564s3.008s0.443s101.55x
🌐 RedisNext.js (Turbopack)2.618s3.108s0.490s101.58x
💻 LocalNitro2.840s (+2.5%)3.109s (+3.3%)0.269s101.72x
🌐 MongoDBNext.js (Turbopack)4.871s5.345s0.474s62.94x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.465s (+5.1% 🔺)3.700s (~)1.235s91.00x
▲ VercelExpress2.661s (+18.8% 🔺)4.053s (+14.6% 🔺)1.392s81.08x
▲ VercelNext.js (Turbopack)2.705s (+13.7% 🔺)3.928s (+14.3% 🔺)1.222s81.10x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.758s (-27.1% 🟢)3.682s (-19.9% 🟢)0.924s91.00x
🐘 PostgresExpress2.957s (-21.1% 🟢)3.766s (-15.4% 🟢)0.809s81.07x
🌐 RedisNext.js (Turbopack)4.059s4.724s0.665s71.47x
💻 LocalExpress6.710s (-18.5% 🟢)7.215s (-20.0% 🟢)0.505s52.43x
💻 LocalNext.js (Turbopack)7.513s8.020s0.507s42.72x
💻 LocalNitro8.003s (-3.3%)8.521s (-5.6% 🟢)0.518s42.90x
🌐 MongoDBNext.js (Turbopack)10.184s10.686s0.502s33.69x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.098s (+4.3%)4.405s (+1.7%)1.307s71.00x
▲ VercelNitro3.305s (+7.0% 🔺)4.417s (+1.4%)1.113s71.07x
▲ VercelNext.js (Turbopack)3.715s (+30.4% 🔺)4.929s (+22.6% 🔺)1.214s71.20x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.114s (-31.8% 🟢)1.003s (~)0.010s (-14.8% 🟢)1.015s (~)0.901s101.00x
🐘 PostgresNitro0.133s (-34.6% 🟢)0.999s (+0.5%)0.002s (~)1.011s (~)0.879s101.16x
🐘 PostgresExpress0.137s (-26.9% 🟢)0.999s (~)0.002s (+23.1% 🔺)1.012s (~)0.875s101.20x
💻 LocalNext.js (Turbopack)0.139s1.001s0.012s1.017s0.879s101.21x
🌐 RedisNext.js (Turbopack)0.146s1.000s0.001s1.008s0.862s101.27x
💻 LocalNitro0.180s (+4.1%)1.003s (~)0.011s (-3.4%)1.017s (~)0.837s101.57x
🌐 MongoDBNext.js (Turbopack)0.506s0.941s0.001s1.009s0.503s104.42x
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.505s (-7.3% 🟢)2.058s (-18.8% 🟢)0.006s (~)2.485s (-16.9% 🟢)0.980s101.00x
▲ VercelNext.js (Turbopack)1.652s (-3.2%)2.433s (-11.2% 🟢)0.005s (-98.3% 🟢)2.991s (-13.4% 🟢)1.339s101.10x
▲ VercelNitro1.741s (+10.3% 🔺)2.547s (-1.3%)0.004s (-12.2% 🟢)3.048s (~)1.307s101.16x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress12/12
🐘 PostgresNitro9/12
▲ VercelNitro6/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres8/12
Next.js (Turbopack)🌐 Redis7/12
Nitro🐘 Postgres11/12
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

@github-actions

github-actionsBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1185615189
✅ 📋 Other147027174
Total2727563643147

❌ Failed Tests

🌍 Community Worlds (56 failed)

mongodb (3 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

redis (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

turso (51 failed):

  • addTenWorkflow
  • addTenWorkflow
  • wellKnownAgentWorkflow (.well-known/agent)
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • importedStepOnlyWorkflow
  • hookWorkflow
  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • sleepingWorkflow
  • parallelSleepWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior workflow completes despite transient 5xx on step_completed
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument
  • cancelRun - cancelling a running workflow
  • cancelRun via CLI - cancelling a running workflow
  • 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
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control)

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5233
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the world-local queue retry/re-enqueue signaling to use an HTTP 200 response (with a timeoutSeconds field in the body) instead of HTTP 503, aligning local behavior with the “successful response” handling used elsewhere and reducing confusion in logs/traffic inspection.

Changes:

  • Switch local queue timeout re-enqueue responses from HTTP 503 to HTTP 200.
  • Update the local queue client logic to detect timeoutSeconds on 2xx responses.
  • Add a changeset bumping @workflow/world-local with a patch release note.

Reviewed changes

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

FileDescription
packages/world-local/src/queue.tsAdjusts timeout re-enqueue signaling to use 200 responses and updates consumer parsing logic accordingly.
.changeset/fix-local-queue-timeout-status.mdAdds a patch changeset documenting the behavior change.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment threadpackages/world-local/src/queue.ts
Comment threadpackages/world-local/src/queue.ts
…ests
Address review feedback: timeoutSeconds === 0 should trigger an immediate
re-enqueue without delay, not be treated as a normal success. Also adds
test coverage for the handler response codes and re-enqueue behavior.
@TooTallNate
TooTallNate enabled auto-merge (squash) March 10, 2026 06:18
@TooTallNate
TooTallNate merged commit 4a6ddd8 into mainMar 10, 2026
102 checks passed
@TooTallNate
TooTallNate deleted the fix/local-queue-timeout-status-code branch March 10, 2026 06:29
pranaygp added a commit that referenced this pull request Mar 12, 2026
…ignal
* origin/main: (26 commits)
Fix flaky streamer test ENOENT when chunks directory does not exist yet (#1330)
Version Packages (beta) (#1325)
[web-shared] Improve workflow observability event list UX (#1337)
feat: add `exists` getter to `Run` class (#1336)
Support client-side tools in DurableAgent (#1329)
[world-postgres] [world-local] Execute Graphile jobs directly instead of defering to world-local queue (#1334)
Merge CLAUDE.md into AGENTS.md and symlink CLAUDE.md (#1326)
[web] Polish loading indicators (#1327)
Fix flaky webhookWorkflow e2e test by polling instead of fixed sleep (#1328)
feat: support `deploymentId: 'latest'` in `start()` to resolve most recent deployment (#1317)
Fix bug where the SWC compiler bug prunes step-only imports in the client-mode transformation
[web] [world-vercel] Ensure user-passed run IDs are URL encoded and call out self-hosted security (#1322)
Version Packages (beta) (#1306)
Remove hard-coded VERCEL_DEPLOYMENT_KEY from nextjs-turbopack workbench (#1319)
fix(web): move react-router deps to devDependencies (#1265)
fix(ai): use workspace:* for workflow peer dependency (#1320)
fix(core): pass resolved deploymentId to getEncryptionKeyForRun in start() (#1318)
fix: surface 429 rate-limit errors in e2e tests and CLI (#1309)
fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals (#1307)
[web-shared] [cli] Refactor observability data fetching (#1261)
...
# Conflicts:
#	packages/core/e2e/e2e.test.ts
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
#	workbench/example/workflows/99_e2e.ts
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

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

fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals - #1307

Merged
TooTallNate merged 3 commits into
mainfrom
fix/local-queue-timeout-status-code
Mar 10, 2026
Merged

fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals#1307
TooTallNate merged 3 commits into
mainfrom
fix/local-queue-timeout-status-code

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Changed the local queue's timeout re-enqueue signal from HTTP 503 (Service Unavailable) to HTTP 200, matching how the VQS client handles successful responses
  • Updated the consumer side to detect timeoutSeconds from the response body on 2xx responses instead of checking for status 503
  • The 503 status was misleading — it's not an error but normal workflow operation signaling the queue to re-enqueue after a delay. This caused confusion when inspecting logs/network traffic (especially for LLMs analyzing output).

…-enqueue signals
The local queue used HTTP 503 (Service Unavailable) as an internal signal
for re-enqueueing after a timeout delay. This is misleading since 503 is
an error status, causing confusion when inspecting logs or network traffic.
Changed to return 200 with timeoutSeconds in the body, and updated the
consumer to detect the re-enqueue signal from the response body instead
of the status code.
CopilotAI review requested due to automatic review settings March 9, 2026 21:56
@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 9, 2026 21:56
@changeset-bot

changeset-botBot commented Mar 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6cf7b19

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

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

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

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

@vercel

vercelBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.026s (-19.9% 🟢)1.005s (~)0.980s101.00x
💻 LocalNitro0.035s (-1.7%)1.005s (~)0.971s101.35x
🐘 PostgresExpress0.039s (-28.8% 🟢)1.011s (~)0.972s101.51x
🐘 PostgresNitro0.041s (-25.6% 🟢)1.012s (~)0.971s101.58x
💻 LocalNext.js (Turbopack)0.041s1.006s0.965s101.61x
🌐 RedisNext.js (Turbopack)0.045s1.005s0.959s101.77x
🌐 MongoDBNext.js (Turbopack)0.092s1.008s0.916s103.60x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.438s (-9.3% 🟢)1.833s (-25.1% 🟢)1.395s101.00x
▲ VercelNitro0.476s (-8.6% 🟢)2.162s (-3.3%)1.686s101.09x
▲ VercelNext.js (Turbopack)0.566s (-10.4% 🟢)2.304s (-1.6%)1.738s101.29x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.072s (-2.8%)2.006s (~)0.934s101.00x
🐘 PostgresNitro1.093s (-5.3% 🟢)2.013s (~)0.919s101.02x
💻 LocalNext.js (Turbopack)1.102s2.005s0.904s101.03x
🐘 PostgresExpress1.103s (-2.2%)2.012s (~)0.909s101.03x
🌐 RedisNext.js (Turbopack)1.104s2.006s0.902s101.03x
💻 LocalNitro1.114s (+0.9%)2.006s (~)0.892s101.04x
🌐 MongoDBNext.js (Turbopack)1.304s2.010s0.706s101.22x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.000s (-1.0%)3.450s (-5.9% 🟢)1.450s101.00x
▲ VercelNitro2.050s (-2.8%)3.548s (-6.6% 🟢)1.497s101.03x
▲ VercelNext.js (Turbopack)2.054s (-2.4%)3.351s (-4.5%)1.297s101.03x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.539s (-2.2%)11.025s (~)0.486s31.00x
🐘 PostgresExpress10.586s (-2.1%)11.038s (~)0.452s31.00x
🐘 PostgresNitro10.612s (-2.6%)11.039s (~)0.426s31.01x
🌐 RedisNext.js (Turbopack)10.672s11.023s0.351s31.01x
💻 LocalNext.js (Turbopack)10.686s11.024s0.338s31.01x
💻 LocalNitro10.828s (~)11.024s (~)0.195s31.03x
🌐 MongoDBNext.js (Turbopack)12.302s13.025s0.723s31.17x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro16.212s (-3.4%)17.277s (-4.5%)1.066s21.00x
▲ VercelNext.js (Turbopack)16.881s (-0.7%)18.313s (+1.1%)1.432s21.04x
▲ VercelExpress18.035s (+7.8% 🔺)19.471s (+4.8%)1.436s21.11x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro26.362s (-2.5%)27.061s (~)0.699s31.00x
🐘 PostgresExpress26.393s (-2.3%)27.056s (~)0.663s31.00x
🌐 RedisNext.js (Turbopack)26.521s27.050s0.529s31.01x
💻 LocalExpress26.548s (-2.3%)27.057s (-3.5%)0.510s31.01x
💻 LocalNext.js (Turbopack)26.927s27.052s0.125s31.02x
💻 LocalNitro27.344s (+0.5%)28.055s (~)0.711s31.04x
🌐 MongoDBNext.js (Turbopack)30.585s31.049s0.464s21.16x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro42.795s (-1.8%)44.412s (-1.5%)1.617s21.00x
▲ VercelNext.js (Turbopack)43.806s (~)45.011s (-0.9%)1.205s21.02x
▲ VercelExpress44.955s (+2.9%)46.469s (+3.4%)1.514s21.05x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express52.712s (-2.3%)53.090s (-1.9%)0.378s21.00x
🐘 PostgresNitro52.754s (-2.2%)53.094s (-1.9%)0.341s21.00x
🌐 RedisNext.js (Turbopack)53.084s53.097s0.013s21.01x
💻 LocalExpress54.583s (-2.6%)55.104s (-1.8%)0.521s21.04x
💻 LocalNext.js (Turbopack)55.624s56.102s0.478s21.06x
💻 LocalNitro56.238s (~)57.107s (~)0.869s21.07x
🌐 MongoDBNext.js (Turbopack)60.972s61.084s0.111s21.16x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)92.237s (-77.1% 🟢)93.650s (-76.9% 🟢)1.413s11.00x
▲ VercelNitro93.081s (-3.2%)94.287s (-3.3%)1.206s11.01x
▲ VercelExpress94.478s (-1.1%)96.363s (-0.7%)1.885s11.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.256s2.006s0.750s151.00x
🐘 PostgresNitro1.297s (-5.8% 🟢)2.010s (~)0.714s151.03x
🐘 PostgresExpress1.308s (-4.9%)2.010s (~)0.702s151.04x
💻 LocalExpress1.345s (-4.7%)2.005s (~)0.660s151.07x
💻 LocalNitro1.410s (-1.6%)2.006s (~)0.596s151.12x
💻 LocalNext.js (Turbopack)1.423s2.005s0.582s151.13x
🌐 MongoDBNext.js (Turbopack)2.139s3.009s0.869s101.70x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.399s (-4.5%)3.847s (+0.9%)1.448s81.00x
▲ VercelExpress2.798s (+20.3% 🔺)4.173s (+11.0% 🔺)1.374s81.17x
▲ VercelNext.js (Turbopack)3.626s (+33.4% 🔺)4.815s (+20.1% 🔺)1.189s71.51x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.683s (-20.3% 🟢)2.155s (-17.1% 🟢)0.473s141.00x
🐘 PostgresExpress1.715s (-14.8% 🟢)2.146s (-17.5% 🟢)0.432s151.02x
💻 LocalExpress2.292s (-10.4% 🟢)3.007s (~)0.715s101.36x
🌐 RedisNext.js (Turbopack)2.501s3.008s0.507s101.49x
💻 LocalNext.js (Turbopack)2.577s2.916s0.339s111.53x
💻 LocalNitro2.583s (-2.9%)3.008s (~)0.425s101.54x
🌐 MongoDBNext.js (Turbopack)4.769s5.179s0.410s62.83x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.638s (-5.4% 🟢)3.783s (-3.0%)1.146s81.00x
▲ VercelNitro2.719s (-6.6% 🟢)3.980s (-3.6%)1.261s81.03x
▲ VercelExpress2.772s (+1.1%)3.816s (-5.2% 🟢)1.045s81.05x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.867s (-23.8% 🟢)3.891s (-12.8% 🟢)1.024s81.00x
🐘 PostgresExpress2.905s (-21.9% 🟢)3.769s (-12.7% 🟢)0.863s81.01x
🌐 RedisNext.js (Turbopack)4.152s4.868s0.716s71.45x
💻 LocalExpress6.214s (-19.1% 🟢)6.814s (-15.0% 🟢)0.600s52.17x
💻 LocalNext.js (Turbopack)7.120s7.515s0.394s42.48x
💻 LocalNitro7.370s (-3.0%)8.018s (~)0.648s42.57x
🌐 MongoDBNext.js (Turbopack)9.891s10.351s0.460s33.45x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.668s (+26.4% 🔺)4.890s (+13.3% 🔺)1.222s71.00x
▲ VercelExpress4.069s (+42.9% 🔺)5.174s (+34.3% 🔺)1.105s61.11x
▲ VercelNext.js (Turbopack)4.359s (+53.1% 🔺)5.304s (+34.4% 🔺)0.945s61.19x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.241s2.006s0.766s151.00x
🐘 PostgresNitro1.290s (-7.9% 🟢)2.011s (~)0.722s151.04x
🐘 PostgresExpress1.293s (-7.6% 🟢)2.011s (~)0.719s151.04x
💻 LocalExpress1.369s (-6.5% 🟢)2.005s (~)0.636s151.10x
💻 LocalNext.js (Turbopack)1.428s2.005s0.577s151.15x
💻 LocalNitro1.461s (+1.6%)2.006s (~)0.545s151.18x
🌐 MongoDBNext.js (Turbopack)2.163s3.010s0.847s101.74x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.168s (-7.4% 🟢)3.572s (-9.3% 🟢)1.405s91.00x
▲ VercelNext.js (Turbopack)2.201s (+4.7%)3.600s (+5.0%)1.399s91.02x
▲ VercelExpress2.259s (+2.4%)3.647s (-0.6%)1.388s91.04x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.654s (-20.5% 🟢)2.079s (-22.5% 🟢)0.424s151.00x
🐘 PostgresExpress1.810s (-18.8% 🟢)2.227s (-17.0% 🟢)0.417s141.09x
💻 LocalExpress2.417s (-11.6% 🟢)3.008s (~)0.592s101.46x
💻 LocalNext.js (Turbopack)2.564s3.008s0.443s101.55x
🌐 RedisNext.js (Turbopack)2.618s3.108s0.490s101.58x
💻 LocalNitro2.840s (+2.5%)3.109s (+3.3%)0.269s101.72x
🌐 MongoDBNext.js (Turbopack)4.871s5.345s0.474s62.94x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.465s (+5.1% 🔺)3.700s (~)1.235s91.00x
▲ VercelExpress2.661s (+18.8% 🔺)4.053s (+14.6% 🔺)1.392s81.08x
▲ VercelNext.js (Turbopack)2.705s (+13.7% 🔺)3.928s (+14.3% 🔺)1.222s81.10x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.758s (-27.1% 🟢)3.682s (-19.9% 🟢)0.924s91.00x
🐘 PostgresExpress2.957s (-21.1% 🟢)3.766s (-15.4% 🟢)0.809s81.07x
🌐 RedisNext.js (Turbopack)4.059s4.724s0.665s71.47x
💻 LocalExpress6.710s (-18.5% 🟢)7.215s (-20.0% 🟢)0.505s52.43x
💻 LocalNext.js (Turbopack)7.513s8.020s0.507s42.72x
💻 LocalNitro8.003s (-3.3%)8.521s (-5.6% 🟢)0.518s42.90x
🌐 MongoDBNext.js (Turbopack)10.184s10.686s0.502s33.69x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.098s (+4.3%)4.405s (+1.7%)1.307s71.00x
▲ VercelNitro3.305s (+7.0% 🔺)4.417s (+1.4%)1.113s71.07x
▲ VercelNext.js (Turbopack)3.715s (+30.4% 🔺)4.929s (+22.6% 🔺)1.214s71.20x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.114s (-31.8% 🟢)1.003s (~)0.010s (-14.8% 🟢)1.015s (~)0.901s101.00x
🐘 PostgresNitro0.133s (-34.6% 🟢)0.999s (+0.5%)0.002s (~)1.011s (~)0.879s101.16x
🐘 PostgresExpress0.137s (-26.9% 🟢)0.999s (~)0.002s (+23.1% 🔺)1.012s (~)0.875s101.20x
💻 LocalNext.js (Turbopack)0.139s1.001s0.012s1.017s0.879s101.21x
🌐 RedisNext.js (Turbopack)0.146s1.000s0.001s1.008s0.862s101.27x
💻 LocalNitro0.180s (+4.1%)1.003s (~)0.011s (-3.4%)1.017s (~)0.837s101.57x
🌐 MongoDBNext.js (Turbopack)0.506s0.941s0.001s1.009s0.503s104.42x
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.505s (-7.3% 🟢)2.058s (-18.8% 🟢)0.006s (~)2.485s (-16.9% 🟢)0.980s101.00x
▲ VercelNext.js (Turbopack)1.652s (-3.2%)2.433s (-11.2% 🟢)0.005s (-98.3% 🟢)2.991s (-13.4% 🟢)1.339s101.10x
▲ VercelNitro1.741s (+10.3% 🔺)2.547s (-1.3%)0.004s (-12.2% 🟢)3.048s (~)1.307s101.16x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress12/12
🐘 PostgresNitro9/12
▲ VercelNitro6/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres8/12
Next.js (Turbopack)🌐 Redis7/12
Nitro🐘 Postgres11/12
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

@github-actions

github-actionsBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1185615189
✅ 📋 Other147027174
Total2727563643147

❌ Failed Tests

🌍 Community Worlds (56 failed)

mongodb (3 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

redis (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

turso (51 failed):

  • addTenWorkflow
  • addTenWorkflow
  • wellKnownAgentWorkflow (.well-known/agent)
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • importedStepOnlyWorkflow
  • hookWorkflow
  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • sleepingWorkflow
  • parallelSleepWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior workflow completes despite transient 5xx on step_completed
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument
  • cancelRun - cancelling a running workflow
  • cancelRun via CLI - cancelling a running workflow
  • 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
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control)

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5233
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the world-local queue retry/re-enqueue signaling to use an HTTP 200 response (with a timeoutSeconds field in the body) instead of HTTP 503, aligning local behavior with the “successful response” handling used elsewhere and reducing confusion in logs/traffic inspection.

Changes:

  • Switch local queue timeout re-enqueue responses from HTTP 503 to HTTP 200.
  • Update the local queue client logic to detect timeoutSeconds on 2xx responses.
  • Add a changeset bumping @workflow/world-local with a patch release note.

Reviewed changes

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

FileDescription
packages/world-local/src/queue.tsAdjusts timeout re-enqueue signaling to use 200 responses and updates consumer parsing logic accordingly.
.changeset/fix-local-queue-timeout-status.mdAdds a patch changeset documenting the behavior change.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment threadpackages/world-local/src/queue.ts
Comment threadpackages/world-local/src/queue.ts
…ests
Address review feedback: timeoutSeconds === 0 should trigger an immediate
re-enqueue without delay, not be treated as a normal success. Also adds
test coverage for the handler response codes and re-enqueue behavior.
@TooTallNate
TooTallNate enabled auto-merge (squash) March 10, 2026 06:18
@TooTallNate
TooTallNate merged commit 4a6ddd8 into mainMar 10, 2026
102 checks passed
@TooTallNate
TooTallNate deleted the fix/local-queue-timeout-status-code branch March 10, 2026 06:29
pranaygp added a commit that referenced this pull request Mar 12, 2026
…ignal
* origin/main: (26 commits)
Fix flaky streamer test ENOENT when chunks directory does not exist yet (#1330)
Version Packages (beta) (#1325)
[web-shared] Improve workflow observability event list UX (#1337)
feat: add `exists` getter to `Run` class (#1336)
Support client-side tools in DurableAgent (#1329)
[world-postgres] [world-local] Execute Graphile jobs directly instead of defering to world-local queue (#1334)
Merge CLAUDE.md into AGENTS.md and symlink CLAUDE.md (#1326)
[web] Polish loading indicators (#1327)
Fix flaky webhookWorkflow e2e test by polling instead of fixed sleep (#1328)
feat: support `deploymentId: 'latest'` in `start()` to resolve most recent deployment (#1317)
Fix bug where the SWC compiler bug prunes step-only imports in the client-mode transformation
[web] [world-vercel] Ensure user-passed run IDs are URL encoded and call out self-hosted security (#1322)
Version Packages (beta) (#1306)
Remove hard-coded VERCEL_DEPLOYMENT_KEY from nextjs-turbopack workbench (#1319)
fix(web): move react-router deps to devDependencies (#1265)
fix(ai): use workspace:* for workflow peer dependency (#1320)
fix(core): pass resolved deploymentId to getEncryptionKeyForRun in start() (#1318)
fix: surface 429 rate-limit errors in e2e tests and CLI (#1309)
fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals (#1307)
[web-shared] [cli] Refactor observability data fetching (#1261)
...
# Conflicts:
#	packages/core/e2e/e2e.test.ts
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
#	workbench/example/workflows/99_e2e.ts
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

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

fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals - #1307

Merged
TooTallNate merged 3 commits into
mainfrom
fix/local-queue-timeout-status-code
Mar 10, 2026
Merged

fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals#1307
TooTallNate merged 3 commits into
mainfrom
fix/local-queue-timeout-status-code

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Changed the local queue's timeout re-enqueue signal from HTTP 503 (Service Unavailable) to HTTP 200, matching how the VQS client handles successful responses
  • Updated the consumer side to detect timeoutSeconds from the response body on 2xx responses instead of checking for status 503
  • The 503 status was misleading — it's not an error but normal workflow operation signaling the queue to re-enqueue after a delay. This caused confusion when inspecting logs/network traffic (especially for LLMs analyzing output).

…-enqueue signals
The local queue used HTTP 503 (Service Unavailable) as an internal signal
for re-enqueueing after a timeout delay. This is misleading since 503 is
an error status, causing confusion when inspecting logs or network traffic.
Changed to return 200 with timeoutSeconds in the body, and updated the
consumer to detect the re-enqueue signal from the response body instead
of the status code.
CopilotAI review requested due to automatic review settings March 9, 2026 21:56
@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 9, 2026 21:56
@changeset-bot

changeset-botBot commented Mar 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6cf7b19

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

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

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

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

@vercel

vercelBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.026s (-19.9% 🟢)1.005s (~)0.980s101.00x
💻 LocalNitro0.035s (-1.7%)1.005s (~)0.971s101.35x
🐘 PostgresExpress0.039s (-28.8% 🟢)1.011s (~)0.972s101.51x
🐘 PostgresNitro0.041s (-25.6% 🟢)1.012s (~)0.971s101.58x
💻 LocalNext.js (Turbopack)0.041s1.006s0.965s101.61x
🌐 RedisNext.js (Turbopack)0.045s1.005s0.959s101.77x
🌐 MongoDBNext.js (Turbopack)0.092s1.008s0.916s103.60x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.438s (-9.3% 🟢)1.833s (-25.1% 🟢)1.395s101.00x
▲ VercelNitro0.476s (-8.6% 🟢)2.162s (-3.3%)1.686s101.09x
▲ VercelNext.js (Turbopack)0.566s (-10.4% 🟢)2.304s (-1.6%)1.738s101.29x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.072s (-2.8%)2.006s (~)0.934s101.00x
🐘 PostgresNitro1.093s (-5.3% 🟢)2.013s (~)0.919s101.02x
💻 LocalNext.js (Turbopack)1.102s2.005s0.904s101.03x
🐘 PostgresExpress1.103s (-2.2%)2.012s (~)0.909s101.03x
🌐 RedisNext.js (Turbopack)1.104s2.006s0.902s101.03x
💻 LocalNitro1.114s (+0.9%)2.006s (~)0.892s101.04x
🌐 MongoDBNext.js (Turbopack)1.304s2.010s0.706s101.22x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.000s (-1.0%)3.450s (-5.9% 🟢)1.450s101.00x
▲ VercelNitro2.050s (-2.8%)3.548s (-6.6% 🟢)1.497s101.03x
▲ VercelNext.js (Turbopack)2.054s (-2.4%)3.351s (-4.5%)1.297s101.03x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.539s (-2.2%)11.025s (~)0.486s31.00x
🐘 PostgresExpress10.586s (-2.1%)11.038s (~)0.452s31.00x
🐘 PostgresNitro10.612s (-2.6%)11.039s (~)0.426s31.01x
🌐 RedisNext.js (Turbopack)10.672s11.023s0.351s31.01x
💻 LocalNext.js (Turbopack)10.686s11.024s0.338s31.01x
💻 LocalNitro10.828s (~)11.024s (~)0.195s31.03x
🌐 MongoDBNext.js (Turbopack)12.302s13.025s0.723s31.17x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro16.212s (-3.4%)17.277s (-4.5%)1.066s21.00x
▲ VercelNext.js (Turbopack)16.881s (-0.7%)18.313s (+1.1%)1.432s21.04x
▲ VercelExpress18.035s (+7.8% 🔺)19.471s (+4.8%)1.436s21.11x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro26.362s (-2.5%)27.061s (~)0.699s31.00x
🐘 PostgresExpress26.393s (-2.3%)27.056s (~)0.663s31.00x
🌐 RedisNext.js (Turbopack)26.521s27.050s0.529s31.01x
💻 LocalExpress26.548s (-2.3%)27.057s (-3.5%)0.510s31.01x
💻 LocalNext.js (Turbopack)26.927s27.052s0.125s31.02x
💻 LocalNitro27.344s (+0.5%)28.055s (~)0.711s31.04x
🌐 MongoDBNext.js (Turbopack)30.585s31.049s0.464s21.16x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro42.795s (-1.8%)44.412s (-1.5%)1.617s21.00x
▲ VercelNext.js (Turbopack)43.806s (~)45.011s (-0.9%)1.205s21.02x
▲ VercelExpress44.955s (+2.9%)46.469s (+3.4%)1.514s21.05x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express52.712s (-2.3%)53.090s (-1.9%)0.378s21.00x
🐘 PostgresNitro52.754s (-2.2%)53.094s (-1.9%)0.341s21.00x
🌐 RedisNext.js (Turbopack)53.084s53.097s0.013s21.01x
💻 LocalExpress54.583s (-2.6%)55.104s (-1.8%)0.521s21.04x
💻 LocalNext.js (Turbopack)55.624s56.102s0.478s21.06x
💻 LocalNitro56.238s (~)57.107s (~)0.869s21.07x
🌐 MongoDBNext.js (Turbopack)60.972s61.084s0.111s21.16x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)92.237s (-77.1% 🟢)93.650s (-76.9% 🟢)1.413s11.00x
▲ VercelNitro93.081s (-3.2%)94.287s (-3.3%)1.206s11.01x
▲ VercelExpress94.478s (-1.1%)96.363s (-0.7%)1.885s11.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.256s2.006s0.750s151.00x
🐘 PostgresNitro1.297s (-5.8% 🟢)2.010s (~)0.714s151.03x
🐘 PostgresExpress1.308s (-4.9%)2.010s (~)0.702s151.04x
💻 LocalExpress1.345s (-4.7%)2.005s (~)0.660s151.07x
💻 LocalNitro1.410s (-1.6%)2.006s (~)0.596s151.12x
💻 LocalNext.js (Turbopack)1.423s2.005s0.582s151.13x
🌐 MongoDBNext.js (Turbopack)2.139s3.009s0.869s101.70x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.399s (-4.5%)3.847s (+0.9%)1.448s81.00x
▲ VercelExpress2.798s (+20.3% 🔺)4.173s (+11.0% 🔺)1.374s81.17x
▲ VercelNext.js (Turbopack)3.626s (+33.4% 🔺)4.815s (+20.1% 🔺)1.189s71.51x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.683s (-20.3% 🟢)2.155s (-17.1% 🟢)0.473s141.00x
🐘 PostgresExpress1.715s (-14.8% 🟢)2.146s (-17.5% 🟢)0.432s151.02x
💻 LocalExpress2.292s (-10.4% 🟢)3.007s (~)0.715s101.36x
🌐 RedisNext.js (Turbopack)2.501s3.008s0.507s101.49x
💻 LocalNext.js (Turbopack)2.577s2.916s0.339s111.53x
💻 LocalNitro2.583s (-2.9%)3.008s (~)0.425s101.54x
🌐 MongoDBNext.js (Turbopack)4.769s5.179s0.410s62.83x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.638s (-5.4% 🟢)3.783s (-3.0%)1.146s81.00x
▲ VercelNitro2.719s (-6.6% 🟢)3.980s (-3.6%)1.261s81.03x
▲ VercelExpress2.772s (+1.1%)3.816s (-5.2% 🟢)1.045s81.05x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.867s (-23.8% 🟢)3.891s (-12.8% 🟢)1.024s81.00x
🐘 PostgresExpress2.905s (-21.9% 🟢)3.769s (-12.7% 🟢)0.863s81.01x
🌐 RedisNext.js (Turbopack)4.152s4.868s0.716s71.45x
💻 LocalExpress6.214s (-19.1% 🟢)6.814s (-15.0% 🟢)0.600s52.17x
💻 LocalNext.js (Turbopack)7.120s7.515s0.394s42.48x
💻 LocalNitro7.370s (-3.0%)8.018s (~)0.648s42.57x
🌐 MongoDBNext.js (Turbopack)9.891s10.351s0.460s33.45x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.668s (+26.4% 🔺)4.890s (+13.3% 🔺)1.222s71.00x
▲ VercelExpress4.069s (+42.9% 🔺)5.174s (+34.3% 🔺)1.105s61.11x
▲ VercelNext.js (Turbopack)4.359s (+53.1% 🔺)5.304s (+34.4% 🔺)0.945s61.19x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.241s2.006s0.766s151.00x
🐘 PostgresNitro1.290s (-7.9% 🟢)2.011s (~)0.722s151.04x
🐘 PostgresExpress1.293s (-7.6% 🟢)2.011s (~)0.719s151.04x
💻 LocalExpress1.369s (-6.5% 🟢)2.005s (~)0.636s151.10x
💻 LocalNext.js (Turbopack)1.428s2.005s0.577s151.15x
💻 LocalNitro1.461s (+1.6%)2.006s (~)0.545s151.18x
🌐 MongoDBNext.js (Turbopack)2.163s3.010s0.847s101.74x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.168s (-7.4% 🟢)3.572s (-9.3% 🟢)1.405s91.00x
▲ VercelNext.js (Turbopack)2.201s (+4.7%)3.600s (+5.0%)1.399s91.02x
▲ VercelExpress2.259s (+2.4%)3.647s (-0.6%)1.388s91.04x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.654s (-20.5% 🟢)2.079s (-22.5% 🟢)0.424s151.00x
🐘 PostgresExpress1.810s (-18.8% 🟢)2.227s (-17.0% 🟢)0.417s141.09x
💻 LocalExpress2.417s (-11.6% 🟢)3.008s (~)0.592s101.46x
💻 LocalNext.js (Turbopack)2.564s3.008s0.443s101.55x
🌐 RedisNext.js (Turbopack)2.618s3.108s0.490s101.58x
💻 LocalNitro2.840s (+2.5%)3.109s (+3.3%)0.269s101.72x
🌐 MongoDBNext.js (Turbopack)4.871s5.345s0.474s62.94x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.465s (+5.1% 🔺)3.700s (~)1.235s91.00x
▲ VercelExpress2.661s (+18.8% 🔺)4.053s (+14.6% 🔺)1.392s81.08x
▲ VercelNext.js (Turbopack)2.705s (+13.7% 🔺)3.928s (+14.3% 🔺)1.222s81.10x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.758s (-27.1% 🟢)3.682s (-19.9% 🟢)0.924s91.00x
🐘 PostgresExpress2.957s (-21.1% 🟢)3.766s (-15.4% 🟢)0.809s81.07x
🌐 RedisNext.js (Turbopack)4.059s4.724s0.665s71.47x
💻 LocalExpress6.710s (-18.5% 🟢)7.215s (-20.0% 🟢)0.505s52.43x
💻 LocalNext.js (Turbopack)7.513s8.020s0.507s42.72x
💻 LocalNitro8.003s (-3.3%)8.521s (-5.6% 🟢)0.518s42.90x
🌐 MongoDBNext.js (Turbopack)10.184s10.686s0.502s33.69x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.098s (+4.3%)4.405s (+1.7%)1.307s71.00x
▲ VercelNitro3.305s (+7.0% 🔺)4.417s (+1.4%)1.113s71.07x
▲ VercelNext.js (Turbopack)3.715s (+30.4% 🔺)4.929s (+22.6% 🔺)1.214s71.20x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.114s (-31.8% 🟢)1.003s (~)0.010s (-14.8% 🟢)1.015s (~)0.901s101.00x
🐘 PostgresNitro0.133s (-34.6% 🟢)0.999s (+0.5%)0.002s (~)1.011s (~)0.879s101.16x
🐘 PostgresExpress0.137s (-26.9% 🟢)0.999s (~)0.002s (+23.1% 🔺)1.012s (~)0.875s101.20x
💻 LocalNext.js (Turbopack)0.139s1.001s0.012s1.017s0.879s101.21x
🌐 RedisNext.js (Turbopack)0.146s1.000s0.001s1.008s0.862s101.27x
💻 LocalNitro0.180s (+4.1%)1.003s (~)0.011s (-3.4%)1.017s (~)0.837s101.57x
🌐 MongoDBNext.js (Turbopack)0.506s0.941s0.001s1.009s0.503s104.42x
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.505s (-7.3% 🟢)2.058s (-18.8% 🟢)0.006s (~)2.485s (-16.9% 🟢)0.980s101.00x
▲ VercelNext.js (Turbopack)1.652s (-3.2%)2.433s (-11.2% 🟢)0.005s (-98.3% 🟢)2.991s (-13.4% 🟢)1.339s101.10x
▲ VercelNitro1.741s (+10.3% 🔺)2.547s (-1.3%)0.004s (-12.2% 🟢)3.048s (~)1.307s101.16x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress12/12
🐘 PostgresNitro9/12
▲ VercelNitro6/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres8/12
Next.js (Turbopack)🌐 Redis7/12
Nitro🐘 Postgres11/12
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

@github-actions

github-actionsBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1185615189
✅ 📋 Other147027174
Total2727563643147

❌ Failed Tests

🌍 Community Worlds (56 failed)

mongodb (3 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

redis (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

turso (51 failed):

  • addTenWorkflow
  • addTenWorkflow
  • wellKnownAgentWorkflow (.well-known/agent)
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • importedStepOnlyWorkflow
  • hookWorkflow
  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • sleepingWorkflow
  • parallelSleepWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior workflow completes despite transient 5xx on step_completed
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument
  • cancelRun - cancelling a running workflow
  • cancelRun via CLI - cancelling a running workflow
  • 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
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control)

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5233
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the world-local queue retry/re-enqueue signaling to use an HTTP 200 response (with a timeoutSeconds field in the body) instead of HTTP 503, aligning local behavior with the “successful response” handling used elsewhere and reducing confusion in logs/traffic inspection.

Changes:

  • Switch local queue timeout re-enqueue responses from HTTP 503 to HTTP 200.
  • Update the local queue client logic to detect timeoutSeconds on 2xx responses.
  • Add a changeset bumping @workflow/world-local with a patch release note.

Reviewed changes

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

FileDescription
packages/world-local/src/queue.tsAdjusts timeout re-enqueue signaling to use 200 responses and updates consumer parsing logic accordingly.
.changeset/fix-local-queue-timeout-status.mdAdds a patch changeset documenting the behavior change.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment threadpackages/world-local/src/queue.ts
Comment threadpackages/world-local/src/queue.ts
…ests
Address review feedback: timeoutSeconds === 0 should trigger an immediate
re-enqueue without delay, not be treated as a normal success. Also adds
test coverage for the handler response codes and re-enqueue behavior.
@TooTallNate
TooTallNate enabled auto-merge (squash) March 10, 2026 06:18
@TooTallNate
TooTallNate merged commit 4a6ddd8 into mainMar 10, 2026
102 checks passed
@TooTallNate
TooTallNate deleted the fix/local-queue-timeout-status-code branch March 10, 2026 06:29
pranaygp added a commit that referenced this pull request Mar 12, 2026
…ignal
* origin/main: (26 commits)
Fix flaky streamer test ENOENT when chunks directory does not exist yet (#1330)
Version Packages (beta) (#1325)
[web-shared] Improve workflow observability event list UX (#1337)
feat: add `exists` getter to `Run` class (#1336)
Support client-side tools in DurableAgent (#1329)
[world-postgres] [world-local] Execute Graphile jobs directly instead of defering to world-local queue (#1334)
Merge CLAUDE.md into AGENTS.md and symlink CLAUDE.md (#1326)
[web] Polish loading indicators (#1327)
Fix flaky webhookWorkflow e2e test by polling instead of fixed sleep (#1328)
feat: support `deploymentId: 'latest'` in `start()` to resolve most recent deployment (#1317)
Fix bug where the SWC compiler bug prunes step-only imports in the client-mode transformation
[web] [world-vercel] Ensure user-passed run IDs are URL encoded and call out self-hosted security (#1322)
Version Packages (beta) (#1306)
Remove hard-coded VERCEL_DEPLOYMENT_KEY from nextjs-turbopack workbench (#1319)
fix(web): move react-router deps to devDependencies (#1265)
fix(ai): use workspace:* for workflow peer dependency (#1320)
fix(core): pass resolved deploymentId to getEncryptionKeyForRun in start() (#1318)
fix: surface 429 rate-limit errors in e2e tests and CLI (#1309)
fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals (#1307)
[web-shared] [cli] Refactor observability data fetching (#1261)
...
# Conflicts:
#	packages/core/e2e/e2e.test.ts
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
#	workbench/example/workflows/99_e2e.ts
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

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

fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals - #1307

Merged
TooTallNate merged 3 commits into
mainfrom
fix/local-queue-timeout-status-code
Mar 10, 2026
Merged

fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals#1307
TooTallNate merged 3 commits into
mainfrom
fix/local-queue-timeout-status-code

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Changed the local queue's timeout re-enqueue signal from HTTP 503 (Service Unavailable) to HTTP 200, matching how the VQS client handles successful responses
  • Updated the consumer side to detect timeoutSeconds from the response body on 2xx responses instead of checking for status 503
  • The 503 status was misleading — it's not an error but normal workflow operation signaling the queue to re-enqueue after a delay. This caused confusion when inspecting logs/network traffic (especially for LLMs analyzing output).

…-enqueue signals
The local queue used HTTP 503 (Service Unavailable) as an internal signal
for re-enqueueing after a timeout delay. This is misleading since 503 is
an error status, causing confusion when inspecting logs or network traffic.
Changed to return 200 with timeoutSeconds in the body, and updated the
consumer to detect the re-enqueue signal from the response body instead
of the status code.
CopilotAI review requested due to automatic review settings March 9, 2026 21:56
@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 9, 2026 21:56
@changeset-bot

changeset-botBot commented Mar 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6cf7b19

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

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

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

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

@vercel

vercelBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.026s (-19.9% 🟢)1.005s (~)0.980s101.00x
💻 LocalNitro0.035s (-1.7%)1.005s (~)0.971s101.35x
🐘 PostgresExpress0.039s (-28.8% 🟢)1.011s (~)0.972s101.51x
🐘 PostgresNitro0.041s (-25.6% 🟢)1.012s (~)0.971s101.58x
💻 LocalNext.js (Turbopack)0.041s1.006s0.965s101.61x
🌐 RedisNext.js (Turbopack)0.045s1.005s0.959s101.77x
🌐 MongoDBNext.js (Turbopack)0.092s1.008s0.916s103.60x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.438s (-9.3% 🟢)1.833s (-25.1% 🟢)1.395s101.00x
▲ VercelNitro0.476s (-8.6% 🟢)2.162s (-3.3%)1.686s101.09x
▲ VercelNext.js (Turbopack)0.566s (-10.4% 🟢)2.304s (-1.6%)1.738s101.29x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.072s (-2.8%)2.006s (~)0.934s101.00x
🐘 PostgresNitro1.093s (-5.3% 🟢)2.013s (~)0.919s101.02x
💻 LocalNext.js (Turbopack)1.102s2.005s0.904s101.03x
🐘 PostgresExpress1.103s (-2.2%)2.012s (~)0.909s101.03x
🌐 RedisNext.js (Turbopack)1.104s2.006s0.902s101.03x
💻 LocalNitro1.114s (+0.9%)2.006s (~)0.892s101.04x
🌐 MongoDBNext.js (Turbopack)1.304s2.010s0.706s101.22x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.000s (-1.0%)3.450s (-5.9% 🟢)1.450s101.00x
▲ VercelNitro2.050s (-2.8%)3.548s (-6.6% 🟢)1.497s101.03x
▲ VercelNext.js (Turbopack)2.054s (-2.4%)3.351s (-4.5%)1.297s101.03x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.539s (-2.2%)11.025s (~)0.486s31.00x
🐘 PostgresExpress10.586s (-2.1%)11.038s (~)0.452s31.00x
🐘 PostgresNitro10.612s (-2.6%)11.039s (~)0.426s31.01x
🌐 RedisNext.js (Turbopack)10.672s11.023s0.351s31.01x
💻 LocalNext.js (Turbopack)10.686s11.024s0.338s31.01x
💻 LocalNitro10.828s (~)11.024s (~)0.195s31.03x
🌐 MongoDBNext.js (Turbopack)12.302s13.025s0.723s31.17x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro16.212s (-3.4%)17.277s (-4.5%)1.066s21.00x
▲ VercelNext.js (Turbopack)16.881s (-0.7%)18.313s (+1.1%)1.432s21.04x
▲ VercelExpress18.035s (+7.8% 🔺)19.471s (+4.8%)1.436s21.11x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro26.362s (-2.5%)27.061s (~)0.699s31.00x
🐘 PostgresExpress26.393s (-2.3%)27.056s (~)0.663s31.00x
🌐 RedisNext.js (Turbopack)26.521s27.050s0.529s31.01x
💻 LocalExpress26.548s (-2.3%)27.057s (-3.5%)0.510s31.01x
💻 LocalNext.js (Turbopack)26.927s27.052s0.125s31.02x
💻 LocalNitro27.344s (+0.5%)28.055s (~)0.711s31.04x
🌐 MongoDBNext.js (Turbopack)30.585s31.049s0.464s21.16x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro42.795s (-1.8%)44.412s (-1.5%)1.617s21.00x
▲ VercelNext.js (Turbopack)43.806s (~)45.011s (-0.9%)1.205s21.02x
▲ VercelExpress44.955s (+2.9%)46.469s (+3.4%)1.514s21.05x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express52.712s (-2.3%)53.090s (-1.9%)0.378s21.00x
🐘 PostgresNitro52.754s (-2.2%)53.094s (-1.9%)0.341s21.00x
🌐 RedisNext.js (Turbopack)53.084s53.097s0.013s21.01x
💻 LocalExpress54.583s (-2.6%)55.104s (-1.8%)0.521s21.04x
💻 LocalNext.js (Turbopack)55.624s56.102s0.478s21.06x
💻 LocalNitro56.238s (~)57.107s (~)0.869s21.07x
🌐 MongoDBNext.js (Turbopack)60.972s61.084s0.111s21.16x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)92.237s (-77.1% 🟢)93.650s (-76.9% 🟢)1.413s11.00x
▲ VercelNitro93.081s (-3.2%)94.287s (-3.3%)1.206s11.01x
▲ VercelExpress94.478s (-1.1%)96.363s (-0.7%)1.885s11.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.256s2.006s0.750s151.00x
🐘 PostgresNitro1.297s (-5.8% 🟢)2.010s (~)0.714s151.03x
🐘 PostgresExpress1.308s (-4.9%)2.010s (~)0.702s151.04x
💻 LocalExpress1.345s (-4.7%)2.005s (~)0.660s151.07x
💻 LocalNitro1.410s (-1.6%)2.006s (~)0.596s151.12x
💻 LocalNext.js (Turbopack)1.423s2.005s0.582s151.13x
🌐 MongoDBNext.js (Turbopack)2.139s3.009s0.869s101.70x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.399s (-4.5%)3.847s (+0.9%)1.448s81.00x
▲ VercelExpress2.798s (+20.3% 🔺)4.173s (+11.0% 🔺)1.374s81.17x
▲ VercelNext.js (Turbopack)3.626s (+33.4% 🔺)4.815s (+20.1% 🔺)1.189s71.51x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.683s (-20.3% 🟢)2.155s (-17.1% 🟢)0.473s141.00x
🐘 PostgresExpress1.715s (-14.8% 🟢)2.146s (-17.5% 🟢)0.432s151.02x
💻 LocalExpress2.292s (-10.4% 🟢)3.007s (~)0.715s101.36x
🌐 RedisNext.js (Turbopack)2.501s3.008s0.507s101.49x
💻 LocalNext.js (Turbopack)2.577s2.916s0.339s111.53x
💻 LocalNitro2.583s (-2.9%)3.008s (~)0.425s101.54x
🌐 MongoDBNext.js (Turbopack)4.769s5.179s0.410s62.83x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.638s (-5.4% 🟢)3.783s (-3.0%)1.146s81.00x
▲ VercelNitro2.719s (-6.6% 🟢)3.980s (-3.6%)1.261s81.03x
▲ VercelExpress2.772s (+1.1%)3.816s (-5.2% 🟢)1.045s81.05x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.867s (-23.8% 🟢)3.891s (-12.8% 🟢)1.024s81.00x
🐘 PostgresExpress2.905s (-21.9% 🟢)3.769s (-12.7% 🟢)0.863s81.01x
🌐 RedisNext.js (Turbopack)4.152s4.868s0.716s71.45x
💻 LocalExpress6.214s (-19.1% 🟢)6.814s (-15.0% 🟢)0.600s52.17x
💻 LocalNext.js (Turbopack)7.120s7.515s0.394s42.48x
💻 LocalNitro7.370s (-3.0%)8.018s (~)0.648s42.57x
🌐 MongoDBNext.js (Turbopack)9.891s10.351s0.460s33.45x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.668s (+26.4% 🔺)4.890s (+13.3% 🔺)1.222s71.00x
▲ VercelExpress4.069s (+42.9% 🔺)5.174s (+34.3% 🔺)1.105s61.11x
▲ VercelNext.js (Turbopack)4.359s (+53.1% 🔺)5.304s (+34.4% 🔺)0.945s61.19x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.241s2.006s0.766s151.00x
🐘 PostgresNitro1.290s (-7.9% 🟢)2.011s (~)0.722s151.04x
🐘 PostgresExpress1.293s (-7.6% 🟢)2.011s (~)0.719s151.04x
💻 LocalExpress1.369s (-6.5% 🟢)2.005s (~)0.636s151.10x
💻 LocalNext.js (Turbopack)1.428s2.005s0.577s151.15x
💻 LocalNitro1.461s (+1.6%)2.006s (~)0.545s151.18x
🌐 MongoDBNext.js (Turbopack)2.163s3.010s0.847s101.74x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.168s (-7.4% 🟢)3.572s (-9.3% 🟢)1.405s91.00x
▲ VercelNext.js (Turbopack)2.201s (+4.7%)3.600s (+5.0%)1.399s91.02x
▲ VercelExpress2.259s (+2.4%)3.647s (-0.6%)1.388s91.04x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.654s (-20.5% 🟢)2.079s (-22.5% 🟢)0.424s151.00x
🐘 PostgresExpress1.810s (-18.8% 🟢)2.227s (-17.0% 🟢)0.417s141.09x
💻 LocalExpress2.417s (-11.6% 🟢)3.008s (~)0.592s101.46x
💻 LocalNext.js (Turbopack)2.564s3.008s0.443s101.55x
🌐 RedisNext.js (Turbopack)2.618s3.108s0.490s101.58x
💻 LocalNitro2.840s (+2.5%)3.109s (+3.3%)0.269s101.72x
🌐 MongoDBNext.js (Turbopack)4.871s5.345s0.474s62.94x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.465s (+5.1% 🔺)3.700s (~)1.235s91.00x
▲ VercelExpress2.661s (+18.8% 🔺)4.053s (+14.6% 🔺)1.392s81.08x
▲ VercelNext.js (Turbopack)2.705s (+13.7% 🔺)3.928s (+14.3% 🔺)1.222s81.10x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.758s (-27.1% 🟢)3.682s (-19.9% 🟢)0.924s91.00x
🐘 PostgresExpress2.957s (-21.1% 🟢)3.766s (-15.4% 🟢)0.809s81.07x
🌐 RedisNext.js (Turbopack)4.059s4.724s0.665s71.47x
💻 LocalExpress6.710s (-18.5% 🟢)7.215s (-20.0% 🟢)0.505s52.43x
💻 LocalNext.js (Turbopack)7.513s8.020s0.507s42.72x
💻 LocalNitro8.003s (-3.3%)8.521s (-5.6% 🟢)0.518s42.90x
🌐 MongoDBNext.js (Turbopack)10.184s10.686s0.502s33.69x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.098s (+4.3%)4.405s (+1.7%)1.307s71.00x
▲ VercelNitro3.305s (+7.0% 🔺)4.417s (+1.4%)1.113s71.07x
▲ VercelNext.js (Turbopack)3.715s (+30.4% 🔺)4.929s (+22.6% 🔺)1.214s71.20x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.114s (-31.8% 🟢)1.003s (~)0.010s (-14.8% 🟢)1.015s (~)0.901s101.00x
🐘 PostgresNitro0.133s (-34.6% 🟢)0.999s (+0.5%)0.002s (~)1.011s (~)0.879s101.16x
🐘 PostgresExpress0.137s (-26.9% 🟢)0.999s (~)0.002s (+23.1% 🔺)1.012s (~)0.875s101.20x
💻 LocalNext.js (Turbopack)0.139s1.001s0.012s1.017s0.879s101.21x
🌐 RedisNext.js (Turbopack)0.146s1.000s0.001s1.008s0.862s101.27x
💻 LocalNitro0.180s (+4.1%)1.003s (~)0.011s (-3.4%)1.017s (~)0.837s101.57x
🌐 MongoDBNext.js (Turbopack)0.506s0.941s0.001s1.009s0.503s104.42x
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.505s (-7.3% 🟢)2.058s (-18.8% 🟢)0.006s (~)2.485s (-16.9% 🟢)0.980s101.00x
▲ VercelNext.js (Turbopack)1.652s (-3.2%)2.433s (-11.2% 🟢)0.005s (-98.3% 🟢)2.991s (-13.4% 🟢)1.339s101.10x
▲ VercelNitro1.741s (+10.3% 🔺)2.547s (-1.3%)0.004s (-12.2% 🟢)3.048s (~)1.307s101.16x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress12/12
🐘 PostgresNitro9/12
▲ VercelNitro6/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres8/12
Next.js (Turbopack)🌐 Redis7/12
Nitro🐘 Postgres11/12
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

@github-actions

github-actionsBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1185615189
✅ 📋 Other147027174
Total2727563643147

❌ Failed Tests

🌍 Community Worlds (56 failed)

mongodb (3 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

redis (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

turso (51 failed):

  • addTenWorkflow
  • addTenWorkflow
  • wellKnownAgentWorkflow (.well-known/agent)
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • importedStepOnlyWorkflow
  • hookWorkflow
  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • sleepingWorkflow
  • parallelSleepWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior workflow completes despite transient 5xx on step_completed
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument
  • cancelRun - cancelling a running workflow
  • cancelRun via CLI - cancelling a running workflow
  • 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
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control)

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5233
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the world-local queue retry/re-enqueue signaling to use an HTTP 200 response (with a timeoutSeconds field in the body) instead of HTTP 503, aligning local behavior with the “successful response” handling used elsewhere and reducing confusion in logs/traffic inspection.

Changes:

  • Switch local queue timeout re-enqueue responses from HTTP 503 to HTTP 200.
  • Update the local queue client logic to detect timeoutSeconds on 2xx responses.
  • Add a changeset bumping @workflow/world-local with a patch release note.

Reviewed changes

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

FileDescription
packages/world-local/src/queue.tsAdjusts timeout re-enqueue signaling to use 200 responses and updates consumer parsing logic accordingly.
.changeset/fix-local-queue-timeout-status.mdAdds a patch changeset documenting the behavior change.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment threadpackages/world-local/src/queue.ts
Comment threadpackages/world-local/src/queue.ts
…ests
Address review feedback: timeoutSeconds === 0 should trigger an immediate
re-enqueue without delay, not be treated as a normal success. Also adds
test coverage for the handler response codes and re-enqueue behavior.
@TooTallNate
TooTallNate enabled auto-merge (squash) March 10, 2026 06:18
@TooTallNate
TooTallNate merged commit 4a6ddd8 into mainMar 10, 2026
102 checks passed
@TooTallNate
TooTallNate deleted the fix/local-queue-timeout-status-code branch March 10, 2026 06:29
pranaygp added a commit that referenced this pull request Mar 12, 2026
…ignal
* origin/main: (26 commits)
Fix flaky streamer test ENOENT when chunks directory does not exist yet (#1330)
Version Packages (beta) (#1325)
[web-shared] Improve workflow observability event list UX (#1337)
feat: add `exists` getter to `Run` class (#1336)
Support client-side tools in DurableAgent (#1329)
[world-postgres] [world-local] Execute Graphile jobs directly instead of defering to world-local queue (#1334)
Merge CLAUDE.md into AGENTS.md and symlink CLAUDE.md (#1326)
[web] Polish loading indicators (#1327)
Fix flaky webhookWorkflow e2e test by polling instead of fixed sleep (#1328)
feat: support `deploymentId: 'latest'` in `start()` to resolve most recent deployment (#1317)
Fix bug where the SWC compiler bug prunes step-only imports in the client-mode transformation
[web] [world-vercel] Ensure user-passed run IDs are URL encoded and call out self-hosted security (#1322)
Version Packages (beta) (#1306)
Remove hard-coded VERCEL_DEPLOYMENT_KEY from nextjs-turbopack workbench (#1319)
fix(web): move react-router deps to devDependencies (#1265)
fix(ai): use workspace:* for workflow peer dependency (#1320)
fix(core): pass resolved deploymentId to getEncryptionKeyForRun in start() (#1318)
fix: surface 429 rate-limit errors in e2e tests and CLI (#1309)
fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals (#1307)
[web-shared] [cli] Refactor observability data fetching (#1261)
...
# Conflicts:
#	packages/core/e2e/e2e.test.ts
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
#	workbench/example/workflows/99_e2e.ts
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

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

fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals - #1307

Merged
TooTallNate merged 3 commits into
mainfrom
fix/local-queue-timeout-status-code
Mar 10, 2026
Merged

fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals#1307
TooTallNate merged 3 commits into
mainfrom
fix/local-queue-timeout-status-code

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Changed the local queue's timeout re-enqueue signal from HTTP 503 (Service Unavailable) to HTTP 200, matching how the VQS client handles successful responses
  • Updated the consumer side to detect timeoutSeconds from the response body on 2xx responses instead of checking for status 503
  • The 503 status was misleading — it's not an error but normal workflow operation signaling the queue to re-enqueue after a delay. This caused confusion when inspecting logs/network traffic (especially for LLMs analyzing output).

…-enqueue signals
The local queue used HTTP 503 (Service Unavailable) as an internal signal
for re-enqueueing after a timeout delay. This is misleading since 503 is
an error status, causing confusion when inspecting logs or network traffic.
Changed to return 200 with timeoutSeconds in the body, and updated the
consumer to detect the re-enqueue signal from the response body instead
of the status code.
CopilotAI review requested due to automatic review settings March 9, 2026 21:56
@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 9, 2026 21:56
@changeset-bot

changeset-botBot commented Mar 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6cf7b19

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

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

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

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

@vercel

vercelBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.026s (-19.9% 🟢)1.005s (~)0.980s101.00x
💻 LocalNitro0.035s (-1.7%)1.005s (~)0.971s101.35x
🐘 PostgresExpress0.039s (-28.8% 🟢)1.011s (~)0.972s101.51x
🐘 PostgresNitro0.041s (-25.6% 🟢)1.012s (~)0.971s101.58x
💻 LocalNext.js (Turbopack)0.041s1.006s0.965s101.61x
🌐 RedisNext.js (Turbopack)0.045s1.005s0.959s101.77x
🌐 MongoDBNext.js (Turbopack)0.092s1.008s0.916s103.60x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.438s (-9.3% 🟢)1.833s (-25.1% 🟢)1.395s101.00x
▲ VercelNitro0.476s (-8.6% 🟢)2.162s (-3.3%)1.686s101.09x
▲ VercelNext.js (Turbopack)0.566s (-10.4% 🟢)2.304s (-1.6%)1.738s101.29x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.072s (-2.8%)2.006s (~)0.934s101.00x
🐘 PostgresNitro1.093s (-5.3% 🟢)2.013s (~)0.919s101.02x
💻 LocalNext.js (Turbopack)1.102s2.005s0.904s101.03x
🐘 PostgresExpress1.103s (-2.2%)2.012s (~)0.909s101.03x
🌐 RedisNext.js (Turbopack)1.104s2.006s0.902s101.03x
💻 LocalNitro1.114s (+0.9%)2.006s (~)0.892s101.04x
🌐 MongoDBNext.js (Turbopack)1.304s2.010s0.706s101.22x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.000s (-1.0%)3.450s (-5.9% 🟢)1.450s101.00x
▲ VercelNitro2.050s (-2.8%)3.548s (-6.6% 🟢)1.497s101.03x
▲ VercelNext.js (Turbopack)2.054s (-2.4%)3.351s (-4.5%)1.297s101.03x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.539s (-2.2%)11.025s (~)0.486s31.00x
🐘 PostgresExpress10.586s (-2.1%)11.038s (~)0.452s31.00x
🐘 PostgresNitro10.612s (-2.6%)11.039s (~)0.426s31.01x
🌐 RedisNext.js (Turbopack)10.672s11.023s0.351s31.01x
💻 LocalNext.js (Turbopack)10.686s11.024s0.338s31.01x
💻 LocalNitro10.828s (~)11.024s (~)0.195s31.03x
🌐 MongoDBNext.js (Turbopack)12.302s13.025s0.723s31.17x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro16.212s (-3.4%)17.277s (-4.5%)1.066s21.00x
▲ VercelNext.js (Turbopack)16.881s (-0.7%)18.313s (+1.1%)1.432s21.04x
▲ VercelExpress18.035s (+7.8% 🔺)19.471s (+4.8%)1.436s21.11x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro26.362s (-2.5%)27.061s (~)0.699s31.00x
🐘 PostgresExpress26.393s (-2.3%)27.056s (~)0.663s31.00x
🌐 RedisNext.js (Turbopack)26.521s27.050s0.529s31.01x
💻 LocalExpress26.548s (-2.3%)27.057s (-3.5%)0.510s31.01x
💻 LocalNext.js (Turbopack)26.927s27.052s0.125s31.02x
💻 LocalNitro27.344s (+0.5%)28.055s (~)0.711s31.04x
🌐 MongoDBNext.js (Turbopack)30.585s31.049s0.464s21.16x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro42.795s (-1.8%)44.412s (-1.5%)1.617s21.00x
▲ VercelNext.js (Turbopack)43.806s (~)45.011s (-0.9%)1.205s21.02x
▲ VercelExpress44.955s (+2.9%)46.469s (+3.4%)1.514s21.05x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express52.712s (-2.3%)53.090s (-1.9%)0.378s21.00x
🐘 PostgresNitro52.754s (-2.2%)53.094s (-1.9%)0.341s21.00x
🌐 RedisNext.js (Turbopack)53.084s53.097s0.013s21.01x
💻 LocalExpress54.583s (-2.6%)55.104s (-1.8%)0.521s21.04x
💻 LocalNext.js (Turbopack)55.624s56.102s0.478s21.06x
💻 LocalNitro56.238s (~)57.107s (~)0.869s21.07x
🌐 MongoDBNext.js (Turbopack)60.972s61.084s0.111s21.16x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)92.237s (-77.1% 🟢)93.650s (-76.9% 🟢)1.413s11.00x
▲ VercelNitro93.081s (-3.2%)94.287s (-3.3%)1.206s11.01x
▲ VercelExpress94.478s (-1.1%)96.363s (-0.7%)1.885s11.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.256s2.006s0.750s151.00x
🐘 PostgresNitro1.297s (-5.8% 🟢)2.010s (~)0.714s151.03x
🐘 PostgresExpress1.308s (-4.9%)2.010s (~)0.702s151.04x
💻 LocalExpress1.345s (-4.7%)2.005s (~)0.660s151.07x
💻 LocalNitro1.410s (-1.6%)2.006s (~)0.596s151.12x
💻 LocalNext.js (Turbopack)1.423s2.005s0.582s151.13x
🌐 MongoDBNext.js (Turbopack)2.139s3.009s0.869s101.70x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.399s (-4.5%)3.847s (+0.9%)1.448s81.00x
▲ VercelExpress2.798s (+20.3% 🔺)4.173s (+11.0% 🔺)1.374s81.17x
▲ VercelNext.js (Turbopack)3.626s (+33.4% 🔺)4.815s (+20.1% 🔺)1.189s71.51x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.683s (-20.3% 🟢)2.155s (-17.1% 🟢)0.473s141.00x
🐘 PostgresExpress1.715s (-14.8% 🟢)2.146s (-17.5% 🟢)0.432s151.02x
💻 LocalExpress2.292s (-10.4% 🟢)3.007s (~)0.715s101.36x
🌐 RedisNext.js (Turbopack)2.501s3.008s0.507s101.49x
💻 LocalNext.js (Turbopack)2.577s2.916s0.339s111.53x
💻 LocalNitro2.583s (-2.9%)3.008s (~)0.425s101.54x
🌐 MongoDBNext.js (Turbopack)4.769s5.179s0.410s62.83x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.638s (-5.4% 🟢)3.783s (-3.0%)1.146s81.00x
▲ VercelNitro2.719s (-6.6% 🟢)3.980s (-3.6%)1.261s81.03x
▲ VercelExpress2.772s (+1.1%)3.816s (-5.2% 🟢)1.045s81.05x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.867s (-23.8% 🟢)3.891s (-12.8% 🟢)1.024s81.00x
🐘 PostgresExpress2.905s (-21.9% 🟢)3.769s (-12.7% 🟢)0.863s81.01x
🌐 RedisNext.js (Turbopack)4.152s4.868s0.716s71.45x
💻 LocalExpress6.214s (-19.1% 🟢)6.814s (-15.0% 🟢)0.600s52.17x
💻 LocalNext.js (Turbopack)7.120s7.515s0.394s42.48x
💻 LocalNitro7.370s (-3.0%)8.018s (~)0.648s42.57x
🌐 MongoDBNext.js (Turbopack)9.891s10.351s0.460s33.45x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.668s (+26.4% 🔺)4.890s (+13.3% 🔺)1.222s71.00x
▲ VercelExpress4.069s (+42.9% 🔺)5.174s (+34.3% 🔺)1.105s61.11x
▲ VercelNext.js (Turbopack)4.359s (+53.1% 🔺)5.304s (+34.4% 🔺)0.945s61.19x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.241s2.006s0.766s151.00x
🐘 PostgresNitro1.290s (-7.9% 🟢)2.011s (~)0.722s151.04x
🐘 PostgresExpress1.293s (-7.6% 🟢)2.011s (~)0.719s151.04x
💻 LocalExpress1.369s (-6.5% 🟢)2.005s (~)0.636s151.10x
💻 LocalNext.js (Turbopack)1.428s2.005s0.577s151.15x
💻 LocalNitro1.461s (+1.6%)2.006s (~)0.545s151.18x
🌐 MongoDBNext.js (Turbopack)2.163s3.010s0.847s101.74x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.168s (-7.4% 🟢)3.572s (-9.3% 🟢)1.405s91.00x
▲ VercelNext.js (Turbopack)2.201s (+4.7%)3.600s (+5.0%)1.399s91.02x
▲ VercelExpress2.259s (+2.4%)3.647s (-0.6%)1.388s91.04x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.654s (-20.5% 🟢)2.079s (-22.5% 🟢)0.424s151.00x
🐘 PostgresExpress1.810s (-18.8% 🟢)2.227s (-17.0% 🟢)0.417s141.09x
💻 LocalExpress2.417s (-11.6% 🟢)3.008s (~)0.592s101.46x
💻 LocalNext.js (Turbopack)2.564s3.008s0.443s101.55x
🌐 RedisNext.js (Turbopack)2.618s3.108s0.490s101.58x
💻 LocalNitro2.840s (+2.5%)3.109s (+3.3%)0.269s101.72x
🌐 MongoDBNext.js (Turbopack)4.871s5.345s0.474s62.94x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.465s (+5.1% 🔺)3.700s (~)1.235s91.00x
▲ VercelExpress2.661s (+18.8% 🔺)4.053s (+14.6% 🔺)1.392s81.08x
▲ VercelNext.js (Turbopack)2.705s (+13.7% 🔺)3.928s (+14.3% 🔺)1.222s81.10x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.758s (-27.1% 🟢)3.682s (-19.9% 🟢)0.924s91.00x
🐘 PostgresExpress2.957s (-21.1% 🟢)3.766s (-15.4% 🟢)0.809s81.07x
🌐 RedisNext.js (Turbopack)4.059s4.724s0.665s71.47x
💻 LocalExpress6.710s (-18.5% 🟢)7.215s (-20.0% 🟢)0.505s52.43x
💻 LocalNext.js (Turbopack)7.513s8.020s0.507s42.72x
💻 LocalNitro8.003s (-3.3%)8.521s (-5.6% 🟢)0.518s42.90x
🌐 MongoDBNext.js (Turbopack)10.184s10.686s0.502s33.69x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.098s (+4.3%)4.405s (+1.7%)1.307s71.00x
▲ VercelNitro3.305s (+7.0% 🔺)4.417s (+1.4%)1.113s71.07x
▲ VercelNext.js (Turbopack)3.715s (+30.4% 🔺)4.929s (+22.6% 🔺)1.214s71.20x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.114s (-31.8% 🟢)1.003s (~)0.010s (-14.8% 🟢)1.015s (~)0.901s101.00x
🐘 PostgresNitro0.133s (-34.6% 🟢)0.999s (+0.5%)0.002s (~)1.011s (~)0.879s101.16x
🐘 PostgresExpress0.137s (-26.9% 🟢)0.999s (~)0.002s (+23.1% 🔺)1.012s (~)0.875s101.20x
💻 LocalNext.js (Turbopack)0.139s1.001s0.012s1.017s0.879s101.21x
🌐 RedisNext.js (Turbopack)0.146s1.000s0.001s1.008s0.862s101.27x
💻 LocalNitro0.180s (+4.1%)1.003s (~)0.011s (-3.4%)1.017s (~)0.837s101.57x
🌐 MongoDBNext.js (Turbopack)0.506s0.941s0.001s1.009s0.503s104.42x
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.505s (-7.3% 🟢)2.058s (-18.8% 🟢)0.006s (~)2.485s (-16.9% 🟢)0.980s101.00x
▲ VercelNext.js (Turbopack)1.652s (-3.2%)2.433s (-11.2% 🟢)0.005s (-98.3% 🟢)2.991s (-13.4% 🟢)1.339s101.10x
▲ VercelNitro1.741s (+10.3% 🔺)2.547s (-1.3%)0.004s (-12.2% 🟢)3.048s (~)1.307s101.16x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress12/12
🐘 PostgresNitro9/12
▲ VercelNitro6/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres8/12
Next.js (Turbopack)🌐 Redis7/12
Nitro🐘 Postgres11/12
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

@github-actions

github-actionsBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1185615189
✅ 📋 Other147027174
Total2727563643147

❌ Failed Tests

🌍 Community Worlds (56 failed)

mongodb (3 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

redis (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

turso (51 failed):

  • addTenWorkflow
  • addTenWorkflow
  • wellKnownAgentWorkflow (.well-known/agent)
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • importedStepOnlyWorkflow
  • hookWorkflow
  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • sleepingWorkflow
  • parallelSleepWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior workflow completes despite transient 5xx on step_completed
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument
  • cancelRun - cancelling a running workflow
  • cancelRun via CLI - cancelling a running workflow
  • 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
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control)

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5233
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the world-local queue retry/re-enqueue signaling to use an HTTP 200 response (with a timeoutSeconds field in the body) instead of HTTP 503, aligning local behavior with the “successful response” handling used elsewhere and reducing confusion in logs/traffic inspection.

Changes:

  • Switch local queue timeout re-enqueue responses from HTTP 503 to HTTP 200.
  • Update the local queue client logic to detect timeoutSeconds on 2xx responses.
  • Add a changeset bumping @workflow/world-local with a patch release note.

Reviewed changes

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

FileDescription
packages/world-local/src/queue.tsAdjusts timeout re-enqueue signaling to use 200 responses and updates consumer parsing logic accordingly.
.changeset/fix-local-queue-timeout-status.mdAdds a patch changeset documenting the behavior change.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment threadpackages/world-local/src/queue.ts
Comment threadpackages/world-local/src/queue.ts
…ests
Address review feedback: timeoutSeconds === 0 should trigger an immediate
re-enqueue without delay, not be treated as a normal success. Also adds
test coverage for the handler response codes and re-enqueue behavior.
@TooTallNate
TooTallNate enabled auto-merge (squash) March 10, 2026 06:18
@TooTallNate
TooTallNate merged commit 4a6ddd8 into mainMar 10, 2026
102 checks passed
@TooTallNate
TooTallNate deleted the fix/local-queue-timeout-status-code branch March 10, 2026 06:29
pranaygp added a commit that referenced this pull request Mar 12, 2026
…ignal
* origin/main: (26 commits)
Fix flaky streamer test ENOENT when chunks directory does not exist yet (#1330)
Version Packages (beta) (#1325)
[web-shared] Improve workflow observability event list UX (#1337)
feat: add `exists` getter to `Run` class (#1336)
Support client-side tools in DurableAgent (#1329)
[world-postgres] [world-local] Execute Graphile jobs directly instead of defering to world-local queue (#1334)
Merge CLAUDE.md into AGENTS.md and symlink CLAUDE.md (#1326)
[web] Polish loading indicators (#1327)
Fix flaky webhookWorkflow e2e test by polling instead of fixed sleep (#1328)
feat: support `deploymentId: 'latest'` in `start()` to resolve most recent deployment (#1317)
Fix bug where the SWC compiler bug prunes step-only imports in the client-mode transformation
[web] [world-vercel] Ensure user-passed run IDs are URL encoded and call out self-hosted security (#1322)
Version Packages (beta) (#1306)
Remove hard-coded VERCEL_DEPLOYMENT_KEY from nextjs-turbopack workbench (#1319)
fix(web): move react-router deps to devDependencies (#1265)
fix(ai): use workspace:* for workflow peer dependency (#1320)
fix(core): pass resolved deploymentId to getEncryptionKeyForRun in start() (#1318)
fix: surface 429 rate-limit errors in e2e tests and CLI (#1309)
fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals (#1307)
[web-shared] [cli] Refactor observability data fetching (#1261)
...
# Conflicts:
#	packages/core/e2e/e2e.test.ts
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
#	workbench/example/workflows/99_e2e.ts
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

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

fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals - #1307

Merged
TooTallNate merged 3 commits into
mainfrom
fix/local-queue-timeout-status-code
Mar 10, 2026
Merged

fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals#1307
TooTallNate merged 3 commits into
mainfrom
fix/local-queue-timeout-status-code

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Changed the local queue's timeout re-enqueue signal from HTTP 503 (Service Unavailable) to HTTP 200, matching how the VQS client handles successful responses
  • Updated the consumer side to detect timeoutSeconds from the response body on 2xx responses instead of checking for status 503
  • The 503 status was misleading — it's not an error but normal workflow operation signaling the queue to re-enqueue after a delay. This caused confusion when inspecting logs/network traffic (especially for LLMs analyzing output).

…-enqueue signals
The local queue used HTTP 503 (Service Unavailable) as an internal signal
for re-enqueueing after a timeout delay. This is misleading since 503 is
an error status, causing confusion when inspecting logs or network traffic.
Changed to return 200 with timeoutSeconds in the body, and updated the
consumer to detect the re-enqueue signal from the response body instead
of the status code.
CopilotAI review requested due to automatic review settings March 9, 2026 21:56
@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 9, 2026 21:56
@changeset-bot

changeset-botBot commented Mar 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6cf7b19

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

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

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

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

@vercel

vercelBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.026s (-19.9% 🟢)1.005s (~)0.980s101.00x
💻 LocalNitro0.035s (-1.7%)1.005s (~)0.971s101.35x
🐘 PostgresExpress0.039s (-28.8% 🟢)1.011s (~)0.972s101.51x
🐘 PostgresNitro0.041s (-25.6% 🟢)1.012s (~)0.971s101.58x
💻 LocalNext.js (Turbopack)0.041s1.006s0.965s101.61x
🌐 RedisNext.js (Turbopack)0.045s1.005s0.959s101.77x
🌐 MongoDBNext.js (Turbopack)0.092s1.008s0.916s103.60x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.438s (-9.3% 🟢)1.833s (-25.1% 🟢)1.395s101.00x
▲ VercelNitro0.476s (-8.6% 🟢)2.162s (-3.3%)1.686s101.09x
▲ VercelNext.js (Turbopack)0.566s (-10.4% 🟢)2.304s (-1.6%)1.738s101.29x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.072s (-2.8%)2.006s (~)0.934s101.00x
🐘 PostgresNitro1.093s (-5.3% 🟢)2.013s (~)0.919s101.02x
💻 LocalNext.js (Turbopack)1.102s2.005s0.904s101.03x
🐘 PostgresExpress1.103s (-2.2%)2.012s (~)0.909s101.03x
🌐 RedisNext.js (Turbopack)1.104s2.006s0.902s101.03x
💻 LocalNitro1.114s (+0.9%)2.006s (~)0.892s101.04x
🌐 MongoDBNext.js (Turbopack)1.304s2.010s0.706s101.22x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.000s (-1.0%)3.450s (-5.9% 🟢)1.450s101.00x
▲ VercelNitro2.050s (-2.8%)3.548s (-6.6% 🟢)1.497s101.03x
▲ VercelNext.js (Turbopack)2.054s (-2.4%)3.351s (-4.5%)1.297s101.03x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.539s (-2.2%)11.025s (~)0.486s31.00x
🐘 PostgresExpress10.586s (-2.1%)11.038s (~)0.452s31.00x
🐘 PostgresNitro10.612s (-2.6%)11.039s (~)0.426s31.01x
🌐 RedisNext.js (Turbopack)10.672s11.023s0.351s31.01x
💻 LocalNext.js (Turbopack)10.686s11.024s0.338s31.01x
💻 LocalNitro10.828s (~)11.024s (~)0.195s31.03x
🌐 MongoDBNext.js (Turbopack)12.302s13.025s0.723s31.17x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro16.212s (-3.4%)17.277s (-4.5%)1.066s21.00x
▲ VercelNext.js (Turbopack)16.881s (-0.7%)18.313s (+1.1%)1.432s21.04x
▲ VercelExpress18.035s (+7.8% 🔺)19.471s (+4.8%)1.436s21.11x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro26.362s (-2.5%)27.061s (~)0.699s31.00x
🐘 PostgresExpress26.393s (-2.3%)27.056s (~)0.663s31.00x
🌐 RedisNext.js (Turbopack)26.521s27.050s0.529s31.01x
💻 LocalExpress26.548s (-2.3%)27.057s (-3.5%)0.510s31.01x
💻 LocalNext.js (Turbopack)26.927s27.052s0.125s31.02x
💻 LocalNitro27.344s (+0.5%)28.055s (~)0.711s31.04x
🌐 MongoDBNext.js (Turbopack)30.585s31.049s0.464s21.16x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro42.795s (-1.8%)44.412s (-1.5%)1.617s21.00x
▲ VercelNext.js (Turbopack)43.806s (~)45.011s (-0.9%)1.205s21.02x
▲ VercelExpress44.955s (+2.9%)46.469s (+3.4%)1.514s21.05x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express52.712s (-2.3%)53.090s (-1.9%)0.378s21.00x
🐘 PostgresNitro52.754s (-2.2%)53.094s (-1.9%)0.341s21.00x
🌐 RedisNext.js (Turbopack)53.084s53.097s0.013s21.01x
💻 LocalExpress54.583s (-2.6%)55.104s (-1.8%)0.521s21.04x
💻 LocalNext.js (Turbopack)55.624s56.102s0.478s21.06x
💻 LocalNitro56.238s (~)57.107s (~)0.869s21.07x
🌐 MongoDBNext.js (Turbopack)60.972s61.084s0.111s21.16x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)92.237s (-77.1% 🟢)93.650s (-76.9% 🟢)1.413s11.00x
▲ VercelNitro93.081s (-3.2%)94.287s (-3.3%)1.206s11.01x
▲ VercelExpress94.478s (-1.1%)96.363s (-0.7%)1.885s11.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.256s2.006s0.750s151.00x
🐘 PostgresNitro1.297s (-5.8% 🟢)2.010s (~)0.714s151.03x
🐘 PostgresExpress1.308s (-4.9%)2.010s (~)0.702s151.04x
💻 LocalExpress1.345s (-4.7%)2.005s (~)0.660s151.07x
💻 LocalNitro1.410s (-1.6%)2.006s (~)0.596s151.12x
💻 LocalNext.js (Turbopack)1.423s2.005s0.582s151.13x
🌐 MongoDBNext.js (Turbopack)2.139s3.009s0.869s101.70x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.399s (-4.5%)3.847s (+0.9%)1.448s81.00x
▲ VercelExpress2.798s (+20.3% 🔺)4.173s (+11.0% 🔺)1.374s81.17x
▲ VercelNext.js (Turbopack)3.626s (+33.4% 🔺)4.815s (+20.1% 🔺)1.189s71.51x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.683s (-20.3% 🟢)2.155s (-17.1% 🟢)0.473s141.00x
🐘 PostgresExpress1.715s (-14.8% 🟢)2.146s (-17.5% 🟢)0.432s151.02x
💻 LocalExpress2.292s (-10.4% 🟢)3.007s (~)0.715s101.36x
🌐 RedisNext.js (Turbopack)2.501s3.008s0.507s101.49x
💻 LocalNext.js (Turbopack)2.577s2.916s0.339s111.53x
💻 LocalNitro2.583s (-2.9%)3.008s (~)0.425s101.54x
🌐 MongoDBNext.js (Turbopack)4.769s5.179s0.410s62.83x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.638s (-5.4% 🟢)3.783s (-3.0%)1.146s81.00x
▲ VercelNitro2.719s (-6.6% 🟢)3.980s (-3.6%)1.261s81.03x
▲ VercelExpress2.772s (+1.1%)3.816s (-5.2% 🟢)1.045s81.05x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.867s (-23.8% 🟢)3.891s (-12.8% 🟢)1.024s81.00x
🐘 PostgresExpress2.905s (-21.9% 🟢)3.769s (-12.7% 🟢)0.863s81.01x
🌐 RedisNext.js (Turbopack)4.152s4.868s0.716s71.45x
💻 LocalExpress6.214s (-19.1% 🟢)6.814s (-15.0% 🟢)0.600s52.17x
💻 LocalNext.js (Turbopack)7.120s7.515s0.394s42.48x
💻 LocalNitro7.370s (-3.0%)8.018s (~)0.648s42.57x
🌐 MongoDBNext.js (Turbopack)9.891s10.351s0.460s33.45x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.668s (+26.4% 🔺)4.890s (+13.3% 🔺)1.222s71.00x
▲ VercelExpress4.069s (+42.9% 🔺)5.174s (+34.3% 🔺)1.105s61.11x
▲ VercelNext.js (Turbopack)4.359s (+53.1% 🔺)5.304s (+34.4% 🔺)0.945s61.19x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.241s2.006s0.766s151.00x
🐘 PostgresNitro1.290s (-7.9% 🟢)2.011s (~)0.722s151.04x
🐘 PostgresExpress1.293s (-7.6% 🟢)2.011s (~)0.719s151.04x
💻 LocalExpress1.369s (-6.5% 🟢)2.005s (~)0.636s151.10x
💻 LocalNext.js (Turbopack)1.428s2.005s0.577s151.15x
💻 LocalNitro1.461s (+1.6%)2.006s (~)0.545s151.18x
🌐 MongoDBNext.js (Turbopack)2.163s3.010s0.847s101.74x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.168s (-7.4% 🟢)3.572s (-9.3% 🟢)1.405s91.00x
▲ VercelNext.js (Turbopack)2.201s (+4.7%)3.600s (+5.0%)1.399s91.02x
▲ VercelExpress2.259s (+2.4%)3.647s (-0.6%)1.388s91.04x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.654s (-20.5% 🟢)2.079s (-22.5% 🟢)0.424s151.00x
🐘 PostgresExpress1.810s (-18.8% 🟢)2.227s (-17.0% 🟢)0.417s141.09x
💻 LocalExpress2.417s (-11.6% 🟢)3.008s (~)0.592s101.46x
💻 LocalNext.js (Turbopack)2.564s3.008s0.443s101.55x
🌐 RedisNext.js (Turbopack)2.618s3.108s0.490s101.58x
💻 LocalNitro2.840s (+2.5%)3.109s (+3.3%)0.269s101.72x
🌐 MongoDBNext.js (Turbopack)4.871s5.345s0.474s62.94x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.465s (+5.1% 🔺)3.700s (~)1.235s91.00x
▲ VercelExpress2.661s (+18.8% 🔺)4.053s (+14.6% 🔺)1.392s81.08x
▲ VercelNext.js (Turbopack)2.705s (+13.7% 🔺)3.928s (+14.3% 🔺)1.222s81.10x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.758s (-27.1% 🟢)3.682s (-19.9% 🟢)0.924s91.00x
🐘 PostgresExpress2.957s (-21.1% 🟢)3.766s (-15.4% 🟢)0.809s81.07x
🌐 RedisNext.js (Turbopack)4.059s4.724s0.665s71.47x
💻 LocalExpress6.710s (-18.5% 🟢)7.215s (-20.0% 🟢)0.505s52.43x
💻 LocalNext.js (Turbopack)7.513s8.020s0.507s42.72x
💻 LocalNitro8.003s (-3.3%)8.521s (-5.6% 🟢)0.518s42.90x
🌐 MongoDBNext.js (Turbopack)10.184s10.686s0.502s33.69x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.098s (+4.3%)4.405s (+1.7%)1.307s71.00x
▲ VercelNitro3.305s (+7.0% 🔺)4.417s (+1.4%)1.113s71.07x
▲ VercelNext.js (Turbopack)3.715s (+30.4% 🔺)4.929s (+22.6% 🔺)1.214s71.20x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.114s (-31.8% 🟢)1.003s (~)0.010s (-14.8% 🟢)1.015s (~)0.901s101.00x
🐘 PostgresNitro0.133s (-34.6% 🟢)0.999s (+0.5%)0.002s (~)1.011s (~)0.879s101.16x
🐘 PostgresExpress0.137s (-26.9% 🟢)0.999s (~)0.002s (+23.1% 🔺)1.012s (~)0.875s101.20x
💻 LocalNext.js (Turbopack)0.139s1.001s0.012s1.017s0.879s101.21x
🌐 RedisNext.js (Turbopack)0.146s1.000s0.001s1.008s0.862s101.27x
💻 LocalNitro0.180s (+4.1%)1.003s (~)0.011s (-3.4%)1.017s (~)0.837s101.57x
🌐 MongoDBNext.js (Turbopack)0.506s0.941s0.001s1.009s0.503s104.42x
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.505s (-7.3% 🟢)2.058s (-18.8% 🟢)0.006s (~)2.485s (-16.9% 🟢)0.980s101.00x
▲ VercelNext.js (Turbopack)1.652s (-3.2%)2.433s (-11.2% 🟢)0.005s (-98.3% 🟢)2.991s (-13.4% 🟢)1.339s101.10x
▲ VercelNitro1.741s (+10.3% 🔺)2.547s (-1.3%)0.004s (-12.2% 🟢)3.048s (~)1.307s101.16x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress12/12
🐘 PostgresNitro9/12
▲ VercelNitro6/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres8/12
Next.js (Turbopack)🌐 Redis7/12
Nitro🐘 Postgres11/12
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

@github-actions

github-actionsBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1185615189
✅ 📋 Other147027174
Total2727563643147

❌ Failed Tests

🌍 Community Worlds (56 failed)

mongodb (3 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

redis (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

turso (51 failed):

  • addTenWorkflow
  • addTenWorkflow
  • wellKnownAgentWorkflow (.well-known/agent)
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • importedStepOnlyWorkflow
  • hookWorkflow
  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • sleepingWorkflow
  • parallelSleepWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior workflow completes despite transient 5xx on step_completed
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument
  • cancelRun - cancelling a running workflow
  • cancelRun via CLI - cancelling a running workflow
  • 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
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control)

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5233
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the world-local queue retry/re-enqueue signaling to use an HTTP 200 response (with a timeoutSeconds field in the body) instead of HTTP 503, aligning local behavior with the “successful response” handling used elsewhere and reducing confusion in logs/traffic inspection.

Changes:

  • Switch local queue timeout re-enqueue responses from HTTP 503 to HTTP 200.
  • Update the local queue client logic to detect timeoutSeconds on 2xx responses.
  • Add a changeset bumping @workflow/world-local with a patch release note.

Reviewed changes

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

FileDescription
packages/world-local/src/queue.tsAdjusts timeout re-enqueue signaling to use 200 responses and updates consumer parsing logic accordingly.
.changeset/fix-local-queue-timeout-status.mdAdds a patch changeset documenting the behavior change.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment threadpackages/world-local/src/queue.ts
Comment threadpackages/world-local/src/queue.ts
…ests
Address review feedback: timeoutSeconds === 0 should trigger an immediate
re-enqueue without delay, not be treated as a normal success. Also adds
test coverage for the handler response codes and re-enqueue behavior.
@TooTallNate
TooTallNate enabled auto-merge (squash) March 10, 2026 06:18
@TooTallNate
TooTallNate merged commit 4a6ddd8 into mainMar 10, 2026
102 checks passed
@TooTallNate
TooTallNate deleted the fix/local-queue-timeout-status-code branch March 10, 2026 06:29
pranaygp added a commit that referenced this pull request Mar 12, 2026
…ignal
* origin/main: (26 commits)
Fix flaky streamer test ENOENT when chunks directory does not exist yet (#1330)
Version Packages (beta) (#1325)
[web-shared] Improve workflow observability event list UX (#1337)
feat: add `exists` getter to `Run` class (#1336)
Support client-side tools in DurableAgent (#1329)
[world-postgres] [world-local] Execute Graphile jobs directly instead of defering to world-local queue (#1334)
Merge CLAUDE.md into AGENTS.md and symlink CLAUDE.md (#1326)
[web] Polish loading indicators (#1327)
Fix flaky webhookWorkflow e2e test by polling instead of fixed sleep (#1328)
feat: support `deploymentId: 'latest'` in `start()` to resolve most recent deployment (#1317)
Fix bug where the SWC compiler bug prunes step-only imports in the client-mode transformation
[web] [world-vercel] Ensure user-passed run IDs are URL encoded and call out self-hosted security (#1322)
Version Packages (beta) (#1306)
Remove hard-coded VERCEL_DEPLOYMENT_KEY from nextjs-turbopack workbench (#1319)
fix(web): move react-router deps to devDependencies (#1265)
fix(ai): use workspace:* for workflow peer dependency (#1320)
fix(core): pass resolved deploymentId to getEncryptionKeyForRun in start() (#1318)
fix: surface 429 rate-limit errors in e2e tests and CLI (#1309)
fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals (#1307)
[web-shared] [cli] Refactor observability data fetching (#1261)
...
# Conflicts:
#	packages/core/e2e/e2e.test.ts
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
#	workbench/example/workflows/99_e2e.ts
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

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

fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals - #1307

Merged
TooTallNate merged 3 commits into
mainfrom
fix/local-queue-timeout-status-code
Mar 10, 2026
Merged

fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals#1307
TooTallNate merged 3 commits into
mainfrom
fix/local-queue-timeout-status-code

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Changed the local queue's timeout re-enqueue signal from HTTP 503 (Service Unavailable) to HTTP 200, matching how the VQS client handles successful responses
  • Updated the consumer side to detect timeoutSeconds from the response body on 2xx responses instead of checking for status 503
  • The 503 status was misleading — it's not an error but normal workflow operation signaling the queue to re-enqueue after a delay. This caused confusion when inspecting logs/network traffic (especially for LLMs analyzing output).

…-enqueue signals
The local queue used HTTP 503 (Service Unavailable) as an internal signal
for re-enqueueing after a timeout delay. This is misleading since 503 is
an error status, causing confusion when inspecting logs or network traffic.
Changed to return 200 with timeoutSeconds in the body, and updated the
consumer to detect the re-enqueue signal from the response body instead
of the status code.
CopilotAI review requested due to automatic review settings March 9, 2026 21:56
@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 9, 2026 21:56
@changeset-bot

changeset-botBot commented Mar 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6cf7b19

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

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

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

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

@vercel

vercelBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.026s (-19.9% 🟢)1.005s (~)0.980s101.00x
💻 LocalNitro0.035s (-1.7%)1.005s (~)0.971s101.35x
🐘 PostgresExpress0.039s (-28.8% 🟢)1.011s (~)0.972s101.51x
🐘 PostgresNitro0.041s (-25.6% 🟢)1.012s (~)0.971s101.58x
💻 LocalNext.js (Turbopack)0.041s1.006s0.965s101.61x
🌐 RedisNext.js (Turbopack)0.045s1.005s0.959s101.77x
🌐 MongoDBNext.js (Turbopack)0.092s1.008s0.916s103.60x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.438s (-9.3% 🟢)1.833s (-25.1% 🟢)1.395s101.00x
▲ VercelNitro0.476s (-8.6% 🟢)2.162s (-3.3%)1.686s101.09x
▲ VercelNext.js (Turbopack)0.566s (-10.4% 🟢)2.304s (-1.6%)1.738s101.29x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.072s (-2.8%)2.006s (~)0.934s101.00x
🐘 PostgresNitro1.093s (-5.3% 🟢)2.013s (~)0.919s101.02x
💻 LocalNext.js (Turbopack)1.102s2.005s0.904s101.03x
🐘 PostgresExpress1.103s (-2.2%)2.012s (~)0.909s101.03x
🌐 RedisNext.js (Turbopack)1.104s2.006s0.902s101.03x
💻 LocalNitro1.114s (+0.9%)2.006s (~)0.892s101.04x
🌐 MongoDBNext.js (Turbopack)1.304s2.010s0.706s101.22x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.000s (-1.0%)3.450s (-5.9% 🟢)1.450s101.00x
▲ VercelNitro2.050s (-2.8%)3.548s (-6.6% 🟢)1.497s101.03x
▲ VercelNext.js (Turbopack)2.054s (-2.4%)3.351s (-4.5%)1.297s101.03x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.539s (-2.2%)11.025s (~)0.486s31.00x
🐘 PostgresExpress10.586s (-2.1%)11.038s (~)0.452s31.00x
🐘 PostgresNitro10.612s (-2.6%)11.039s (~)0.426s31.01x
🌐 RedisNext.js (Turbopack)10.672s11.023s0.351s31.01x
💻 LocalNext.js (Turbopack)10.686s11.024s0.338s31.01x
💻 LocalNitro10.828s (~)11.024s (~)0.195s31.03x
🌐 MongoDBNext.js (Turbopack)12.302s13.025s0.723s31.17x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro16.212s (-3.4%)17.277s (-4.5%)1.066s21.00x
▲ VercelNext.js (Turbopack)16.881s (-0.7%)18.313s (+1.1%)1.432s21.04x
▲ VercelExpress18.035s (+7.8% 🔺)19.471s (+4.8%)1.436s21.11x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro26.362s (-2.5%)27.061s (~)0.699s31.00x
🐘 PostgresExpress26.393s (-2.3%)27.056s (~)0.663s31.00x
🌐 RedisNext.js (Turbopack)26.521s27.050s0.529s31.01x
💻 LocalExpress26.548s (-2.3%)27.057s (-3.5%)0.510s31.01x
💻 LocalNext.js (Turbopack)26.927s27.052s0.125s31.02x
💻 LocalNitro27.344s (+0.5%)28.055s (~)0.711s31.04x
🌐 MongoDBNext.js (Turbopack)30.585s31.049s0.464s21.16x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro42.795s (-1.8%)44.412s (-1.5%)1.617s21.00x
▲ VercelNext.js (Turbopack)43.806s (~)45.011s (-0.9%)1.205s21.02x
▲ VercelExpress44.955s (+2.9%)46.469s (+3.4%)1.514s21.05x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express52.712s (-2.3%)53.090s (-1.9%)0.378s21.00x
🐘 PostgresNitro52.754s (-2.2%)53.094s (-1.9%)0.341s21.00x
🌐 RedisNext.js (Turbopack)53.084s53.097s0.013s21.01x
💻 LocalExpress54.583s (-2.6%)55.104s (-1.8%)0.521s21.04x
💻 LocalNext.js (Turbopack)55.624s56.102s0.478s21.06x
💻 LocalNitro56.238s (~)57.107s (~)0.869s21.07x
🌐 MongoDBNext.js (Turbopack)60.972s61.084s0.111s21.16x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)92.237s (-77.1% 🟢)93.650s (-76.9% 🟢)1.413s11.00x
▲ VercelNitro93.081s (-3.2%)94.287s (-3.3%)1.206s11.01x
▲ VercelExpress94.478s (-1.1%)96.363s (-0.7%)1.885s11.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.256s2.006s0.750s151.00x
🐘 PostgresNitro1.297s (-5.8% 🟢)2.010s (~)0.714s151.03x
🐘 PostgresExpress1.308s (-4.9%)2.010s (~)0.702s151.04x
💻 LocalExpress1.345s (-4.7%)2.005s (~)0.660s151.07x
💻 LocalNitro1.410s (-1.6%)2.006s (~)0.596s151.12x
💻 LocalNext.js (Turbopack)1.423s2.005s0.582s151.13x
🌐 MongoDBNext.js (Turbopack)2.139s3.009s0.869s101.70x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.399s (-4.5%)3.847s (+0.9%)1.448s81.00x
▲ VercelExpress2.798s (+20.3% 🔺)4.173s (+11.0% 🔺)1.374s81.17x
▲ VercelNext.js (Turbopack)3.626s (+33.4% 🔺)4.815s (+20.1% 🔺)1.189s71.51x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.683s (-20.3% 🟢)2.155s (-17.1% 🟢)0.473s141.00x
🐘 PostgresExpress1.715s (-14.8% 🟢)2.146s (-17.5% 🟢)0.432s151.02x
💻 LocalExpress2.292s (-10.4% 🟢)3.007s (~)0.715s101.36x
🌐 RedisNext.js (Turbopack)2.501s3.008s0.507s101.49x
💻 LocalNext.js (Turbopack)2.577s2.916s0.339s111.53x
💻 LocalNitro2.583s (-2.9%)3.008s (~)0.425s101.54x
🌐 MongoDBNext.js (Turbopack)4.769s5.179s0.410s62.83x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.638s (-5.4% 🟢)3.783s (-3.0%)1.146s81.00x
▲ VercelNitro2.719s (-6.6% 🟢)3.980s (-3.6%)1.261s81.03x
▲ VercelExpress2.772s (+1.1%)3.816s (-5.2% 🟢)1.045s81.05x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.867s (-23.8% 🟢)3.891s (-12.8% 🟢)1.024s81.00x
🐘 PostgresExpress2.905s (-21.9% 🟢)3.769s (-12.7% 🟢)0.863s81.01x
🌐 RedisNext.js (Turbopack)4.152s4.868s0.716s71.45x
💻 LocalExpress6.214s (-19.1% 🟢)6.814s (-15.0% 🟢)0.600s52.17x
💻 LocalNext.js (Turbopack)7.120s7.515s0.394s42.48x
💻 LocalNitro7.370s (-3.0%)8.018s (~)0.648s42.57x
🌐 MongoDBNext.js (Turbopack)9.891s10.351s0.460s33.45x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.668s (+26.4% 🔺)4.890s (+13.3% 🔺)1.222s71.00x
▲ VercelExpress4.069s (+42.9% 🔺)5.174s (+34.3% 🔺)1.105s61.11x
▲ VercelNext.js (Turbopack)4.359s (+53.1% 🔺)5.304s (+34.4% 🔺)0.945s61.19x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.241s2.006s0.766s151.00x
🐘 PostgresNitro1.290s (-7.9% 🟢)2.011s (~)0.722s151.04x
🐘 PostgresExpress1.293s (-7.6% 🟢)2.011s (~)0.719s151.04x
💻 LocalExpress1.369s (-6.5% 🟢)2.005s (~)0.636s151.10x
💻 LocalNext.js (Turbopack)1.428s2.005s0.577s151.15x
💻 LocalNitro1.461s (+1.6%)2.006s (~)0.545s151.18x
🌐 MongoDBNext.js (Turbopack)2.163s3.010s0.847s101.74x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.168s (-7.4% 🟢)3.572s (-9.3% 🟢)1.405s91.00x
▲ VercelNext.js (Turbopack)2.201s (+4.7%)3.600s (+5.0%)1.399s91.02x
▲ VercelExpress2.259s (+2.4%)3.647s (-0.6%)1.388s91.04x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.654s (-20.5% 🟢)2.079s (-22.5% 🟢)0.424s151.00x
🐘 PostgresExpress1.810s (-18.8% 🟢)2.227s (-17.0% 🟢)0.417s141.09x
💻 LocalExpress2.417s (-11.6% 🟢)3.008s (~)0.592s101.46x
💻 LocalNext.js (Turbopack)2.564s3.008s0.443s101.55x
🌐 RedisNext.js (Turbopack)2.618s3.108s0.490s101.58x
💻 LocalNitro2.840s (+2.5%)3.109s (+3.3%)0.269s101.72x
🌐 MongoDBNext.js (Turbopack)4.871s5.345s0.474s62.94x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.465s (+5.1% 🔺)3.700s (~)1.235s91.00x
▲ VercelExpress2.661s (+18.8% 🔺)4.053s (+14.6% 🔺)1.392s81.08x
▲ VercelNext.js (Turbopack)2.705s (+13.7% 🔺)3.928s (+14.3% 🔺)1.222s81.10x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.758s (-27.1% 🟢)3.682s (-19.9% 🟢)0.924s91.00x
🐘 PostgresExpress2.957s (-21.1% 🟢)3.766s (-15.4% 🟢)0.809s81.07x
🌐 RedisNext.js (Turbopack)4.059s4.724s0.665s71.47x
💻 LocalExpress6.710s (-18.5% 🟢)7.215s (-20.0% 🟢)0.505s52.43x
💻 LocalNext.js (Turbopack)7.513s8.020s0.507s42.72x
💻 LocalNitro8.003s (-3.3%)8.521s (-5.6% 🟢)0.518s42.90x
🌐 MongoDBNext.js (Turbopack)10.184s10.686s0.502s33.69x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.098s (+4.3%)4.405s (+1.7%)1.307s71.00x
▲ VercelNitro3.305s (+7.0% 🔺)4.417s (+1.4%)1.113s71.07x
▲ VercelNext.js (Turbopack)3.715s (+30.4% 🔺)4.929s (+22.6% 🔺)1.214s71.20x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.114s (-31.8% 🟢)1.003s (~)0.010s (-14.8% 🟢)1.015s (~)0.901s101.00x
🐘 PostgresNitro0.133s (-34.6% 🟢)0.999s (+0.5%)0.002s (~)1.011s (~)0.879s101.16x
🐘 PostgresExpress0.137s (-26.9% 🟢)0.999s (~)0.002s (+23.1% 🔺)1.012s (~)0.875s101.20x
💻 LocalNext.js (Turbopack)0.139s1.001s0.012s1.017s0.879s101.21x
🌐 RedisNext.js (Turbopack)0.146s1.000s0.001s1.008s0.862s101.27x
💻 LocalNitro0.180s (+4.1%)1.003s (~)0.011s (-3.4%)1.017s (~)0.837s101.57x
🌐 MongoDBNext.js (Turbopack)0.506s0.941s0.001s1.009s0.503s104.42x
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.505s (-7.3% 🟢)2.058s (-18.8% 🟢)0.006s (~)2.485s (-16.9% 🟢)0.980s101.00x
▲ VercelNext.js (Turbopack)1.652s (-3.2%)2.433s (-11.2% 🟢)0.005s (-98.3% 🟢)2.991s (-13.4% 🟢)1.339s101.10x
▲ VercelNitro1.741s (+10.3% 🔺)2.547s (-1.3%)0.004s (-12.2% 🟢)3.048s (~)1.307s101.16x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress12/12
🐘 PostgresNitro9/12
▲ VercelNitro6/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres8/12
Next.js (Turbopack)🌐 Redis7/12
Nitro🐘 Postgres11/12
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

@github-actions

github-actionsBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1185615189
✅ 📋 Other147027174
Total2727563643147

❌ Failed Tests

🌍 Community Worlds (56 failed)

mongodb (3 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

redis (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

turso (51 failed):

  • addTenWorkflow
  • addTenWorkflow
  • wellKnownAgentWorkflow (.well-known/agent)
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • importedStepOnlyWorkflow
  • hookWorkflow
  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • sleepingWorkflow
  • parallelSleepWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior workflow completes despite transient 5xx on step_completed
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument
  • cancelRun - cancelling a running workflow
  • cancelRun via CLI - cancelling a running workflow
  • 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
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control)

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5233
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the world-local queue retry/re-enqueue signaling to use an HTTP 200 response (with a timeoutSeconds field in the body) instead of HTTP 503, aligning local behavior with the “successful response” handling used elsewhere and reducing confusion in logs/traffic inspection.

Changes:

  • Switch local queue timeout re-enqueue responses from HTTP 503 to HTTP 200.
  • Update the local queue client logic to detect timeoutSeconds on 2xx responses.
  • Add a changeset bumping @workflow/world-local with a patch release note.

Reviewed changes

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

FileDescription
packages/world-local/src/queue.tsAdjusts timeout re-enqueue signaling to use 200 responses and updates consumer parsing logic accordingly.
.changeset/fix-local-queue-timeout-status.mdAdds a patch changeset documenting the behavior change.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment threadpackages/world-local/src/queue.ts
Comment threadpackages/world-local/src/queue.ts
…ests
Address review feedback: timeoutSeconds === 0 should trigger an immediate
re-enqueue without delay, not be treated as a normal success. Also adds
test coverage for the handler response codes and re-enqueue behavior.
@TooTallNate
TooTallNate enabled auto-merge (squash) March 10, 2026 06:18
@TooTallNate
TooTallNate merged commit 4a6ddd8 into mainMar 10, 2026
102 checks passed
@TooTallNate
TooTallNate deleted the fix/local-queue-timeout-status-code branch March 10, 2026 06:29
pranaygp added a commit that referenced this pull request Mar 12, 2026
…ignal
* origin/main: (26 commits)
Fix flaky streamer test ENOENT when chunks directory does not exist yet (#1330)
Version Packages (beta) (#1325)
[web-shared] Improve workflow observability event list UX (#1337)
feat: add `exists` getter to `Run` class (#1336)
Support client-side tools in DurableAgent (#1329)
[world-postgres] [world-local] Execute Graphile jobs directly instead of defering to world-local queue (#1334)
Merge CLAUDE.md into AGENTS.md and symlink CLAUDE.md (#1326)
[web] Polish loading indicators (#1327)
Fix flaky webhookWorkflow e2e test by polling instead of fixed sleep (#1328)
feat: support `deploymentId: 'latest'` in `start()` to resolve most recent deployment (#1317)
Fix bug where the SWC compiler bug prunes step-only imports in the client-mode transformation
[web] [world-vercel] Ensure user-passed run IDs are URL encoded and call out self-hosted security (#1322)
Version Packages (beta) (#1306)
Remove hard-coded VERCEL_DEPLOYMENT_KEY from nextjs-turbopack workbench (#1319)
fix(web): move react-router deps to devDependencies (#1265)
fix(ai): use workspace:* for workflow peer dependency (#1320)
fix(core): pass resolved deploymentId to getEncryptionKeyForRun in start() (#1318)
fix: surface 429 rate-limit errors in e2e tests and CLI (#1309)
fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals (#1307)
[web-shared] [cli] Refactor observability data fetching (#1261)
...
# Conflicts:
#	packages/core/e2e/e2e.test.ts
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
#	workbench/example/workflows/99_e2e.ts
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

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

fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals - #1307

Merged
TooTallNate merged 3 commits into
mainfrom
fix/local-queue-timeout-status-code
Mar 10, 2026
Merged

fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals#1307
TooTallNate merged 3 commits into
mainfrom
fix/local-queue-timeout-status-code

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Changed the local queue's timeout re-enqueue signal from HTTP 503 (Service Unavailable) to HTTP 200, matching how the VQS client handles successful responses
  • Updated the consumer side to detect timeoutSeconds from the response body on 2xx responses instead of checking for status 503
  • The 503 status was misleading — it's not an error but normal workflow operation signaling the queue to re-enqueue after a delay. This caused confusion when inspecting logs/network traffic (especially for LLMs analyzing output).

…-enqueue signals
The local queue used HTTP 503 (Service Unavailable) as an internal signal
for re-enqueueing after a timeout delay. This is misleading since 503 is
an error status, causing confusion when inspecting logs or network traffic.
Changed to return 200 with timeoutSeconds in the body, and updated the
consumer to detect the re-enqueue signal from the response body instead
of the status code.
CopilotAI review requested due to automatic review settings March 9, 2026 21:56
@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 9, 2026 21:56
@changeset-bot

changeset-botBot commented Mar 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6cf7b19

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

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

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

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

@vercel

vercelBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.026s (-19.9% 🟢)1.005s (~)0.980s101.00x
💻 LocalNitro0.035s (-1.7%)1.005s (~)0.971s101.35x
🐘 PostgresExpress0.039s (-28.8% 🟢)1.011s (~)0.972s101.51x
🐘 PostgresNitro0.041s (-25.6% 🟢)1.012s (~)0.971s101.58x
💻 LocalNext.js (Turbopack)0.041s1.006s0.965s101.61x
🌐 RedisNext.js (Turbopack)0.045s1.005s0.959s101.77x
🌐 MongoDBNext.js (Turbopack)0.092s1.008s0.916s103.60x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.438s (-9.3% 🟢)1.833s (-25.1% 🟢)1.395s101.00x
▲ VercelNitro0.476s (-8.6% 🟢)2.162s (-3.3%)1.686s101.09x
▲ VercelNext.js (Turbopack)0.566s (-10.4% 🟢)2.304s (-1.6%)1.738s101.29x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.072s (-2.8%)2.006s (~)0.934s101.00x
🐘 PostgresNitro1.093s (-5.3% 🟢)2.013s (~)0.919s101.02x
💻 LocalNext.js (Turbopack)1.102s2.005s0.904s101.03x
🐘 PostgresExpress1.103s (-2.2%)2.012s (~)0.909s101.03x
🌐 RedisNext.js (Turbopack)1.104s2.006s0.902s101.03x
💻 LocalNitro1.114s (+0.9%)2.006s (~)0.892s101.04x
🌐 MongoDBNext.js (Turbopack)1.304s2.010s0.706s101.22x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.000s (-1.0%)3.450s (-5.9% 🟢)1.450s101.00x
▲ VercelNitro2.050s (-2.8%)3.548s (-6.6% 🟢)1.497s101.03x
▲ VercelNext.js (Turbopack)2.054s (-2.4%)3.351s (-4.5%)1.297s101.03x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.539s (-2.2%)11.025s (~)0.486s31.00x
🐘 PostgresExpress10.586s (-2.1%)11.038s (~)0.452s31.00x
🐘 PostgresNitro10.612s (-2.6%)11.039s (~)0.426s31.01x
🌐 RedisNext.js (Turbopack)10.672s11.023s0.351s31.01x
💻 LocalNext.js (Turbopack)10.686s11.024s0.338s31.01x
💻 LocalNitro10.828s (~)11.024s (~)0.195s31.03x
🌐 MongoDBNext.js (Turbopack)12.302s13.025s0.723s31.17x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro16.212s (-3.4%)17.277s (-4.5%)1.066s21.00x
▲ VercelNext.js (Turbopack)16.881s (-0.7%)18.313s (+1.1%)1.432s21.04x
▲ VercelExpress18.035s (+7.8% 🔺)19.471s (+4.8%)1.436s21.11x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro26.362s (-2.5%)27.061s (~)0.699s31.00x
🐘 PostgresExpress26.393s (-2.3%)27.056s (~)0.663s31.00x
🌐 RedisNext.js (Turbopack)26.521s27.050s0.529s31.01x
💻 LocalExpress26.548s (-2.3%)27.057s (-3.5%)0.510s31.01x
💻 LocalNext.js (Turbopack)26.927s27.052s0.125s31.02x
💻 LocalNitro27.344s (+0.5%)28.055s (~)0.711s31.04x
🌐 MongoDBNext.js (Turbopack)30.585s31.049s0.464s21.16x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro42.795s (-1.8%)44.412s (-1.5%)1.617s21.00x
▲ VercelNext.js (Turbopack)43.806s (~)45.011s (-0.9%)1.205s21.02x
▲ VercelExpress44.955s (+2.9%)46.469s (+3.4%)1.514s21.05x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express52.712s (-2.3%)53.090s (-1.9%)0.378s21.00x
🐘 PostgresNitro52.754s (-2.2%)53.094s (-1.9%)0.341s21.00x
🌐 RedisNext.js (Turbopack)53.084s53.097s0.013s21.01x
💻 LocalExpress54.583s (-2.6%)55.104s (-1.8%)0.521s21.04x
💻 LocalNext.js (Turbopack)55.624s56.102s0.478s21.06x
💻 LocalNitro56.238s (~)57.107s (~)0.869s21.07x
🌐 MongoDBNext.js (Turbopack)60.972s61.084s0.111s21.16x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)92.237s (-77.1% 🟢)93.650s (-76.9% 🟢)1.413s11.00x
▲ VercelNitro93.081s (-3.2%)94.287s (-3.3%)1.206s11.01x
▲ VercelExpress94.478s (-1.1%)96.363s (-0.7%)1.885s11.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.256s2.006s0.750s151.00x
🐘 PostgresNitro1.297s (-5.8% 🟢)2.010s (~)0.714s151.03x
🐘 PostgresExpress1.308s (-4.9%)2.010s (~)0.702s151.04x
💻 LocalExpress1.345s (-4.7%)2.005s (~)0.660s151.07x
💻 LocalNitro1.410s (-1.6%)2.006s (~)0.596s151.12x
💻 LocalNext.js (Turbopack)1.423s2.005s0.582s151.13x
🌐 MongoDBNext.js (Turbopack)2.139s3.009s0.869s101.70x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.399s (-4.5%)3.847s (+0.9%)1.448s81.00x
▲ VercelExpress2.798s (+20.3% 🔺)4.173s (+11.0% 🔺)1.374s81.17x
▲ VercelNext.js (Turbopack)3.626s (+33.4% 🔺)4.815s (+20.1% 🔺)1.189s71.51x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.683s (-20.3% 🟢)2.155s (-17.1% 🟢)0.473s141.00x
🐘 PostgresExpress1.715s (-14.8% 🟢)2.146s (-17.5% 🟢)0.432s151.02x
💻 LocalExpress2.292s (-10.4% 🟢)3.007s (~)0.715s101.36x
🌐 RedisNext.js (Turbopack)2.501s3.008s0.507s101.49x
💻 LocalNext.js (Turbopack)2.577s2.916s0.339s111.53x
💻 LocalNitro2.583s (-2.9%)3.008s (~)0.425s101.54x
🌐 MongoDBNext.js (Turbopack)4.769s5.179s0.410s62.83x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.638s (-5.4% 🟢)3.783s (-3.0%)1.146s81.00x
▲ VercelNitro2.719s (-6.6% 🟢)3.980s (-3.6%)1.261s81.03x
▲ VercelExpress2.772s (+1.1%)3.816s (-5.2% 🟢)1.045s81.05x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.867s (-23.8% 🟢)3.891s (-12.8% 🟢)1.024s81.00x
🐘 PostgresExpress2.905s (-21.9% 🟢)3.769s (-12.7% 🟢)0.863s81.01x
🌐 RedisNext.js (Turbopack)4.152s4.868s0.716s71.45x
💻 LocalExpress6.214s (-19.1% 🟢)6.814s (-15.0% 🟢)0.600s52.17x
💻 LocalNext.js (Turbopack)7.120s7.515s0.394s42.48x
💻 LocalNitro7.370s (-3.0%)8.018s (~)0.648s42.57x
🌐 MongoDBNext.js (Turbopack)9.891s10.351s0.460s33.45x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.668s (+26.4% 🔺)4.890s (+13.3% 🔺)1.222s71.00x
▲ VercelExpress4.069s (+42.9% 🔺)5.174s (+34.3% 🔺)1.105s61.11x
▲ VercelNext.js (Turbopack)4.359s (+53.1% 🔺)5.304s (+34.4% 🔺)0.945s61.19x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.241s2.006s0.766s151.00x
🐘 PostgresNitro1.290s (-7.9% 🟢)2.011s (~)0.722s151.04x
🐘 PostgresExpress1.293s (-7.6% 🟢)2.011s (~)0.719s151.04x
💻 LocalExpress1.369s (-6.5% 🟢)2.005s (~)0.636s151.10x
💻 LocalNext.js (Turbopack)1.428s2.005s0.577s151.15x
💻 LocalNitro1.461s (+1.6%)2.006s (~)0.545s151.18x
🌐 MongoDBNext.js (Turbopack)2.163s3.010s0.847s101.74x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.168s (-7.4% 🟢)3.572s (-9.3% 🟢)1.405s91.00x
▲ VercelNext.js (Turbopack)2.201s (+4.7%)3.600s (+5.0%)1.399s91.02x
▲ VercelExpress2.259s (+2.4%)3.647s (-0.6%)1.388s91.04x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.654s (-20.5% 🟢)2.079s (-22.5% 🟢)0.424s151.00x
🐘 PostgresExpress1.810s (-18.8% 🟢)2.227s (-17.0% 🟢)0.417s141.09x
💻 LocalExpress2.417s (-11.6% 🟢)3.008s (~)0.592s101.46x
💻 LocalNext.js (Turbopack)2.564s3.008s0.443s101.55x
🌐 RedisNext.js (Turbopack)2.618s3.108s0.490s101.58x
💻 LocalNitro2.840s (+2.5%)3.109s (+3.3%)0.269s101.72x
🌐 MongoDBNext.js (Turbopack)4.871s5.345s0.474s62.94x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.465s (+5.1% 🔺)3.700s (~)1.235s91.00x
▲ VercelExpress2.661s (+18.8% 🔺)4.053s (+14.6% 🔺)1.392s81.08x
▲ VercelNext.js (Turbopack)2.705s (+13.7% 🔺)3.928s (+14.3% 🔺)1.222s81.10x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.758s (-27.1% 🟢)3.682s (-19.9% 🟢)0.924s91.00x
🐘 PostgresExpress2.957s (-21.1% 🟢)3.766s (-15.4% 🟢)0.809s81.07x
🌐 RedisNext.js (Turbopack)4.059s4.724s0.665s71.47x
💻 LocalExpress6.710s (-18.5% 🟢)7.215s (-20.0% 🟢)0.505s52.43x
💻 LocalNext.js (Turbopack)7.513s8.020s0.507s42.72x
💻 LocalNitro8.003s (-3.3%)8.521s (-5.6% 🟢)0.518s42.90x
🌐 MongoDBNext.js (Turbopack)10.184s10.686s0.502s33.69x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.098s (+4.3%)4.405s (+1.7%)1.307s71.00x
▲ VercelNitro3.305s (+7.0% 🔺)4.417s (+1.4%)1.113s71.07x
▲ VercelNext.js (Turbopack)3.715s (+30.4% 🔺)4.929s (+22.6% 🔺)1.214s71.20x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.114s (-31.8% 🟢)1.003s (~)0.010s (-14.8% 🟢)1.015s (~)0.901s101.00x
🐘 PostgresNitro0.133s (-34.6% 🟢)0.999s (+0.5%)0.002s (~)1.011s (~)0.879s101.16x
🐘 PostgresExpress0.137s (-26.9% 🟢)0.999s (~)0.002s (+23.1% 🔺)1.012s (~)0.875s101.20x
💻 LocalNext.js (Turbopack)0.139s1.001s0.012s1.017s0.879s101.21x
🌐 RedisNext.js (Turbopack)0.146s1.000s0.001s1.008s0.862s101.27x
💻 LocalNitro0.180s (+4.1%)1.003s (~)0.011s (-3.4%)1.017s (~)0.837s101.57x
🌐 MongoDBNext.js (Turbopack)0.506s0.941s0.001s1.009s0.503s104.42x
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express1.505s (-7.3% 🟢)2.058s (-18.8% 🟢)0.006s (~)2.485s (-16.9% 🟢)0.980s101.00x
▲ VercelNext.js (Turbopack)1.652s (-3.2%)2.433s (-11.2% 🟢)0.005s (-98.3% 🟢)2.991s (-13.4% 🟢)1.339s101.10x
▲ VercelNitro1.741s (+10.3% 🔺)2.547s (-1.3%)0.004s (-12.2% 🟢)3.048s (~)1.307s101.16x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress12/12
🐘 PostgresNitro9/12
▲ VercelNitro6/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres8/12
Next.js (Turbopack)🌐 Redis7/12
Nitro🐘 Postgres11/12
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

@github-actions

github-actionsBot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1185615189
✅ 📋 Other147027174
Total2727563643147

❌ Failed Tests

🌍 Community Worlds (56 failed)

mongodb (3 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

redis (2 failed):

  • hookWorkflow is not resumable via public webhook endpoint
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously

turso (51 failed):

  • addTenWorkflow
  • addTenWorkflow
  • wellKnownAgentWorkflow (.well-known/agent)
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • importedStepOnlyWorkflow
  • hookWorkflow
  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • sleepingWorkflow
  • parallelSleepWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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 retry behavior workflow completes despite transient 5xx on step_completed
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument
  • cancelRun - cancelling a running workflow
  • cancelRun via CLI - cancelling a running workflow
  • 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
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control)

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5233
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the world-local queue retry/re-enqueue signaling to use an HTTP 200 response (with a timeoutSeconds field in the body) instead of HTTP 503, aligning local behavior with the “successful response” handling used elsewhere and reducing confusion in logs/traffic inspection.

Changes:

  • Switch local queue timeout re-enqueue responses from HTTP 503 to HTTP 200.
  • Update the local queue client logic to detect timeoutSeconds on 2xx responses.
  • Add a changeset bumping @workflow/world-local with a patch release note.

Reviewed changes

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

FileDescription
packages/world-local/src/queue.tsAdjusts timeout re-enqueue signaling to use 200 responses and updates consumer parsing logic accordingly.
.changeset/fix-local-queue-timeout-status.mdAdds a patch changeset documenting the behavior change.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment threadpackages/world-local/src/queue.ts
Comment threadpackages/world-local/src/queue.ts
…ests
Address review feedback: timeoutSeconds === 0 should trigger an immediate
re-enqueue without delay, not be treated as a normal success. Also adds
test coverage for the handler response codes and re-enqueue behavior.
@TooTallNate
TooTallNate enabled auto-merge (squash) March 10, 2026 06:18
@TooTallNate
TooTallNate merged commit 4a6ddd8 into mainMar 10, 2026
102 checks passed
@TooTallNate
TooTallNate deleted the fix/local-queue-timeout-status-code branch March 10, 2026 06:29
pranaygp added a commit that referenced this pull request Mar 12, 2026
…ignal
* origin/main: (26 commits)
Fix flaky streamer test ENOENT when chunks directory does not exist yet (#1330)
Version Packages (beta) (#1325)
[web-shared] Improve workflow observability event list UX (#1337)
feat: add `exists` getter to `Run` class (#1336)
Support client-side tools in DurableAgent (#1329)
[world-postgres] [world-local] Execute Graphile jobs directly instead of defering to world-local queue (#1334)
Merge CLAUDE.md into AGENTS.md and symlink CLAUDE.md (#1326)
[web] Polish loading indicators (#1327)
Fix flaky webhookWorkflow e2e test by polling instead of fixed sleep (#1328)
feat: support `deploymentId: 'latest'` in `start()` to resolve most recent deployment (#1317)
Fix bug where the SWC compiler bug prunes step-only imports in the client-mode transformation
[web] [world-vercel] Ensure user-passed run IDs are URL encoded and call out self-hosted security (#1322)
Version Packages (beta) (#1306)
Remove hard-coded VERCEL_DEPLOYMENT_KEY from nextjs-turbopack workbench (#1319)
fix(web): move react-router deps to devDependencies (#1265)
fix(ai): use workspace:* for workflow peer dependency (#1320)
fix(core): pass resolved deploymentId to getEncryptionKeyForRun in start() (#1318)
fix: surface 429 rate-limit errors in e2e tests and CLI (#1309)
fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals (#1307)
[web-shared] [cli] Refactor observability data fetching (#1261)
...
# Conflicts:
#	packages/core/e2e/e2e.test.ts
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
#	workbench/example/workflows/99_e2e.ts
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@TooTallNate@pranaygp@VaguelySerious