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.
Copilot AI review requested due to automatic review settings March 9, 2026 21:56
@TooTallNate TooTallNate requested a review from a team as a code owner March 9, 2026 21:56
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 9, 2026

🦋 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
Name Type
@workflow/world-local Patch
@workflow/cli Patch
@workflow/core Patch
@workflow/vitest Patch
@workflow/world-postgres Patch
workflow Patch
@workflow/world-testing Patch
@workflow/builders Patch
@workflow/next Patch
@workflow/nitro Patch
@workflow/web-shared Patch
@workflow/astro Patch
@workflow/nest Patch
@workflow/rollup Patch
@workflow/sveltekit Patch
@workflow/vite Patch
@workflow/nuxt Patch

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

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

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Mar 9, 2026

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 9, 2026

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 0.026s (-19.9% 🟢) 1.005s (~) 0.980s 10 1.00x
💻 Local Nitro 0.035s (-1.7%) 1.005s (~) 0.971s 10 1.35x
🐘 Postgres Express 0.039s (-28.8% 🟢) 1.011s (~) 0.972s 10 1.51x
🐘 Postgres Nitro 0.041s (-25.6% 🟢) 1.012s (~) 0.971s 10 1.58x
💻 Local Next.js (Turbopack) 0.041s 1.006s 0.965s 10 1.61x
🌐 Redis Next.js (Turbopack) 0.045s 1.005s 0.959s 10 1.77x
🌐 MongoDB Next.js (Turbopack) 0.092s 1.008s 0.916s 10 3.60x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 0.438s (-9.3% 🟢) 1.833s (-25.1% 🟢) 1.395s 10 1.00x
▲ Vercel Nitro 0.476s (-8.6% 🟢) 2.162s (-3.3%) 1.686s 10 1.09x
▲ Vercel Next.js (Turbopack) 0.566s (-10.4% 🟢) 2.304s (-1.6%) 1.738s 10 1.29x

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

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 1.072s (-2.8%) 2.006s (~) 0.934s 10 1.00x
🐘 Postgres Nitro 1.093s (-5.3% 🟢) 2.013s (~) 0.919s 10 1.02x
💻 Local Next.js (Turbopack) 1.102s 2.005s 0.904s 10 1.03x
🐘 Postgres Express 1.103s (-2.2%) 2.012s (~) 0.909s 10 1.03x
🌐 Redis Next.js (Turbopack) 1.104s 2.006s 0.902s 10 1.03x
💻 Local Nitro 1.114s (+0.9%) 2.006s (~) 0.892s 10 1.04x
🌐 MongoDB Next.js (Turbopack) 1.304s 2.010s 0.706s 10 1.22x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.000s (-1.0%) 3.450s (-5.9% 🟢) 1.450s 10 1.00x
▲ Vercel Nitro 2.050s (-2.8%) 3.548s (-6.6% 🟢) 1.497s 10 1.03x
▲ Vercel Next.js (Turbopack) 2.054s (-2.4%) 3.351s (-4.5%) 1.297s 10 1.03x

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

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 10.539s (-2.2%) 11.025s (~) 0.486s 3 1.00x
🐘 Postgres Express 10.586s (-2.1%) 11.038s (~) 0.452s 3 1.00x
🐘 Postgres Nitro 10.612s (-2.6%) 11.039s (~) 0.426s 3 1.01x
🌐 Redis Next.js (Turbopack) 10.672s 11.023s 0.351s 3 1.01x
💻 Local Next.js (Turbopack) 10.686s 11.024s 0.338s 3 1.01x
💻 Local Nitro 10.828s (~) 11.024s (~) 0.195s 3 1.03x
🌐 MongoDB Next.js (Turbopack) 12.302s 13.025s 0.723s 3 1.17x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 16.212s (-3.4%) 17.277s (-4.5%) 1.066s 2 1.00x
▲ Vercel Next.js (Turbopack) 16.881s (-0.7%) 18.313s (+1.1%) 1.432s 2 1.04x
▲ Vercel Express 18.035s (+7.8% 🔺) 19.471s (+4.8%) 1.436s 2 1.11x

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

