Skip to content

[world-local] Scope untagged startup recovery to untagged runs - #2667

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/world-local-recovery-untagged-filter
Jun 26, 2026
Merged

[world-local] Scope untagged startup recovery to untagged runs#2667
VaguelySerious merged 1 commit into
mainfrom
peter/world-local-recovery-untagged-filter

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Problem

Using Workflow SDK locally with world-local, users can hit a startup error storm:

[workflow-sdk] Fatal runtime error during workflow setup
code RUNTIME_ERROR
error Event creation for 'run_started' did not return the run entity for run "wrun_…"
POST /.well-known/workflow/v1/flow 500

Root cause

createLocalWorld defaults recoverActiveRuns: true, so world.start() (on every dev-server boot) calls reenqueueActiveRuns, which lists active runs and re-enqueues them with no runInput.

runs.list enumerates every*.json file in the runs directory and keys each by the runIdinside the file — including tag-suffixed files like wrun_X.vitest-0.json. But reads go through readJSONWithFallback, which only resolves {id}.{tag}.json (own tag) then untagged {id}.json.

So an untagged world (a normal pnpm dev) sharing the default .workflow-data directory with the vitest harness — which writes tagged files there "so runs are visible to the observability dashboard" — recovers leftover tagged runs it cannot read back. Since the re-enqueued message carries no runInput, the resilient-start path can't recreate the run either, and run_started returns no run entity → RUNTIME_ERROR 500, retried until the message exhausts its deliveries (hence "multiple times").

Tagged worlds already guarded against this with fileIdFilter: (fileId) => hasTag(fileId, tag). The untagged path had no symmetric guard.

Fix

Give the untagged recovery path the symmetric filter via a new isUntagged predicate, so each world only recovers files it can actually read back:

  • tagged world → recover only its own tag (unchanged)
  • untagged world → recover only untagged files (new)

Test

Added untagged recovery skips tagged runs sharing the data dir to reenqueue.test.ts: a tagged (vitest-style) active run + an untagged active run share a data dir; an untagged dev boot must recover only the untagged run. Verified the test fails on the old code (the tagged run gets re-enqueued) and passes with the fix. Full @workflow/world-local suite (412 tests) passes.

An untagged world (a normal local dev server) shares the default
`.workflow-data` directory with the vitest harness, which writes
tag-suffixed files (`{id}.{tag}.json`). On startup, `reenqueueActiveRuns`
lists active runs and re-enqueues them; `runs.list` enumerates every file
in the directory and keys each by the `runId` inside it, so an untagged
recovery would pick up tagged runs left behind by tests. Those re-enqueued
messages carry no `runInput`, and `readJSONWithFallback` can only resolve
untagged (or own-tag) files, so `run_started` returns no run entity and the
runtime fails with "did not return the run entity" — a 500 storm on the
flow route until the message exhausts its deliveries.
Tagged worlds already scoped recovery via `fileIdFilter: hasTag(...)`; give
the untagged path the symmetric guard with a new `isUntagged` predicate so
each world only recovers files it can actually read back.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersJune 26, 2026 19:59
@vercel

vercelBot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 41ca2ca

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

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

@github-actions

github-actionsBot commented Jun 26, 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.047s (~)1.006s (~)0.959s101.00x
💻 LocalNitro0.049s (+4.7%)1.007s (~)0.958s101.05x
💻 LocalNext.js (Turbopack)0.051s (-4.5%)1.007s (~)0.956s101.08x
🐘 PostgresNext.js (Turbopack)0.062s (+7.1% 🔺)1.013s (~)0.951s101.32x
🐘 PostgresNitro0.063s (-4.8%)1.012s (~)0.949s101.35x
🐘 PostgresExpress0.071s (+4.7%)1.013s (~)0.942s101.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.229s (-12.1% 🟢)1.758s (-24.1% 🟢)1.529s101.00x
▲ VercelNext.js (Turbopack)0.739s (-8.7% 🟢)2.837s (+18.1% 🔺)2.098s103.23x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.085s (~)2.007s (~)0.923s101.00x
💻 LocalExpress1.087s (~)2.007s (~)0.920s101.00x
💻 LocalNext.js (Turbopack)1.088s (~)2.007s (~)0.919s101.00x
🐘 PostgresNitro1.093s (-0.6%)2.010s (~)0.917s101.01x
🐘 PostgresExpress1.099s (~)2.009s (~)0.910s101.01x
🐘 PostgresNext.js (Turbopack)1.103s (+0.9%)2.010s (~)0.907s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.621s (+13.8% 🔺)3.682s (+20.7% 🔺)2.061s101.00x
▲ VercelNext.js (Turbopack)1.725s (-22.7% 🟢)3.861s (+1.4%)2.136s101.06x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.449s (~)11.022s (~)0.573s31.00x
💻 LocalNitro10.464s (~)11.023s (~)0.558s31.00x
💻 LocalExpress10.465s (~)11.023s (~)0.557s31.00x
🐘 PostgresExpress10.472s (~)11.017s (~)0.545s31.00x
🐘 PostgresNitro10.476s (~)11.018s (~)0.541s31.00x
🐘 PostgresNext.js (Turbopack)10.557s (+0.6%)11.038s (~)0.481s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro12.405s (+6.1% 🔺)14.164s (+2.2%)1.758s31.00x
▲ VercelNext.js (Turbopack)13.399s (+7.5% 🔺)15.865s (+10.1% 🔺)2.466s21.08x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.542s (-0.9%)14.027s (~)0.485s51.00x
🐘 PostgresNitro13.576s (-0.7%)14.022s (~)0.446s51.00x
💻 LocalNext.js (Turbopack)13.608s (~)14.027s (~)0.419s51.00x
🐘 PostgresExpress13.630s (-1.1%)14.021s (~)0.391s51.01x
💻 LocalNitro13.672s (~)14.026s (~)0.354s51.01x
🐘 PostgresNext.js (Turbopack)13.769s (~)14.023s (~)0.253s51.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)20.761s (+13.2% 🔺)22.832s (+12.7% 🔺)2.071s31.00x
▲ VercelNitro21.788s (+32.3% 🔺)24.197s (+29.4% 🔺)2.409s31.05x
▲ VercelExpress⚠️missing----

🔍 Observability: Next.js (Turbopack) | Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.056s (-2.4%)12.524s (-3.9%)0.469s81.00x
🐘 PostgresExpress12.138s (-1.0%)13.019s (~)0.881s71.01x
🐘 PostgresNitro12.190s (-0.6%)13.019s (~)0.829s71.01x
💻 LocalNext.js (Turbopack)12.206s (-0.7%)13.025s (~)0.819s71.01x
💻 LocalNitro12.220s (-0.9%)13.026s (~)0.806s71.01x
🐘 PostgresNext.js (Turbopack)12.692s (+3.7%)13.161s (+1.1%)0.469s71.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro25.264s (+38.3% 🔺)27.542s (+34.8% 🔺)2.278s41.00x
▲ VercelNext.js (Turbopack)27.572s (+29.9% 🔺)30.072s (+30.5% 🔺)2.500s41.09x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.181s (~)2.007s (~)0.827s151.00x
🐘 PostgresExpress1.190s (+0.7%)2.008s (~)0.819s151.01x
🐘 PostgresNext.js (Turbopack)1.196s (+1.4%)2.008s (~)0.811s151.01x
💻 LocalExpress1.387s (-14.1% 🟢)2.006s (-6.7% 🟢)0.620s151.17x
💻 LocalNext.js (Turbopack)1.402s (-8.2% 🟢)2.007s (-3.2%)0.605s151.19x
💻 LocalNitro1.444s (+2.4%)2.007s (~)0.563s151.22x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.558s (+22.5% 🔺)3.960s (+1.1%)1.402s81.00x
▲ VercelNext.js (Turbopack)4.137s (+16.3% 🔺)6.110s (+23.2% 🔺)1.973s61.62x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.313s (-1.0%)3.010s (~)1.697s101.00x
🐘 PostgresNitro1.346s (+1.9%)2.591s (-3.1%)1.245s121.02x
🐘 PostgresExpress1.372s (+3.3%)2.470s (-4.7%)1.098s131.04x
💻 LocalNext.js (Turbopack)2.266s (-17.1% 🟢)3.011s (~)0.745s101.73x
💻 LocalExpress2.419s (+1.8%)2.917s (-3.1%)0.498s111.84x
💻 LocalNitro2.563s (+3.2%)3.109s (~)0.546s101.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.572s (+29.5% 🔺)5.438s (+23.7% 🔺)1.866s61.00x
▲ VercelNext.js (Turbopack)5.240s (-17.6% 🟢)7.437s (-8.3% 🟢)2.197s51.47x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.614s (+1.9%)4.136s (~)2.522s81.00x
🐘 PostgresExpress1.617s (~)4.137s (~)2.520s81.00x
🐘 PostgresNext.js (Turbopack)2.932s (+8.5% 🔺)5.848s (+2.9%)2.916s61.82x
💻 LocalExpress5.329s (-14.2% 🟢)6.216s (-8.8% 🟢)0.887s53.30x
💻 LocalNitro6.257s (-8.1% 🟢)6.817s (-8.1% 🟢)0.561s53.88x
💻 LocalNext.js (Turbopack)6.680s (-13.1% 🟢)7.418s (-12.9% 🟢)0.738s54.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.016s (+24.7% 🔺)5.690s (+10.7% 🔺)1.674s61.00x
▲ VercelNext.js (Turbopack)5.310s (+6.9% 🔺)7.534s (+8.4% 🔺)2.224s41.32x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.182s (-0.8%)2.007s (~)0.826s151.00x
🐘 PostgresNitro1.193s (~)2.007s (~)0.814s151.01x
🐘 PostgresNext.js (Turbopack)1.197s (+1.3%)2.007s (~)0.810s151.01x
💻 LocalExpress1.394s (-1.4%)2.007s (~)0.613s151.18x
💻 LocalNitro1.436s (-3.1%)2.007s (~)0.570s151.22x
💻 LocalNext.js (Turbopack)1.477s (~)2.008s (~)0.531s151.25x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.681s (+23.7% 🔺)4.379s (+5.1% 🔺)1.697s71.00x
▲ VercelNext.js (Turbopack)3.853s (+13.0% 🔺)5.573s (+4.3%)1.720s61.44x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.317s (+1.7%)2.393s (+7.7% 🔺)1.076s131.00x
🐘 PostgresExpress1.322s (-0.6%)2.392s (+3.3%)1.071s131.00x
🐘 PostgresNext.js (Turbopack)1.333s (+1.8%)2.676s (-8.3% 🟢)1.342s121.01x
💻 LocalExpress2.425s (-8.2% 🟢)2.917s (-6.2% 🟢)0.492s111.84x
💻 LocalNitro2.583s (+9.4% 🔺)3.011s (~)0.428s101.96x
💻 LocalNext.js (Turbopack)2.946s (+15.8% 🔺)3.762s (+25.0% 🔺)0.816s82.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.120s (+33.6% 🔺)4.768s (+18.6% 🔺)1.648s71.00x
▲ VercelNext.js (Turbopack)4.191s (+11.3% 🔺)5.775s (+11.1% 🔺)1.584s61.34x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.613s (-5.9% 🟢)4.136s (-3.0%)2.523s81.00x
🐘 PostgresNitro1.629s (+0.6%)4.135s (+3.1%)2.506s81.01x
🐘 PostgresNext.js (Turbopack)2.957s (+2.9%)6.217s (+3.4%)3.260s51.83x
💻 LocalNext.js (Turbopack)5.429s (-21.3% 🟢)6.016s (-21.0% 🟢)0.587s63.37x
💻 LocalExpress6.062s (-14.0% 🟢)6.815s (-12.2% 🟢)0.754s53.76x
💻 LocalNitro6.912s (-1.9%)7.517s (~)0.605s44.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.812s (+2.2%)5.550s (-3.7%)1.739s61.00x
▲ VercelNext.js (Turbopack)5.652s (+28.3% 🔺)7.712s (+28.5% 🔺)2.060s41.48x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.558s (+5.3% 🔺)1.024s (+1.8%)0.465s591.00x
🐘 PostgresNext.js (Turbopack)0.570s (+4.4%)1.007s (~)0.436s601.02x
💻 LocalExpress0.583s (-2.9%)1.022s (+1.7%)0.438s591.04x
💻 LocalNitro0.587s (-0.8%)1.005s (-1.7%)0.419s601.05x
🐘 PostgresExpress0.597s (~)1.041s (+1.7%)0.444s581.07x
💻 LocalNext.js (Turbopack)0.611s (~)1.005s (~)0.394s601.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.840s (+39.1% 🔺)5.432s (+21.0% 🔺)1.592s121.00x
▲ VercelNext.js (Turbopack)4.679s (+10.6% 🔺)6.471s (+8.3% 🔺)1.792s101.22x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.300s (~)2.007s (~)0.707s451.00x
🐘 PostgresNext.js (Turbopack)1.322s (+3.0%)2.007s (~)0.685s451.02x
🐘 PostgresExpress1.330s (+0.7%)2.029s (+1.1%)0.699s451.02x
💻 LocalExpress1.430s (-3.6%)2.006s (~)0.575s451.10x
💻 LocalNitro1.494s (+3.0%)2.006s (~)0.512s451.15x
💻 LocalNext.js (Turbopack)1.525s (-1.0%)2.006s (-1.1%)0.482s451.17x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro10.526s (+62.5% 🔺)12.055s (+47.0% 🔺)1.529s81.00x
▲ VercelNext.js (Turbopack)12.867s (+32.8% 🔺)14.908s (+30.4% 🔺)2.041s71.22x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.529s (-1.7%)3.034s (-2.5%)0.504s401.00x
🐘 PostgresExpress2.628s (-2.8%)3.083s (-0.9%)0.455s401.04x
🐘 PostgresNext.js (Turbopack)2.662s (~)3.009s (-1.6%)0.347s401.05x
💻 LocalExpress3.125s (-4.9%)3.822s (-5.5% 🟢)0.697s321.24x
💻 LocalNitro3.263s (+4.2%)4.009s (+1.6%)0.747s301.29x
💻 LocalNext.js (Turbopack)3.306s (~)4.010s (~)0.704s301.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro19.917s (+35.6% 🔺)21.803s (+30.5% 🔺)1.887s61.00x
▲ VercelNext.js (Turbopack)23.449s (+11.5% 🔺)25.768s (+13.5% 🔺)2.319s51.18x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.175s (-6.4% 🟢)1.006s (~)0.831s601.00x
🐘 PostgresNitro0.218s (+3.0%)1.006s (~)0.788s601.25x
🐘 PostgresExpress0.219s (+1.8%)1.006s (~)0.787s601.25x
💻 LocalNitro0.458s (+5.1% 🔺)1.005s (~)0.547s602.62x
💻 LocalExpress0.461s (+1.0%)1.004s (~)0.544s602.64x
💻 LocalNext.js (Turbopack)0.645s (+4.0%)1.022s (+1.7%)0.377s593.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.369s (-16.6% 🟢)2.818s (-17.7% 🟢)1.449s221.00x
▲ VercelNext.js (Turbopack)2.684s (+22.8% 🔺)4.268s (+10.2% 🔺)1.584s151.96x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.282s (+2.2%)1.006s (~)0.724s901.00x
🐘 PostgresExpress0.324s (-2.6%)1.006s (~)0.682s901.15x
🐘 PostgresNitro0.331s (+2.3%)1.006s (-1.1%)0.675s901.17x
💻 LocalExpress2.147s (-0.8%)2.656s (-5.1% 🟢)0.509s347.61x
💻 LocalNitro2.196s (+4.7%)2.822s (+3.1%)0.626s327.78x
💻 LocalNext.js (Turbopack)2.742s (-4.5%)3.330s (-2.5%)0.589s289.72x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.135s (+33.4% 🔺)3.776s (+16.1% 🔺)1.641s241.00x
▲ VercelNext.js (Turbopack)3.554s (+26.0% 🔺)5.447s (+22.9% 🔺)1.892s171.67x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.513s (+1.7%)2.960s (-1.6%)2.447s411.00x
🐘 PostgresNitro0.518s (-1.2%)1.059s (+0.9%)0.540s1141.01x
🐘 PostgresExpress0.522s (-1.9%)1.117s (+4.6%)0.595s1081.02x
💻 LocalExpress9.677s (-3.3%)10.612s (-4.6%)0.936s1218.86x
💻 LocalNext.js (Turbopack)10.022s (-1.4%)11.121s (-3.1%)1.099s1119.53x
💻 LocalNitro10.574s (+8.6% 🔺)11.300s (+4.0%)0.726s1120.61x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.289s (+40.7% 🔺)5.005s (+19.8% 🔺)1.716s241.00x
▲ VercelNext.js (Turbopack)5.023s (+28.9% 🔺)7.149s (+27.2% 🔺)2.126s171.53x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.140s (~)1.967s (~)0.012s (+3.4%)2.019s (~)0.880s101.00x
💻 LocalExpress1.155s (-3.0%)2.004s (~)0.010s (-17.5% 🟢)2.018s (~)0.862s101.01x
🐘 PostgresNitro1.157s (~)1.993s (~)0.001s (-7.1% 🟢)2.010s (~)0.853s101.02x
🐘 PostgresExpress1.157s (-1.4%)1.996s (~)0.001s (-18.8% 🟢)2.011s (~)0.853s101.02x
💻 LocalNitro1.160s (~)2.005s (~)0.013s (+2.4%)2.021s (~)0.861s101.02x
🐘 PostgresNext.js (Turbopack)1.162s (+0.6%)1.999s (~)0.001s (+27.3% 🔺)2.010s (~)0.849s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.666s (+21.8% 🔺)3.761s (+6.8% 🔺)3.437s (+78.0% 🔺)7.767s (+30.0% 🔺)5.101s101.00x
▲ VercelNext.js (Turbopack)4.120s (+16.7% 🔺)4.583s (~)3.109s (+26.8% 🔺)9.281s (+11.5% 🔺)5.161s101.55x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.536s (-2.3%)2.012s (~)0.012s (+5.8% 🔺)2.027s (~)0.491s301.00x
🐘 PostgresNitro1.540s (-0.6%)2.003s (~)0.005s (-2.6%)2.026s (~)0.486s301.00x
🐘 PostgresExpress1.548s (-3.2%)2.006s (~)0.005s (-3.4%)2.028s (~)0.480s301.01x
💻 LocalNext.js (Turbopack)1.578s (~)1.969s (~)0.012s (+10.3% 🔺)2.025s (~)0.446s301.03x
💻 LocalNitro1.580s (~)2.011s (~)0.013s (+2.7%)2.027s (~)0.447s301.03x
🐘 PostgresNext.js (Turbopack)1.600s (~)2.008s (~)0.005s (+2.0%)2.024s (~)0.425s301.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.908s (+22.1% 🔺)8.174s (+10.2% 🔺)0.202s (-52.4% 🟢)8.851s (+5.5% 🔺)1.943s71.00x
▲ VercelNext.js (Turbopack)10.261s (+12.5% 🔺)11.195s (+10.9% 🔺)0.195s (-15.4% 🟢)12.660s (+15.2% 🔺)2.399s51.49x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.769s (-2.2%)1.084s (~)0.000s (~)1.099s (~)0.330s551.00x
🐘 PostgresNitro0.786s (+0.6%)1.081s (-1.8%)0.000s (-1.8%)1.097s (-1.7%)0.310s561.02x
🐘 PostgresNext.js (Turbopack)0.991s (+2.4%)1.408s (+3.9%)0.000s (-48.9% 🟢)1.416s (+3.9%)0.425s441.29x
💻 LocalNitro1.247s (+3.0%)1.949s (-3.2%)0.000s (+38.2% 🔺)1.952s (-3.2%)0.706s311.62x
💻 LocalExpress1.265s (-3.5%)2.013s (~)0.000s (+20.0% 🔺)2.016s (~)0.751s301.65x
💻 LocalNext.js (Turbopack)1.408s (+2.4%)1.980s (~)0.001s (+11.8% 🔺)2.017s (~)0.609s301.83x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.675s (+6.9% 🔺)4.859s (-2.9%)0.000s (NaN%)5.331s (-2.9%)1.655s121.00x
▲ VercelNext.js (Turbopack)5.652s (+26.1% 🔺)6.765s (+24.8% 🔺)0.000s (NaN%)7.641s (+21.4% 🔺)1.989s81.54x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.797s (+7.9% 🔺)2.432s (+7.9% 🔺)0.000s (-100.0% 🟢)2.457s (+8.1% 🔺)0.660s251.00x
🐘 PostgresExpress1.819s (~)2.433s (+1.6%)0.000s (+Infinity% 🔺)2.450s (+1.7%)0.631s251.01x
🐘 PostgresNext.js (Turbopack)2.856s (+3.7%)3.334s (~)0.000s (+100.0% 🔺)3.344s (~)0.487s181.59x
💻 LocalNitro3.620s (-1.2%)4.163s (-1.5%)0.001s (+77.8% 🔺)4.167s (-1.5%)0.547s152.01x
💻 LocalExpress3.661s (+8.9% 🔺)4.228s (+6.6% 🔺)0.001s (-30.7% 🟢)4.231s (+6.6% 🔺)0.570s152.04x
💻 LocalNext.js (Turbopack)3.950s (+7.4% 🔺)4.350s (+5.4% 🔺)0.001s (+99.0% 🔺)4.397s (+5.5% 🔺)0.448s142.20x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.810s (+1.3%)6.930s (-2.0%)0.000s (-55.6% 🟢)7.367s (-3.2%)1.557s91.00x
▲ VercelNext.js (Turbopack)8.841s (+15.7% 🔺)9.410s (+13.2% 🔺)0.000s (NaN%)10.845s (+13.9% 🔺)2.004s61.52x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress13/21
🐘 PostgresNitro11/21
▲ VercelNitro20/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Redis + BullMQ: Community world (local development)
  • 🌐 Cloudflare: Community world (local development)
  • 🌐 MySQL: Community world (local development)
  • 🌐 Azure: Community world (local development)
  • 🌐 NATS JetStream: Community world (local development)
  • 🌐 Upstash: Community world (local development)
  • 🌐 Platformatic: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202301672
✅ 💻 Local Development160502191824
✅ 📦 Local Production160502191824
✅ 🐘 Local Postgres159302311824
✅ 🪟 Windows15200152
✅ 📋 Other88501791064
Total7282010788360

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125027
✅ example125027
✅ express125027
✅ fastify125027
✅ hono125027
✅ nextjs-turbopack14903
✅ nextjs-webpack14903
✅ nitro125027
✅ nuxt125027
✅ sveltekit14408
✅ vite125027
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable126026
✅ express-stable126026
✅ fastify-stable126026
✅ hono-stable126026
✅ nextjs-turbopack-canary132020
✅ nextjs-turbopack-stable15101
✅ nextjs-webpack-canary132020
✅ nextjs-webpack-stable15101
✅ nitro-stable126026
✅ nuxt-stable126026
✅ sveltekit-stable14507
✅ vite-stable126026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15200
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable127025
✅ e2e-local-dev-tanstack-start-127025
✅ e2e-local-postgres-nest-stable126026
✅ e2e-local-postgres-tanstack-start-126026
✅ e2e-local-prod-nest-stable127025
✅ e2e-local-prod-tanstack-start-127025
✅ e2e-vercel-prod-tanstack-start125027

📋 View full workflow run

@VaguelySerious
VaguelySerious enabled auto-merge (squash) June 26, 2026 20:25
@VaguelySerious
VaguelySerious merged commit d4e6c5b into mainJun 26, 2026
177 of 183 checks passed
@VaguelySerious
VaguelySerious deleted the peter/world-local-recovery-untagged-filter branch June 26, 2026 20:37
github-actionsBot added a commit that referenced this pull request Jun 26, 2026
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2668. (backport job run)