workflow with 25 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 26.362s (-2.5%) 27.061s (~) 0.699s 3 1.00x
🐘 Postgres Express 26.393s (-2.3%) 27.056s (~) 0.663s 3 1.00x
🌐 Redis Next.js (Turbopack) 26.521s 27.050s 0.529s 3 1.01x
💻 Local Express 26.548s (-2.3%) 27.057s (-3.5%) 0.510s 3 1.01x
💻 Local Next.js (Turbopack) 26.927s 27.052s 0.125s 3 1.02x
💻 Local Nitro 27.344s (+0.5%) 28.055s (~) 0.711s 3 1.04x
🌐 MongoDB Next.js (Turbopack) 30.585s 31.049s 0.464s 2 1.16x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 42.795s (-1.8%) 44.412s (-1.5%) 1.617s 2 1.00x
▲ Vercel Next.js (Turbopack) 43.806s (~) 45.011s (-0.9%) 1.205s 2 1.02x
▲ Vercel Express 44.955s (+2.9%) 46.469s (+3.4%) 1.514s 2 1.05x

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

workflow with 50 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 52.712s (-2.3%) 53.090s (-1.9%) 0.378s 2 1.00x
🐘 Postgres Nitro 52.754s (-2.2%) 53.094s (-1.9%) 0.341s 2 1.00x
🌐 Redis Next.js (Turbopack) 53.084s 53.097s 0.013s 2 1.01x
💻 Local Express 54.583s (-2.6%) 55.104s (-1.8%) 0.521s 2 1.04x
💻 Local Next.js (Turbopack) 55.624s 56.102s 0.478s 2 1.06x
💻 Local Nitro 56.238s (~) 57.107s (~) 0.869s 2 1.07x
🌐 MongoDB Next.js (Turbopack) 60.972s 61.084s 0.111s 2 1.16x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 92.237s (-77.1% 🟢) 93.650s (-76.9% 🟢) 1.413s 1 1.00x
▲ Vercel Nitro 93.081s (-3.2%) 94.287s (-3.3%) 1.206s 1 1.01x
▲ Vercel Express 94.478s (-1.1%) 96.363s (-0.7%) 1.885s 1 1.02x

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

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 1.256s 2.006s 0.750s 15 1.00x
🐘 Postgres Nitro 1.297s (-5.8% 🟢) 2.010s (~) 0.714s 15 1.03x
🐘 Postgres Express 1.308s (-4.9%) 2.010s (~) 0.702s 15 1.04x
💻 Local Express 1.345s (-4.7%) 2.005s (~) 0.660s 15 1.07x
💻 Local Nitro 1.410s (-1.6%) 2.006s (~) 0.596s 15 1.12x
💻 Local Next.js (Turbopack) 1.423s 2.005s 0.582s 15 1.13x
🌐 MongoDB Next.js (Turbopack) 2.139s 3.009s 0.869s 10 1.70x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.399s (-4.5%) 3.847s (+0.9%) 1.448s 8 1.00x
▲ Vercel Express 2.798s (+20.3% 🔺) 4.173s (+11.0% 🔺) 1.374s 8 1.17x
▲ Vercel Next.js (Turbopack) 3.626s (+33.4% 🔺) 4.815s (+20.1% 🔺) 1.189s 7 1.51x

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

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.683s (-20.3% 🟢) 2.155s (-17.1% 🟢) 0.473s 14 1.00x
🐘 Postgres Express 1.715s (-14.8% 🟢) 2.146s (-17.5% 🟢) 0.432s 15 1.02x
💻 Local Express 2.292s (-10.4% 🟢) 3.007s (~) 0.715s 10 1.36x
🌐 Redis Next.js (Turbopack) 2.501s 3.008s 0.507s 10 1.49x
💻 Local Next.js (Turbopack) 2.577s 2.916s 0.339s 11 1.53x
💻 Local Nitro 2.583s (-2.9%) 3.008s (~) 0.425s 10 1.54x
🌐 MongoDB Next.js (Turbopack) 4.769s 5.179s 0.410s 6 2.83x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.638s (-5.4% 🟢) 3.783s (-3.0%) 1.146s 8 1.00x
▲ Vercel Nitro 2.719s (-6.6% 🟢) 3.980s (-3.6%) 1.261s 8 1.03x
▲ Vercel Express 2.772s (+1.1%) 3.816s (-5.2% 🟢) 1.045s 8 1.05x

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

Promise.all with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 2.867s (-23.8% 🟢) 3.891s (-12.8% 🟢) 1.024s 8 1.00x
🐘 Postgres Express 2.905s (-21.9% 🟢) 3.769s (-12.7% 🟢) 0.863s 8 1.01x
🌐 Redis Next.js (Turbopack) 4.152s 4.868s 0.716s 7 1.45x
💻 Local Express 6.214s (-19.1% 🟢) 6.814s (-15.0% 🟢) 0.600s 5 2.17x
💻 Local Next.js (Turbopack) 7.120s 7.515s 0.394s 4 2.48x
💻 Local Nitro 7.370s (-3.0%) 8.018s (~) 0.648s 4 2.57x
🌐 MongoDB Next.js (Turbopack) 9.891s 10.351s 0.460s 3 3.45x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.668s (+26.4% 🔺) 4.890s (+13.3% 🔺) 1.222s 7 1.00x
▲ Vercel Express 4.069s (+42.9% 🔺) 5.174s (+34.3% 🔺) 1.105s 6 1.11x
▲ Vercel Next.js (Turbopack) 4.359s (+53.1% 🔺) 5.304s (+34.4% 🔺) 0.945s 6 1.19x

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

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 1.241s 2.006s 0.766s 15 1.00x
🐘 Postgres Nitro 1.290s (-7.9% 🟢) 2.011s (~) 0.722s 15 1.04x
🐘 Postgres Express 1.293s (-7.6% 🟢) 2.011s (~) 0.719s 15 1.04x
💻 Local Express 1.369s (-6.5% 🟢) 2.005s (~) 0.636s 15 1.10x
💻 Local Next.js (Turbopack) 1.428s 2.005s 0.577s 15 1.15x
💻 Local Nitro 1.461s (+1.6%) 2.006s (~) 0.545s 15 1.18x
🌐 MongoDB Next.js (Turbopack) 2.163s 3.010s 0.847s 10 1.74x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.168s (-7.4% 🟢) 3.572s (-9.3% 🟢) 1.405s 9 1.00x
▲ Vercel Next.js (Turbopack) 2.201s (+4.7%) 3.600s (+5.0%) 1.399s 9 1.02x
▲ Vercel Express 2.259s (+2.4%) 3.647s (-0.6%) 1.388s 9 1.04x

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

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.654s (-20.5% 🟢) 2.079s (-22.5% 🟢) 0.424s 15 1.00x
🐘 Postgres Express 1.810s (-18.8% 🟢) 2.227s (-17.0% 🟢) 0.417s 14 1.09x
💻 Local Express 2.417s (-11.6% 🟢) 3.008s (~) 0.592s 10 1.46x
💻 Local Next.js (Turbopack) 2.564s 3.008s 0.443s 10 1.55x
🌐 Redis Next.js (Turbopack) 2.618s 3.108s 0.490s 10 1.58x
💻 Local Nitro 2.840s (+2.5%) 3.109s (+3.3%) 0.269s 10 1.72x
🌐 MongoDB Next.js (Turbopack) 4.871s 5.345s 0.474s 6 2.94x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.465s (+5.1% 🔺) 3.700s (~) 1.235s 9 1.00x
▲ Vercel Express 2.661s (+18.8% 🔺) 4.053s (+14.6% 🔺) 1.392s 8 1.08x
▲ Vercel Next.js (Turbopack) 2.705s (+13.7% 🔺) 3.928s (+14.3% 🔺) 1.222s 8 1.10x

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