VaguelySerious added a commit that referenced this pull request Jun 26, 2026
#2668)
Co-authored-by: Peter Wielander <mittgfu@gmail.com>
This was referenced Jun 26, 2026
pranaygp added a commit that referenced this pull request Jun 26, 2026
…edrive
* origin/main: (90 commits)
[ai] Fix "missing text part" stream crash by repairing UI message framing (#2537)
[ci] Fix release "Premature close" by bounding changelog GraphQL batch size (#2669)
[ai] Drop orphan UI chunks after negative-index reconnect (#2082)
Fix trace detail panel Input/Output flicker (selection-driven state machine) (#2637)
[world-local] Scope untagged startup recovery to untagged runs (#2667)
fix(world-postgres): defer loopback worker startup (#2657)
docs: deprecate DurableAgent and WorkflowChatTransport, point to AI SDK WorkflowAgent (#2616)
[web] Fix HTTP/2 in bundled server build so observability reads work (#2632)
[core] Fix turbo-mode step-body writes racing run_started (#2629)
fix(world-postgres): rename setup command (#2644)
chore: ignore workflow swc caches (#2640)
fix(ai): ignore intentional stream aborts (#2635)
fix(nitro): reload steps during Vite HMR (#2572)
[world] Make @workflow/world own its Zod dependency (#2622)
feat(web-shared): extend cn with custom tailwind-merge class groups (#2619)
[world-vercel] Enable HTTP/2 for the events API and stream writes (#2573)
Remove shadow from off-screen marker indicator button (#2614)
Fix discovery of dotted JS workflow imports (#2594)
Version Packages (beta) (#2597)
Thread occurredAt into web-shared entities (#2608)
...
# Conflicts:
#	packages/core/src/runtime/step-executor.ts
#	packages/world-vercel/src/http-client.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.

2 participants

@VaguelySerious@pranaygp
, 'i'); if (__m === '*' || __re.test(location.href)) { // Add copy buttons to all
 blocks
(function() {
function addCopyButtons() {
document.querySelectorAll('pre code').forEach(function(codeBlock) {
if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;
codeBlock.parentElement.setAttribute('data-copy-added', 'true');
var btn = document.createElement('button');
btn.textContent = 'Copy';
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;';
btn.onmouseover = function() { this.style.opacity = '1'; };
btn.onmouseout = function() { this.style.opacity = '0.7'; };
btn.onclick = function() {
navigator.clipboard.writeText(codeBlock.textContent).then(function() {
btn.textContent = 'Copied!';
setTimeout(function() { btn.textContent = 'Copy'; }, 1500);
});
};
codeBlock.parentElement.style.position = 'relative';
codeBlock.parentElement.appendChild(btn);
});
}
addCopyButtons();
// Re-run on dynamic content
var observer = new MutationObserver(addCopyButtons);
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
[world-local] Scope untagged startup recovery to untagged runs by VaguelySerious · Pull Request #2667 · vercel/workflow · GitHub
Skip to content

[world-local] Scope untagged startup recovery to untagged runs - #2667

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/world-local-recovery-untagged-filter
Jun 26, 2026
Merged

[world-local] Scope untagged startup recovery to untagged runs#2667
VaguelySerious merged 1 commit into
mainfrom
peter/world-local-recovery-untagged-filter

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Problem

Using Workflow SDK locally with world-local, users can hit a startup error storm:

[workflow-sdk] Fatal runtime error during workflow setup
code RUNTIME_ERROR
error Event creation for 'run_started' did not return the run entity for run "wrun_…"
POST /.well-known/workflow/v1/flow 500

Root cause

createLocalWorld defaults recoverActiveRuns: true, so world.start() (on every dev-server boot) calls reenqueueActiveRuns, which lists active runs and re-enqueues them with no runInput.

runs.list enumerates every*.json file in the runs directory and keys each by the runIdinside the file — including tag-suffixed files like wrun_X.vitest-0.json. But reads go through readJSONWithFallback, which only resolves {id}.{tag}.json (own tag) then untagged {id}.json.

So an untagged world (a normal pnpm dev) sharing the default .workflow-data directory with the vitest harness — which writes tagged files there "so runs are visible to the observability dashboard" — recovers leftover tagged runs it cannot read back. Since the re-enqueued message carries no runInput, the resilient-start path can't recreate the run either, and run_started returns no run entity → RUNTIME_ERROR 500, retried until the message exhausts its deliveries (hence "multiple times").

Tagged worlds already guarded against this with fileIdFilter: (fileId) => hasTag(fileId, tag). The untagged path had no symmetric guard.

Fix

Give the untagged recovery path the symmetric filter via a new isUntagged predicate, so each world only recovers files it can actually read back:

  • tagged world → recover only its own tag (unchanged)
  • untagged world → recover only untagged files (new)

Test

Added untagged recovery skips tagged runs sharing the data dir to reenqueue.test.ts: a tagged (vitest-style) active run + an untagged active run share a data dir; an untagged dev boot must recover only the untagged run. Verified the test fails on the old code (the tagged run gets re-enqueued) and passes with the fix. Full @workflow/world-local suite (412 tests) passes.

An untagged world (a normal local dev server) shares the default
`.workflow-data` directory with the vitest harness, which writes
tag-suffixed files (`{id}.{tag}.json`). On startup, `reenqueueActiveRuns`
lists active runs and re-enqueues them; `runs.list` enumerates every file
in the directory and keys each by the `runId` inside it, so an untagged
recovery would pick up tagged runs left behind by tests. Those re-enqueued
messages carry no `runInput`, and `readJSONWithFallback` can only resolve
untagged (or own-tag) files, so `run_started` returns no run entity and the
runtime fails with "did not return the run entity" — a 500 storm on the
flow route until the message exhausts its deliveries.
Tagged worlds already scoped recovery via `fileIdFilter: hasTag(...)`; give
the untagged path the symmetric guard with a new `isUntagged` predicate so
each world only recovers files it can actually read back.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersJune 26, 2026 19:59
@vercel

vercelBot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 41ca2ca

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

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

@github-actions

github-actionsBot commented Jun 26, 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.047s (~)1.006s (~)0.959s101.00x
💻 LocalNitro0.049s (+4.7%)1.007s (~)0.958s101.05x
💻 LocalNext.js (Turbopack)0.051s (-4.5%)1.007s (~)0.956s101.08x
🐘 PostgresNext.js (Turbopack)0.062s (+7.1% 🔺)1.013s (~)0.951s101.32x
🐘 PostgresNitro0.063s (-4.8%)1.012s (~)0.949s101.35x
🐘 PostgresExpress0.071s (+4.7%)1.013s (~)0.942s101.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.229s (-12.1% 🟢)1.758s (-24.1% 🟢)1.529s101.00x
▲ VercelNext.js (Turbopack)0.739s (-8.7% 🟢)2.837s (+18.1% 🔺)2.098s103.23x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.085s (~)2.007s (~)0.923s101.00x
💻 LocalExpress1.087s (~)2.007s (~)0.920s101.00x
💻 LocalNext.js (Turbopack)1.088s (~)2.007s (~)0.919s101.00x
🐘 PostgresNitro1.093s (-0.6%)2.010s (~)0.917s101.01x
🐘 PostgresExpress1.099s (~)2.009s (~)0.910s101.01x
🐘 PostgresNext.js (Turbopack)1.103s (+0.9%)2.010s (~)0.907s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.621s (+13.8% 🔺)3.682s (+20.7% 🔺)2.061s101.00x
▲ VercelNext.js (Turbopack)1.725s (-22.7% 🟢)3.861s (+1.4%)2.136s101.06x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.449s (~)11.022s (~)0.573s31.00x
💻 LocalNitro10.464s (~)11.023s (~)0.558s31.00x
💻 LocalExpress10.465s (~)11.023s (~)0.557s31.00x
🐘 PostgresExpress10.472s (~)11.017s (~)0.545s31.00x
🐘 PostgresNitro10.476s (~)11.018s (~)0.541s31.00x
🐘 PostgresNext.js (Turbopack)10.557s (+0.6%)11.038s (~)0.481s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro12.405s (+6.1% 🔺)14.164s (+2.2%)1.758s31.00x
▲ VercelNext.js (Turbopack)13.399s (+7.5% 🔺)15.865s (+10.1% 🔺)2.466s21.08x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.542s (-0.9%)14.027s (~)0.485s51.00x
🐘 PostgresNitro13.576s (-0.7%)14.022s (~)0.446s51.00x
💻 LocalNext.js (Turbopack)13.608s (~)14.027s (~)0.419s51.00x
🐘 PostgresExpress13.630s (-1.1%)14.021s (~)0.391s51.01x
💻 LocalNitro13.672s (~)14.026s (~)0.354s51.01x
🐘 PostgresNext.js (Turbopack)13.769s (~)14.023s (~)0.253s51.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)20.761s (+13.2% 🔺)22.832s (+12.7% 🔺)2.071s31.00x
▲ VercelNitro21.788s (+32.3% 🔺)24.197s (+29.4% 🔺)2.409s31.05x
▲ VercelExpress⚠️missing----

🔍 Observability: Next.js (Turbopack) | Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.056s (-2.4%)12.524s (-3.9%)0.469s81.00x
🐘 PostgresExpress12.138s (-1.0%)13.019s (~)0.881s71.01x
🐘 PostgresNitro12.190s (-0.6%)13.019s (~)0.829s71.01x
💻 LocalNext.js (Turbopack)12.206s (-0.7%)13.025s (~)0.819s71.01x
💻 LocalNitro12.220s (-0.9%)13.026s (~)0.806s71.01x
🐘 PostgresNext.js (Turbopack)12.692s (+3.7%)13.161s (+1.1%)0.469s71.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro25.264s (+38.3% 🔺)27.542s (+34.8% 🔺)2.278s41.00x
▲ VercelNext.js (Turbopack)27.572s (+29.9% 🔺)30.072s (+30.5% 🔺)2.500s41.09x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.181s (~)2.007s (~)0.827s151.00x
🐘 PostgresExpress1.190s (+0.7%)2.008s (~)0.819s151.01x
🐘 PostgresNext.js (Turbopack)1.196s (+1.4%)2.008s (~)0.811s151.01x
💻 LocalExpress1.387s (-14.1% 🟢)2.006s (-6.7% 🟢)0.620s151.17x
💻 LocalNext.js (Turbopack)1.402s (-8.2% 🟢)2.007s (-3.2%)0.605s151.19x
💻 LocalNitro1.444s (+2.4%)2.007s (~)0.563s151.22x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.558s (+22.5% 🔺)3.960s (+1.1%)1.402s81.00x
▲ VercelNext.js (Turbopack)4.137s (+16.3% 🔺)6.110s (+23.2% 🔺)1.973s61.62x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.313s (-1.0%)3.010s (~)1.697s101.00x
🐘 PostgresNitro1.346s (+1.9%)2.591s (-3.1%)1.245s121.02x
🐘 PostgresExpress1.372s (+3.3%)2.470s (-4.7%)1.098s131.04x
💻 LocalNext.js (Turbopack)2.266s (-17.1% 🟢)3.011s (~)0.745s101.73x
💻 LocalExpress2.419s (+1.8%)2.917s (-3.1%)0.498s111.84x
💻 LocalNitro2.563s (+3.2%)3.109s (~)0.546s101.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.572s (+29.5% 🔺)5.438s (+23.7% 🔺)1.866s61.00x
▲ VercelNext.js (Turbopack)5.240s (-17.6% 🟢)7.437s (-8.3% 🟢)2.197s51.47x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.614s (+1.9%)4.136s (~)2.522s81.00x
🐘 PostgresExpress1.617s (~)4.137s (~)2.520s81.00x
🐘 PostgresNext.js (Turbopack)2.932s (+8.5% 🔺)5.848s (+2.9%)2.916s61.82x
💻 LocalExpress5.329s (-14.2% 🟢)6.216s (-8.8% 🟢)0.887s53.30x
💻 LocalNitro6.257s (-8.1% 🟢)6.817s (-8.1% 🟢)0.561s53.88x
💻 LocalNext.js (Turbopack)6.680s (-13.1% 🟢)7.418s (-12.9% 🟢)0.738s54.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.016s (+24.7% 🔺)5.690s (+10.7% 🔺)1.674s61.00x
▲ VercelNext.js (Turbopack)5.310s (+6.9% 🔺)7.534s (+8.4% 🔺)2.224s41.32x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.182s (-0.8%)2.007s (~)0.826s151.00x
🐘 PostgresNitro1.193s (~)2.007s (~)0.814s151.01x
🐘 PostgresNext.js (Turbopack)1.197s (+1.3%)2.007s (~)0.810s151.01x
💻 LocalExpress1.394s (-1.4%)2.007s (~)0.613s151.18x
💻 LocalNitro1.436s (-3.1%)2.007s (~)0.570s151.22x
💻 LocalNext.js (Turbopack)1.477s (~)2.008s (~)0.531s151.25x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.681s (+23.7% 🔺)4.379s (+5.1% 🔺)1.697s71.00x
▲ VercelNext.js (Turbopack)3.853s (+13.0% 🔺)5.573s (+4.3%)1.720s61.44x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.317s (+1.7%)2.393s (+7.7% 🔺)1.076s131.00x
🐘 PostgresExpress1.322s (-0.6%)2.392s (+3.3%)1.071s131.00x
🐘 PostgresNext.js (Turbopack)1.333s (+1.8%)2.676s (-8.3% 🟢)1.342s121.01x
💻 LocalExpress2.425s (-8.2% 🟢)2.917s (-6.2% 🟢)0.492s111.84x
💻 LocalNitro2.583s (+9.4% 🔺)3.011s (~)0.428s101.96x
💻 LocalNext.js (Turbopack)2.946s (+15.8% 🔺)3.762s (+25.0% 🔺)0.816s82.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.120s (+33.6% 🔺)4.768s (+18.6% 🔺)1.648s71.00x
▲ VercelNext.js (Turbopack)4.191s (+11.3% 🔺)5.775s (+11.1% 🔺)1.584s61.34x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.613s (-5.9% 🟢)4.136s (-3.0%)2.523s81.00x
🐘 PostgresNitro1.629s (+0.6%)4.135s (+3.1%)2.506s81.01x
🐘 PostgresNext.js (Turbopack)2.957s (+2.9%)6.217s (+3.4%)3.260s51.83x
💻 LocalNext.js (Turbopack)5.429s (-21.3% 🟢)6.016s (-21.0% 🟢)0.587s63.37x
💻 LocalExpress6.062s (-14.0% 🟢)6.815s (-12.2% 🟢)0.754s53.76x
💻 LocalNitro6.912s (-1.9%)7.517s (~)0.605s44.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.812s (+2.2%)5.550s (-3.7%)1.739s61.00x
▲ VercelNext.js (Turbopack)5.652s (+28.3% 🔺)7.712s (+28.5% 🔺)2.060s41.48x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.558s (+5.3% 🔺)1.024s (+1.8%)0.465s591.00x
🐘 PostgresNext.js (Turbopack)0.570s (+4.4%)1.007s (~)0.436s601.02x
💻 LocalExpress0.583s (-2.9%)1.022s (+1.7%)0.438s591.04x
💻 LocalNitro0.587s (-0.8%)1.005s (-1.7%)0.419s601.05x
🐘 PostgresExpress0.597s (~)1.041s (+1.7%)0.444s581.07x
💻 LocalNext.js (Turbopack)0.611s (~)1.005s (~)0.394s601.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.840s (+39.1% 🔺)5.432s (+21.0% 🔺)1.592s121.00x
▲ VercelNext.js (Turbopack)4.679s (+10.6% 🔺)6.471s (+8.3% 🔺)1.792s101.22x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.300s (~)2.007s (~)0.707s451.00x
🐘 PostgresNext.js (Turbopack)1.322s (+3.0%)2.007s (~)0.685s451.02x
🐘 PostgresExpress1.330s (+0.7%)2.029s (+1.1%)0.699s451.02x
💻 LocalExpress1.430s (-3.6%)2.006s (~)0.575s451.10x
💻 LocalNitro1.494s (+3.0%)2.006s (~)0.512s451.15x
💻 LocalNext.js (Turbopack)1.525s (-1.0%)2.006s (-1.1%)0.482s451.17x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro10.526s (+62.5% 🔺)12.055s (+47.0% 🔺)1.529s81.00x
▲ VercelNext.js (Turbopack)12.867s (+32.8% 🔺)14.908s (+30.4% 🔺)2.041s71.22x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.529s (-1.7%)3.034s (-2.5%)0.504s401.00x
🐘 PostgresExpress2.628s (-2.8%)3.083s (-0.9%)0.455s401.04x
🐘 PostgresNext.js (Turbopack)2.662s (~)3.009s (-1.6%)0.347s401.05x
💻 LocalExpress3.125s (-4.9%)3.822s (-5.5% 🟢)0.697s321.24x
💻 LocalNitro3.263s (+4.2%)4.009s (+1.6%)0.747s301.29x
💻 LocalNext.js (Turbopack)3.306s (~)4.010s (~)0.704s301.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro19.917s (+35.6% 🔺)21.803s (+30.5% 🔺)1.887s61.00x
▲ VercelNext.js (Turbopack)23.449s (+11.5% 🔺)25.768s (+13.5% 🔺)2.319s51.18x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.175s (-6.4% 🟢)1.006s (~)0.831s601.00x
🐘 PostgresNitro0.218s (+3.0%)1.006s (~)0.788s601.25x
🐘 PostgresExpress0.219s (+1.8%)1.006s (~)0.787s601.25x
💻 LocalNitro0.458s (+5.1% 🔺)1.005s (~)0.547s602.62x
💻 LocalExpress0.461s (+1.0%)1.004s (~)0.544s602.64x
💻 LocalNext.js (Turbopack)0.645s (+4.0%)1.022s (+1.7%)0.377s593.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.369s (-16.6% 🟢)2.818s (-17.7% 🟢)1.449s221.00x
▲ VercelNext.js (Turbopack)2.684s (+22.8% 🔺)4.268s (+10.2% 🔺)1.584s151.96x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.282s (+2.2%)1.006s (~)0.724s901.00x
🐘 PostgresExpress0.324s (-2.6%)1.006s (~)0.682s901.15x
🐘 PostgresNitro0.331s (+2.3%)1.006s (-1.1%)0.675s901.17x
💻 LocalExpress2.147s (-0.8%)2.656s (-5.1% 🟢)0.509s347.61x
💻 LocalNitro2.196s (+4.7%)2.822s (+3.1%)0.626s327.78x
💻 LocalNext.js (Turbopack)2.742s (-4.5%)3.330s (-2.5%)0.589s289.72x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.135s (+33.4% 🔺)3.776s (+16.1% 🔺)1.641s241.00x
▲ VercelNext.js (Turbopack)3.554s (+26.0% 🔺)5.447s (+22.9% 🔺)1.892s171.67x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.513s (+1.7%)2.960s (-1.6%)2.447s411.00x
🐘 PostgresNitro0.518s (-1.2%)1.059s (+0.9%)0.540s1141.01x
🐘 PostgresExpress0.522s (-1.9%)1.117s (+4.6%)0.595s1081.02x
💻 LocalExpress9.677s (-3.3%)10.612s (-4.6%)0.936s1218.86x
💻 LocalNext.js (Turbopack)10.022s (-1.4%)11.121s (-3.1%)1.099s1119.53x
💻 LocalNitro10.574s (+8.6% 🔺)11.300s (+4.0%)0.726s1120.61x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.289s (+40.7% 🔺)5.005s (+19.8% 🔺)1.716s241.00x
▲ VercelNext.js (Turbopack)5.023s (+28.9% 🔺)7.149s (+27.2% 🔺)2.126s171.53x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.140s (~)1.967s (~)0.012s (+3.4%)2.019s (~)0.880s101.00x
💻 LocalExpress1.155s (-3.0%)2.004s (~)0.010s (-17.5% 🟢)2.018s (~)0.862s101.01x
🐘 PostgresNitro1.157s (~)1.993s (~)0.001s (-7.1% 🟢)2.010s (~)0.853s101.02x
🐘 PostgresExpress1.157s (-1.4%)1.996s (~)0.001s (-18.8% 🟢)2.011s (~)0.853s101.02x
💻 LocalNitro1.160s (~)2.005s (~)0.013s (+2.4%)2.021s (~)0.861s101.02x
🐘 PostgresNext.js (Turbopack)1.162s (+0.6%)1.999s (~)0.001s (+27.3% 🔺)2.010s (~)0.849s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.666s (+21.8% 🔺)3.761s (+6.8% 🔺)3.437s (+78.0% 🔺)7.767s (+30.0% 🔺)5.101s101.00x
▲ VercelNext.js (Turbopack)4.120s (+16.7% 🔺)4.583s (~)3.109s (+26.8% 🔺)9.281s (+11.5% 🔺)5.161s101.55x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.536s (-2.3%)2.012s (~)0.012s (+5.8% 🔺)2.027s (~)0.491s301.00x
🐘 PostgresNitro1.540s (-0.6%)2.003s (~)0.005s (-2.6%)2.026s (~)0.486s301.00x
🐘 PostgresExpress1.548s (-3.2%)2.006s (~)0.005s (-3.4%)2.028s (~)0.480s301.01x
💻 LocalNext.js (Turbopack)1.578s (~)1.969s (~)0.012s (+10.3% 🔺)2.025s (~)0.446s301.03x
💻 LocalNitro1.580s (~)2.011s (~)0.013s (+2.7%)2.027s (~)0.447s301.03x
🐘 PostgresNext.js (Turbopack)1.600s (~)2.008s (~)0.005s (+2.0%)2.024s (~)0.425s301.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.908s (+22.1% 🔺)8.174s (+10.2% 🔺)0.202s (-52.4% 🟢)8.851s (+5.5% 🔺)1.943s71.00x
▲ VercelNext.js (Turbopack)10.261s (+12.5% 🔺)11.195s (+10.9% 🔺)0.195s (-15.4% 🟢)12.660s (+15.2% 🔺)2.399s51.49x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.769s (-2.2%)1.084s (~)0.000s (~)1.099s (~)0.330s551.00x
🐘 PostgresNitro0.786s (+0.6%)1.081s (-1.8%)0.000s (-1.8%)1.097s (-1.7%)0.310s561.02x
🐘 PostgresNext.js (Turbopack)0.991s (+2.4%)1.408s (+3.9%)0.000s (-48.9% 🟢)1.416s (+3.9%)0.425s441.29x
💻 LocalNitro1.247s (+3.0%)1.949s (-3.2%)0.000s (+38.2% 🔺)1.952s (-3.2%)0.706s311.62x
💻 LocalExpress1.265s (-3.5%)2.013s (~)0.000s (+20.0% 🔺)2.016s (~)0.751s301.65x
💻 LocalNext.js (Turbopack)1.408s (+2.4%)1.980s (~)0.001s (+11.8% 🔺)2.017s (~)0.609s301.83x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.675s (+6.9% 🔺)4.859s (-2.9%)0.000s (NaN%)5.331s (-2.9%)1.655s121.00x
▲ VercelNext.js (Turbopack)5.652s (+26.1% 🔺)6.765s (+24.8% 🔺)0.000s (NaN%)7.641s (+21.4% 🔺)1.989s81.54x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.797s (+7.9% 🔺)2.432s (+7.9% 🔺)0.000s (-100.0% 🟢)2.457s (+8.1% 🔺)0.660s251.00x
🐘 PostgresExpress1.819s (~)2.433s (+1.6%)0.000s (+Infinity% 🔺)2.450s (+1.7%)0.631s251.01x
🐘 PostgresNext.js (Turbopack)2.856s (+3.7%)3.334s (~)0.000s (+100.0% 🔺)3.344s (~)0.487s181.59x
💻 LocalNitro3.620s (-1.2%)4.163s (-1.5%)0.001s (+77.8% 🔺)4.167s (-1.5%)0.547s152.01x
💻 LocalExpress3.661s (+8.9% 🔺)4.228s (+6.6% 🔺)0.001s (-30.7% 🟢)4.231s (+6.6% 🔺)0.570s152.04x
💻 LocalNext.js (Turbopack)3.950s (+7.4% 🔺)4.350s (+5.4% 🔺)0.001s (+99.0% 🔺)4.397s (+5.5% 🔺)0.448s142.20x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.810s (+1.3%)6.930s (-2.0%)0.000s (-55.6% 🟢)7.367s (-3.2%)1.557s91.00x
▲ VercelNext.js (Turbopack)8.841s (+15.7% 🔺)9.410s (+13.2% 🔺)0.000s (NaN%)10.845s (+13.9% 🔺)2.004s61.52x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress13/21
🐘 PostgresNitro11/21
▲ VercelNitro20/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Redis + BullMQ: Community world (local development)
  • 🌐 Cloudflare: Community world (local development)
  • 🌐 MySQL: Community world (local development)
  • 🌐 Azure: Community world (local development)
  • 🌐 NATS JetStream: Community world (local development)
  • 🌐 Upstash: Community world (local development)
  • 🌐 Platformatic: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202301672
✅ 💻 Local Development160502191824
✅ 📦 Local Production160502191824
✅ 🐘 Local Postgres159302311824
✅ 🪟 Windows15200152
✅ 📋 Other88501791064
Total7282010788360

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125027
✅ example125027
✅ express125027
✅ fastify125027
✅ hono125027
✅ nextjs-turbopack14903
✅ nextjs-webpack14903
✅ nitro125027
✅ nuxt125027
✅ sveltekit14408
✅ vite125027
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable126026
✅ express-stable126026
✅ fastify-stable126026
✅ hono-stable126026
✅ nextjs-turbopack-canary132020
✅ nextjs-turbopack-stable15101
✅ nextjs-webpack-canary132020
✅ nextjs-webpack-stable15101
✅ nitro-stable126026
✅ nuxt-stable126026
✅ sveltekit-stable14507
✅ vite-stable126026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15200
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable127025
✅ e2e-local-dev-tanstack-start-127025
✅ e2e-local-postgres-nest-stable126026
✅ e2e-local-postgres-tanstack-start-126026
✅ e2e-local-prod-nest-stable127025
✅ e2e-local-prod-tanstack-start-127025
✅ e2e-vercel-prod-tanstack-start125027

📋 View full workflow run

@VaguelySerious
VaguelySerious enabled auto-merge (squash) June 26, 2026 20:25
@VaguelySerious
VaguelySerious merged commit d4e6c5b into mainJun 26, 2026
177 of 183 checks passed
@VaguelySerious
VaguelySerious deleted the peter/world-local-recovery-untagged-filter branch June 26, 2026 20:37
github-actionsBot added a commit that referenced this pull request Jun 26, 2026
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2668. (backport job run)

VaguelySerious added a commit that referenced this pull request Jun 26, 2026
#2668)
Co-authored-by: Peter Wielander <mittgfu@gmail.com>
This was referenced Jun 26, 2026
pranaygp added a commit that referenced this pull request Jun 26, 2026
…edrive
* origin/main: (90 commits)
[ai] Fix "missing text part" stream crash by repairing UI message framing (#2537)
[ci] Fix release "Premature close" by bounding changelog GraphQL batch size (#2669)
[ai] Drop orphan UI chunks after negative-index reconnect (#2082)
Fix trace detail panel Input/Output flicker (selection-driven state machine) (#2637)
[world-local] Scope untagged startup recovery to untagged runs (#2667)
fix(world-postgres): defer loopback worker startup (#2657)
docs: deprecate DurableAgent and WorkflowChatTransport, point to AI SDK WorkflowAgent (#2616)
[web] Fix HTTP/2 in bundled server build so observability reads work (#2632)
[core] Fix turbo-mode step-body writes racing run_started (#2629)
fix(world-postgres): rename setup command (#2644)
chore: ignore workflow swc caches (#2640)
fix(ai): ignore intentional stream aborts (#2635)
fix(nitro): reload steps during Vite HMR (#2572)
[world] Make @workflow/world own its Zod dependency (#2622)
feat(web-shared): extend cn with custom tailwind-merge class groups (#2619)
[world-vercel] Enable HTTP/2 for the events API and stream writes (#2573)
Remove shadow from off-screen marker indicator button (#2614)
Fix discovery of dotted JS workflow imports (#2594)
Version Packages (beta) (#2597)
Thread occurredAt into web-shared entities (#2608)
...
# Conflicts:
#	packages/core/src/runtime/step-executor.ts
#	packages/world-vercel/src/http-client.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.

2 participants

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

[world-local] Scope untagged startup recovery to untagged runs - #2667

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/world-local-recovery-untagged-filter
Jun 26, 2026
Merged

[world-local] Scope untagged startup recovery to untagged runs#2667
VaguelySerious merged 1 commit into
mainfrom
peter/world-local-recovery-untagged-filter

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Problem

Using Workflow SDK locally with world-local, users can hit a startup error storm:

[workflow-sdk] Fatal runtime error during workflow setup
code RUNTIME_ERROR
error Event creation for 'run_started' did not return the run entity for run "wrun_…"
POST /.well-known/workflow/v1/flow 500

Root cause

createLocalWorld defaults recoverActiveRuns: true, so world.start() (on every dev-server boot) calls reenqueueActiveRuns, which lists active runs and re-enqueues them with no runInput.

runs.list enumerates every*.json file in the runs directory and keys each by the runIdinside the file — including tag-suffixed files like wrun_X.vitest-0.json. But reads go through readJSONWithFallback, which only resolves {id}.{tag}.json (own tag) then untagged {id}.json.

So an untagged world (a normal pnpm dev) sharing the default .workflow-data directory with the vitest harness — which writes tagged files there "so runs are visible to the observability dashboard" — recovers leftover tagged runs it cannot read back. Since the re-enqueued message carries no runInput, the resilient-start path can't recreate the run either, and run_started returns no run entity → RUNTIME_ERROR 500, retried until the message exhausts its deliveries (hence "multiple times").

Tagged worlds already guarded against this with fileIdFilter: (fileId) => hasTag(fileId, tag). The untagged path had no symmetric guard.

Fix

Give the untagged recovery path the symmetric filter via a new isUntagged predicate, so each world only recovers files it can actually read back:

  • tagged world → recover only its own tag (unchanged)
  • untagged world → recover only untagged files (new)

Test

Added untagged recovery skips tagged runs sharing the data dir to reenqueue.test.ts: a tagged (vitest-style) active run + an untagged active run share a data dir; an untagged dev boot must recover only the untagged run. Verified the test fails on the old code (the tagged run gets re-enqueued) and passes with the fix. Full @workflow/world-local suite (412 tests) passes.

An untagged world (a normal local dev server) shares the default
`.workflow-data` directory with the vitest harness, which writes
tag-suffixed files (`{id}.{tag}.json`). On startup, `reenqueueActiveRuns`
lists active runs and re-enqueues them; `runs.list` enumerates every file
in the directory and keys each by the `runId` inside it, so an untagged
recovery would pick up tagged runs left behind by tests. Those re-enqueued
messages carry no `runInput`, and `readJSONWithFallback` can only resolve
untagged (or own-tag) files, so `run_started` returns no run entity and the
runtime fails with "did not return the run entity" — a 500 storm on the
flow route until the message exhausts its deliveries.
Tagged worlds already scoped recovery via `fileIdFilter: hasTag(...)`; give
the untagged path the symmetric guard with a new `isUntagged` predicate so
each world only recovers files it can actually read back.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersJune 26, 2026 19:59
@vercel

vercelBot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 41ca2ca

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

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

@github-actions

github-actionsBot commented Jun 26, 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.047s (~)1.006s (~)0.959s101.00x
💻 LocalNitro0.049s (+4.7%)1.007s (~)0.958s101.05x
💻 LocalNext.js (Turbopack)0.051s (-4.5%)1.007s (~)0.956s101.08x
🐘 PostgresNext.js (Turbopack)0.062s (+7.1% 🔺)1.013s (~)0.951s101.32x
🐘 PostgresNitro0.063s (-4.8%)1.012s (~)0.949s101.35x
🐘 PostgresExpress0.071s (+4.7%)1.013s (~)0.942s101.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.229s (-12.1% 🟢)1.758s (-24.1% 🟢)1.529s101.00x
▲ VercelNext.js (Turbopack)0.739s (-8.7% 🟢)2.837s (+18.1% 🔺)2.098s103.23x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.085s (~)2.007s (~)0.923s101.00x
💻 LocalExpress1.087s (~)2.007s (~)0.920s101.00x
💻 LocalNext.js (Turbopack)1.088s (~)2.007s (~)0.919s101.00x
🐘 PostgresNitro1.093s (-0.6%)2.010s (~)0.917s101.01x
🐘 PostgresExpress1.099s (~)2.009s (~)0.910s101.01x
🐘 PostgresNext.js (Turbopack)1.103s (+0.9%)2.010s (~)0.907s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.621s (+13.8% 🔺)3.682s (+20.7% 🔺)2.061s101.00x
▲ VercelNext.js (Turbopack)1.725s (-22.7% 🟢)3.861s (+1.4%)2.136s101.06x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.449s (~)11.022s (~)0.573s31.00x
💻 LocalNitro10.464s (~)11.023s (~)0.558s31.00x
💻 LocalExpress10.465s (~)11.023s (~)0.557s31.00x
🐘 PostgresExpress10.472s (~)11.017s (~)0.545s31.00x
🐘 PostgresNitro10.476s (~)11.018s (~)0.541s31.00x
🐘 PostgresNext.js (Turbopack)10.557s (+0.6%)11.038s (~)0.481s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro12.405s (+6.1% 🔺)14.164s (+2.2%)1.758s31.00x
▲ VercelNext.js (Turbopack)13.399s (+7.5% 🔺)15.865s (+10.1% 🔺)2.466s21.08x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.542s (-0.9%)14.027s (~)0.485s51.00x
🐘 PostgresNitro13.576s (-0.7%)14.022s (~)0.446s51.00x
💻 LocalNext.js (Turbopack)13.608s (~)14.027s (~)0.419s51.00x
🐘 PostgresExpress13.630s (-1.1%)14.021s (~)0.391s51.01x
💻 LocalNitro13.672s (~)14.026s (~)0.354s51.01x
🐘 PostgresNext.js (Turbopack)13.769s (~)14.023s (~)0.253s51.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)20.761s (+13.2% 🔺)22.832s (+12.7% 🔺)2.071s31.00x
▲ VercelNitro21.788s (+32.3% 🔺)24.197s (+29.4% 🔺)2.409s31.05x
▲ VercelExpress⚠️missing----

🔍 Observability: Next.js (Turbopack) | Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.056s (-2.4%)12.524s (-3.9%)0.469s81.00x
🐘 PostgresExpress12.138s (-1.0%)13.019s (~)0.881s71.01x
🐘 PostgresNitro12.190s (-0.6%)13.019s (~)0.829s71.01x
💻 LocalNext.js (Turbopack)12.206s (-0.7%)13.025s (~)0.819s71.01x
💻 LocalNitro12.220s (-0.9%)13.026s (~)0.806s71.01x
🐘 PostgresNext.js (Turbopack)12.692s (+3.7%)13.161s (+1.1%)0.469s71.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro25.264s (+38.3% 🔺)27.542s (+34.8% 🔺)2.278s41.00x
▲ VercelNext.js (Turbopack)27.572s (+29.9% 🔺)30.072s (+30.5% 🔺)2.500s41.09x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.181s (~)2.007s (~)0.827s151.00x
🐘 PostgresExpress1.190s (+0.7%)2.008s (~)0.819s151.01x
🐘 PostgresNext.js (Turbopack)1.196s (+1.4%)2.008s (~)0.811s151.01x
💻 LocalExpress1.387s (-14.1% 🟢)2.006s (-6.7% 🟢)0.620s151.17x
💻 LocalNext.js (Turbopack)1.402s (-8.2% 🟢)2.007s (-3.2%)0.605s151.19x
💻 LocalNitro1.444s (+2.4%)2.007s (~)0.563s151.22x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.558s (+22.5% 🔺)3.960s (+1.1%)1.402s81.00x
▲ VercelNext.js (Turbopack)4.137s (+16.3% 🔺)6.110s (+23.2% 🔺)1.973s61.62x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.313s (-1.0%)3.010s (~)1.697s101.00x
🐘 PostgresNitro1.346s (+1.9%)2.591s (-3.1%)1.245s121.02x
🐘 PostgresExpress1.372s (+3.3%)2.470s (-4.7%)1.098s131.04x
💻 LocalNext.js (Turbopack)2.266s (-17.1% 🟢)3.011s (~)0.745s101.73x
💻 LocalExpress2.419s (+1.8%)2.917s (-3.1%)0.498s111.84x
💻 LocalNitro2.563s (+3.2%)3.109s (~)0.546s101.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.572s (+29.5% 🔺)5.438s (+23.7% 🔺)1.866s61.00x
▲ VercelNext.js (Turbopack)5.240s (-17.6% 🟢)7.437s (-8.3% 🟢)2.197s51.47x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.614s (+1.9%)4.136s (~)2.522s81.00x
🐘 PostgresExpress1.617s (~)4.137s (~)2.520s81.00x
🐘 PostgresNext.js (Turbopack)2.932s (+8.5% 🔺)5.848s (+2.9%)2.916s61.82x
💻 LocalExpress5.329s (-14.2% 🟢)6.216s (-8.8% 🟢)0.887s53.30x
💻 LocalNitro6.257s (-8.1% 🟢)6.817s (-8.1% 🟢)0.561s53.88x
💻 LocalNext.js (Turbopack)6.680s (-13.1% 🟢)7.418s (-12.9% 🟢)0.738s54.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.016s (+24.7% 🔺)5.690s (+10.7% 🔺)1.674s61.00x
▲ VercelNext.js (Turbopack)5.310s (+6.9% 🔺)7.534s (+8.4% 🔺)2.224s41.32x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.182s (-0.8%)2.007s (~)0.826s151.00x
🐘 PostgresNitro1.193s (~)2.007s (~)0.814s151.01x
🐘 PostgresNext.js (Turbopack)1.197s (+1.3%)2.007s (~)0.810s151.01x
💻 LocalExpress1.394s (-1.4%)2.007s (~)0.613s151.18x
💻 LocalNitro1.436s (-3.1%)2.007s (~)0.570s151.22x
💻 LocalNext.js (Turbopack)1.477s (~)2.008s (~)0.531s151.25x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.681s (+23.7% 🔺)4.379s (+5.1% 🔺)1.697s71.00x
▲ VercelNext.js (Turbopack)3.853s (+13.0% 🔺)5.573s (+4.3%)1.720s61.44x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.317s (+1.7%)2.393s (+7.7% 🔺)1.076s131.00x
🐘 PostgresExpress1.322s (-0.6%)2.392s (+3.3%)1.071s131.00x
🐘 PostgresNext.js (Turbopack)1.333s (+1.8%)2.676s (-8.3% 🟢)1.342s121.01x
💻 LocalExpress2.425s (-8.2% 🟢)2.917s (-6.2% 🟢)0.492s111.84x
💻 LocalNitro2.583s (+9.4% 🔺)3.011s (~)0.428s101.96x
💻 LocalNext.js (Turbopack)2.946s (+15.8% 🔺)3.762s (+25.0% 🔺)0.816s82.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.120s (+33.6% 🔺)4.768s (+18.6% 🔺)1.648s71.00x
▲ VercelNext.js (Turbopack)4.191s (+11.3% 🔺)5.775s (+11.1% 🔺)1.584s61.34x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.613s (-5.9% 🟢)4.136s (-3.0%)2.523s81.00x
🐘 PostgresNitro1.629s (+0.6%)4.135s (+3.1%)2.506s81.01x
🐘 PostgresNext.js (Turbopack)2.957s (+2.9%)6.217s (+3.4%)3.260s51.83x
💻 LocalNext.js (Turbopack)5.429s (-21.3% 🟢)6.016s (-21.0% 🟢)0.587s63.37x
💻 LocalExpress6.062s (-14.0% 🟢)6.815s (-12.2% 🟢)0.754s53.76x
💻 LocalNitro6.912s (-1.9%)7.517s (~)0.605s44.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.812s (+2.2%)5.550s (-3.7%)1.739s61.00x
▲ VercelNext.js (Turbopack)5.652s (+28.3% 🔺)7.712s (+28.5% 🔺)2.060s41.48x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.558s (+5.3% 🔺)1.024s (+1.8%)0.465s591.00x
🐘 PostgresNext.js (Turbopack)0.570s (+4.4%)1.007s (~)0.436s601.02x
💻 LocalExpress0.583s (-2.9%)1.022s (+1.7%)0.438s591.04x
💻 LocalNitro0.587s (-0.8%)1.005s (-1.7%)0.419s601.05x
🐘 PostgresExpress0.597s (~)1.041s (+1.7%)0.444s581.07x
💻 LocalNext.js (Turbopack)0.611s (~)1.005s (~)0.394s601.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.840s (+39.1% 🔺)5.432s (+21.0% 🔺)1.592s121.00x
▲ VercelNext.js (Turbopack)4.679s (+10.6% 🔺)6.471s (+8.3% 🔺)1.792s101.22x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.300s (~)2.007s (~)0.707s451.00x
🐘 PostgresNext.js (Turbopack)1.322s (+3.0%)2.007s (~)0.685s451.02x
🐘 PostgresExpress1.330s (+0.7%)2.029s (+1.1%)0.699s451.02x
💻 LocalExpress1.430s (-3.6%)2.006s (~)0.575s451.10x
💻 LocalNitro1.494s (+3.0%)2.006s (~)0.512s451.15x
💻 LocalNext.js (Turbopack)1.525s (-1.0%)2.006s (-1.1%)0.482s451.17x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro10.526s (+62.5% 🔺)12.055s (+47.0% 🔺)1.529s81.00x
▲ VercelNext.js (Turbopack)12.867s (+32.8% 🔺)14.908s (+30.4% 🔺)2.041s71.22x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.529s (-1.7%)3.034s (-2.5%)0.504s401.00x
🐘 PostgresExpress2.628s (-2.8%)3.083s (-0.9%)0.455s401.04x
🐘 PostgresNext.js (Turbopack)2.662s (~)3.009s (-1.6%)0.347s401.05x
💻 LocalExpress3.125s (-4.9%)3.822s (-5.5% 🟢)0.697s321.24x
💻 LocalNitro3.263s (+4.2%)4.009s (+1.6%)0.747s301.29x
💻 LocalNext.js (Turbopack)3.306s (~)4.010s (~)0.704s301.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro19.917s (+35.6% 🔺)21.803s (+30.5% 🔺)1.887s61.00x
▲ VercelNext.js (Turbopack)23.449s (+11.5% 🔺)25.768s (+13.5% 🔺)2.319s51.18x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.175s (-6.4% 🟢)1.006s (~)0.831s601.00x
🐘 PostgresNitro0.218s (+3.0%)1.006s (~)0.788s601.25x
🐘 PostgresExpress0.219s (+1.8%)1.006s (~)0.787s601.25x
💻 LocalNitro0.458s (+5.1% 🔺)1.005s (~)0.547s602.62x
💻 LocalExpress0.461s (+1.0%)1.004s (~)0.544s602.64x
💻 LocalNext.js (Turbopack)0.645s (+4.0%)1.022s (+1.7%)0.377s593.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.369s (-16.6% 🟢)2.818s (-17.7% 🟢)1.449s221.00x
▲ VercelNext.js (Turbopack)2.684s (+22.8% 🔺)4.268s (+10.2% 🔺)1.584s151.96x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.282s (+2.2%)1.006s (~)0.724s901.00x
🐘 PostgresExpress0.324s (-2.6%)1.006s (~)0.682s901.15x
🐘 PostgresNitro0.331s (+2.3%)1.006s (-1.1%)0.675s901.17x
💻 LocalExpress2.147s (-0.8%)2.656s (-5.1% 🟢)0.509s347.61x
💻 LocalNitro2.196s (+4.7%)2.822s (+3.1%)0.626s327.78x
💻 LocalNext.js (Turbopack)2.742s (-4.5%)3.330s (-2.5%)0.589s289.72x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.135s (+33.4% 🔺)3.776s (+16.1% 🔺)1.641s241.00x
▲ VercelNext.js (Turbopack)3.554s (+26.0% 🔺)5.447s (+22.9% 🔺)1.892s171.67x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.513s (+1.7%)2.960s (-1.6%)2.447s411.00x
🐘 PostgresNitro0.518s (-1.2%)1.059s (+0.9%)0.540s1141.01x
🐘 PostgresExpress0.522s (-1.9%)1.117s (+4.6%)0.595s1081.02x
💻 LocalExpress9.677s (-3.3%)10.612s (-4.6%)0.936s1218.86x
💻 LocalNext.js (Turbopack)10.022s (-1.4%)11.121s (-3.1%)1.099s1119.53x
💻 LocalNitro10.574s (+8.6% 🔺)11.300s (+4.0%)0.726s1120.61x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.289s (+40.7% 🔺)5.005s (+19.8% 🔺)1.716s241.00x
▲ VercelNext.js (Turbopack)5.023s (+28.9% 🔺)7.149s (+27.2% 🔺)2.126s171.53x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.140s (~)1.967s (~)0.012s (+3.4%)2.019s (~)0.880s101.00x
💻 LocalExpress1.155s (-3.0%)2.004s (~)0.010s (-17.5% 🟢)2.018s (~)0.862s101.01x
🐘 PostgresNitro1.157s (~)1.993s (~)0.001s (-7.1% 🟢)2.010s (~)0.853s101.02x
🐘 PostgresExpress1.157s (-1.4%)1.996s (~)0.001s (-18.8% 🟢)2.011s (~)0.853s101.02x
💻 LocalNitro1.160s (~)2.005s (~)0.013s (+2.4%)2.021s (~)0.861s101.02x
🐘 PostgresNext.js (Turbopack)1.162s (+0.6%)1.999s (~)0.001s (+27.3% 🔺)2.010s (~)0.849s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.666s (+21.8% 🔺)3.761s (+6.8% 🔺)3.437s (+78.0% 🔺)7.767s (+30.0% 🔺)5.101s101.00x
▲ VercelNext.js (Turbopack)4.120s (+16.7% 🔺)4.583s (~)3.109s (+26.8% 🔺)9.281s (+11.5% 🔺)5.161s101.55x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.536s (-2.3%)2.012s (~)0.012s (+5.8% 🔺)2.027s (~)0.491s301.00x
🐘 PostgresNitro1.540s (-0.6%)2.003s (~)0.005s (-2.6%)2.026s (~)0.486s301.00x
🐘 PostgresExpress1.548s (-3.2%)2.006s (~)0.005s (-3.4%)2.028s (~)0.480s301.01x
💻 LocalNext.js (Turbopack)1.578s (~)1.969s (~)0.012s (+10.3% 🔺)2.025s (~)0.446s301.03x
💻 LocalNitro1.580s (~)2.011s (~)0.013s (+2.7%)2.027s (~)0.447s301.03x
🐘 PostgresNext.js (Turbopack)1.600s (~)2.008s (~)0.005s (+2.0%)2.024s (~)0.425s301.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.908s (+22.1% 🔺)8.174s (+10.2% 🔺)0.202s (-52.4% 🟢)8.851s (+5.5% 🔺)1.943s71.00x
▲ VercelNext.js (Turbopack)10.261s (+12.5% 🔺)11.195s (+10.9% 🔺)0.195s (-15.4% 🟢)12.660s (+15.2% 🔺)2.399s51.49x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.769s (-2.2%)1.084s (~)0.000s (~)1.099s (~)0.330s551.00x
🐘 PostgresNitro0.786s (+0.6%)1.081s (-1.8%)0.000s (-1.8%)1.097s (-1.7%)0.310s561.02x
🐘 PostgresNext.js (Turbopack)0.991s (+2.4%)1.408s (+3.9%)0.000s (-48.9% 🟢)1.416s (+3.9%)0.425s441.29x
💻 LocalNitro1.247s (+3.0%)1.949s (-3.2%)0.000s (+38.2% 🔺)1.952s (-3.2%)0.706s311.62x
💻 LocalExpress1.265s (-3.5%)2.013s (~)0.000s (+20.0% 🔺)2.016s (~)0.751s301.65x
💻 LocalNext.js (Turbopack)1.408s (+2.4%)1.980s (~)0.001s (+11.8% 🔺)2.017s (~)0.609s301.83x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.675s (+6.9% 🔺)4.859s (-2.9%)0.000s (NaN%)5.331s (-2.9%)1.655s121.00x
▲ VercelNext.js (Turbopack)5.652s (+26.1% 🔺)6.765s (+24.8% 🔺)0.000s (NaN%)7.641s (+21.4% 🔺)1.989s81.54x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.797s (+7.9% 🔺)2.432s (+7.9% 🔺)0.000s (-100.0% 🟢)2.457s (+8.1% 🔺)0.660s251.00x
🐘 PostgresExpress1.819s (~)2.433s (+1.6%)0.000s (+Infinity% 🔺)2.450s (+1.7%)0.631s251.01x
🐘 PostgresNext.js (Turbopack)2.856s (+3.7%)3.334s (~)0.000s (+100.0% 🔺)3.344s (~)0.487s181.59x
💻 LocalNitro3.620s (-1.2%)4.163s (-1.5%)0.001s (+77.8% 🔺)4.167s (-1.5%)0.547s152.01x
💻 LocalExpress3.661s (+8.9% 🔺)4.228s (+6.6% 🔺)0.001s (-30.7% 🟢)4.231s (+6.6% 🔺)0.570s152.04x
💻 LocalNext.js (Turbopack)3.950s (+7.4% 🔺)4.350s (+5.4% 🔺)0.001s (+99.0% 🔺)4.397s (+5.5% 🔺)0.448s142.20x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.810s (+1.3%)6.930s (-2.0%)0.000s (-55.6% 🟢)7.367s (-3.2%)1.557s91.00x
▲ VercelNext.js (Turbopack)8.841s (+15.7% 🔺)9.410s (+13.2% 🔺)0.000s (NaN%)10.845s (+13.9% 🔺)2.004s61.52x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress13/21
🐘 PostgresNitro11/21
▲ VercelNitro20/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Redis + BullMQ: Community world (local development)
  • 🌐 Cloudflare: Community world (local development)
  • 🌐 MySQL: Community world (local development)
  • 🌐 Azure: Community world (local development)
  • 🌐 NATS JetStream: Community world (local development)
  • 🌐 Upstash: Community world (local development)
  • 🌐 Platformatic: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202301672
✅ 💻 Local Development160502191824
✅ 📦 Local Production160502191824
✅ 🐘 Local Postgres159302311824
✅ 🪟 Windows15200152
✅ 📋 Other88501791064
Total7282010788360

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125027
✅ example125027
✅ express125027
✅ fastify125027
✅ hono125027
✅ nextjs-turbopack14903
✅ nextjs-webpack14903
✅ nitro125027
✅ nuxt125027
✅ sveltekit14408
✅ vite125027
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable126026
✅ express-stable126026
✅ fastify-stable126026
✅ hono-stable126026
✅ nextjs-turbopack-canary132020
✅ nextjs-turbopack-stable15101
✅ nextjs-webpack-canary132020
✅ nextjs-webpack-stable15101
✅ nitro-stable126026
✅ nuxt-stable126026
✅ sveltekit-stable14507
✅ vite-stable126026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15200
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable127025
✅ e2e-local-dev-tanstack-start-127025
✅ e2e-local-postgres-nest-stable126026
✅ e2e-local-postgres-tanstack-start-126026
✅ e2e-local-prod-nest-stable127025
✅ e2e-local-prod-tanstack-start-127025
✅ e2e-vercel-prod-tanstack-start125027

📋 View full workflow run

@VaguelySerious
VaguelySerious enabled auto-merge (squash) June 26, 2026 20:25
@VaguelySerious
VaguelySerious merged commit d4e6c5b into mainJun 26, 2026
177 of 183 checks passed
@VaguelySerious
VaguelySerious deleted the peter/world-local-recovery-untagged-filter branch June 26, 2026 20:37
github-actionsBot added a commit that referenced this pull request Jun 26, 2026
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2668. (backport job run)

VaguelySerious added a commit that referenced this pull request Jun 26, 2026
#2668)
Co-authored-by: Peter Wielander <mittgfu@gmail.com>
This was referenced Jun 26, 2026
pranaygp added a commit that referenced this pull request Jun 26, 2026
…edrive
* origin/main: (90 commits)
[ai] Fix "missing text part" stream crash by repairing UI message framing (#2537)
[ci] Fix release "Premature close" by bounding changelog GraphQL batch size (#2669)
[ai] Drop orphan UI chunks after negative-index reconnect (#2082)
Fix trace detail panel Input/Output flicker (selection-driven state machine) (#2637)
[world-local] Scope untagged startup recovery to untagged runs (#2667)
fix(world-postgres): defer loopback worker startup (#2657)
docs: deprecate DurableAgent and WorkflowChatTransport, point to AI SDK WorkflowAgent (#2616)
[web] Fix HTTP/2 in bundled server build so observability reads work (#2632)
[core] Fix turbo-mode step-body writes racing run_started (#2629)
fix(world-postgres): rename setup command (#2644)
chore: ignore workflow swc caches (#2640)
fix(ai): ignore intentional stream aborts (#2635)
fix(nitro): reload steps during Vite HMR (#2572)
[world] Make @workflow/world own its Zod dependency (#2622)
feat(web-shared): extend cn with custom tailwind-merge class groups (#2619)
[world-vercel] Enable HTTP/2 for the events API and stream writes (#2573)
Remove shadow from off-screen marker indicator button (#2614)
Fix discovery of dotted JS workflow imports (#2594)
Version Packages (beta) (#2597)
Thread occurredAt into web-shared entities (#2608)
...
# Conflicts:
#	packages/core/src/runtime/step-executor.ts
#	packages/world-vercel/src/http-client.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.

2 participants

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

[world-local] Scope untagged startup recovery to untagged runs - #2667

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/world-local-recovery-untagged-filter
Jun 26, 2026
Merged

[world-local] Scope untagged startup recovery to untagged runs#2667
VaguelySerious merged 1 commit into
mainfrom
peter/world-local-recovery-untagged-filter

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Problem

Using Workflow SDK locally with world-local, users can hit a startup error storm:

[workflow-sdk] Fatal runtime error during workflow setup
code RUNTIME_ERROR
error Event creation for 'run_started' did not return the run entity for run "wrun_…"
POST /.well-known/workflow/v1/flow 500

Root cause

createLocalWorld defaults recoverActiveRuns: true, so world.start() (on every dev-server boot) calls reenqueueActiveRuns, which lists active runs and re-enqueues them with no runInput.

runs.list enumerates every*.json file in the runs directory and keys each by the runIdinside the file — including tag-suffixed files like wrun_X.vitest-0.json. But reads go through readJSONWithFallback, which only resolves {id}.{tag}.json (own tag) then untagged {id}.json.

So an untagged world (a normal pnpm dev) sharing the default .workflow-data directory with the vitest harness — which writes tagged files there "so runs are visible to the observability dashboard" — recovers leftover tagged runs it cannot read back. Since the re-enqueued message carries no runInput, the resilient-start path can't recreate the run either, and run_started returns no run entity → RUNTIME_ERROR 500, retried until the message exhausts its deliveries (hence "multiple times").

Tagged worlds already guarded against this with fileIdFilter: (fileId) => hasTag(fileId, tag). The untagged path had no symmetric guard.

Fix

Give the untagged recovery path the symmetric filter via a new isUntagged predicate, so each world only recovers files it can actually read back:

  • tagged world → recover only its own tag (unchanged)
  • untagged world → recover only untagged files (new)

Test

Added untagged recovery skips tagged runs sharing the data dir to reenqueue.test.ts: a tagged (vitest-style) active run + an untagged active run share a data dir; an untagged dev boot must recover only the untagged run. Verified the test fails on the old code (the tagged run gets re-enqueued) and passes with the fix. Full @workflow/world-local suite (412 tests) passes.

An untagged world (a normal local dev server) shares the default
`.workflow-data` directory with the vitest harness, which writes
tag-suffixed files (`{id}.{tag}.json`). On startup, `reenqueueActiveRuns`
lists active runs and re-enqueues them; `runs.list` enumerates every file
in the directory and keys each by the `runId` inside it, so an untagged
recovery would pick up tagged runs left behind by tests. Those re-enqueued
messages carry no `runInput`, and `readJSONWithFallback` can only resolve
untagged (or own-tag) files, so `run_started` returns no run entity and the
runtime fails with "did not return the run entity" — a 500 storm on the
flow route until the message exhausts its deliveries.
Tagged worlds already scoped recovery via `fileIdFilter: hasTag(...)`; give
the untagged path the symmetric guard with a new `isUntagged` predicate so
each world only recovers files it can actually read back.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersJune 26, 2026 19:59
@vercel

vercelBot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 41ca2ca

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

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

@github-actions

github-actionsBot commented Jun 26, 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.047s (~)1.006s (~)0.959s101.00x
💻 LocalNitro0.049s (+4.7%)1.007s (~)0.958s101.05x
💻 LocalNext.js (Turbopack)0.051s (-4.5%)1.007s (~)0.956s101.08x
🐘 PostgresNext.js (Turbopack)0.062s (+7.1% 🔺)1.013s (~)0.951s101.32x
🐘 PostgresNitro0.063s (-4.8%)1.012s (~)0.949s101.35x
🐘 PostgresExpress0.071s (+4.7%)1.013s (~)0.942s101.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.229s (-12.1% 🟢)1.758s (-24.1% 🟢)1.529s101.00x
▲ VercelNext.js (Turbopack)0.739s (-8.7% 🟢)2.837s (+18.1% 🔺)2.098s103.23x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.085s (~)2.007s (~)0.923s101.00x
💻 LocalExpress1.087s (~)2.007s (~)0.920s101.00x
💻 LocalNext.js (Turbopack)1.088s (~)2.007s (~)0.919s101.00x
🐘 PostgresNitro1.093s (-0.6%)2.010s (~)0.917s101.01x
🐘 PostgresExpress1.099s (~)2.009s (~)0.910s101.01x
🐘 PostgresNext.js (Turbopack)1.103s (+0.9%)2.010s (~)0.907s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.621s (+13.8% 🔺)3.682s (+20.7% 🔺)2.061s101.00x
▲ VercelNext.js (Turbopack)1.725s (-22.7% 🟢)3.861s (+1.4%)2.136s101.06x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.449s (~)11.022s (~)0.573s31.00x
💻 LocalNitro10.464s (~)11.023s (~)0.558s31.00x
💻 LocalExpress10.465s (~)11.023s (~)0.557s31.00x
🐘 PostgresExpress10.472s (~)11.017s (~)0.545s31.00x
🐘 PostgresNitro10.476s (~)11.018s (~)0.541s31.00x
🐘 PostgresNext.js (Turbopack)10.557s (+0.6%)11.038s (~)0.481s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro12.405s (+6.1% 🔺)14.164s (+2.2%)1.758s31.00x
▲ VercelNext.js (Turbopack)13.399s (+7.5% 🔺)15.865s (+10.1% 🔺)2.466s21.08x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.542s (-0.9%)14.027s (~)0.485s51.00x
🐘 PostgresNitro13.576s (-0.7%)14.022s (~)0.446s51.00x
💻 LocalNext.js (Turbopack)13.608s (~)14.027s (~)0.419s51.00x
🐘 PostgresExpress13.630s (-1.1%)14.021s (~)0.391s51.01x
💻 LocalNitro13.672s (~)14.026s (~)0.354s51.01x
🐘 PostgresNext.js (Turbopack)13.769s (~)14.023s (~)0.253s51.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)20.761s (+13.2% 🔺)22.832s (+12.7% 🔺)2.071s31.00x
▲ VercelNitro21.788s (+32.3% 🔺)24.197s (+29.4% 🔺)2.409s31.05x
▲ VercelExpress⚠️missing----

🔍 Observability: Next.js (Turbopack) | Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.056s (-2.4%)12.524s (-3.9%)0.469s81.00x
🐘 PostgresExpress12.138s (-1.0%)13.019s (~)0.881s71.01x
🐘 PostgresNitro12.190s (-0.6%)13.019s (~)0.829s71.01x
💻 LocalNext.js (Turbopack)12.206s (-0.7%)13.025s (~)0.819s71.01x
💻 LocalNitro12.220s (-0.9%)13.026s (~)0.806s71.01x
🐘 PostgresNext.js (Turbopack)12.692s (+3.7%)13.161s (+1.1%)0.469s71.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro25.264s (+38.3% 🔺)27.542s (+34.8% 🔺)2.278s41.00x
▲ VercelNext.js (Turbopack)27.572s (+29.9% 🔺)30.072s (+30.5% 🔺)2.500s41.09x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.181s (~)2.007s (~)0.827s151.00x
🐘 PostgresExpress1.190s (+0.7%)2.008s (~)0.819s151.01x
🐘 PostgresNext.js (Turbopack)1.196s (+1.4%)2.008s (~)0.811s151.01x
💻 LocalExpress1.387s (-14.1% 🟢)2.006s (-6.7% 🟢)0.620s151.17x
💻 LocalNext.js (Turbopack)1.402s (-8.2% 🟢)2.007s (-3.2%)0.605s151.19x
💻 LocalNitro1.444s (+2.4%)2.007s (~)0.563s151.22x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.558s (+22.5% 🔺)3.960s (+1.1%)1.402s81.00x
▲ VercelNext.js (Turbopack)4.137s (+16.3% 🔺)6.110s (+23.2% 🔺)1.973s61.62x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.313s (-1.0%)3.010s (~)1.697s101.00x
🐘 PostgresNitro1.346s (+1.9%)2.591s (-3.1%)1.245s121.02x
🐘 PostgresExpress1.372s (+3.3%)2.470s (-4.7%)1.098s131.04x
💻 LocalNext.js (Turbopack)2.266s (-17.1% 🟢)3.011s (~)0.745s101.73x
💻 LocalExpress2.419s (+1.8%)2.917s (-3.1%)0.498s111.84x
💻 LocalNitro2.563s (+3.2%)3.109s (~)0.546s101.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.572s (+29.5% 🔺)5.438s (+23.7% 🔺)1.866s61.00x
▲ VercelNext.js (Turbopack)5.240s (-17.6% 🟢)7.437s (-8.3% 🟢)2.197s51.47x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.614s (+1.9%)4.136s (~)2.522s81.00x
🐘 PostgresExpress1.617s (~)4.137s (~)2.520s81.00x
🐘 PostgresNext.js (Turbopack)2.932s (+8.5% 🔺)5.848s (+2.9%)2.916s61.82x
💻 LocalExpress5.329s (-14.2% 🟢)6.216s (-8.8% 🟢)0.887s53.30x
💻 LocalNitro6.257s (-8.1% 🟢)6.817s (-8.1% 🟢)0.561s53.88x
💻 LocalNext.js (Turbopack)6.680s (-13.1% 🟢)7.418s (-12.9% 🟢)0.738s54.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.016s (+24.7% 🔺)5.690s (+10.7% 🔺)1.674s61.00x
▲ VercelNext.js (Turbopack)5.310s (+6.9% 🔺)7.534s (+8.4% 🔺)2.224s41.32x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.182s (-0.8%)2.007s (~)0.826s151.00x
🐘 PostgresNitro1.193s (~)2.007s (~)0.814s151.01x
🐘 PostgresNext.js (Turbopack)1.197s (+1.3%)2.007s (~)0.810s151.01x
💻 LocalExpress1.394s (-1.4%)2.007s (~)0.613s151.18x
💻 LocalNitro1.436s (-3.1%)2.007s (~)0.570s151.22x
💻 LocalNext.js (Turbopack)1.477s (~)2.008s (~)0.531s151.25x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.681s (+23.7% 🔺)4.379s (+5.1% 🔺)1.697s71.00x
▲ VercelNext.js (Turbopack)3.853s (+13.0% 🔺)5.573s (+4.3%)1.720s61.44x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.317s (+1.7%)2.393s (+7.7% 🔺)1.076s131.00x
🐘 PostgresExpress1.322s (-0.6%)2.392s (+3.3%)1.071s131.00x
🐘 PostgresNext.js (Turbopack)1.333s (+1.8%)2.676s (-8.3% 🟢)1.342s121.01x
💻 LocalExpress2.425s (-8.2% 🟢)2.917s (-6.2% 🟢)0.492s111.84x
💻 LocalNitro2.583s (+9.4% 🔺)3.011s (~)0.428s101.96x
💻 LocalNext.js (Turbopack)2.946s (+15.8% 🔺)3.762s (+25.0% 🔺)0.816s82.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.120s (+33.6% 🔺)4.768s (+18.6% 🔺)1.648s71.00x
▲ VercelNext.js (Turbopack)4.191s (+11.3% 🔺)5.775s (+11.1% 🔺)1.584s61.34x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.613s (-5.9% 🟢)4.136s (-3.0%)2.523s81.00x
🐘 PostgresNitro1.629s (+0.6%)4.135s (+3.1%)2.506s81.01x
🐘 PostgresNext.js (Turbopack)2.957s (+2.9%)6.217s (+3.4%)3.260s51.83x
💻 LocalNext.js (Turbopack)5.429s (-21.3% 🟢)6.016s (-21.0% 🟢)0.587s63.37x
💻 LocalExpress6.062s (-14.0% 🟢)6.815s (-12.2% 🟢)0.754s53.76x
💻 LocalNitro6.912s (-1.9%)7.517s (~)0.605s44.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.812s (+2.2%)5.550s (-3.7%)1.739s61.00x
▲ VercelNext.js (Turbopack)5.652s (+28.3% 🔺)7.712s (+28.5% 🔺)2.060s41.48x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.558s (+5.3% 🔺)1.024s (+1.8%)0.465s591.00x
🐘 PostgresNext.js (Turbopack)0.570s (+4.4%)1.007s (~)0.436s601.02x
💻 LocalExpress0.583s (-2.9%)1.022s (+1.7%)0.438s591.04x
💻 LocalNitro0.587s (-0.8%)1.005s (-1.7%)0.419s601.05x
🐘 PostgresExpress0.597s (~)1.041s (+1.7%)0.444s581.07x
💻 LocalNext.js (Turbopack)0.611s (~)1.005s (~)0.394s601.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.840s (+39.1% 🔺)5.432s (+21.0% 🔺)1.592s121.00x
▲ VercelNext.js (Turbopack)4.679s (+10.6% 🔺)6.471s (+8.3% 🔺)1.792s101.22x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.300s (~)2.007s (~)0.707s451.00x
🐘 PostgresNext.js (Turbopack)1.322s (+3.0%)2.007s (~)0.685s451.02x
🐘 PostgresExpress1.330s (+0.7%)2.029s (+1.1%)0.699s451.02x
💻 LocalExpress1.430s (-3.6%)2.006s (~)0.575s451.10x
💻 LocalNitro1.494s (+3.0%)2.006s (~)0.512s451.15x
💻 LocalNext.js (Turbopack)1.525s (-1.0%)2.006s (-1.1%)0.482s451.17x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro10.526s (+62.5% 🔺)12.055s (+47.0% 🔺)1.529s81.00x
▲ VercelNext.js (Turbopack)12.867s (+32.8% 🔺)14.908s (+30.4% 🔺)2.041s71.22x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.529s (-1.7%)3.034s (-2.5%)0.504s401.00x
🐘 PostgresExpress2.628s (-2.8%)3.083s (-0.9%)0.455s401.04x
🐘 PostgresNext.js (Turbopack)2.662s (~)3.009s (-1.6%)0.347s401.05x
💻 LocalExpress3.125s (-4.9%)3.822s (-5.5% 🟢)0.697s321.24x
💻 LocalNitro3.263s (+4.2%)4.009s (+1.6%)0.747s301.29x
💻 LocalNext.js (Turbopack)3.306s (~)4.010s (~)0.704s301.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro19.917s (+35.6% 🔺)21.803s (+30.5% 🔺)1.887s61.00x
▲ VercelNext.js (Turbopack)23.449s (+11.5% 🔺)25.768s (+13.5% 🔺)2.319s51.18x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.175s (-6.4% 🟢)1.006s (~)0.831s601.00x
🐘 PostgresNitro0.218s (+3.0%)1.006s (~)0.788s601.25x
🐘 PostgresExpress0.219s (+1.8%)1.006s (~)0.787s601.25x
💻 LocalNitro0.458s (+5.1% 🔺)1.005s (~)0.547s602.62x
💻 LocalExpress0.461s (+1.0%)1.004s (~)0.544s602.64x
💻 LocalNext.js (Turbopack)0.645s (+4.0%)1.022s (+1.7%)0.377s593.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.369s (-16.6% 🟢)2.818s (-17.7% 🟢)1.449s221.00x
▲ VercelNext.js (Turbopack)2.684s (+22.8% 🔺)4.268s (+10.2% 🔺)1.584s151.96x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.282s (+2.2%)1.006s (~)0.724s901.00x
🐘 PostgresExpress0.324s (-2.6%)1.006s (~)0.682s901.15x
🐘 PostgresNitro0.331s (+2.3%)1.006s (-1.1%)0.675s901.17x
💻 LocalExpress2.147s (-0.8%)2.656s (-5.1% 🟢)0.509s347.61x
💻 LocalNitro2.196s (+4.7%)2.822s (+3.1%)0.626s327.78x
💻 LocalNext.js (Turbopack)2.742s (-4.5%)3.330s (-2.5%)0.589s289.72x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.135s (+33.4% 🔺)3.776s (+16.1% 🔺)1.641s241.00x
▲ VercelNext.js (Turbopack)3.554s (+26.0% 🔺)5.447s (+22.9% 🔺)1.892s171.67x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.513s (+1.7%)2.960s (-1.6%)2.447s411.00x
🐘 PostgresNitro0.518s (-1.2%)1.059s (+0.9%)0.540s1141.01x
🐘 PostgresExpress0.522s (-1.9%)1.117s (+4.6%)0.595s1081.02x
💻 LocalExpress9.677s (-3.3%)10.612s (-4.6%)0.936s1218.86x
💻 LocalNext.js (Turbopack)10.022s (-1.4%)11.121s (-3.1%)1.099s1119.53x
💻 LocalNitro10.574s (+8.6% 🔺)11.300s (+4.0%)0.726s1120.61x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.289s (+40.7% 🔺)5.005s (+19.8% 🔺)1.716s241.00x
▲ VercelNext.js (Turbopack)5.023s (+28.9% 🔺)7.149s (+27.2% 🔺)2.126s171.53x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.140s (~)1.967s (~)0.012s (+3.4%)2.019s (~)0.880s101.00x
💻 LocalExpress1.155s (-3.0%)2.004s (~)0.010s (-17.5% 🟢)2.018s (~)0.862s101.01x
🐘 PostgresNitro1.157s (~)1.993s (~)0.001s (-7.1% 🟢)2.010s (~)0.853s101.02x
🐘 PostgresExpress1.157s (-1.4%)1.996s (~)0.001s (-18.8% 🟢)2.011s (~)0.853s101.02x
💻 LocalNitro1.160s (~)2.005s (~)0.013s (+2.4%)2.021s (~)0.861s101.02x
🐘 PostgresNext.js (Turbopack)1.162s (+0.6%)1.999s (~)0.001s (+27.3% 🔺)2.010s (~)0.849s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.666s (+21.8% 🔺)3.761s (+6.8% 🔺)3.437s (+78.0% 🔺)7.767s (+30.0% 🔺)5.101s101.00x
▲ VercelNext.js (Turbopack)4.120s (+16.7% 🔺)4.583s (~)3.109s (+26.8% 🔺)9.281s (+11.5% 🔺)5.161s101.55x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.536s (-2.3%)2.012s (~)0.012s (+5.8% 🔺)2.027s (~)0.491s301.00x
🐘 PostgresNitro1.540s (-0.6%)2.003s (~)0.005s (-2.6%)2.026s (~)0.486s301.00x
🐘 PostgresExpress1.548s (-3.2%)2.006s (~)0.005s (-3.4%)2.028s (~)0.480s301.01x
💻 LocalNext.js (Turbopack)1.578s (~)1.969s (~)0.012s (+10.3% 🔺)2.025s (~)0.446s301.03x
💻 LocalNitro1.580s (~)2.011s (~)0.013s (+2.7%)2.027s (~)0.447s301.03x
🐘 PostgresNext.js (Turbopack)1.600s (~)2.008s (~)0.005s (+2.0%)2.024s (~)0.425s301.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.908s (+22.1% 🔺)8.174s (+10.2% 🔺)0.202s (-52.4% 🟢)8.851s (+5.5% 🔺)1.943s71.00x
▲ VercelNext.js (Turbopack)10.261s (+12.5% 🔺)11.195s (+10.9% 🔺)0.195s (-15.4% 🟢)12.660s (+15.2% 🔺)2.399s51.49x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.769s (-2.2%)1.084s (~)0.000s (~)1.099s (~)0.330s551.00x
🐘 PostgresNitro0.786s (+0.6%)1.081s (-1.8%)0.000s (-1.8%)1.097s (-1.7%)0.310s561.02x
🐘 PostgresNext.js (Turbopack)0.991s (+2.4%)1.408s (+3.9%)0.000s (-48.9% 🟢)1.416s (+3.9%)0.425s441.29x
💻 LocalNitro1.247s (+3.0%)1.949s (-3.2%)0.000s (+38.2% 🔺)1.952s (-3.2%)0.706s311.62x
💻 LocalExpress1.265s (-3.5%)2.013s (~)0.000s (+20.0% 🔺)2.016s (~)0.751s301.65x
💻 LocalNext.js (Turbopack)1.408s (+2.4%)1.980s (~)0.001s (+11.8% 🔺)2.017s (~)0.609s301.83x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.675s (+6.9% 🔺)4.859s (-2.9%)0.000s (NaN%)5.331s (-2.9%)1.655s121.00x
▲ VercelNext.js (Turbopack)5.652s (+26.1% 🔺)6.765s (+24.8% 🔺)0.000s (NaN%)7.641s (+21.4% 🔺)1.989s81.54x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.797s (+7.9% 🔺)2.432s (+7.9% 🔺)0.000s (-100.0% 🟢)2.457s (+8.1% 🔺)0.660s251.00x
🐘 PostgresExpress1.819s (~)2.433s (+1.6%)0.000s (+Infinity% 🔺)2.450s (+1.7%)0.631s251.01x
🐘 PostgresNext.js (Turbopack)2.856s (+3.7%)3.334s (~)0.000s (+100.0% 🔺)3.344s (~)0.487s181.59x
💻 LocalNitro3.620s (-1.2%)4.163s (-1.5%)0.001s (+77.8% 🔺)4.167s (-1.5%)0.547s152.01x
💻 LocalExpress3.661s (+8.9% 🔺)4.228s (+6.6% 🔺)0.001s (-30.7% 🟢)4.231s (+6.6% 🔺)0.570s152.04x
💻 LocalNext.js (Turbopack)3.950s (+7.4% 🔺)4.350s (+5.4% 🔺)0.001s (+99.0% 🔺)4.397s (+5.5% 🔺)0.448s142.20x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.810s (+1.3%)6.930s (-2.0%)0.000s (-55.6% 🟢)7.367s (-3.2%)1.557s91.00x
▲ VercelNext.js (Turbopack)8.841s (+15.7% 🔺)9.410s (+13.2% 🔺)0.000s (NaN%)10.845s (+13.9% 🔺)2.004s61.52x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress13/21
🐘 PostgresNitro11/21
▲ VercelNitro20/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Redis + BullMQ: Community world (local development)
  • 🌐 Cloudflare: Community world (local development)
  • 🌐 MySQL: Community world (local development)
  • 🌐 Azure: Community world (local development)
  • 🌐 NATS JetStream: Community world (local development)
  • 🌐 Upstash: Community world (local development)
  • 🌐 Platformatic: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202301672
✅ 💻 Local Development160502191824
✅ 📦 Local Production160502191824
✅ 🐘 Local Postgres159302311824
✅ 🪟 Windows15200152
✅ 📋 Other88501791064
Total7282010788360

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125027
✅ example125027
✅ express125027
✅ fastify125027
✅ hono125027
✅ nextjs-turbopack14903
✅ nextjs-webpack14903
✅ nitro125027
✅ nuxt125027
✅ sveltekit14408
✅ vite125027
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable126026
✅ express-stable126026
✅ fastify-stable126026
✅ hono-stable126026
✅ nextjs-turbopack-canary132020
✅ nextjs-turbopack-stable15101
✅ nextjs-webpack-canary132020
✅ nextjs-webpack-stable15101
✅ nitro-stable126026
✅ nuxt-stable126026
✅ sveltekit-stable14507
✅ vite-stable126026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15200
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable127025
✅ e2e-local-dev-tanstack-start-127025
✅ e2e-local-postgres-nest-stable126026
✅ e2e-local-postgres-tanstack-start-126026
✅ e2e-local-prod-nest-stable127025
✅ e2e-local-prod-tanstack-start-127025
✅ e2e-vercel-prod-tanstack-start125027

📋 View full workflow run

@VaguelySerious
VaguelySerious enabled auto-merge (squash) June 26, 2026 20:25
@VaguelySerious
VaguelySerious merged commit d4e6c5b into mainJun 26, 2026
177 of 183 checks passed
@VaguelySerious
VaguelySerious deleted the peter/world-local-recovery-untagged-filter branch June 26, 2026 20:37
github-actionsBot added a commit that referenced this pull request Jun 26, 2026
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2668. (backport job run)

VaguelySerious added a commit that referenced this pull request Jun 26, 2026
#2668)
Co-authored-by: Peter Wielander <mittgfu@gmail.com>
This was referenced Jun 26, 2026
pranaygp added a commit that referenced this pull request Jun 26, 2026
…edrive
* origin/main: (90 commits)
[ai] Fix "missing text part" stream crash by repairing UI message framing (#2537)
[ci] Fix release "Premature close" by bounding changelog GraphQL batch size (#2669)
[ai] Drop orphan UI chunks after negative-index reconnect (#2082)
Fix trace detail panel Input/Output flicker (selection-driven state machine) (#2637)
[world-local] Scope untagged startup recovery to untagged runs (#2667)
fix(world-postgres): defer loopback worker startup (#2657)
docs: deprecate DurableAgent and WorkflowChatTransport, point to AI SDK WorkflowAgent (#2616)
[web] Fix HTTP/2 in bundled server build so observability reads work (#2632)
[core] Fix turbo-mode step-body writes racing run_started (#2629)
fix(world-postgres): rename setup command (#2644)
chore: ignore workflow swc caches (#2640)
fix(ai): ignore intentional stream aborts (#2635)
fix(nitro): reload steps during Vite HMR (#2572)
[world] Make @workflow/world own its Zod dependency (#2622)
feat(web-shared): extend cn with custom tailwind-merge class groups (#2619)
[world-vercel] Enable HTTP/2 for the events API and stream writes (#2573)
Remove shadow from off-screen marker indicator button (#2614)
Fix discovery of dotted JS workflow imports (#2594)
Version Packages (beta) (#2597)
Thread occurredAt into web-shared entities (#2608)
...
# Conflicts:
#	packages/core/src/runtime/step-executor.ts
#	packages/world-vercel/src/http-client.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.

2 participants

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

[world-local] Scope untagged startup recovery to untagged runs - #2667

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/world-local-recovery-untagged-filter
Jun 26, 2026
Merged

[world-local] Scope untagged startup recovery to untagged runs#2667
VaguelySerious merged 1 commit into
mainfrom
peter/world-local-recovery-untagged-filter

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Problem

Using Workflow SDK locally with world-local, users can hit a startup error storm:

[workflow-sdk] Fatal runtime error during workflow setup
code RUNTIME_ERROR
error Event creation for 'run_started' did not return the run entity for run "wrun_…"
POST /.well-known/workflow/v1/flow 500

Root cause

createLocalWorld defaults recoverActiveRuns: true, so world.start() (on every dev-server boot) calls reenqueueActiveRuns, which lists active runs and re-enqueues them with no runInput.

runs.list enumerates every*.json file in the runs directory and keys each by the runIdinside the file — including tag-suffixed files like wrun_X.vitest-0.json. But reads go through readJSONWithFallback, which only resolves {id}.{tag}.json (own tag) then untagged {id}.json.

So an untagged world (a normal pnpm dev) sharing the default .workflow-data directory with the vitest harness — which writes tagged files there "so runs are visible to the observability dashboard" — recovers leftover tagged runs it cannot read back. Since the re-enqueued message carries no runInput, the resilient-start path can't recreate the run either, and run_started returns no run entity → RUNTIME_ERROR 500, retried until the message exhausts its deliveries (hence "multiple times").

Tagged worlds already guarded against this with fileIdFilter: (fileId) => hasTag(fileId, tag). The untagged path had no symmetric guard.

Fix

Give the untagged recovery path the symmetric filter via a new isUntagged predicate, so each world only recovers files it can actually read back:

  • tagged world → recover only its own tag (unchanged)
  • untagged world → recover only untagged files (new)

Test

Added untagged recovery skips tagged runs sharing the data dir to reenqueue.test.ts: a tagged (vitest-style) active run + an untagged active run share a data dir; an untagged dev boot must recover only the untagged run. Verified the test fails on the old code (the tagged run gets re-enqueued) and passes with the fix. Full @workflow/world-local suite (412 tests) passes.

An untagged world (a normal local dev server) shares the default
`.workflow-data` directory with the vitest harness, which writes
tag-suffixed files (`{id}.{tag}.json`). On startup, `reenqueueActiveRuns`
lists active runs and re-enqueues them; `runs.list` enumerates every file
in the directory and keys each by the `runId` inside it, so an untagged
recovery would pick up tagged runs left behind by tests. Those re-enqueued
messages carry no `runInput`, and `readJSONWithFallback` can only resolve
untagged (or own-tag) files, so `run_started` returns no run entity and the
runtime fails with "did not return the run entity" — a 500 storm on the
flow route until the message exhausts its deliveries.
Tagged worlds already scoped recovery via `fileIdFilter: hasTag(...)`; give
the untagged path the symmetric guard with a new `isUntagged` predicate so
each world only recovers files it can actually read back.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersJune 26, 2026 19:59
@vercel

vercelBot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 41ca2ca

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

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

@github-actions

github-actionsBot commented Jun 26, 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.047s (~)1.006s (~)0.959s101.00x
💻 LocalNitro0.049s (+4.7%)1.007s (~)0.958s101.05x
💻 LocalNext.js (Turbopack)0.051s (-4.5%)1.007s (~)0.956s101.08x
🐘 PostgresNext.js (Turbopack)0.062s (+7.1% 🔺)1.013s (~)0.951s101.32x
🐘 PostgresNitro0.063s (-4.8%)1.012s (~)0.949s101.35x
🐘 PostgresExpress0.071s (+4.7%)1.013s (~)0.942s101.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.229s (-12.1% 🟢)1.758s (-24.1% 🟢)1.529s101.00x
▲ VercelNext.js (Turbopack)0.739s (-8.7% 🟢)2.837s (+18.1% 🔺)2.098s103.23x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.085s (~)2.007s (~)0.923s101.00x
💻 LocalExpress1.087s (~)2.007s (~)0.920s101.00x
💻 LocalNext.js (Turbopack)1.088s (~)2.007s (~)0.919s101.00x
🐘 PostgresNitro1.093s (-0.6%)2.010s (~)0.917s101.01x
🐘 PostgresExpress1.099s (~)2.009s (~)0.910s101.01x
🐘 PostgresNext.js (Turbopack)1.103s (+0.9%)2.010s (~)0.907s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.621s (+13.8% 🔺)3.682s (+20.7% 🔺)2.061s101.00x
▲ VercelNext.js (Turbopack)1.725s (-22.7% 🟢)3.861s (+1.4%)2.136s101.06x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.449s (~)11.022s (~)0.573s31.00x
💻 LocalNitro10.464s (~)11.023s (~)0.558s31.00x
💻 LocalExpress10.465s (~)11.023s (~)0.557s31.00x
🐘 PostgresExpress10.472s (~)11.017s (~)0.545s31.00x
🐘 PostgresNitro10.476s (~)11.018s (~)0.541s31.00x
🐘 PostgresNext.js (Turbopack)10.557s (+0.6%)11.038s (~)0.481s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro12.405s (+6.1% 🔺)14.164s (+2.2%)1.758s31.00x
▲ VercelNext.js (Turbopack)13.399s (+7.5% 🔺)15.865s (+10.1% 🔺)2.466s21.08x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.542s (-0.9%)14.027s (~)0.485s51.00x
🐘 PostgresNitro13.576s (-0.7%)14.022s (~)0.446s51.00x
💻 LocalNext.js (Turbopack)13.608s (~)14.027s (~)0.419s51.00x
🐘 PostgresExpress13.630s (-1.1%)14.021s (~)0.391s51.01x
💻 LocalNitro13.672s (~)14.026s (~)0.354s51.01x
🐘 PostgresNext.js (Turbopack)13.769s (~)14.023s (~)0.253s51.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)20.761s (+13.2% 🔺)22.832s (+12.7% 🔺)2.071s31.00x
▲ VercelNitro21.788s (+32.3% 🔺)24.197s (+29.4% 🔺)2.409s31.05x
▲ VercelExpress⚠️missing----

🔍 Observability: Next.js (Turbopack) | Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.056s (-2.4%)12.524s (-3.9%)0.469s81.00x
🐘 PostgresExpress12.138s (-1.0%)13.019s (~)0.881s71.01x
🐘 PostgresNitro12.190s (-0.6%)13.019s (~)0.829s71.01x
💻 LocalNext.js (Turbopack)12.206s (-0.7%)13.025s (~)0.819s71.01x
💻 LocalNitro12.220s (-0.9%)13.026s (~)0.806s71.01x
🐘 PostgresNext.js (Turbopack)12.692s (+3.7%)13.161s (+1.1%)0.469s71.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro25.264s (+38.3% 🔺)27.542s (+34.8% 🔺)2.278s41.00x
▲ VercelNext.js (Turbopack)27.572s (+29.9% 🔺)30.072s (+30.5% 🔺)2.500s41.09x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.181s (~)2.007s (~)0.827s151.00x
🐘 PostgresExpress1.190s (+0.7%)2.008s (~)0.819s151.01x
🐘 PostgresNext.js (Turbopack)1.196s (+1.4%)2.008s (~)0.811s151.01x
💻 LocalExpress1.387s (-14.1% 🟢)2.006s (-6.7% 🟢)0.620s151.17x
💻 LocalNext.js (Turbopack)1.402s (-8.2% 🟢)2.007s (-3.2%)0.605s151.19x
💻 LocalNitro1.444s (+2.4%)2.007s (~)0.563s151.22x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.558s (+22.5% 🔺)3.960s (+1.1%)1.402s81.00x
▲ VercelNext.js (Turbopack)4.137s (+16.3% 🔺)6.110s (+23.2% 🔺)1.973s61.62x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.313s (-1.0%)3.010s (~)1.697s101.00x
🐘 PostgresNitro1.346s (+1.9%)2.591s (-3.1%)1.245s121.02x
🐘 PostgresExpress1.372s (+3.3%)2.470s (-4.7%)1.098s131.04x
💻 LocalNext.js (Turbopack)2.266s (-17.1% 🟢)3.011s (~)0.745s101.73x
💻 LocalExpress2.419s (+1.8%)2.917s (-3.1%)0.498s111.84x
💻 LocalNitro2.563s (+3.2%)3.109s (~)0.546s101.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.572s (+29.5% 🔺)5.438s (+23.7% 🔺)1.866s61.00x
▲ VercelNext.js (Turbopack)5.240s (-17.6% 🟢)7.437s (-8.3% 🟢)2.197s51.47x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.614s (+1.9%)4.136s (~)2.522s81.00x
🐘 PostgresExpress1.617s (~)4.137s (~)2.520s81.00x
🐘 PostgresNext.js (Turbopack)2.932s (+8.5% 🔺)5.848s (+2.9%)2.916s61.82x
💻 LocalExpress5.329s (-14.2% 🟢)6.216s (-8.8% 🟢)0.887s53.30x
💻 LocalNitro6.257s (-8.1% 🟢)6.817s (-8.1% 🟢)0.561s53.88x
💻 LocalNext.js (Turbopack)6.680s (-13.1% 🟢)7.418s (-12.9% 🟢)0.738s54.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.016s (+24.7% 🔺)5.690s (+10.7% 🔺)1.674s61.00x
▲ VercelNext.js (Turbopack)5.310s (+6.9% 🔺)7.534s (+8.4% 🔺)2.224s41.32x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.182s (-0.8%)2.007s (~)0.826s151.00x
🐘 PostgresNitro1.193s (~)2.007s (~)0.814s151.01x
🐘 PostgresNext.js (Turbopack)1.197s (+1.3%)2.007s (~)0.810s151.01x
💻 LocalExpress1.394s (-1.4%)2.007s (~)0.613s151.18x
💻 LocalNitro1.436s (-3.1%)2.007s (~)0.570s151.22x
💻 LocalNext.js (Turbopack)1.477s (~)2.008s (~)0.531s151.25x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.681s (+23.7% 🔺)4.379s (+5.1% 🔺)1.697s71.00x
▲ VercelNext.js (Turbopack)3.853s (+13.0% 🔺)5.573s (+4.3%)1.720s61.44x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.317s (+1.7%)2.393s (+7.7% 🔺)1.076s131.00x
🐘 PostgresExpress1.322s (-0.6%)2.392s (+3.3%)1.071s131.00x
🐘 PostgresNext.js (Turbopack)1.333s (+1.8%)2.676s (-8.3% 🟢)1.342s121.01x
💻 LocalExpress2.425s (-8.2% 🟢)2.917s (-6.2% 🟢)0.492s111.84x
💻 LocalNitro2.583s (+9.4% 🔺)3.011s (~)0.428s101.96x
💻 LocalNext.js (Turbopack)2.946s (+15.8% 🔺)3.762s (+25.0% 🔺)0.816s82.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.120s (+33.6% 🔺)4.768s (+18.6% 🔺)1.648s71.00x
▲ VercelNext.js (Turbopack)4.191s (+11.3% 🔺)5.775s (+11.1% 🔺)1.584s61.34x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.613s (-5.9% 🟢)4.136s (-3.0%)2.523s81.00x
🐘 PostgresNitro1.629s (+0.6%)4.135s (+3.1%)2.506s81.01x
🐘 PostgresNext.js (Turbopack)2.957s (+2.9%)6.217s (+3.4%)3.260s51.83x
💻 LocalNext.js (Turbopack)5.429s (-21.3% 🟢)6.016s (-21.0% 🟢)0.587s63.37x
💻 LocalExpress6.062s (-14.0% 🟢)6.815s (-12.2% 🟢)0.754s53.76x
💻 LocalNitro6.912s (-1.9%)7.517s (~)0.605s44.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.812s (+2.2%)5.550s (-3.7%)1.739s61.00x
▲ VercelNext.js (Turbopack)5.652s (+28.3% 🔺)7.712s (+28.5% 🔺)2.060s41.48x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.558s (+5.3% 🔺)1.024s (+1.8%)0.465s591.00x
🐘 PostgresNext.js (Turbopack)0.570s (+4.4%)1.007s (~)0.436s601.02x
💻 LocalExpress0.583s (-2.9%)1.022s (+1.7%)0.438s591.04x
💻 LocalNitro0.587s (-0.8%)1.005s (-1.7%)0.419s601.05x
🐘 PostgresExpress0.597s (~)1.041s (+1.7%)0.444s581.07x
💻 LocalNext.js (Turbopack)0.611s (~)1.005s (~)0.394s601.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.840s (+39.1% 🔺)5.432s (+21.0% 🔺)1.592s121.00x
▲ VercelNext.js (Turbopack)4.679s (+10.6% 🔺)6.471s (+8.3% 🔺)1.792s101.22x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.300s (~)2.007s (~)0.707s451.00x
🐘 PostgresNext.js (Turbopack)1.322s (+3.0%)2.007s (~)0.685s451.02x
🐘 PostgresExpress1.330s (+0.7%)2.029s (+1.1%)0.699s451.02x
💻 LocalExpress1.430s (-3.6%)2.006s (~)0.575s451.10x
💻 LocalNitro1.494s (+3.0%)2.006s (~)0.512s451.15x
💻 LocalNext.js (Turbopack)1.525s (-1.0%)2.006s (-1.1%)0.482s451.17x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro10.526s (+62.5% 🔺)12.055s (+47.0% 🔺)1.529s81.00x
▲ VercelNext.js (Turbopack)12.867s (+32.8% 🔺)14.908s (+30.4% 🔺)2.041s71.22x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.529s (-1.7%)3.034s (-2.5%)0.504s401.00x
🐘 PostgresExpress2.628s (-2.8%)3.083s (-0.9%)0.455s401.04x
🐘 PostgresNext.js (Turbopack)2.662s (~)3.009s (-1.6%)0.347s401.05x
💻 LocalExpress3.125s (-4.9%)3.822s (-5.5% 🟢)0.697s321.24x
💻 LocalNitro3.263s (+4.2%)4.009s (+1.6%)0.747s301.29x
💻 LocalNext.js (Turbopack)3.306s (~)4.010s (~)0.704s301.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro19.917s (+35.6% 🔺)21.803s (+30.5% 🔺)1.887s61.00x
▲ VercelNext.js (Turbopack)23.449s (+11.5% 🔺)25.768s (+13.5% 🔺)2.319s51.18x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.175s (-6.4% 🟢)1.006s (~)0.831s601.00x
🐘 PostgresNitro0.218s (+3.0%)1.006s (~)0.788s601.25x
🐘 PostgresExpress0.219s (+1.8%)1.006s (~)0.787s601.25x
💻 LocalNitro0.458s (+5.1% 🔺)1.005s (~)0.547s602.62x
💻 LocalExpress0.461s (+1.0%)1.004s (~)0.544s602.64x
💻 LocalNext.js (Turbopack)0.645s (+4.0%)1.022s (+1.7%)0.377s593.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.369s (-16.6% 🟢)2.818s (-17.7% 🟢)1.449s221.00x
▲ VercelNext.js (Turbopack)2.684s (+22.8% 🔺)4.268s (+10.2% 🔺)1.584s151.96x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.282s (+2.2%)1.006s (~)0.724s901.00x
🐘 PostgresExpress0.324s (-2.6%)1.006s (~)0.682s901.15x
🐘 PostgresNitro0.331s (+2.3%)1.006s (-1.1%)0.675s901.17x
💻 LocalExpress2.147s (-0.8%)2.656s (-5.1% 🟢)0.509s347.61x
💻 LocalNitro2.196s (+4.7%)2.822s (+3.1%)0.626s327.78x
💻 LocalNext.js (Turbopack)2.742s (-4.5%)3.330s (-2.5%)0.589s289.72x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.135s (+33.4% 🔺)3.776s (+16.1% 🔺)1.641s241.00x
▲ VercelNext.js (Turbopack)3.554s (+26.0% 🔺)5.447s (+22.9% 🔺)1.892s171.67x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.513s (+1.7%)2.960s (-1.6%)2.447s411.00x
🐘 PostgresNitro0.518s (-1.2%)1.059s (+0.9%)0.540s1141.01x
🐘 PostgresExpress0.522s (-1.9%)1.117s (+4.6%)0.595s1081.02x
💻 LocalExpress9.677s (-3.3%)10.612s (-4.6%)0.936s1218.86x
💻 LocalNext.js (Turbopack)10.022s (-1.4%)11.121s (-3.1%)1.099s1119.53x
💻 LocalNitro10.574s (+8.6% 🔺)11.300s (+4.0%)0.726s1120.61x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.289s (+40.7% 🔺)5.005s (+19.8% 🔺)1.716s241.00x
▲ VercelNext.js (Turbopack)5.023s (+28.9% 🔺)7.149s (+27.2% 🔺)2.126s171.53x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.140s (~)1.967s (~)0.012s (+3.4%)2.019s (~)0.880s101.00x
💻 LocalExpress1.155s (-3.0%)2.004s (~)0.010s (-17.5% 🟢)2.018s (~)0.862s101.01x
🐘 PostgresNitro1.157s (~)1.993s (~)0.001s (-7.1% 🟢)2.010s (~)0.853s101.02x
🐘 PostgresExpress1.157s (-1.4%)1.996s (~)0.001s (-18.8% 🟢)2.011s (~)0.853s101.02x
💻 LocalNitro1.160s (~)2.005s (~)0.013s (+2.4%)2.021s (~)0.861s101.02x
🐘 PostgresNext.js (Turbopack)1.162s (+0.6%)1.999s (~)0.001s (+27.3% 🔺)2.010s (~)0.849s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.666s (+21.8% 🔺)3.761s (+6.8% 🔺)3.437s (+78.0% 🔺)7.767s (+30.0% 🔺)5.101s101.00x
▲ VercelNext.js (Turbopack)4.120s (+16.7% 🔺)4.583s (~)3.109s (+26.8% 🔺)9.281s (+11.5% 🔺)5.161s101.55x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.536s (-2.3%)2.012s (~)0.012s (+5.8% 🔺)2.027s (~)0.491s301.00x
🐘 PostgresNitro1.540s (-0.6%)2.003s (~)0.005s (-2.6%)2.026s (~)0.486s301.00x
🐘 PostgresExpress1.548s (-3.2%)2.006s (~)0.005s (-3.4%)2.028s (~)0.480s301.01x
💻 LocalNext.js (Turbopack)1.578s (~)1.969s (~)0.012s (+10.3% 🔺)2.025s (~)0.446s301.03x
💻 LocalNitro1.580s (~)2.011s (~)0.013s (+2.7%)2.027s (~)0.447s301.03x
🐘 PostgresNext.js (Turbopack)1.600s (~)2.008s (~)0.005s (+2.0%)2.024s (~)0.425s301.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.908s (+22.1% 🔺)8.174s (+10.2% 🔺)0.202s (-52.4% 🟢)8.851s (+5.5% 🔺)1.943s71.00x
▲ VercelNext.js (Turbopack)10.261s (+12.5% 🔺)11.195s (+10.9% 🔺)0.195s (-15.4% 🟢)12.660s (+15.2% 🔺)2.399s51.49x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.769s (-2.2%)1.084s (~)0.000s (~)1.099s (~)0.330s551.00x
🐘 PostgresNitro0.786s (+0.6%)1.081s (-1.8%)0.000s (-1.8%)1.097s (-1.7%)0.310s561.02x
🐘 PostgresNext.js (Turbopack)0.991s (+2.4%)1.408s (+3.9%)0.000s (-48.9% 🟢)1.416s (+3.9%)0.425s441.29x
💻 LocalNitro1.247s (+3.0%)1.949s (-3.2%)0.000s (+38.2% 🔺)1.952s (-3.2%)0.706s311.62x
💻 LocalExpress1.265s (-3.5%)2.013s (~)0.000s (+20.0% 🔺)2.016s (~)0.751s301.65x
💻 LocalNext.js (Turbopack)1.408s (+2.4%)1.980s (~)0.001s (+11.8% 🔺)2.017s (~)0.609s301.83x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.675s (+6.9% 🔺)4.859s (-2.9%)0.000s (NaN%)5.331s (-2.9%)1.655s121.00x
▲ VercelNext.js (Turbopack)5.652s (+26.1% 🔺)6.765s (+24.8% 🔺)0.000s (NaN%)7.641s (+21.4% 🔺)1.989s81.54x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.797s (+7.9% 🔺)2.432s (+7.9% 🔺)0.000s (-100.0% 🟢)2.457s (+8.1% 🔺)0.660s251.00x
🐘 PostgresExpress1.819s (~)2.433s (+1.6%)0.000s (+Infinity% 🔺)2.450s (+1.7%)0.631s251.01x
🐘 PostgresNext.js (Turbopack)2.856s (+3.7%)3.334s (~)0.000s (+100.0% 🔺)3.344s (~)0.487s181.59x
💻 LocalNitro3.620s (-1.2%)4.163s (-1.5%)0.001s (+77.8% 🔺)4.167s (-1.5%)0.547s152.01x
💻 LocalExpress3.661s (+8.9% 🔺)4.228s (+6.6% 🔺)0.001s (-30.7% 🟢)4.231s (+6.6% 🔺)0.570s152.04x
💻 LocalNext.js (Turbopack)3.950s (+7.4% 🔺)4.350s (+5.4% 🔺)0.001s (+99.0% 🔺)4.397s (+5.5% 🔺)0.448s142.20x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.810s (+1.3%)6.930s (-2.0%)0.000s (-55.6% 🟢)7.367s (-3.2%)1.557s91.00x
▲ VercelNext.js (Turbopack)8.841s (+15.7% 🔺)9.410s (+13.2% 🔺)0.000s (NaN%)10.845s (+13.9% 🔺)2.004s61.52x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress13/21
🐘 PostgresNitro11/21
▲ VercelNitro20/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Redis + BullMQ: Community world (local development)
  • 🌐 Cloudflare: Community world (local development)
  • 🌐 MySQL: Community world (local development)
  • 🌐 Azure: Community world (local development)
  • 🌐 NATS JetStream: Community world (local development)
  • 🌐 Upstash: Community world (local development)
  • 🌐 Platformatic: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202301672
✅ 💻 Local Development160502191824
✅ 📦 Local Production160502191824
✅ 🐘 Local Postgres159302311824
✅ 🪟 Windows15200152
✅ 📋 Other88501791064
Total7282010788360

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125027
✅ example125027
✅ express125027
✅ fastify125027
✅ hono125027
✅ nextjs-turbopack14903
✅ nextjs-webpack14903
✅ nitro125027
✅ nuxt125027
✅ sveltekit14408
✅ vite125027
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable126026
✅ express-stable126026
✅ fastify-stable126026
✅ hono-stable126026
✅ nextjs-turbopack-canary132020
✅ nextjs-turbopack-stable15101
✅ nextjs-webpack-canary132020
✅ nextjs-webpack-stable15101
✅ nitro-stable126026
✅ nuxt-stable126026
✅ sveltekit-stable14507
✅ vite-stable126026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15200
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable127025
✅ e2e-local-dev-tanstack-start-127025
✅ e2e-local-postgres-nest-stable126026
✅ e2e-local-postgres-tanstack-start-126026
✅ e2e-local-prod-nest-stable127025
✅ e2e-local-prod-tanstack-start-127025
✅ e2e-vercel-prod-tanstack-start125027

📋 View full workflow run

@VaguelySerious
VaguelySerious enabled auto-merge (squash) June 26, 2026 20:25
@VaguelySerious
VaguelySerious merged commit d4e6c5b into mainJun 26, 2026
177 of 183 checks passed
@VaguelySerious
VaguelySerious deleted the peter/world-local-recovery-untagged-filter branch June 26, 2026 20:37
github-actionsBot added a commit that referenced this pull request Jun 26, 2026
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2668. (backport job run)

VaguelySerious added a commit that referenced this pull request Jun 26, 2026
#2668)
Co-authored-by: Peter Wielander <mittgfu@gmail.com>
This was referenced Jun 26, 2026
pranaygp added a commit that referenced this pull request Jun 26, 2026
…edrive
* origin/main: (90 commits)
[ai] Fix "missing text part" stream crash by repairing UI message framing (#2537)
[ci] Fix release "Premature close" by bounding changelog GraphQL batch size (#2669)
[ai] Drop orphan UI chunks after negative-index reconnect (#2082)
Fix trace detail panel Input/Output flicker (selection-driven state machine) (#2637)
[world-local] Scope untagged startup recovery to untagged runs (#2667)
fix(world-postgres): defer loopback worker startup (#2657)
docs: deprecate DurableAgent and WorkflowChatTransport, point to AI SDK WorkflowAgent (#2616)
[web] Fix HTTP/2 in bundled server build so observability reads work (#2632)
[core] Fix turbo-mode step-body writes racing run_started (#2629)
fix(world-postgres): rename setup command (#2644)
chore: ignore workflow swc caches (#2640)
fix(ai): ignore intentional stream aborts (#2635)
fix(nitro): reload steps during Vite HMR (#2572)
[world] Make @workflow/world own its Zod dependency (#2622)
feat(web-shared): extend cn with custom tailwind-merge class groups (#2619)
[world-vercel] Enable HTTP/2 for the events API and stream writes (#2573)
Remove shadow from off-screen marker indicator button (#2614)
Fix discovery of dotted JS workflow imports (#2594)
Version Packages (beta) (#2597)
Thread occurredAt into web-shared entities (#2608)
...
# Conflicts:
#	packages/core/src/runtime/step-executor.ts
#	packages/world-vercel/src/http-client.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.

2 participants

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

[world-local] Scope untagged startup recovery to untagged runs - #2667

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/world-local-recovery-untagged-filter
Jun 26, 2026
Merged

[world-local] Scope untagged startup recovery to untagged runs#2667
VaguelySerious merged 1 commit into
mainfrom
peter/world-local-recovery-untagged-filter

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Problem

Using Workflow SDK locally with world-local, users can hit a startup error storm:

[workflow-sdk] Fatal runtime error during workflow setup
code RUNTIME_ERROR
error Event creation for 'run_started' did not return the run entity for run "wrun_…"
POST /.well-known/workflow/v1/flow 500

Root cause

createLocalWorld defaults recoverActiveRuns: true, so world.start() (on every dev-server boot) calls reenqueueActiveRuns, which lists active runs and re-enqueues them with no runInput.

runs.list enumerates every*.json file in the runs directory and keys each by the runIdinside the file — including tag-suffixed files like wrun_X.vitest-0.json. But reads go through readJSONWithFallback, which only resolves {id}.{tag}.json (own tag) then untagged {id}.json.

So an untagged world (a normal pnpm dev) sharing the default .workflow-data directory with the vitest harness — which writes tagged files there "so runs are visible to the observability dashboard" — recovers leftover tagged runs it cannot read back. Since the re-enqueued message carries no runInput, the resilient-start path can't recreate the run either, and run_started returns no run entity → RUNTIME_ERROR 500, retried until the message exhausts its deliveries (hence "multiple times").

Tagged worlds already guarded against this with fileIdFilter: (fileId) => hasTag(fileId, tag). The untagged path had no symmetric guard.

Fix

Give the untagged recovery path the symmetric filter via a new isUntagged predicate, so each world only recovers files it can actually read back:

  • tagged world → recover only its own tag (unchanged)
  • untagged world → recover only untagged files (new)

Test

Added untagged recovery skips tagged runs sharing the data dir to reenqueue.test.ts: a tagged (vitest-style) active run + an untagged active run share a data dir; an untagged dev boot must recover only the untagged run. Verified the test fails on the old code (the tagged run gets re-enqueued) and passes with the fix. Full @workflow/world-local suite (412 tests) passes.

An untagged world (a normal local dev server) shares the default
`.workflow-data` directory with the vitest harness, which writes
tag-suffixed files (`{id}.{tag}.json`). On startup, `reenqueueActiveRuns`
lists active runs and re-enqueues them; `runs.list` enumerates every file
in the directory and keys each by the `runId` inside it, so an untagged
recovery would pick up tagged runs left behind by tests. Those re-enqueued
messages carry no `runInput`, and `readJSONWithFallback` can only resolve
untagged (or own-tag) files, so `run_started` returns no run entity and the
runtime fails with "did not return the run entity" — a 500 storm on the
flow route until the message exhausts its deliveries.
Tagged worlds already scoped recovery via `fileIdFilter: hasTag(...)`; give
the untagged path the symmetric guard with a new `isUntagged` predicate so
each world only recovers files it can actually read back.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersJune 26, 2026 19:59
@vercel

vercelBot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 41ca2ca

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

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

@github-actions

github-actionsBot commented Jun 26, 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.047s (~)1.006s (~)0.959s101.00x
💻 LocalNitro0.049s (+4.7%)1.007s (~)0.958s101.05x
💻 LocalNext.js (Turbopack)0.051s (-4.5%)1.007s (~)0.956s101.08x
🐘 PostgresNext.js (Turbopack)0.062s (+7.1% 🔺)1.013s (~)0.951s101.32x
🐘 PostgresNitro0.063s (-4.8%)1.012s (~)0.949s101.35x
🐘 PostgresExpress0.071s (+4.7%)1.013s (~)0.942s101.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.229s (-12.1% 🟢)1.758s (-24.1% 🟢)1.529s101.00x
▲ VercelNext.js (Turbopack)0.739s (-8.7% 🟢)2.837s (+18.1% 🔺)2.098s103.23x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.085s (~)2.007s (~)0.923s101.00x
💻 LocalExpress1.087s (~)2.007s (~)0.920s101.00x
💻 LocalNext.js (Turbopack)1.088s (~)2.007s (~)0.919s101.00x
🐘 PostgresNitro1.093s (-0.6%)2.010s (~)0.917s101.01x
🐘 PostgresExpress1.099s (~)2.009s (~)0.910s101.01x
🐘 PostgresNext.js (Turbopack)1.103s (+0.9%)2.010s (~)0.907s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.621s (+13.8% 🔺)3.682s (+20.7% 🔺)2.061s101.00x
▲ VercelNext.js (Turbopack)1.725s (-22.7% 🟢)3.861s (+1.4%)2.136s101.06x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.449s (~)11.022s (~)0.573s31.00x
💻 LocalNitro10.464s (~)11.023s (~)0.558s31.00x
💻 LocalExpress10.465s (~)11.023s (~)0.557s31.00x
🐘 PostgresExpress10.472s (~)11.017s (~)0.545s31.00x
🐘 PostgresNitro10.476s (~)11.018s (~)0.541s31.00x
🐘 PostgresNext.js (Turbopack)10.557s (+0.6%)11.038s (~)0.481s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro12.405s (+6.1% 🔺)14.164s (+2.2%)1.758s31.00x
▲ VercelNext.js (Turbopack)13.399s (+7.5% 🔺)15.865s (+10.1% 🔺)2.466s21.08x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.542s (-0.9%)14.027s (~)0.485s51.00x
🐘 PostgresNitro13.576s (-0.7%)14.022s (~)0.446s51.00x
💻 LocalNext.js (Turbopack)13.608s (~)14.027s (~)0.419s51.00x
🐘 PostgresExpress13.630s (-1.1%)14.021s (~)0.391s51.01x
💻 LocalNitro13.672s (~)14.026s (~)0.354s51.01x
🐘 PostgresNext.js (Turbopack)13.769s (~)14.023s (~)0.253s51.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)20.761s (+13.2% 🔺)22.832s (+12.7% 🔺)2.071s31.00x
▲ VercelNitro21.788s (+32.3% 🔺)24.197s (+29.4% 🔺)2.409s31.05x
▲ VercelExpress⚠️missing----

🔍 Observability: Next.js (Turbopack) | Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.056s (-2.4%)12.524s (-3.9%)0.469s81.00x
🐘 PostgresExpress12.138s (-1.0%)13.019s (~)0.881s71.01x
🐘 PostgresNitro12.190s (-0.6%)13.019s (~)0.829s71.01x
💻 LocalNext.js (Turbopack)12.206s (-0.7%)13.025s (~)0.819s71.01x
💻 LocalNitro12.220s (-0.9%)13.026s (~)0.806s71.01x
🐘 PostgresNext.js (Turbopack)12.692s (+3.7%)13.161s (+1.1%)0.469s71.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro25.264s (+38.3% 🔺)27.542s (+34.8% 🔺)2.278s41.00x
▲ VercelNext.js (Turbopack)27.572s (+29.9% 🔺)30.072s (+30.5% 🔺)2.500s41.09x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.181s (~)2.007s (~)0.827s151.00x
🐘 PostgresExpress1.190s (+0.7%)2.008s (~)0.819s151.01x
🐘 PostgresNext.js (Turbopack)1.196s (+1.4%)2.008s (~)0.811s151.01x
💻 LocalExpress1.387s (-14.1% 🟢)2.006s (-6.7% 🟢)0.620s151.17x
💻 LocalNext.js (Turbopack)1.402s (-8.2% 🟢)2.007s (-3.2%)0.605s151.19x
💻 LocalNitro1.444s (+2.4%)2.007s (~)0.563s151.22x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.558s (+22.5% 🔺)3.960s (+1.1%)1.402s81.00x
▲ VercelNext.js (Turbopack)4.137s (+16.3% 🔺)6.110s (+23.2% 🔺)1.973s61.62x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.313s (-1.0%)3.010s (~)1.697s101.00x
🐘 PostgresNitro1.346s (+1.9%)2.591s (-3.1%)1.245s121.02x
🐘 PostgresExpress1.372s (+3.3%)2.470s (-4.7%)1.098s131.04x
💻 LocalNext.js (Turbopack)2.266s (-17.1% 🟢)3.011s (~)0.745s101.73x
💻 LocalExpress2.419s (+1.8%)2.917s (-3.1%)0.498s111.84x
💻 LocalNitro2.563s (+3.2%)3.109s (~)0.546s101.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.572s (+29.5% 🔺)5.438s (+23.7% 🔺)1.866s61.00x
▲ VercelNext.js (Turbopack)5.240s (-17.6% 🟢)7.437s (-8.3% 🟢)2.197s51.47x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.614s (+1.9%)4.136s (~)2.522s81.00x
🐘 PostgresExpress1.617s (~)4.137s (~)2.520s81.00x
🐘 PostgresNext.js (Turbopack)2.932s (+8.5% 🔺)5.848s (+2.9%)2.916s61.82x
💻 LocalExpress5.329s (-14.2% 🟢)6.216s (-8.8% 🟢)0.887s53.30x
💻 LocalNitro6.257s (-8.1% 🟢)6.817s (-8.1% 🟢)0.561s53.88x
💻 LocalNext.js (Turbopack)6.680s (-13.1% 🟢)7.418s (-12.9% 🟢)0.738s54.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.016s (+24.7% 🔺)5.690s (+10.7% 🔺)1.674s61.00x
▲ VercelNext.js (Turbopack)5.310s (+6.9% 🔺)7.534s (+8.4% 🔺)2.224s41.32x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.182s (-0.8%)2.007s (~)0.826s151.00x
🐘 PostgresNitro1.193s (~)2.007s (~)0.814s151.01x
🐘 PostgresNext.js (Turbopack)1.197s (+1.3%)2.007s (~)0.810s151.01x
💻 LocalExpress1.394s (-1.4%)2.007s (~)0.613s151.18x
💻 LocalNitro1.436s (-3.1%)2.007s (~)0.570s151.22x
💻 LocalNext.js (Turbopack)1.477s (~)2.008s (~)0.531s151.25x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.681s (+23.7% 🔺)4.379s (+5.1% 🔺)1.697s71.00x
▲ VercelNext.js (Turbopack)3.853s (+13.0% 🔺)5.573s (+4.3%)1.720s61.44x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.317s (+1.7%)2.393s (+7.7% 🔺)1.076s131.00x
🐘 PostgresExpress1.322s (-0.6%)2.392s (+3.3%)1.071s131.00x
🐘 PostgresNext.js (Turbopack)1.333s (+1.8%)2.676s (-8.3% 🟢)1.342s121.01x
💻 LocalExpress2.425s (-8.2% 🟢)2.917s (-6.2% 🟢)0.492s111.84x
💻 LocalNitro2.583s (+9.4% 🔺)3.011s (~)0.428s101.96x
💻 LocalNext.js (Turbopack)2.946s (+15.8% 🔺)3.762s (+25.0% 🔺)0.816s82.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.120s (+33.6% 🔺)4.768s (+18.6% 🔺)1.648s71.00x
▲ VercelNext.js (Turbopack)4.191s (+11.3% 🔺)5.775s (+11.1% 🔺)1.584s61.34x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.613s (-5.9% 🟢)4.136s (-3.0%)2.523s81.00x
🐘 PostgresNitro1.629s (+0.6%)4.135s (+3.1%)2.506s81.01x
🐘 PostgresNext.js (Turbopack)2.957s (+2.9%)6.217s (+3.4%)3.260s51.83x
💻 LocalNext.js (Turbopack)5.429s (-21.3% 🟢)6.016s (-21.0% 🟢)0.587s63.37x
💻 LocalExpress6.062s (-14.0% 🟢)6.815s (-12.2% 🟢)0.754s53.76x
💻 LocalNitro6.912s (-1.9%)7.517s (~)0.605s44.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.812s (+2.2%)5.550s (-3.7%)1.739s61.00x
▲ VercelNext.js (Turbopack)5.652s (+28.3% 🔺)7.712s (+28.5% 🔺)2.060s41.48x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.558s (+5.3% 🔺)1.024s (+1.8%)0.465s591.00x
🐘 PostgresNext.js (Turbopack)0.570s (+4.4%)1.007s (~)0.436s601.02x
💻 LocalExpress0.583s (-2.9%)1.022s (+1.7%)0.438s591.04x
💻 LocalNitro0.587s (-0.8%)1.005s (-1.7%)0.419s601.05x
🐘 PostgresExpress0.597s (~)1.041s (+1.7%)0.444s581.07x
💻 LocalNext.js (Turbopack)0.611s (~)1.005s (~)0.394s601.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.840s (+39.1% 🔺)5.432s (+21.0% 🔺)1.592s121.00x
▲ VercelNext.js (Turbopack)4.679s (+10.6% 🔺)6.471s (+8.3% 🔺)1.792s101.22x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.300s (~)2.007s (~)0.707s451.00x
🐘 PostgresNext.js (Turbopack)1.322s (+3.0%)2.007s (~)0.685s451.02x
🐘 PostgresExpress1.330s (+0.7%)2.029s (+1.1%)0.699s451.02x
💻 LocalExpress1.430s (-3.6%)2.006s (~)0.575s451.10x
💻 LocalNitro1.494s (+3.0%)2.006s (~)0.512s451.15x
💻 LocalNext.js (Turbopack)1.525s (-1.0%)2.006s (-1.1%)0.482s451.17x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro10.526s (+62.5% 🔺)12.055s (+47.0% 🔺)1.529s81.00x
▲ VercelNext.js (Turbopack)12.867s (+32.8% 🔺)14.908s (+30.4% 🔺)2.041s71.22x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.529s (-1.7%)3.034s (-2.5%)0.504s401.00x
🐘 PostgresExpress2.628s (-2.8%)3.083s (-0.9%)0.455s401.04x
🐘 PostgresNext.js (Turbopack)2.662s (~)3.009s (-1.6%)0.347s401.05x
💻 LocalExpress3.125s (-4.9%)3.822s (-5.5% 🟢)0.697s321.24x
💻 LocalNitro3.263s (+4.2%)4.009s (+1.6%)0.747s301.29x
💻 LocalNext.js (Turbopack)3.306s (~)4.010s (~)0.704s301.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro19.917s (+35.6% 🔺)21.803s (+30.5% 🔺)1.887s61.00x
▲ VercelNext.js (Turbopack)23.449s (+11.5% 🔺)25.768s (+13.5% 🔺)2.319s51.18x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.175s (-6.4% 🟢)1.006s (~)0.831s601.00x
🐘 PostgresNitro0.218s (+3.0%)1.006s (~)0.788s601.25x
🐘 PostgresExpress0.219s (+1.8%)1.006s (~)0.787s601.25x
💻 LocalNitro0.458s (+5.1% 🔺)1.005s (~)0.547s602.62x
💻 LocalExpress0.461s (+1.0%)1.004s (~)0.544s602.64x
💻 LocalNext.js (Turbopack)0.645s (+4.0%)1.022s (+1.7%)0.377s593.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.369s (-16.6% 🟢)2.818s (-17.7% 🟢)1.449s221.00x
▲ VercelNext.js (Turbopack)2.684s (+22.8% 🔺)4.268s (+10.2% 🔺)1.584s151.96x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.282s (+2.2%)1.006s (~)0.724s901.00x
🐘 PostgresExpress0.324s (-2.6%)1.006s (~)0.682s901.15x
🐘 PostgresNitro0.331s (+2.3%)1.006s (-1.1%)0.675s901.17x
💻 LocalExpress2.147s (-0.8%)2.656s (-5.1% 🟢)0.509s347.61x
💻 LocalNitro2.196s (+4.7%)2.822s (+3.1%)0.626s327.78x
💻 LocalNext.js (Turbopack)2.742s (-4.5%)3.330s (-2.5%)0.589s289.72x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.135s (+33.4% 🔺)3.776s (+16.1% 🔺)1.641s241.00x
▲ VercelNext.js (Turbopack)3.554s (+26.0% 🔺)5.447s (+22.9% 🔺)1.892s171.67x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.513s (+1.7%)2.960s (-1.6%)2.447s411.00x
🐘 PostgresNitro0.518s (-1.2%)1.059s (+0.9%)0.540s1141.01x
🐘 PostgresExpress0.522s (-1.9%)1.117s (+4.6%)0.595s1081.02x
💻 LocalExpress9.677s (-3.3%)10.612s (-4.6%)0.936s1218.86x
💻 LocalNext.js (Turbopack)10.022s (-1.4%)11.121s (-3.1%)1.099s1119.53x
💻 LocalNitro10.574s (+8.6% 🔺)11.300s (+4.0%)0.726s1120.61x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.289s (+40.7% 🔺)5.005s (+19.8% 🔺)1.716s241.00x
▲ VercelNext.js (Turbopack)5.023s (+28.9% 🔺)7.149s (+27.2% 🔺)2.126s171.53x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.140s (~)1.967s (~)0.012s (+3.4%)2.019s (~)0.880s101.00x
💻 LocalExpress1.155s (-3.0%)2.004s (~)0.010s (-17.5% 🟢)2.018s (~)0.862s101.01x
🐘 PostgresNitro1.157s (~)1.993s (~)0.001s (-7.1% 🟢)2.010s (~)0.853s101.02x
🐘 PostgresExpress1.157s (-1.4%)1.996s (~)0.001s (-18.8% 🟢)2.011s (~)0.853s101.02x
💻 LocalNitro1.160s (~)2.005s (~)0.013s (+2.4%)2.021s (~)0.861s101.02x
🐘 PostgresNext.js (Turbopack)1.162s (+0.6%)1.999s (~)0.001s (+27.3% 🔺)2.010s (~)0.849s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.666s (+21.8% 🔺)3.761s (+6.8% 🔺)3.437s (+78.0% 🔺)7.767s (+30.0% 🔺)5.101s101.00x
▲ VercelNext.js (Turbopack)4.120s (+16.7% 🔺)4.583s (~)3.109s (+26.8% 🔺)9.281s (+11.5% 🔺)5.161s101.55x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.536s (-2.3%)2.012s (~)0.012s (+5.8% 🔺)2.027s (~)0.491s301.00x
🐘 PostgresNitro1.540s (-0.6%)2.003s (~)0.005s (-2.6%)2.026s (~)0.486s301.00x
🐘 PostgresExpress1.548s (-3.2%)2.006s (~)0.005s (-3.4%)2.028s (~)0.480s301.01x
💻 LocalNext.js (Turbopack)1.578s (~)1.969s (~)0.012s (+10.3% 🔺)2.025s (~)0.446s301.03x
💻 LocalNitro1.580s (~)2.011s (~)0.013s (+2.7%)2.027s (~)0.447s301.03x
🐘 PostgresNext.js (Turbopack)1.600s (~)2.008s (~)0.005s (+2.0%)2.024s (~)0.425s301.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.908s (+22.1% 🔺)8.174s (+10.2% 🔺)0.202s (-52.4% 🟢)8.851s (+5.5% 🔺)1.943s71.00x
▲ VercelNext.js (Turbopack)10.261s (+12.5% 🔺)11.195s (+10.9% 🔺)0.195s (-15.4% 🟢)12.660s (+15.2% 🔺)2.399s51.49x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.769s (-2.2%)1.084s (~)0.000s (~)1.099s (~)0.330s551.00x
🐘 PostgresNitro0.786s (+0.6%)1.081s (-1.8%)0.000s (-1.8%)1.097s (-1.7%)0.310s561.02x
🐘 PostgresNext.js (Turbopack)0.991s (+2.4%)1.408s (+3.9%)0.000s (-48.9% 🟢)1.416s (+3.9%)0.425s441.29x
💻 LocalNitro1.247s (+3.0%)1.949s (-3.2%)0.000s (+38.2% 🔺)1.952s (-3.2%)0.706s311.62x
💻 LocalExpress1.265s (-3.5%)2.013s (~)0.000s (+20.0% 🔺)2.016s (~)0.751s301.65x
💻 LocalNext.js (Turbopack)1.408s (+2.4%)1.980s (~)0.001s (+11.8% 🔺)2.017s (~)0.609s301.83x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.675s (+6.9% 🔺)4.859s (-2.9%)0.000s (NaN%)5.331s (-2.9%)1.655s121.00x
▲ VercelNext.js (Turbopack)5.652s (+26.1% 🔺)6.765s (+24.8% 🔺)0.000s (NaN%)7.641s (+21.4% 🔺)1.989s81.54x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.797s (+7.9% 🔺)2.432s (+7.9% 🔺)0.000s (-100.0% 🟢)2.457s (+8.1% 🔺)0.660s251.00x
🐘 PostgresExpress1.819s (~)2.433s (+1.6%)0.000s (+Infinity% 🔺)2.450s (+1.7%)0.631s251.01x
🐘 PostgresNext.js (Turbopack)2.856s (+3.7%)3.334s (~)0.000s (+100.0% 🔺)3.344s (~)0.487s181.59x
💻 LocalNitro3.620s (-1.2%)4.163s (-1.5%)0.001s (+77.8% 🔺)4.167s (-1.5%)0.547s152.01x
💻 LocalExpress3.661s (+8.9% 🔺)4.228s (+6.6% 🔺)0.001s (-30.7% 🟢)4.231s (+6.6% 🔺)0.570s152.04x
💻 LocalNext.js (Turbopack)3.950s (+7.4% 🔺)4.350s (+5.4% 🔺)0.001s (+99.0% 🔺)4.397s (+5.5% 🔺)0.448s142.20x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.810s (+1.3%)6.930s (-2.0%)0.000s (-55.6% 🟢)7.367s (-3.2%)1.557s91.00x
▲ VercelNext.js (Turbopack)8.841s (+15.7% 🔺)9.410s (+13.2% 🔺)0.000s (NaN%)10.845s (+13.9% 🔺)2.004s61.52x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress13/21
🐘 PostgresNitro11/21
▲ VercelNitro20/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Redis + BullMQ: Community world (local development)
  • 🌐 Cloudflare: Community world (local development)
  • 🌐 MySQL: Community world (local development)
  • 🌐 Azure: Community world (local development)
  • 🌐 NATS JetStream: Community world (local development)
  • 🌐 Upstash: Community world (local development)
  • 🌐 Platformatic: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202301672
✅ 💻 Local Development160502191824
✅ 📦 Local Production160502191824
✅ 🐘 Local Postgres159302311824
✅ 🪟 Windows15200152
✅ 📋 Other88501791064
Total7282010788360

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125027
✅ example125027
✅ express125027
✅ fastify125027
✅ hono125027
✅ nextjs-turbopack14903
✅ nextjs-webpack14903
✅ nitro125027
✅ nuxt125027
✅ sveltekit14408
✅ vite125027
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable126026
✅ express-stable126026
✅ fastify-stable126026
✅ hono-stable126026
✅ nextjs-turbopack-canary132020
✅ nextjs-turbopack-stable15101
✅ nextjs-webpack-canary132020
✅ nextjs-webpack-stable15101
✅ nitro-stable126026
✅ nuxt-stable126026
✅ sveltekit-stable14507
✅ vite-stable126026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15200
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable127025
✅ e2e-local-dev-tanstack-start-127025
✅ e2e-local-postgres-nest-stable126026
✅ e2e-local-postgres-tanstack-start-126026
✅ e2e-local-prod-nest-stable127025
✅ e2e-local-prod-tanstack-start-127025
✅ e2e-vercel-prod-tanstack-start125027

📋 View full workflow run

@VaguelySerious
VaguelySerious enabled auto-merge (squash) June 26, 2026 20:25
@VaguelySerious
VaguelySerious merged commit d4e6c5b into mainJun 26, 2026
177 of 183 checks passed
@VaguelySerious
VaguelySerious deleted the peter/world-local-recovery-untagged-filter branch June 26, 2026 20:37
github-actionsBot added a commit that referenced this pull request Jun 26, 2026
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2668. (backport job run)

VaguelySerious added a commit that referenced this pull request Jun 26, 2026
#2668)
Co-authored-by: Peter Wielander <mittgfu@gmail.com>
This was referenced Jun 26, 2026
pranaygp added a commit that referenced this pull request Jun 26, 2026
…edrive
* origin/main: (90 commits)
[ai] Fix "missing text part" stream crash by repairing UI message framing (#2537)
[ci] Fix release "Premature close" by bounding changelog GraphQL batch size (#2669)
[ai] Drop orphan UI chunks after negative-index reconnect (#2082)
Fix trace detail panel Input/Output flicker (selection-driven state machine) (#2637)
[world-local] Scope untagged startup recovery to untagged runs (#2667)
fix(world-postgres): defer loopback worker startup (#2657)
docs: deprecate DurableAgent and WorkflowChatTransport, point to AI SDK WorkflowAgent (#2616)
[web] Fix HTTP/2 in bundled server build so observability reads work (#2632)
[core] Fix turbo-mode step-body writes racing run_started (#2629)
fix(world-postgres): rename setup command (#2644)
chore: ignore workflow swc caches (#2640)
fix(ai): ignore intentional stream aborts (#2635)
fix(nitro): reload steps during Vite HMR (#2572)
[world] Make @workflow/world own its Zod dependency (#2622)
feat(web-shared): extend cn with custom tailwind-merge class groups (#2619)
[world-vercel] Enable HTTP/2 for the events API and stream writes (#2573)
Remove shadow from off-screen marker indicator button (#2614)
Fix discovery of dotted JS workflow imports (#2594)
Version Packages (beta) (#2597)
Thread occurredAt into web-shared entities (#2608)
...
# Conflicts:
#	packages/core/src/runtime/step-executor.ts
#	packages/world-vercel/src/http-client.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.

2 participants

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

[world-local] Scope untagged startup recovery to untagged runs - #2667

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/world-local-recovery-untagged-filter
Jun 26, 2026
Merged

[world-local] Scope untagged startup recovery to untagged runs#2667
VaguelySerious merged 1 commit into
mainfrom
peter/world-local-recovery-untagged-filter

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Problem

Using Workflow SDK locally with world-local, users can hit a startup error storm:

[workflow-sdk] Fatal runtime error during workflow setup
code RUNTIME_ERROR
error Event creation for 'run_started' did not return the run entity for run "wrun_…"
POST /.well-known/workflow/v1/flow 500

Root cause

createLocalWorld defaults recoverActiveRuns: true, so world.start() (on every dev-server boot) calls reenqueueActiveRuns, which lists active runs and re-enqueues them with no runInput.

runs.list enumerates every*.json file in the runs directory and keys each by the runIdinside the file — including tag-suffixed files like wrun_X.vitest-0.json. But reads go through readJSONWithFallback, which only resolves {id}.{tag}.json (own tag) then untagged {id}.json.

So an untagged world (a normal pnpm dev) sharing the default .workflow-data directory with the vitest harness — which writes tagged files there "so runs are visible to the observability dashboard" — recovers leftover tagged runs it cannot read back. Since the re-enqueued message carries no runInput, the resilient-start path can't recreate the run either, and run_started returns no run entity → RUNTIME_ERROR 500, retried until the message exhausts its deliveries (hence "multiple times").

Tagged worlds already guarded against this with fileIdFilter: (fileId) => hasTag(fileId, tag). The untagged path had no symmetric guard.

Fix

Give the untagged recovery path the symmetric filter via a new isUntagged predicate, so each world only recovers files it can actually read back:

  • tagged world → recover only its own tag (unchanged)
  • untagged world → recover only untagged files (new)

Test

Added untagged recovery skips tagged runs sharing the data dir to reenqueue.test.ts: a tagged (vitest-style) active run + an untagged active run share a data dir; an untagged dev boot must recover only the untagged run. Verified the test fails on the old code (the tagged run gets re-enqueued) and passes with the fix. Full @workflow/world-local suite (412 tests) passes.

An untagged world (a normal local dev server) shares the default
`.workflow-data` directory with the vitest harness, which writes
tag-suffixed files (`{id}.{tag}.json`). On startup, `reenqueueActiveRuns`
lists active runs and re-enqueues them; `runs.list` enumerates every file
in the directory and keys each by the `runId` inside it, so an untagged
recovery would pick up tagged runs left behind by tests. Those re-enqueued
messages carry no `runInput`, and `readJSONWithFallback` can only resolve
untagged (or own-tag) files, so `run_started` returns no run entity and the
runtime fails with "did not return the run entity" — a 500 storm on the
flow route until the message exhausts its deliveries.
Tagged worlds already scoped recovery via `fileIdFilter: hasTag(...)`; give
the untagged path the symmetric guard with a new `isUntagged` predicate so
each world only recovers files it can actually read back.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersJune 26, 2026 19:59
@vercel

vercelBot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 41ca2ca

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

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

@github-actions

github-actionsBot commented Jun 26, 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.047s (~)1.006s (~)0.959s101.00x
💻 LocalNitro0.049s (+4.7%)1.007s (~)0.958s101.05x
💻 LocalNext.js (Turbopack)0.051s (-4.5%)1.007s (~)0.956s101.08x
🐘 PostgresNext.js (Turbopack)0.062s (+7.1% 🔺)1.013s (~)0.951s101.32x
🐘 PostgresNitro0.063s (-4.8%)1.012s (~)0.949s101.35x
🐘 PostgresExpress0.071s (+4.7%)1.013s (~)0.942s101.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.229s (-12.1% 🟢)1.758s (-24.1% 🟢)1.529s101.00x
▲ VercelNext.js (Turbopack)0.739s (-8.7% 🟢)2.837s (+18.1% 🔺)2.098s103.23x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.085s (~)2.007s (~)0.923s101.00x
💻 LocalExpress1.087s (~)2.007s (~)0.920s101.00x
💻 LocalNext.js (Turbopack)1.088s (~)2.007s (~)0.919s101.00x
🐘 PostgresNitro1.093s (-0.6%)2.010s (~)0.917s101.01x
🐘 PostgresExpress1.099s (~)2.009s (~)0.910s101.01x
🐘 PostgresNext.js (Turbopack)1.103s (+0.9%)2.010s (~)0.907s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.621s (+13.8% 🔺)3.682s (+20.7% 🔺)2.061s101.00x
▲ VercelNext.js (Turbopack)1.725s (-22.7% 🟢)3.861s (+1.4%)2.136s101.06x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.449s (~)11.022s (~)0.573s31.00x
💻 LocalNitro10.464s (~)11.023s (~)0.558s31.00x
💻 LocalExpress10.465s (~)11.023s (~)0.557s31.00x
🐘 PostgresExpress10.472s (~)11.017s (~)0.545s31.00x
🐘 PostgresNitro10.476s (~)11.018s (~)0.541s31.00x
🐘 PostgresNext.js (Turbopack)10.557s (+0.6%)11.038s (~)0.481s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro12.405s (+6.1% 🔺)14.164s (+2.2%)1.758s31.00x
▲ VercelNext.js (Turbopack)13.399s (+7.5% 🔺)15.865s (+10.1% 🔺)2.466s21.08x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.542s (-0.9%)14.027s (~)0.485s51.00x
🐘 PostgresNitro13.576s (-0.7%)14.022s (~)0.446s51.00x
💻 LocalNext.js (Turbopack)13.608s (~)14.027s (~)0.419s51.00x
🐘 PostgresExpress13.630s (-1.1%)14.021s (~)0.391s51.01x
💻 LocalNitro13.672s (~)14.026s (~)0.354s51.01x
🐘 PostgresNext.js (Turbopack)13.769s (~)14.023s (~)0.253s51.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)20.761s (+13.2% 🔺)22.832s (+12.7% 🔺)2.071s31.00x
▲ VercelNitro21.788s (+32.3% 🔺)24.197s (+29.4% 🔺)2.409s31.05x
▲ VercelExpress⚠️missing----

🔍 Observability: Next.js (Turbopack) | Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.056s (-2.4%)12.524s (-3.9%)0.469s81.00x
🐘 PostgresExpress12.138s (-1.0%)13.019s (~)0.881s71.01x
🐘 PostgresNitro12.190s (-0.6%)13.019s (~)0.829s71.01x
💻 LocalNext.js (Turbopack)12.206s (-0.7%)13.025s (~)0.819s71.01x
💻 LocalNitro12.220s (-0.9%)13.026s (~)0.806s71.01x
🐘 PostgresNext.js (Turbopack)12.692s (+3.7%)13.161s (+1.1%)0.469s71.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro25.264s (+38.3% 🔺)27.542s (+34.8% 🔺)2.278s41.00x
▲ VercelNext.js (Turbopack)27.572s (+29.9% 🔺)30.072s (+30.5% 🔺)2.500s41.09x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.181s (~)2.007s (~)0.827s151.00x
🐘 PostgresExpress1.190s (+0.7%)2.008s (~)0.819s151.01x
🐘 PostgresNext.js (Turbopack)1.196s (+1.4%)2.008s (~)0.811s151.01x
💻 LocalExpress1.387s (-14.1% 🟢)2.006s (-6.7% 🟢)0.620s151.17x
💻 LocalNext.js (Turbopack)1.402s (-8.2% 🟢)2.007s (-3.2%)0.605s151.19x
💻 LocalNitro1.444s (+2.4%)2.007s (~)0.563s151.22x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.558s (+22.5% 🔺)3.960s (+1.1%)1.402s81.00x
▲ VercelNext.js (Turbopack)4.137s (+16.3% 🔺)6.110s (+23.2% 🔺)1.973s61.62x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.313s (-1.0%)3.010s (~)1.697s101.00x
🐘 PostgresNitro1.346s (+1.9%)2.591s (-3.1%)1.245s121.02x
🐘 PostgresExpress1.372s (+3.3%)2.470s (-4.7%)1.098s131.04x
💻 LocalNext.js (Turbopack)2.266s (-17.1% 🟢)3.011s (~)0.745s101.73x
💻 LocalExpress2.419s (+1.8%)2.917s (-3.1%)0.498s111.84x
💻 LocalNitro2.563s (+3.2%)3.109s (~)0.546s101.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.572s (+29.5% 🔺)5.438s (+23.7% 🔺)1.866s61.00x
▲ VercelNext.js (Turbopack)5.240s (-17.6% 🟢)7.437s (-8.3% 🟢)2.197s51.47x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.614s (+1.9%)4.136s (~)2.522s81.00x
🐘 PostgresExpress1.617s (~)4.137s (~)2.520s81.00x
🐘 PostgresNext.js (Turbopack)2.932s (+8.5% 🔺)5.848s (+2.9%)2.916s61.82x
💻 LocalExpress5.329s (-14.2% 🟢)6.216s (-8.8% 🟢)0.887s53.30x
💻 LocalNitro6.257s (-8.1% 🟢)6.817s (-8.1% 🟢)0.561s53.88x
💻 LocalNext.js (Turbopack)6.680s (-13.1% 🟢)7.418s (-12.9% 🟢)0.738s54.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.016s (+24.7% 🔺)5.690s (+10.7% 🔺)1.674s61.00x
▲ VercelNext.js (Turbopack)5.310s (+6.9% 🔺)7.534s (+8.4% 🔺)2.224s41.32x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.182s (-0.8%)2.007s (~)0.826s151.00x
🐘 PostgresNitro1.193s (~)2.007s (~)0.814s151.01x
🐘 PostgresNext.js (Turbopack)1.197s (+1.3%)2.007s (~)0.810s151.01x
💻 LocalExpress1.394s (-1.4%)2.007s (~)0.613s151.18x
💻 LocalNitro1.436s (-3.1%)2.007s (~)0.570s151.22x
💻 LocalNext.js (Turbopack)1.477s (~)2.008s (~)0.531s151.25x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.681s (+23.7% 🔺)4.379s (+5.1% 🔺)1.697s71.00x
▲ VercelNext.js (Turbopack)3.853s (+13.0% 🔺)5.573s (+4.3%)1.720s61.44x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.317s (+1.7%)2.393s (+7.7% 🔺)1.076s131.00x
🐘 PostgresExpress1.322s (-0.6%)2.392s (+3.3%)1.071s131.00x
🐘 PostgresNext.js (Turbopack)1.333s (+1.8%)2.676s (-8.3% 🟢)1.342s121.01x
💻 LocalExpress2.425s (-8.2% 🟢)2.917s (-6.2% 🟢)0.492s111.84x
💻 LocalNitro2.583s (+9.4% 🔺)3.011s (~)0.428s101.96x
💻 LocalNext.js (Turbopack)2.946s (+15.8% 🔺)3.762s (+25.0% 🔺)0.816s82.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.120s (+33.6% 🔺)4.768s (+18.6% 🔺)1.648s71.00x
▲ VercelNext.js (Turbopack)4.191s (+11.3% 🔺)5.775s (+11.1% 🔺)1.584s61.34x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.613s (-5.9% 🟢)4.136s (-3.0%)2.523s81.00x
🐘 PostgresNitro1.629s (+0.6%)4.135s (+3.1%)2.506s81.01x
🐘 PostgresNext.js (Turbopack)2.957s (+2.9%)6.217s (+3.4%)3.260s51.83x
💻 LocalNext.js (Turbopack)5.429s (-21.3% 🟢)6.016s (-21.0% 🟢)0.587s63.37x
💻 LocalExpress6.062s (-14.0% 🟢)6.815s (-12.2% 🟢)0.754s53.76x
💻 LocalNitro6.912s (-1.9%)7.517s (~)0.605s44.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.812s (+2.2%)5.550s (-3.7%)1.739s61.00x
▲ VercelNext.js (Turbopack)5.652s (+28.3% 🔺)7.712s (+28.5% 🔺)2.060s41.48x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.558s (+5.3% 🔺)1.024s (+1.8%)0.465s591.00x
🐘 PostgresNext.js (Turbopack)0.570s (+4.4%)1.007s (~)0.436s601.02x
💻 LocalExpress0.583s (-2.9%)1.022s (+1.7%)0.438s591.04x
💻 LocalNitro0.587s (-0.8%)1.005s (-1.7%)0.419s601.05x
🐘 PostgresExpress0.597s (~)1.041s (+1.7%)0.444s581.07x
💻 LocalNext.js (Turbopack)0.611s (~)1.005s (~)0.394s601.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.840s (+39.1% 🔺)5.432s (+21.0% 🔺)1.592s121.00x
▲ VercelNext.js (Turbopack)4.679s (+10.6% 🔺)6.471s (+8.3% 🔺)1.792s101.22x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.300s (~)2.007s (~)0.707s451.00x
🐘 PostgresNext.js (Turbopack)1.322s (+3.0%)2.007s (~)0.685s451.02x
🐘 PostgresExpress1.330s (+0.7%)2.029s (+1.1%)0.699s451.02x
💻 LocalExpress1.430s (-3.6%)2.006s (~)0.575s451.10x
💻 LocalNitro1.494s (+3.0%)2.006s (~)0.512s451.15x
💻 LocalNext.js (Turbopack)1.525s (-1.0%)2.006s (-1.1%)0.482s451.17x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro10.526s (+62.5% 🔺)12.055s (+47.0% 🔺)1.529s81.00x
▲ VercelNext.js (Turbopack)12.867s (+32.8% 🔺)14.908s (+30.4% 🔺)2.041s71.22x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.529s (-1.7%)3.034s (-2.5%)0.504s401.00x
🐘 PostgresExpress2.628s (-2.8%)3.083s (-0.9%)0.455s401.04x
🐘 PostgresNext.js (Turbopack)2.662s (~)3.009s (-1.6%)0.347s401.05x
💻 LocalExpress3.125s (-4.9%)3.822s (-5.5% 🟢)0.697s321.24x
💻 LocalNitro3.263s (+4.2%)4.009s (+1.6%)0.747s301.29x
💻 LocalNext.js (Turbopack)3.306s (~)4.010s (~)0.704s301.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro19.917s (+35.6% 🔺)21.803s (+30.5% 🔺)1.887s61.00x
▲ VercelNext.js (Turbopack)23.449s (+11.5% 🔺)25.768s (+13.5% 🔺)2.319s51.18x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.175s (-6.4% 🟢)1.006s (~)0.831s601.00x
🐘 PostgresNitro0.218s (+3.0%)1.006s (~)0.788s601.25x
🐘 PostgresExpress0.219s (+1.8%)1.006s (~)0.787s601.25x
💻 LocalNitro0.458s (+5.1% 🔺)1.005s (~)0.547s602.62x
💻 LocalExpress0.461s (+1.0%)1.004s (~)0.544s602.64x
💻 LocalNext.js (Turbopack)0.645s (+4.0%)1.022s (+1.7%)0.377s593.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.369s (-16.6% 🟢)2.818s (-17.7% 🟢)1.449s221.00x
▲ VercelNext.js (Turbopack)2.684s (+22.8% 🔺)4.268s (+10.2% 🔺)1.584s151.96x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.282s (+2.2%)1.006s (~)0.724s901.00x
🐘 PostgresExpress0.324s (-2.6%)1.006s (~)0.682s901.15x
🐘 PostgresNitro0.331s (+2.3%)1.006s (-1.1%)0.675s901.17x
💻 LocalExpress2.147s (-0.8%)2.656s (-5.1% 🟢)0.509s347.61x
💻 LocalNitro2.196s (+4.7%)2.822s (+3.1%)0.626s327.78x
💻 LocalNext.js (Turbopack)2.742s (-4.5%)3.330s (-2.5%)0.589s289.72x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.135s (+33.4% 🔺)3.776s (+16.1% 🔺)1.641s241.00x
▲ VercelNext.js (Turbopack)3.554s (+26.0% 🔺)5.447s (+22.9% 🔺)1.892s171.67x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.513s (+1.7%)2.960s (-1.6%)2.447s411.00x
🐘 PostgresNitro0.518s (-1.2%)1.059s (+0.9%)0.540s1141.01x
🐘 PostgresExpress0.522s (-1.9%)1.117s (+4.6%)0.595s1081.02x
💻 LocalExpress9.677s (-3.3%)10.612s (-4.6%)0.936s1218.86x
💻 LocalNext.js (Turbopack)10.022s (-1.4%)11.121s (-3.1%)1.099s1119.53x
💻 LocalNitro10.574s (+8.6% 🔺)11.300s (+4.0%)0.726s1120.61x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.289s (+40.7% 🔺)5.005s (+19.8% 🔺)1.716s241.00x
▲ VercelNext.js (Turbopack)5.023s (+28.9% 🔺)7.149s (+27.2% 🔺)2.126s171.53x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.140s (~)1.967s (~)0.012s (+3.4%)2.019s (~)0.880s101.00x
💻 LocalExpress1.155s (-3.0%)2.004s (~)0.010s (-17.5% 🟢)2.018s (~)0.862s101.01x
🐘 PostgresNitro1.157s (~)1.993s (~)0.001s (-7.1% 🟢)2.010s (~)0.853s101.02x
🐘 PostgresExpress1.157s (-1.4%)1.996s (~)0.001s (-18.8% 🟢)2.011s (~)0.853s101.02x
💻 LocalNitro1.160s (~)2.005s (~)0.013s (+2.4%)2.021s (~)0.861s101.02x
🐘 PostgresNext.js (Turbopack)1.162s (+0.6%)1.999s (~)0.001s (+27.3% 🔺)2.010s (~)0.849s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.666s (+21.8% 🔺)3.761s (+6.8% 🔺)3.437s (+78.0% 🔺)7.767s (+30.0% 🔺)5.101s101.00x
▲ VercelNext.js (Turbopack)4.120s (+16.7% 🔺)4.583s (~)3.109s (+26.8% 🔺)9.281s (+11.5% 🔺)5.161s101.55x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.536s (-2.3%)2.012s (~)0.012s (+5.8% 🔺)2.027s (~)0.491s301.00x
🐘 PostgresNitro1.540s (-0.6%)2.003s (~)0.005s (-2.6%)2.026s (~)0.486s301.00x
🐘 PostgresExpress1.548s (-3.2%)2.006s (~)0.005s (-3.4%)2.028s (~)0.480s301.01x
💻 LocalNext.js (Turbopack)1.578s (~)1.969s (~)0.012s (+10.3% 🔺)2.025s (~)0.446s301.03x
💻 LocalNitro1.580s (~)2.011s (~)0.013s (+2.7%)2.027s (~)0.447s301.03x
🐘 PostgresNext.js (Turbopack)1.600s (~)2.008s (~)0.005s (+2.0%)2.024s (~)0.425s301.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.908s (+22.1% 🔺)8.174s (+10.2% 🔺)0.202s (-52.4% 🟢)8.851s (+5.5% 🔺)1.943s71.00x
▲ VercelNext.js (Turbopack)10.261s (+12.5% 🔺)11.195s (+10.9% 🔺)0.195s (-15.4% 🟢)12.660s (+15.2% 🔺)2.399s51.49x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.769s (-2.2%)1.084s (~)0.000s (~)1.099s (~)0.330s551.00x
🐘 PostgresNitro0.786s (+0.6%)1.081s (-1.8%)0.000s (-1.8%)1.097s (-1.7%)0.310s561.02x
🐘 PostgresNext.js (Turbopack)0.991s (+2.4%)1.408s (+3.9%)0.000s (-48.9% 🟢)1.416s (+3.9%)0.425s441.29x
💻 LocalNitro1.247s (+3.0%)1.949s (-3.2%)0.000s (+38.2% 🔺)1.952s (-3.2%)0.706s311.62x
💻 LocalExpress1.265s (-3.5%)2.013s (~)0.000s (+20.0% 🔺)2.016s (~)0.751s301.65x
💻 LocalNext.js (Turbopack)1.408s (+2.4%)1.980s (~)0.001s (+11.8% 🔺)2.017s (~)0.609s301.83x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.675s (+6.9% 🔺)4.859s (-2.9%)0.000s (NaN%)5.331s (-2.9%)1.655s121.00x
▲ VercelNext.js (Turbopack)5.652s (+26.1% 🔺)6.765s (+24.8% 🔺)0.000s (NaN%)7.641s (+21.4% 🔺)1.989s81.54x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.797s (+7.9% 🔺)2.432s (+7.9% 🔺)0.000s (-100.0% 🟢)2.457s (+8.1% 🔺)0.660s251.00x
🐘 PostgresExpress1.819s (~)2.433s (+1.6%)0.000s (+Infinity% 🔺)2.450s (+1.7%)0.631s251.01x
🐘 PostgresNext.js (Turbopack)2.856s (+3.7%)3.334s (~)0.000s (+100.0% 🔺)3.344s (~)0.487s181.59x
💻 LocalNitro3.620s (-1.2%)4.163s (-1.5%)0.001s (+77.8% 🔺)4.167s (-1.5%)0.547s152.01x
💻 LocalExpress3.661s (+8.9% 🔺)4.228s (+6.6% 🔺)0.001s (-30.7% 🟢)4.231s (+6.6% 🔺)0.570s152.04x
💻 LocalNext.js (Turbopack)3.950s (+7.4% 🔺)4.350s (+5.4% 🔺)0.001s (+99.0% 🔺)4.397s (+5.5% 🔺)0.448s142.20x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.810s (+1.3%)6.930s (-2.0%)0.000s (-55.6% 🟢)7.367s (-3.2%)1.557s91.00x
▲ VercelNext.js (Turbopack)8.841s (+15.7% 🔺)9.410s (+13.2% 🔺)0.000s (NaN%)10.845s (+13.9% 🔺)2.004s61.52x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress13/21
🐘 PostgresNitro11/21
▲ VercelNitro20/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Redis + BullMQ: Community world (local development)
  • 🌐 Cloudflare: Community world (local development)
  • 🌐 MySQL: Community world (local development)
  • 🌐 Azure: Community world (local development)
  • 🌐 NATS JetStream: Community world (local development)
  • 🌐 Upstash: Community world (local development)
  • 🌐 Platformatic: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202301672
✅ 💻 Local Development160502191824
✅ 📦 Local Production160502191824
✅ 🐘 Local Postgres159302311824
✅ 🪟 Windows15200152
✅ 📋 Other88501791064
Total7282010788360

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125027
✅ example125027
✅ express125027
✅ fastify125027
✅ hono125027
✅ nextjs-turbopack14903
✅ nextjs-webpack14903
✅ nitro125027
✅ nuxt125027
✅ sveltekit14408
✅ vite125027
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable126026
✅ express-stable126026
✅ fastify-stable126026
✅ hono-stable126026
✅ nextjs-turbopack-canary132020
✅ nextjs-turbopack-stable15101
✅ nextjs-webpack-canary132020
✅ nextjs-webpack-stable15101
✅ nitro-stable126026
✅ nuxt-stable126026
✅ sveltekit-stable14507
✅ vite-stable126026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15200
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable127025
✅ e2e-local-dev-tanstack-start-127025
✅ e2e-local-postgres-nest-stable126026
✅ e2e-local-postgres-tanstack-start-126026
✅ e2e-local-prod-nest-stable127025
✅ e2e-local-prod-tanstack-start-127025
✅ e2e-vercel-prod-tanstack-start125027

📋 View full workflow run

@VaguelySerious
VaguelySerious enabled auto-merge (squash) June 26, 2026 20:25
@VaguelySerious
VaguelySerious merged commit d4e6c5b into mainJun 26, 2026
177 of 183 checks passed
@VaguelySerious
VaguelySerious deleted the peter/world-local-recovery-untagged-filter branch June 26, 2026 20:37
github-actionsBot added a commit that referenced this pull request Jun 26, 2026
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2668. (backport job run)

VaguelySerious added a commit that referenced this pull request Jun 26, 2026
#2668)
Co-authored-by: Peter Wielander <mittgfu@gmail.com>
This was referenced Jun 26, 2026
pranaygp added a commit that referenced this pull request Jun 26, 2026
…edrive
* origin/main: (90 commits)
[ai] Fix "missing text part" stream crash by repairing UI message framing (#2537)
[ci] Fix release "Premature close" by bounding changelog GraphQL batch size (#2669)
[ai] Drop orphan UI chunks after negative-index reconnect (#2082)
Fix trace detail panel Input/Output flicker (selection-driven state machine) (#2637)
[world-local] Scope untagged startup recovery to untagged runs (#2667)
fix(world-postgres): defer loopback worker startup (#2657)
docs: deprecate DurableAgent and WorkflowChatTransport, point to AI SDK WorkflowAgent (#2616)
[web] Fix HTTP/2 in bundled server build so observability reads work (#2632)
[core] Fix turbo-mode step-body writes racing run_started (#2629)
fix(world-postgres): rename setup command (#2644)
chore: ignore workflow swc caches (#2640)
fix(ai): ignore intentional stream aborts (#2635)
fix(nitro): reload steps during Vite HMR (#2572)
[world] Make @workflow/world own its Zod dependency (#2622)
feat(web-shared): extend cn with custom tailwind-merge class groups (#2619)
[world-vercel] Enable HTTP/2 for the events API and stream writes (#2573)
Remove shadow from off-screen marker indicator button (#2614)
Fix discovery of dotted JS workflow imports (#2594)
Version Packages (beta) (#2597)
Thread occurredAt into web-shared entities (#2608)
...
# Conflicts:
#	packages/core/src/runtime/step-executor.ts
#	packages/world-vercel/src/http-client.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.

2 participants

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

[world-local] Scope untagged startup recovery to untagged runs - #2667

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/world-local-recovery-untagged-filter
Jun 26, 2026
Merged

[world-local] Scope untagged startup recovery to untagged runs#2667
VaguelySerious merged 1 commit into
mainfrom
peter/world-local-recovery-untagged-filter

Conversation

@VaguelySerious

Copy link
Copy Markdown
Member

Problem

Using Workflow SDK locally with world-local, users can hit a startup error storm:

[workflow-sdk] Fatal runtime error during workflow setup
code RUNTIME_ERROR
error Event creation for 'run_started' did not return the run entity for run "wrun_…"
POST /.well-known/workflow/v1/flow 500

Root cause

createLocalWorld defaults recoverActiveRuns: true, so world.start() (on every dev-server boot) calls reenqueueActiveRuns, which lists active runs and re-enqueues them with no runInput.

runs.list enumerates every*.json file in the runs directory and keys each by the runIdinside the file — including tag-suffixed files like wrun_X.vitest-0.json. But reads go through readJSONWithFallback, which only resolves {id}.{tag}.json (own tag) then untagged {id}.json.

So an untagged world (a normal pnpm dev) sharing the default .workflow-data directory with the vitest harness — which writes tagged files there "so runs are visible to the observability dashboard" — recovers leftover tagged runs it cannot read back. Since the re-enqueued message carries no runInput, the resilient-start path can't recreate the run either, and run_started returns no run entity → RUNTIME_ERROR 500, retried until the message exhausts its deliveries (hence "multiple times").

Tagged worlds already guarded against this with fileIdFilter: (fileId) => hasTag(fileId, tag). The untagged path had no symmetric guard.

Fix

Give the untagged recovery path the symmetric filter via a new isUntagged predicate, so each world only recovers files it can actually read back:

  • tagged world → recover only its own tag (unchanged)
  • untagged world → recover only untagged files (new)

Test

Added untagged recovery skips tagged runs sharing the data dir to reenqueue.test.ts: a tagged (vitest-style) active run + an untagged active run share a data dir; an untagged dev boot must recover only the untagged run. Verified the test fails on the old code (the tagged run gets re-enqueued) and passes with the fix. Full @workflow/world-local suite (412 tests) passes.

An untagged world (a normal local dev server) shares the default
`.workflow-data` directory with the vitest harness, which writes
tag-suffixed files (`{id}.{tag}.json`). On startup, `reenqueueActiveRuns`
lists active runs and re-enqueues them; `runs.list` enumerates every file
in the directory and keys each by the `runId` inside it, so an untagged
recovery would pick up tagged runs left behind by tests. Those re-enqueued
messages carry no `runInput`, and `readJSONWithFallback` can only resolve
untagged (or own-tag) files, so `run_started` returns no run entity and the
runtime fails with "did not return the run entity" — a 500 storm on the
flow route until the message exhausts its deliveries.
Tagged worlds already scoped recovery via `fileIdFilter: hasTag(...)`; give
the untagged path the symmetric guard with a new `isUntagged` predicate so
each world only recovers files it can actually read back.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@VaguelySerious
VaguelySerious requested review from a team and ijjk as code ownersJune 26, 2026 19:59
@vercel

vercelBot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 41ca2ca

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

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

@github-actions

github-actionsBot commented Jun 26, 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.047s (~)1.006s (~)0.959s101.00x
💻 LocalNitro0.049s (+4.7%)1.007s (~)0.958s101.05x
💻 LocalNext.js (Turbopack)0.051s (-4.5%)1.007s (~)0.956s101.08x
🐘 PostgresNext.js (Turbopack)0.062s (+7.1% 🔺)1.013s (~)0.951s101.32x
🐘 PostgresNitro0.063s (-4.8%)1.012s (~)0.949s101.35x
🐘 PostgresExpress0.071s (+4.7%)1.013s (~)0.942s101.52x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.229s (-12.1% 🟢)1.758s (-24.1% 🟢)1.529s101.00x
▲ VercelNext.js (Turbopack)0.739s (-8.7% 🟢)2.837s (+18.1% 🔺)2.098s103.23x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.085s (~)2.007s (~)0.923s101.00x
💻 LocalExpress1.087s (~)2.007s (~)0.920s101.00x
💻 LocalNext.js (Turbopack)1.088s (~)2.007s (~)0.919s101.00x
🐘 PostgresNitro1.093s (-0.6%)2.010s (~)0.917s101.01x
🐘 PostgresExpress1.099s (~)2.009s (~)0.910s101.01x
🐘 PostgresNext.js (Turbopack)1.103s (+0.9%)2.010s (~)0.907s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.621s (+13.8% 🔺)3.682s (+20.7% 🔺)2.061s101.00x
▲ VercelNext.js (Turbopack)1.725s (-22.7% 🟢)3.861s (+1.4%)2.136s101.06x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)10.449s (~)11.022s (~)0.573s31.00x
💻 LocalNitro10.464s (~)11.023s (~)0.558s31.00x
💻 LocalExpress10.465s (~)11.023s (~)0.557s31.00x
🐘 PostgresExpress10.472s (~)11.017s (~)0.545s31.00x
🐘 PostgresNitro10.476s (~)11.018s (~)0.541s31.00x
🐘 PostgresNext.js (Turbopack)10.557s (+0.6%)11.038s (~)0.481s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro12.405s (+6.1% 🔺)14.164s (+2.2%)1.758s31.00x
▲ VercelNext.js (Turbopack)13.399s (+7.5% 🔺)15.865s (+10.1% 🔺)2.466s21.08x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.542s (-0.9%)14.027s (~)0.485s51.00x
🐘 PostgresNitro13.576s (-0.7%)14.022s (~)0.446s51.00x
💻 LocalNext.js (Turbopack)13.608s (~)14.027s (~)0.419s51.00x
🐘 PostgresExpress13.630s (-1.1%)14.021s (~)0.391s51.01x
💻 LocalNitro13.672s (~)14.026s (~)0.354s51.01x
🐘 PostgresNext.js (Turbopack)13.769s (~)14.023s (~)0.253s51.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)20.761s (+13.2% 🔺)22.832s (+12.7% 🔺)2.071s31.00x
▲ VercelNitro21.788s (+32.3% 🔺)24.197s (+29.4% 🔺)2.409s31.05x
▲ VercelExpress⚠️missing----

🔍 Observability: Next.js (Turbopack) | Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.056s (-2.4%)12.524s (-3.9%)0.469s81.00x
🐘 PostgresExpress12.138s (-1.0%)13.019s (~)0.881s71.01x
🐘 PostgresNitro12.190s (-0.6%)13.019s (~)0.829s71.01x
💻 LocalNext.js (Turbopack)12.206s (-0.7%)13.025s (~)0.819s71.01x
💻 LocalNitro12.220s (-0.9%)13.026s (~)0.806s71.01x
🐘 PostgresNext.js (Turbopack)12.692s (+3.7%)13.161s (+1.1%)0.469s71.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro25.264s (+38.3% 🔺)27.542s (+34.8% 🔺)2.278s41.00x
▲ VercelNext.js (Turbopack)27.572s (+29.9% 🔺)30.072s (+30.5% 🔺)2.500s41.09x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.181s (~)2.007s (~)0.827s151.00x
🐘 PostgresExpress1.190s (+0.7%)2.008s (~)0.819s151.01x
🐘 PostgresNext.js (Turbopack)1.196s (+1.4%)2.008s (~)0.811s151.01x
💻 LocalExpress1.387s (-14.1% 🟢)2.006s (-6.7% 🟢)0.620s151.17x
💻 LocalNext.js (Turbopack)1.402s (-8.2% 🟢)2.007s (-3.2%)0.605s151.19x
💻 LocalNitro1.444s (+2.4%)2.007s (~)0.563s151.22x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.558s (+22.5% 🔺)3.960s (+1.1%)1.402s81.00x
▲ VercelNext.js (Turbopack)4.137s (+16.3% 🔺)6.110s (+23.2% 🔺)1.973s61.62x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.313s (-1.0%)3.010s (~)1.697s101.00x
🐘 PostgresNitro1.346s (+1.9%)2.591s (-3.1%)1.245s121.02x
🐘 PostgresExpress1.372s (+3.3%)2.470s (-4.7%)1.098s131.04x
💻 LocalNext.js (Turbopack)2.266s (-17.1% 🟢)3.011s (~)0.745s101.73x
💻 LocalExpress2.419s (+1.8%)2.917s (-3.1%)0.498s111.84x
💻 LocalNitro2.563s (+3.2%)3.109s (~)0.546s101.95x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.572s (+29.5% 🔺)5.438s (+23.7% 🔺)1.866s61.00x
▲ VercelNext.js (Turbopack)5.240s (-17.6% 🟢)7.437s (-8.3% 🟢)2.197s51.47x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.614s (+1.9%)4.136s (~)2.522s81.00x
🐘 PostgresExpress1.617s (~)4.137s (~)2.520s81.00x
🐘 PostgresNext.js (Turbopack)2.932s (+8.5% 🔺)5.848s (+2.9%)2.916s61.82x
💻 LocalExpress5.329s (-14.2% 🟢)6.216s (-8.8% 🟢)0.887s53.30x
💻 LocalNitro6.257s (-8.1% 🟢)6.817s (-8.1% 🟢)0.561s53.88x
💻 LocalNext.js (Turbopack)6.680s (-13.1% 🟢)7.418s (-12.9% 🟢)0.738s54.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.016s (+24.7% 🔺)5.690s (+10.7% 🔺)1.674s61.00x
▲ VercelNext.js (Turbopack)5.310s (+6.9% 🔺)7.534s (+8.4% 🔺)2.224s41.32x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.182s (-0.8%)2.007s (~)0.826s151.00x
🐘 PostgresNitro1.193s (~)2.007s (~)0.814s151.01x
🐘 PostgresNext.js (Turbopack)1.197s (+1.3%)2.007s (~)0.810s151.01x
💻 LocalExpress1.394s (-1.4%)2.007s (~)0.613s151.18x
💻 LocalNitro1.436s (-3.1%)2.007s (~)0.570s151.22x
💻 LocalNext.js (Turbopack)1.477s (~)2.008s (~)0.531s151.25x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.681s (+23.7% 🔺)4.379s (+5.1% 🔺)1.697s71.00x
▲ VercelNext.js (Turbopack)3.853s (+13.0% 🔺)5.573s (+4.3%)1.720s61.44x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.317s (+1.7%)2.393s (+7.7% 🔺)1.076s131.00x
🐘 PostgresExpress1.322s (-0.6%)2.392s (+3.3%)1.071s131.00x
🐘 PostgresNext.js (Turbopack)1.333s (+1.8%)2.676s (-8.3% 🟢)1.342s121.01x
💻 LocalExpress2.425s (-8.2% 🟢)2.917s (-6.2% 🟢)0.492s111.84x
💻 LocalNitro2.583s (+9.4% 🔺)3.011s (~)0.428s101.96x
💻 LocalNext.js (Turbopack)2.946s (+15.8% 🔺)3.762s (+25.0% 🔺)0.816s82.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.120s (+33.6% 🔺)4.768s (+18.6% 🔺)1.648s71.00x
▲ VercelNext.js (Turbopack)4.191s (+11.3% 🔺)5.775s (+11.1% 🔺)1.584s61.34x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.613s (-5.9% 🟢)4.136s (-3.0%)2.523s81.00x
🐘 PostgresNitro1.629s (+0.6%)4.135s (+3.1%)2.506s81.01x
🐘 PostgresNext.js (Turbopack)2.957s (+2.9%)6.217s (+3.4%)3.260s51.83x
💻 LocalNext.js (Turbopack)5.429s (-21.3% 🟢)6.016s (-21.0% 🟢)0.587s63.37x
💻 LocalExpress6.062s (-14.0% 🟢)6.815s (-12.2% 🟢)0.754s53.76x
💻 LocalNitro6.912s (-1.9%)7.517s (~)0.605s44.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.812s (+2.2%)5.550s (-3.7%)1.739s61.00x
▲ VercelNext.js (Turbopack)5.652s (+28.3% 🔺)7.712s (+28.5% 🔺)2.060s41.48x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.558s (+5.3% 🔺)1.024s (+1.8%)0.465s591.00x
🐘 PostgresNext.js (Turbopack)0.570s (+4.4%)1.007s (~)0.436s601.02x
💻 LocalExpress0.583s (-2.9%)1.022s (+1.7%)0.438s591.04x
💻 LocalNitro0.587s (-0.8%)1.005s (-1.7%)0.419s601.05x
🐘 PostgresExpress0.597s (~)1.041s (+1.7%)0.444s581.07x
💻 LocalNext.js (Turbopack)0.611s (~)1.005s (~)0.394s601.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.840s (+39.1% 🔺)5.432s (+21.0% 🔺)1.592s121.00x
▲ VercelNext.js (Turbopack)4.679s (+10.6% 🔺)6.471s (+8.3% 🔺)1.792s101.22x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.300s (~)2.007s (~)0.707s451.00x
🐘 PostgresNext.js (Turbopack)1.322s (+3.0%)2.007s (~)0.685s451.02x
🐘 PostgresExpress1.330s (+0.7%)2.029s (+1.1%)0.699s451.02x
💻 LocalExpress1.430s (-3.6%)2.006s (~)0.575s451.10x
💻 LocalNitro1.494s (+3.0%)2.006s (~)0.512s451.15x
💻 LocalNext.js (Turbopack)1.525s (-1.0%)2.006s (-1.1%)0.482s451.17x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro10.526s (+62.5% 🔺)12.055s (+47.0% 🔺)1.529s81.00x
▲ VercelNext.js (Turbopack)12.867s (+32.8% 🔺)14.908s (+30.4% 🔺)2.041s71.22x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.529s (-1.7%)3.034s (-2.5%)0.504s401.00x
🐘 PostgresExpress2.628s (-2.8%)3.083s (-0.9%)0.455s401.04x
🐘 PostgresNext.js (Turbopack)2.662s (~)3.009s (-1.6%)0.347s401.05x
💻 LocalExpress3.125s (-4.9%)3.822s (-5.5% 🟢)0.697s321.24x
💻 LocalNitro3.263s (+4.2%)4.009s (+1.6%)0.747s301.29x
💻 LocalNext.js (Turbopack)3.306s (~)4.010s (~)0.704s301.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro19.917s (+35.6% 🔺)21.803s (+30.5% 🔺)1.887s61.00x
▲ VercelNext.js (Turbopack)23.449s (+11.5% 🔺)25.768s (+13.5% 🔺)2.319s51.18x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.175s (-6.4% 🟢)1.006s (~)0.831s601.00x
🐘 PostgresNitro0.218s (+3.0%)1.006s (~)0.788s601.25x
🐘 PostgresExpress0.219s (+1.8%)1.006s (~)0.787s601.25x
💻 LocalNitro0.458s (+5.1% 🔺)1.005s (~)0.547s602.62x
💻 LocalExpress0.461s (+1.0%)1.004s (~)0.544s602.64x
💻 LocalNext.js (Turbopack)0.645s (+4.0%)1.022s (+1.7%)0.377s593.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.369s (-16.6% 🟢)2.818s (-17.7% 🟢)1.449s221.00x
▲ VercelNext.js (Turbopack)2.684s (+22.8% 🔺)4.268s (+10.2% 🔺)1.584s151.96x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.282s (+2.2%)1.006s (~)0.724s901.00x
🐘 PostgresExpress0.324s (-2.6%)1.006s (~)0.682s901.15x
🐘 PostgresNitro0.331s (+2.3%)1.006s (-1.1%)0.675s901.17x
💻 LocalExpress2.147s (-0.8%)2.656s (-5.1% 🟢)0.509s347.61x
💻 LocalNitro2.196s (+4.7%)2.822s (+3.1%)0.626s327.78x
💻 LocalNext.js (Turbopack)2.742s (-4.5%)3.330s (-2.5%)0.589s289.72x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.135s (+33.4% 🔺)3.776s (+16.1% 🔺)1.641s241.00x
▲ VercelNext.js (Turbopack)3.554s (+26.0% 🔺)5.447s (+22.9% 🔺)1.892s171.67x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.513s (+1.7%)2.960s (-1.6%)2.447s411.00x
🐘 PostgresNitro0.518s (-1.2%)1.059s (+0.9%)0.540s1141.01x
🐘 PostgresExpress0.522s (-1.9%)1.117s (+4.6%)0.595s1081.02x
💻 LocalExpress9.677s (-3.3%)10.612s (-4.6%)0.936s1218.86x
💻 LocalNext.js (Turbopack)10.022s (-1.4%)11.121s (-3.1%)1.099s1119.53x
💻 LocalNitro10.574s (+8.6% 🔺)11.300s (+4.0%)0.726s1120.61x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.289s (+40.7% 🔺)5.005s (+19.8% 🔺)1.716s241.00x
▲ VercelNext.js (Turbopack)5.023s (+28.9% 🔺)7.149s (+27.2% 🔺)2.126s171.53x
▲ VercelExpress⚠️missing----

🔍 Observability: Nitro | Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Next.js (Turbopack)1.140s (~)1.967s (~)0.012s (+3.4%)2.019s (~)0.880s101.00x
💻 LocalExpress1.155s (-3.0%)2.004s (~)0.010s (-17.5% 🟢)2.018s (~)0.862s101.01x
🐘 PostgresNitro1.157s (~)1.993s (~)0.001s (-7.1% 🟢)2.010s (~)0.853s101.02x
🐘 PostgresExpress1.157s (-1.4%)1.996s (~)0.001s (-18.8% 🟢)2.011s (~)0.853s101.02x
💻 LocalNitro1.160s (~)2.005s (~)0.013s (+2.4%)2.021s (~)0.861s101.02x
🐘 PostgresNext.js (Turbopack)1.162s (+0.6%)1.999s (~)0.001s (+27.3% 🔺)2.010s (~)0.849s101.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.666s (+21.8% 🔺)3.761s (+6.8% 🔺)3.437s (+78.0% 🔺)7.767s (+30.0% 🔺)5.101s101.00x
▲ VercelNext.js (Turbopack)4.120s (+16.7% 🔺)4.583s (~)3.109s (+26.8% 🔺)9.281s (+11.5% 🔺)5.161s101.55x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.536s (-2.3%)2.012s (~)0.012s (+5.8% 🔺)2.027s (~)0.491s301.00x
🐘 PostgresNitro1.540s (-0.6%)2.003s (~)0.005s (-2.6%)2.026s (~)0.486s301.00x
🐘 PostgresExpress1.548s (-3.2%)2.006s (~)0.005s (-3.4%)2.028s (~)0.480s301.01x
💻 LocalNext.js (Turbopack)1.578s (~)1.969s (~)0.012s (+10.3% 🔺)2.025s (~)0.446s301.03x
💻 LocalNitro1.580s (~)2.011s (~)0.013s (+2.7%)2.027s (~)0.447s301.03x
🐘 PostgresNext.js (Turbopack)1.600s (~)2.008s (~)0.005s (+2.0%)2.024s (~)0.425s301.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.908s (+22.1% 🔺)8.174s (+10.2% 🔺)0.202s (-52.4% 🟢)8.851s (+5.5% 🔺)1.943s71.00x
▲ VercelNext.js (Turbopack)10.261s (+12.5% 🔺)11.195s (+10.9% 🔺)0.195s (-15.4% 🟢)12.660s (+15.2% 🔺)2.399s51.49x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.769s (-2.2%)1.084s (~)0.000s (~)1.099s (~)0.330s551.00x
🐘 PostgresNitro0.786s (+0.6%)1.081s (-1.8%)0.000s (-1.8%)1.097s (-1.7%)0.310s561.02x
🐘 PostgresNext.js (Turbopack)0.991s (+2.4%)1.408s (+3.9%)0.000s (-48.9% 🟢)1.416s (+3.9%)0.425s441.29x
💻 LocalNitro1.247s (+3.0%)1.949s (-3.2%)0.000s (+38.2% 🔺)1.952s (-3.2%)0.706s311.62x
💻 LocalExpress1.265s (-3.5%)2.013s (~)0.000s (+20.0% 🔺)2.016s (~)0.751s301.65x
💻 LocalNext.js (Turbopack)1.408s (+2.4%)1.980s (~)0.001s (+11.8% 🔺)2.017s (~)0.609s301.83x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.675s (+6.9% 🔺)4.859s (-2.9%)0.000s (NaN%)5.331s (-2.9%)1.655s121.00x
▲ VercelNext.js (Turbopack)5.652s (+26.1% 🔺)6.765s (+24.8% 🔺)0.000s (NaN%)7.641s (+21.4% 🔺)1.989s81.54x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.797s (+7.9% 🔺)2.432s (+7.9% 🔺)0.000s (-100.0% 🟢)2.457s (+8.1% 🔺)0.660s251.00x
🐘 PostgresExpress1.819s (~)2.433s (+1.6%)0.000s (+Infinity% 🔺)2.450s (+1.7%)0.631s251.01x
🐘 PostgresNext.js (Turbopack)2.856s (+3.7%)3.334s (~)0.000s (+100.0% 🔺)3.344s (~)0.487s181.59x
💻 LocalNitro3.620s (-1.2%)4.163s (-1.5%)0.001s (+77.8% 🔺)4.167s (-1.5%)0.547s152.01x
💻 LocalExpress3.661s (+8.9% 🔺)4.228s (+6.6% 🔺)0.001s (-30.7% 🟢)4.231s (+6.6% 🔺)0.570s152.04x
💻 LocalNext.js (Turbopack)3.950s (+7.4% 🔺)4.350s (+5.4% 🔺)0.001s (+99.0% 🔺)4.397s (+5.5% 🔺)0.448s142.20x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.810s (+1.3%)6.930s (-2.0%)0.000s (-55.6% 🟢)7.367s (-3.2%)1.557s91.00x
▲ VercelNext.js (Turbopack)8.841s (+15.7% 🔺)9.410s (+13.2% 🔺)0.000s (NaN%)10.845s (+13.9% 🔺)2.004s61.52x
▲ VercelExpress⚠️missing-----

🔍 Observability: Nitro | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress13/21
🐘 PostgresNitro11/21
▲ VercelNitro20/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Redis + BullMQ: Community world (local development)
  • 🌐 Cloudflare: Community world (local development)
  • 🌐 MySQL: Community world (local development)
  • 🌐 Azure: Community world (local development)
  • 🌐 NATS JetStream: Community world (local development)
  • 🌐 Upstash: Community world (local development)
  • 🌐 Platformatic: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production144202301672
✅ 💻 Local Development160502191824
✅ 📦 Local Production160502191824
✅ 🐘 Local Postgres159302311824
✅ 🪟 Windows15200152
✅ 📋 Other88501791064
Total7282010788360

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro125027
✅ example125027
✅ express125027
✅ fastify125027
✅ hono125027
✅ nextjs-turbopack14903
✅ nextjs-webpack14903
✅ nitro125027
✅ nuxt125027
✅ sveltekit14408
✅ vite125027
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable127025
✅ express-stable127025
✅ fastify-stable127025
✅ hono-stable127025
✅ nextjs-turbopack-canary133019
✅ nextjs-turbopack-stable15200
✅ nextjs-webpack-canary133019
✅ nextjs-webpack-stable15200
✅ nitro-stable127025
✅ nuxt-stable127025
✅ sveltekit-stable14606
✅ vite-stable127025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable126026
✅ express-stable126026
✅ fastify-stable126026
✅ hono-stable126026
✅ nextjs-turbopack-canary132020
✅ nextjs-turbopack-stable15101
✅ nextjs-webpack-canary132020
✅ nextjs-webpack-stable15101
✅ nitro-stable126026
✅ nuxt-stable126026
✅ sveltekit-stable14507
✅ vite-stable126026
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack15200
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable127025
✅ e2e-local-dev-tanstack-start-127025
✅ e2e-local-postgres-nest-stable126026
✅ e2e-local-postgres-tanstack-start-126026
✅ e2e-local-prod-nest-stable127025
✅ e2e-local-prod-tanstack-start-127025
✅ e2e-vercel-prod-tanstack-start125027

📋 View full workflow run

@VaguelySerious
VaguelySerious enabled auto-merge (squash) June 26, 2026 20:25
@VaguelySerious
VaguelySerious merged commit d4e6c5b into mainJun 26, 2026
177 of 183 checks passed
@VaguelySerious
VaguelySerious deleted the peter/world-local-recovery-untagged-filter branch June 26, 2026 20:37
github-actionsBot added a commit that referenced this pull request Jun 26, 2026
Signed-off-by: Peter Wielander <mittgfu@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2668. (backport job run)

VaguelySerious added a commit that referenced this pull request Jun 26, 2026
#2668)
Co-authored-by: Peter Wielander <mittgfu@gmail.com>
This was referenced Jun 26, 2026
pranaygp added a commit that referenced this pull request Jun 26, 2026
…edrive
* origin/main: (90 commits)
[ai] Fix "missing text part" stream crash by repairing UI message framing (#2537)
[ci] Fix release "Premature close" by bounding changelog GraphQL batch size (#2669)
[ai] Drop orphan UI chunks after negative-index reconnect (#2082)
Fix trace detail panel Input/Output flicker (selection-driven state machine) (#2637)
[world-local] Scope untagged startup recovery to untagged runs (#2667)
fix(world-postgres): defer loopback worker startup (#2657)
docs: deprecate DurableAgent and WorkflowChatTransport, point to AI SDK WorkflowAgent (#2616)
[web] Fix HTTP/2 in bundled server build so observability reads work (#2632)
[core] Fix turbo-mode step-body writes racing run_started (#2629)
fix(world-postgres): rename setup command (#2644)
chore: ignore workflow swc caches (#2640)
fix(ai): ignore intentional stream aborts (#2635)
fix(nitro): reload steps during Vite HMR (#2572)
[world] Make @workflow/world own its Zod dependency (#2622)
feat(web-shared): extend cn with custom tailwind-merge class groups (#2619)
[world-vercel] Enable HTTP/2 for the events API and stream writes (#2573)
Remove shadow from off-screen marker indicator button (#2614)
Fix discovery of dotted JS workflow imports (#2594)
Version Packages (beta) (#2597)
Thread occurredAt into web-shared entities (#2608)
...
# Conflicts:
#	packages/core/src/runtime/step-executor.ts
#	packages/world-vercel/src/http-client.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.

2 participants

@VaguelySerious@pranaygp