Promise.race with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 2.758s (-27.1% 🟢) 3.682s (-19.9% 🟢) 0.924s 9 1.00x
🐘 Postgres Express 2.957s (-21.1% 🟢) 3.766s (-15.4% 🟢) 0.809s 8 1.07x
🌐 Redis Next.js (Turbopack) 4.059s 4.724s 0.665s 7 1.47x
💻 Local Express 6.710s (-18.5% 🟢) 7.215s (-20.0% 🟢) 0.505s 5 2.43x
💻 Local Next.js (Turbopack) 7.513s 8.020s 0.507s 4 2.72x
💻 Local Nitro 8.003s (-3.3%) 8.521s (-5.6% 🟢) 0.518s 4 2.90x
🌐 MongoDB Next.js (Turbopack) 10.184s 10.686s 0.502s 3 3.69x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.098s (+4.3%) 4.405s (+1.7%) 1.307s 7 1.00x
▲ Vercel Nitro 3.305s (+7.0% 🔺) 4.417s (+1.4%) 1.113s 7 1.07x
▲ Vercel Next.js (Turbopack) 3.715s (+30.4% 🔺) 4.929s (+22.6% 🔺) 1.214s 7 1.20x

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

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 0.114s (-31.8% 🟢) 1.003s (~) 0.010s (-14.8% 🟢) 1.015s (~) 0.901s 10 1.00x
🐘 Postgres Nitro 0.133s (-34.6% 🟢) 0.999s (+0.5%) 0.002s (~) 1.011s (~) 0.879s 10 1.16x
🐘 Postgres Express 0.137s (-26.9% 🟢) 0.999s (~) 0.002s (+23.1% 🔺) 1.012s (~) 0.875s 10 1.20x
💻 Local Next.js (Turbopack) 0.139s 1.001s 0.012s 1.017s 0.879s 10 1.21x
🌐 Redis Next.js (Turbopack) 0.146s 1.000s 0.001s 1.008s 0.862s 10 1.27x
💻 Local Nitro 0.180s (+4.1%) 1.003s (~) 0.011s (-3.4%) 1.017s (~) 0.837s 10 1.57x
🌐 MongoDB Next.js (Turbopack) 0.506s 0.941s 0.001s 1.009s 0.503s 10 4.42x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 1.505s (-7.3% 🟢) 2.058s (-18.8% 🟢) 0.006s (~) 2.485s (-16.9% 🟢) 0.980s 10 1.00x
▲ Vercel Next.js (Turbopack) 1.652s (-3.2%) 2.433s (-11.2% 🟢) 0.005s (-98.3% 🟢) 2.991s (-13.4% 🟢) 1.339s 10 1.10x
▲ Vercel Nitro 1.741s (+10.3% 🔺) 2.547s (-1.3%) 0.004s (-12.2% 🟢) 3.048s (~) 1.307s 10 1.16x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World 🥇 Fastest Framework Wins
💻 Local Express 12/12
🐘 Postgres Nitro 9/12
▲ Vercel Nitro 6/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework 🥇 Fastest World Wins
Express 🐘 Postgres 8/12
Next.js (Turbopack) 🌐 Redis 7/12
Nitro 🐘 Postgres 11/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
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 9, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 571 0 67 638
✅ 💻 Local Development 612 0 84 696
✅ 📦 Local Production 612 0 84 696
✅ 🐘 Local Postgres 612 0 84 696
✅ 🪟 Windows 55 0 3 58
❌ 🌍 Community Worlds 118 56 15 189
✅ 📋 Other 147 0 27 174
Total 2727 56 364 3147

❌ 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
App Passed Failed Skipped
✅ astro 51 0 7
✅ example 51 0 7
✅ express 51 0 7
✅ fastify 51 0 7
✅ hono 51 0 7
✅ nextjs-turbopack 56 0 2
✅ nextjs-webpack 56 0 2
✅ nitro 51 0 7
✅ nuxt 51 0 7
✅ sveltekit 51 0 7
✅ vite 51 0 7
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 49 0 9
✅ express-stable 49 0 9
✅ fastify-stable 49 0 9
✅ hono-stable 49 0 9
✅ nextjs-turbopack-canary 55 0 3
✅ nextjs-turbopack-stable 55 0 3
✅ nextjs-webpack-canary 55 0 3
✅ nextjs-webpack-stable 55 0 3
✅ nitro-stable 49 0 9
✅ nuxt-stable 49 0 9
✅ sveltekit-stable 49 0 9
✅ vite-stable 49 0 9
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 49 0 9
✅ express-stable 49 0 9
✅ fastify-stable 49 0 9
✅ hono-stable 49 0 9
✅ nextjs-turbopack-canary 55 0 3
✅ nextjs-turbopack-stable 55 0 3
✅ nextjs-webpack-canary 55 0 3
✅ nextjs-webpack-stable 55 0 3
✅ nitro-stable 49 0 9
✅ nuxt-stable 49 0 9
✅ sveltekit-stable 49 0 9
✅ vite-stable 49 0 9
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 49 0 9
✅ express-stable 49 0 9
✅ fastify-stable 49 0 9
✅ hono-stable 49 0 9
✅ nextjs-turbopack-canary 55 0 3
✅ nextjs-turbopack-stable 55 0 3
✅ nextjs-webpack-canary 55 0 3
✅ nextjs-webpack-stable 55 0 3
✅ nitro-stable 49 0 9
✅ nuxt-stable 49 0 9
✅ sveltekit-stable 49 0 9
✅ vite-stable 49 0 9
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 55 0 3
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 3 0 2
❌ mongodb 52 3 3
✅ redis-dev 3 0 2
❌ redis 53 2 3
✅ turso-dev 3 0 2
❌ turso 4 51 3
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 49 0 9
✅ e2e-local-postgres-nest-stable 49 0 9
✅ e2e-local-prod-nest-stable 49 0 9

📋 View full workflow run

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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.

File Description
packages/world-local/src/queue.ts Adjusts timeout re-enqueue signaling to use 200 responses and updates consumer parsing logic accordingly.
.changeset/fix-local-queue-timeout-status.md Adds 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 thread packages/world-local/src/queue.ts
Comment thread packages/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 main Mar 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 free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants