Skip to content

fix: settle aborted parallel steps before completing abortParallelWorkflow - #2244

Merged
pranaygp merged 2 commits into
mainfrom
pranaygp/fix-abort-parallel-timeout
Jun 11, 2026
Merged

fix: settle aborted parallel steps before completing abortParallelWorkflow#2244
pranaygp merged 2 commits into
mainfrom
pranaygp/fix-abort-parallel-timeout

Conversation

@pranaygp

@pranaygppranaygp commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • keep the parallel longStep() promises alive as a named promise so the workflow can await them after aborting
  • return the settled parallel step results after timeout so the test can prove all three steps actually observed the abort
  • assert AbortController > abortParallelWorkflow: abort cancels all parallel steps returns ["aborted", "aborted", "aborted"]

Validation

  • git diff --check
  • WORKFLOW_PUBLIC_MANIFEST=1 pnpm dev in workbench/nextjs-turbopack
  • DEPLOYMENT_URL="http://localhost:3000" APP_NAME="nextjs-turbopack" pnpm vitest run packages/core/e2e/e2e.test.ts -t "abortParallelWorkflow: abort cancels all parallel steps"

Notes

  • The focused local E2E still does not reach the assertion because local Next dev fails earlier with Workflow "workflow//./workflows/99_e2e//abortParallelWorkflow" is not registered in the current deployment.
  • Dev logs continue to show the concurrent local bundling warning Module not found: Can't resolve <dynamic> from packages/core/dist/runtime/world.js.
  • That local registration/bundling issue appears unrelated to this workflow/test change, so CI remains the real verification path for the timeout fix.

@changeset-bot

changeset-botBot commented Jun 4, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a1fcc91

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel

vercelBot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 4, 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🥇 Nitro0.042s (-2.1%)1.006s (~)0.964s101.00x
💻 LocalExpress0.043s (~)1.006s (~)0.963s101.03x
🐘 PostgresExpress0.060s (-10.0% 🟢)1.012s (~)0.953s101.42x
💻 LocalNext.js (Turbopack)0.062s (+13.3% 🔺)1.007s (~)0.944s101.49x
🐘 PostgresNitro0.063s (-1.1%)1.012s (~)0.949s101.49x
🐘 PostgresNext.js (Turbopack)0.067s (-4.4%)1.012s (~)0.945s101.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.252s (-3.6%)2.403s (-1.3%)2.151s101.00x
▲ VercelExpress0.297s (+9.1% 🔺)2.135s (-21.3% 🟢)1.838s101.18x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.099s (~)2.007s (~)0.908s101.00x
💻 LocalNitro1.103s (+0.6%)2.007s (~)0.904s101.00x
🐘 PostgresExpress1.105s (+1.2%)2.011s (~)0.905s101.01x
🐘 PostgresNitro1.112s (~)2.010s (~)0.899s101.01x
💻 LocalNext.js (Turbopack)1.134s (+2.3%)2.006s (~)0.872s101.03x
🐘 PostgresNext.js (Turbopack)1.140s (~)2.009s (~)0.869s101.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.586s (+1.3%)3.917s (+11.0% 🔺)2.331s101.00x
▲ VercelExpress1.666s (+5.2% 🔺)3.986s (+11.6% 🔺)2.319s101.05x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.520s (-1.8%)11.015s (-2.9%)0.495s31.00x
💻 LocalNitro10.537s (~)11.022s (~)0.485s31.00x
🐘 PostgresNitro10.546s (~)11.020s (~)0.473s31.00x
💻 LocalExpress10.555s (~)11.022s (~)0.467s31.00x
💻 LocalNext.js (Turbopack)10.797s (+1.8%)11.022s (~)0.225s31.03x
🐘 PostgresNext.js (Turbopack)10.814s (~)11.018s (~)0.204s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express13.412s (+1.9%)15.953s (+3.3%)2.541s21.00x
▲ VercelNitro13.614s (+2.2%)15.903s (+2.0%)2.289s21.02x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.754s (-1.1%)14.026s (-1.4%)0.272s51.00x
🐘 PostgresExpress13.860s (~)14.023s (-1.5%)0.163s51.01x
🐘 PostgresNitro13.873s (~)14.020s (~)0.147s51.01x
💻 LocalNitro13.883s (+1.2%)14.227s (+1.4%)0.345s51.01x
💻 LocalNext.js (Turbopack)14.367s (+2.4%)15.031s (+2.8%)0.664s41.04x
🐘 PostgresNext.js (Turbopack)14.437s (-1.1%)15.014s (~)0.576s41.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express20.293s (-20.3% 🟢)22.390s (-17.8% 🟢)2.097s31.00x
▲ VercelNitro20.916s (-18.0% 🟢)22.998s (-16.7% 🟢)2.081s31.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.434s (-1.3%)13.024s (~)0.590s71.00x
💻 LocalNitro12.449s (~)13.025s (~)0.576s71.00x
🐘 PostgresExpress12.478s (-2.0%)13.018s (-2.2%)0.541s71.00x
🐘 PostgresNitro12.795s (~)13.163s (+1.1%)0.368s71.03x
🐘 PostgresNext.js (Turbopack)13.720s (~)14.019s (~)0.298s71.10x
💻 LocalNext.js (Turbopack)13.793s (+6.5% 🔺)14.171s (+6.5% 🔺)0.378s71.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express28.281s (-11.8% 🟢)31.006s (-9.4% 🟢)2.725s31.00x
▲ VercelNitro29.486s (+1.5%)31.364s (~)1.878s31.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.200s (~)2.009s (~)0.809s151.00x
🐘 PostgresExpress1.214s (+1.2%)2.008s (-0.7%)0.794s151.01x
💻 LocalNitro1.217s (~)2.006s (~)0.789s151.01x
💻 LocalExpress1.219s (-3.5%)2.006s (~)0.786s151.02x
🐘 PostgresNext.js (Turbopack)1.245s (~)2.007s (~)0.762s151.04x
💻 LocalNext.js (Turbopack)1.306s (+6.8% 🔺)2.006s (~)0.699s151.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.457s (-11.2% 🟢)4.020s (-14.8% 🟢)1.563s81.00x
▲ VercelNitro2.555s (-7.8% 🟢)4.046s (-6.8% 🟢)1.492s81.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.259s (~)2.008s (~)0.750s151.00x
🐘 PostgresExpress1.268s (-4.4%)2.008s (~)0.740s151.01x
🐘 PostgresNext.js (Turbopack)1.388s (-1.5%)2.073s (+3.2%)0.685s151.10x
💻 LocalNext.js (Turbopack)1.773s (+2.7%)2.073s (+3.3%)0.300s151.41x
💻 LocalNitro1.784s (+4.7%)2.074s (~)0.290s151.42x
💻 LocalExpress1.838s (-2.4%)2.150s (-3.2%)0.312s141.46x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.409s (-16.5% 🟢)5.261s (-14.7% 🟢)1.852s61.00x
▲ VercelNitro4.236s (+4.1%)6.058s (-2.4%)1.822s61.24x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.402s (+0.6%)2.008s (~)0.606s151.00x
🐘 PostgresNitro1.414s (+0.5%)2.007s (~)0.594s151.01x
🐘 PostgresNext.js (Turbopack)1.688s (-4.1%)2.151s (-6.3% 🟢)0.462s141.20x
💻 LocalNext.js (Turbopack)4.642s (+5.6% 🔺)5.179s (+3.3%)0.537s63.31x
💻 LocalExpress5.369s (+1.3%)6.014s (~)0.645s53.83x
💻 LocalNitro5.580s (+18.3% 🔺)6.014s (+20.1% 🔺)0.435s53.98x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.190s (-23.0% 🟢)7.400s (-15.0% 🟢)2.210s51.00x
▲ VercelExpress7.015s (+18.8% 🔺)9.135s (+15.7% 🔺)2.120s41.35x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.178s (-2.1%)2.009s (~)0.831s151.00x
🐘 PostgresNitro1.193s (-0.6%)2.009s (~)0.816s151.01x
🐘 PostgresNext.js (Turbopack)1.240s (-2.1%)2.008s (~)0.768s151.05x
💻 LocalNext.js (Turbopack)1.376s (+5.4% 🔺)2.006s (~)0.630s151.17x
💻 LocalNitro1.578s (+2.2%)2.006s (~)0.428s151.34x
💻 LocalExpress1.596s (-3.7%)2.007s (-3.2%)0.411s151.35x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.364s (-7.9% 🟢)3.989s (-5.0%)1.626s81.00x
▲ VercelNitro2.585s (-3.3%)4.181s (-3.5%)1.596s81.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.256s (+1.0%)2.009s (~)0.753s151.00x
🐘 PostgresNitro1.270s (~)2.010s (~)0.740s151.01x
🐘 PostgresNext.js (Turbopack)1.372s (-1.8%)2.009s (~)0.637s151.09x
💻 LocalNitro2.087s (+18.8% 🔺)2.675s (+29.1% 🔺)0.589s121.66x
💻 LocalNext.js (Turbopack)2.105s (+4.2%)2.676s (+6.8% 🔺)0.571s121.68x
💻 LocalExpress2.117s (~)2.591s (~)0.474s121.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.687s (~)5.540s (-1.3%)1.854s61.00x
▲ VercelNitro3.726s (-9.0% 🟢)5.647s (-5.9% 🟢)1.921s61.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.405s (-6.3% 🟢)2.007s (-16.3% 🟢)0.602s151.00x
🐘 PostgresNitro1.410s (-3.5%)2.008s (~)0.597s151.00x
🐘 PostgresNext.js (Turbopack)1.640s (-1.0%)2.150s (+3.7%)0.510s141.17x
💻 LocalNext.js (Turbopack)5.592s (+8.4% 🔺)6.017s (~)0.425s53.98x
💻 LocalExpress6.060s (+3.4%)6.416s (+3.3%)0.355s54.31x
💻 LocalNitro6.308s (+33.0% 🔺)6.615s (+23.8% 🔺)0.307s54.49x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.328s (+5.0% 🔺)7.109s (+7.3% 🔺)1.781s51.00x
▲ VercelNitro156.356s (+3071.8% 🔺)158.702s (+2255.8% 🔺)2.347s229.35x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.559s (-16.1% 🟢)1.007s (-3.9%)0.447s601.00x
💻 LocalNitro0.599s (-25.6% 🟢)1.005s (-16.6% 🟢)0.406s601.07x
💻 LocalExpress0.613s (-6.5% 🟢)1.005s (-3.3%)0.392s601.10x
🐘 PostgresNitro0.644s (+5.8% 🔺)1.059s (+5.2% 🔺)0.415s571.15x
🐘 PostgresNext.js (Turbopack)0.788s (-2.9%)1.006s (~)0.218s601.41x
💻 LocalNext.js (Turbopack)0.870s (+25.0% 🔺)1.021s (+1.7%)0.151s591.56x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.234s (-4.9%)7.188s (+1.1%)1.954s91.00x
▲ VercelNitro5.234s (-29.9% 🟢)7.068s (-25.8% 🟢)1.834s91.00x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.423s (-7.4% 🟢)2.053s (-4.6%)0.630s441.00x
🐘 PostgresNitro1.430s (+1.0%)2.054s (+2.3%)0.624s441.01x
💻 LocalNitro1.508s (+3.0%)2.007s (~)0.499s451.06x
💻 LocalExpress1.536s (-3.5%)2.007s (-1.1%)0.470s451.08x
🐘 PostgresNext.js (Turbopack)1.883s (-3.1%)2.030s (-6.6% 🟢)0.147s451.32x
💻 LocalNext.js (Turbopack)2.073s (+19.9% 🔺)2.976s (+46.7% 🔺)0.903s311.46x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express12.374s (-24.5% 🟢)14.609s (-20.2% 🟢)2.235s71.00x
▲ VercelNitro12.892s (-2.5%)15.013s (-3.0%)2.121s71.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.798s (-4.0%)3.138s (-4.3%)0.341s391.00x
🐘 PostgresExpress2.852s (-2.0%)3.220s (-9.0% 🟢)0.367s381.02x
💻 LocalExpress3.273s (-4.3%)4.010s (~)0.736s301.17x
💻 LocalNitro3.325s (+3.7%)4.043s (+0.8%)0.718s301.19x
🐘 PostgresNext.js (Turbopack)3.741s (-3.1%)4.042s (-0.8%)0.301s301.34x
💻 LocalNext.js (Turbopack)4.397s (+18.0% 🔺)5.012s (+22.0% 🔺)0.614s241.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro24.989s (-16.1% 🟢)27.368s (-14.4% 🟢)2.379s51.00x
▲ VercelExpress27.286s (-5.4% 🟢)30.110s (-2.6%)2.824s51.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.218s (-7.5% 🟢)1.007s (~)0.789s601.00x
🐘 PostgresExpress0.223s (-11.7% 🟢)1.006s (~)0.784s601.02x
🐘 PostgresNext.js (Turbopack)0.274s (-2.9%)1.006s (~)0.732s601.26x
💻 LocalExpress0.463s (~)1.005s (~)0.542s602.13x
💻 LocalNitro0.464s (+9.4% 🔺)1.004s (~)0.540s602.13x
💻 LocalNext.js (Turbopack)0.661s (+8.2% 🔺)1.058s (+1.9%)0.397s573.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.257s (-3.8%)3.916s (-9.6% 🟢)1.659s161.00x
▲ VercelExpress2.816s (+27.3% 🔺)4.679s (+14.2% 🔺)1.863s131.25x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.347s (+2.4%)1.006s (~)0.659s901.00x
🐘 PostgresNitro0.379s (+2.1%)1.007s (~)0.628s901.09x
🐘 PostgresNext.js (Turbopack)0.472s (-2.2%)1.006s (~)0.534s901.36x
💻 LocalNitro2.177s (+5.5% 🔺)2.766s (+4.9%)0.588s336.27x
💻 LocalExpress2.190s (~)2.713s (-3.9%)0.524s346.31x
💻 LocalNext.js (Turbopack)2.558s (+4.4%)3.261s (+4.9%)0.704s287.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.560s (-89.6% 🟢)6.563s (-85.7% 🟢)2.004s141.00x
▲ VercelExpress5.307s (-87.7% 🟢)7.209s (-84.1% 🟢)1.901s131.16x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.663s (+6.0% 🔺)1.006s (-4.6%)0.343s1201.00x
🐘 PostgresNitro0.694s (-1.8%)1.006s (~)0.312s1201.05x
🐘 PostgresNext.js (Turbopack)0.927s (-5.4% 🟢)1.231s (-23.4% 🟢)0.305s981.40x
💻 LocalExpress9.974s (-3.3%)10.530s (-3.1%)0.556s1215.04x
💻 LocalNitro10.018s (+15.0% 🔺)10.526s (+12.8% 🔺)0.507s1215.11x
💻 LocalNext.js (Turbopack)10.257s (-0.6%)11.209s (-0.8%)0.952s1115.47x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro13.262s (-95.7% 🟢)15.600s (-95.0% 🟢)2.338s81.00x
▲ VercelExpress13.685s (-10.3% 🟢)15.695s (-10.3% 🟢)2.009s81.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.162s (-0.6%)2.005s (~)0.012s (-3.1%)2.019s (~)0.858s101.00x
🐘 PostgresExpress1.165s (-2.5%)2.000s (~)0.001s (-96.8% 🟢)2.011s (-1.6%)0.846s101.00x
💻 LocalNitro1.165s (+1.2%)2.005s (~)0.012s (+23.0% 🔺)2.019s (~)0.854s101.00x
🐘 PostgresNitro1.189s (+0.6%)2.004s (~)0.003s (+128.6% 🔺)2.019s (~)0.830s101.02x
💻 LocalNext.js (Turbopack)1.206s (+3.2%)2.003s (~)0.010s (+1.0%)2.018s (~)0.811s101.04x
🐘 PostgresNext.js (Turbopack)1.232s (~)2.001s (~)0.001s (-26.7% 🟢)2.010s (~)0.778s101.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.175s (~)3.553s (+4.0%)1.893s (+266.9% 🔺)5.938s (+32.9% 🔺)3.763s101.00x
▲ VercelExpress2.463s (+14.8% 🔺)3.433s (+0.7%)2.296s (+336.7% 🔺)6.318s (+42.1% 🔺)3.855s101.13x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.587s (-8.6% 🟢)2.004s (-6.5% 🟢)0.004s (+24.6% 🔺)2.025s (-6.2% 🟢)0.438s301.00x
💻 LocalExpress1.607s (-1.8%)2.010s (~)0.010s (-5.1% 🟢)2.022s (~)0.415s301.01x
🐘 PostgresNitro1.653s (-0.6%)2.039s (+1.6%)0.004s (+0.9%)2.060s (+1.6%)0.407s301.04x
🐘 PostgresNext.js (Turbopack)1.726s (-2.1%)2.009s (~)0.004s (-7.4% 🟢)2.024s (~)0.298s301.09x
💻 LocalNext.js (Turbopack)1.751s (+6.8% 🔺)2.010s (~)0.010s (-3.6%)2.023s (~)0.271s301.10x
💻 LocalNitro1.767s (+1.4%)2.010s (~)0.009s (+3.1%)2.201s (~)0.433s281.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.707s (-0.7%)7.166s (-5.7% 🟢)0.300s (-11.2% 🟢)7.923s (-6.6% 🟢)2.216s81.00x
▲ VercelExpress5.795s (+0.6%)7.189s (-3.3%)0.260s (-26.5% 🟢)7.931s (-5.6% 🟢)2.136s81.02x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.700s (-28.4% 🟢)1.050s (-26.4% 🟢)0.000s (-50.9% 🟢)1.061s (-26.8% 🟢)0.361s571.00x
🐘 PostgresNitro0.717s (-0.8%)1.051s (+2.0%)0.000s (-83.0% 🟢)1.061s (+1.2%)0.343s571.02x
🐘 PostgresNext.js (Turbopack)0.802s (-3.7%)1.072s (~)0.000s (~)1.079s (~)0.277s561.15x
💻 LocalExpress1.412s (-4.8%)2.014s (~)0.000s (-53.3% 🟢)2.016s (~)0.604s302.02x
💻 LocalNitro1.581s (+16.9% 🔺)2.013s (~)0.000s (-28.6% 🟢)2.194s (+8.9% 🔺)0.613s282.26x
💻 LocalNext.js (Turbopack)1.585s (+9.5% 🔺)2.015s (~)0.001s (+100.0% 🔺)2.019s (~)0.434s302.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.288s (-19.0% 🟢)4.748s (-11.1% 🟢)0.000s (-85.3% 🟢)5.247s (-14.9% 🟢)1.959s121.00x
▲ VercelNitro3.570s (-0.8%)5.029s (-0.9%)0.000s (+Infinity% 🔺)5.483s (-2.6%)1.913s111.09x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.390s (-13.9% 🟢)2.068s (-8.2% 🟢)0.000s (+Infinity% 🔺)2.082s (-8.7% 🟢)0.692s291.00x
🐘 PostgresNitro1.470s (+4.2%)2.175s (+9.0% 🔺)0.000s (+Infinity% 🔺)2.192s (+8.9% 🔺)0.722s281.06x
🐘 PostgresNext.js (Turbopack)1.604s (-7.2% 🟢)2.181s (-3.6%)0.000s (+Infinity% 🔺)2.188s (-3.6%)0.584s281.15x
💻 LocalNitro3.174s (+1.9%)4.027s (+3.4%)0.001s (+246.7% 🔺)4.030s (+3.3%)0.856s152.28x
💻 LocalExpress3.184s (-4.5%)3.901s (+1.6%)0.000s (~)3.903s (+1.5%)0.719s162.29x
💻 LocalNext.js (Turbopack)3.483s (+8.4% 🔺)3.840s (-1.5%)0.001s (+140.0% 🔺)3.848s (-1.3%)0.365s162.51x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.176s (-26.5% 🟢)6.833s (-20.3% 🟢)0.000s (NaN%)7.304s (-19.6% 🟢)2.127s91.00x
▲ VercelExpress5.209s (-17.6% 🟢)6.695s (-12.2% 🟢)0.002s (+463.0% 🔺)7.182s (-12.2% 🟢)1.973s91.01x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress9/21
🐘 PostgresExpress17/21
▲ VercelExpress11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres16/21
Next.js (Turbopack)🐘 Postgres16/21
Nitro🐘 Postgres15/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)

📋 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 4, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
❌ ▲ Vercel Production126152191485
✅ 💻 Local Development167102191890
✅ 📦 Local Production167102191890
✅ 🐘 Local Postgres167102191890
✅ 🪟 Windows13500135
✅ 📋 Other7690176945
Total7178510528235

❌ Failed Tests

▲ Vercel Production (5 failed)

astro (1 failed):

  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream

nextjs-turbopack (1 failed):

  • outputStreamWorkflow no startIndex (reads all chunks)

nitro (1 failed):

  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream

vite (2 failed):

Details by Category

❌ ▲ Vercel Production
AppPassedFailedSkipped
❌ astro108126
✅ example109026
✅ express109026
✅ fastify109026
✅ hono109026
❌ nextjs-turbopack13212
✅ nextjs-webpack13302
❌ nitro108126
✅ nuxt109026
✅ sveltekit12807
❌ vite107226
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack13500
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable110025
✅ e2e-local-dev-tanstack-start-110025
✅ e2e-local-postgres-nest-stable110025
✅ e2e-local-postgres-tanstack-start-110025
✅ e2e-local-prod-nest-stable110025
✅ e2e-local-prod-tanstack-start-110025
✅ e2e-vercel-prod-tanstack-start109026

📋 View full workflow run


Some E2E test jobs failed:

  • Vercel Prod: failure
  • Local Dev: success
  • Local Prod: success
  • Local Postgres: success
  • Windows: success

Check the workflow run for details.

@pranaygp
pranaygp marked this pull request as ready for review June 5, 2026 22:17
@pranaygp
pranaygp requested a review from a team as a code ownerJune 5, 2026 22:17
CopilotAI review requested due to automatic review settings June 5, 2026 22:17

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the abort-parallel E2E workflow to ensure that once the workflow times out and triggers an abort, it waits for the in-flight parallel steps to observe the abort and settle before returning. This prevents “dangling” parallel work from keeping the run open until the long steps reach their natural completion, and it strengthens the E2E assertion to prove all branches actually took the abort path.

Changes:

  • Keep the three parallel longStep() executions alive via a named parallelSteps promise so it can be awaited after timeout/abort.
  • On timeout, abort the controller and then await parallelSteps before returning, including the settled results in the return value.
  • Update the E2E test to assert that the workflow returns results: ["aborted", "aborted", "aborted"] for the timeout path.

Reviewed changes

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

FileDescription
workbench/example/workflows/99_e2e.tsPersists the parallel steps promise and awaits it after abort on timeout, returning the settled step results.
packages/core/e2e/e2e.test.tsStrengthens the assertion to verify all parallel steps actually observed the abort and returned "aborted".

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

@pranaygp
pranaygp merged commit 564a47c into mainJun 11, 2026
115 of 122 checks passed
@pranaygp
pranaygp deleted the pranaygp/fix-abort-parallel-timeout branch June 11, 2026 18:02
@github-actions

Copy link
Copy Markdown
Contributor

No backport to stable for 564a47c (AI decision).

The abortParallelWorkflow function in workbench/example/workflows/99_e2e.ts and its corresponding e2e test in packages/core/e2e/e2e.test.ts do not exist on stable — verified via git show origin/stable. This commit fixes/tests behavior that is main-only, so there is nothing to backport.

To override, re-run the Backport to stable workflow manually via workflow_dispatch and paste this commit SHA into the ref input:

564a47c504e1fb0b3c364e1d9a5cabd7b0203034

pranaygp added a commit that referenced this pull request Jun 11, 2026
…hook-ready
* origin-https/main: (119 commits)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
Version Packages (beta) (#2254)
Patch vulnerable package dependencies (#2301)
Deprecate DurableAgent and update it with WorkflowAgent in v5 docs (#2285)
[codex] Fix partial world-local exclusive writes (#2296)
...
# Conflicts:
#	packages/core/src/runtime.ts
#	packages/core/src/runtime/suspension-handler.ts
pranaygp added a commit that referenced this pull request Jun 11, 2026
…t-race-eager-wait
* origin/main:
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
pranaygp added a commit that referenced this pull request Jun 11, 2026
…docs-run-idempotency
* origin-https/main: (115 commits)
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
Version Packages (beta) (#2254)
...
# Conflicts:
#	docs/content/docs/v4/cookbook/advanced/child-workflows.mdx
#	docs/content/docs/v5/cookbook/advanced/child-workflows.mdx
#	docs/content/docs/v5/cookbook/agent-patterns/durable-agent.mdx
pranaygp added a commit that referenced this pull request Jun 11, 2026
* origin/main:
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
pranaygp added a commit that referenced this pull request Jun 12, 2026
…ry-2
* origin/main:
Version Packages (beta) (#2364)
Animate in-progress segments in the timeline (#2383)
Render queued span time as a lead-in connector on the trace timeline. (#2381)
fix(docs): right-align sidebar folder carets consistently (#2377)
[core] Add wire-level framing for byte streams (#1853)
docs: move World SDK and getWorld under workflow/runtime, split out workflow/observability (#2375)
Replace hook.hasConflict with hook.getConflict() returning the conflicting Run (#2373)
ci: use claude-fable-5 for backport AI model (#2370)
Add `hook.hasConflict` for early hook conflict detection (#2015)
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@pranaygp@VaguelySerious
, '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" + '
fix: settle aborted parallel steps before completing abortParallelWorkflow by pranaygp · Pull Request #2244 · vercel/workflow · GitHub
Skip to content

fix: settle aborted parallel steps before completing abortParallelWorkflow - #2244

Merged
pranaygp merged 2 commits into
mainfrom
pranaygp/fix-abort-parallel-timeout
Jun 11, 2026
Merged

fix: settle aborted parallel steps before completing abortParallelWorkflow#2244
pranaygp merged 2 commits into
mainfrom
pranaygp/fix-abort-parallel-timeout

Conversation

@pranaygp

@pranaygppranaygp commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • keep the parallel longStep() promises alive as a named promise so the workflow can await them after aborting
  • return the settled parallel step results after timeout so the test can prove all three steps actually observed the abort
  • assert AbortController > abortParallelWorkflow: abort cancels all parallel steps returns ["aborted", "aborted", "aborted"]

Validation

  • git diff --check
  • WORKFLOW_PUBLIC_MANIFEST=1 pnpm dev in workbench/nextjs-turbopack
  • DEPLOYMENT_URL="http://localhost:3000" APP_NAME="nextjs-turbopack" pnpm vitest run packages/core/e2e/e2e.test.ts -t "abortParallelWorkflow: abort cancels all parallel steps"

Notes

  • The focused local E2E still does not reach the assertion because local Next dev fails earlier with Workflow "workflow//./workflows/99_e2e//abortParallelWorkflow" is not registered in the current deployment.
  • Dev logs continue to show the concurrent local bundling warning Module not found: Can't resolve <dynamic> from packages/core/dist/runtime/world.js.
  • That local registration/bundling issue appears unrelated to this workflow/test change, so CI remains the real verification path for the timeout fix.

@changeset-bot

changeset-botBot commented Jun 4, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a1fcc91

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel

vercelBot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 4, 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🥇 Nitro0.042s (-2.1%)1.006s (~)0.964s101.00x
💻 LocalExpress0.043s (~)1.006s (~)0.963s101.03x
🐘 PostgresExpress0.060s (-10.0% 🟢)1.012s (~)0.953s101.42x
💻 LocalNext.js (Turbopack)0.062s (+13.3% 🔺)1.007s (~)0.944s101.49x
🐘 PostgresNitro0.063s (-1.1%)1.012s (~)0.949s101.49x
🐘 PostgresNext.js (Turbopack)0.067s (-4.4%)1.012s (~)0.945s101.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.252s (-3.6%)2.403s (-1.3%)2.151s101.00x
▲ VercelExpress0.297s (+9.1% 🔺)2.135s (-21.3% 🟢)1.838s101.18x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.099s (~)2.007s (~)0.908s101.00x
💻 LocalNitro1.103s (+0.6%)2.007s (~)0.904s101.00x
🐘 PostgresExpress1.105s (+1.2%)2.011s (~)0.905s101.01x
🐘 PostgresNitro1.112s (~)2.010s (~)0.899s101.01x
💻 LocalNext.js (Turbopack)1.134s (+2.3%)2.006s (~)0.872s101.03x
🐘 PostgresNext.js (Turbopack)1.140s (~)2.009s (~)0.869s101.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.586s (+1.3%)3.917s (+11.0% 🔺)2.331s101.00x
▲ VercelExpress1.666s (+5.2% 🔺)3.986s (+11.6% 🔺)2.319s101.05x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.520s (-1.8%)11.015s (-2.9%)0.495s31.00x
💻 LocalNitro10.537s (~)11.022s (~)0.485s31.00x
🐘 PostgresNitro10.546s (~)11.020s (~)0.473s31.00x
💻 LocalExpress10.555s (~)11.022s (~)0.467s31.00x
💻 LocalNext.js (Turbopack)10.797s (+1.8%)11.022s (~)0.225s31.03x
🐘 PostgresNext.js (Turbopack)10.814s (~)11.018s (~)0.204s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express13.412s (+1.9%)15.953s (+3.3%)2.541s21.00x
▲ VercelNitro13.614s (+2.2%)15.903s (+2.0%)2.289s21.02x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.754s (-1.1%)14.026s (-1.4%)0.272s51.00x
🐘 PostgresExpress13.860s (~)14.023s (-1.5%)0.163s51.01x
🐘 PostgresNitro13.873s (~)14.020s (~)0.147s51.01x
💻 LocalNitro13.883s (+1.2%)14.227s (+1.4%)0.345s51.01x
💻 LocalNext.js (Turbopack)14.367s (+2.4%)15.031s (+2.8%)0.664s41.04x
🐘 PostgresNext.js (Turbopack)14.437s (-1.1%)15.014s (~)0.576s41.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express20.293s (-20.3% 🟢)22.390s (-17.8% 🟢)2.097s31.00x
▲ VercelNitro20.916s (-18.0% 🟢)22.998s (-16.7% 🟢)2.081s31.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.434s (-1.3%)13.024s (~)0.590s71.00x
💻 LocalNitro12.449s (~)13.025s (~)0.576s71.00x
🐘 PostgresExpress12.478s (-2.0%)13.018s (-2.2%)0.541s71.00x
🐘 PostgresNitro12.795s (~)13.163s (+1.1%)0.368s71.03x
🐘 PostgresNext.js (Turbopack)13.720s (~)14.019s (~)0.298s71.10x
💻 LocalNext.js (Turbopack)13.793s (+6.5% 🔺)14.171s (+6.5% 🔺)0.378s71.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express28.281s (-11.8% 🟢)31.006s (-9.4% 🟢)2.725s31.00x
▲ VercelNitro29.486s (+1.5%)31.364s (~)1.878s31.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.200s (~)2.009s (~)0.809s151.00x
🐘 PostgresExpress1.214s (+1.2%)2.008s (-0.7%)0.794s151.01x
💻 LocalNitro1.217s (~)2.006s (~)0.789s151.01x
💻 LocalExpress1.219s (-3.5%)2.006s (~)0.786s151.02x
🐘 PostgresNext.js (Turbopack)1.245s (~)2.007s (~)0.762s151.04x
💻 LocalNext.js (Turbopack)1.306s (+6.8% 🔺)2.006s (~)0.699s151.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.457s (-11.2% 🟢)4.020s (-14.8% 🟢)1.563s81.00x
▲ VercelNitro2.555s (-7.8% 🟢)4.046s (-6.8% 🟢)1.492s81.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.259s (~)2.008s (~)0.750s151.00x
🐘 PostgresExpress1.268s (-4.4%)2.008s (~)0.740s151.01x
🐘 PostgresNext.js (Turbopack)1.388s (-1.5%)2.073s (+3.2%)0.685s151.10x
💻 LocalNext.js (Turbopack)1.773s (+2.7%)2.073s (+3.3%)0.300s151.41x
💻 LocalNitro1.784s (+4.7%)2.074s (~)0.290s151.42x
💻 LocalExpress1.838s (-2.4%)2.150s (-3.2%)0.312s141.46x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.409s (-16.5% 🟢)5.261s (-14.7% 🟢)1.852s61.00x
▲ VercelNitro4.236s (+4.1%)6.058s (-2.4%)1.822s61.24x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.402s (+0.6%)2.008s (~)0.606s151.00x
🐘 PostgresNitro1.414s (+0.5%)2.007s (~)0.594s151.01x
🐘 PostgresNext.js (Turbopack)1.688s (-4.1%)2.151s (-6.3% 🟢)0.462s141.20x
💻 LocalNext.js (Turbopack)4.642s (+5.6% 🔺)5.179s (+3.3%)0.537s63.31x
💻 LocalExpress5.369s (+1.3%)6.014s (~)0.645s53.83x
💻 LocalNitro5.580s (+18.3% 🔺)6.014s (+20.1% 🔺)0.435s53.98x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.190s (-23.0% 🟢)7.400s (-15.0% 🟢)2.210s51.00x
▲ VercelExpress7.015s (+18.8% 🔺)9.135s (+15.7% 🔺)2.120s41.35x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.178s (-2.1%)2.009s (~)0.831s151.00x
🐘 PostgresNitro1.193s (-0.6%)2.009s (~)0.816s151.01x
🐘 PostgresNext.js (Turbopack)1.240s (-2.1%)2.008s (~)0.768s151.05x
💻 LocalNext.js (Turbopack)1.376s (+5.4% 🔺)2.006s (~)0.630s151.17x
💻 LocalNitro1.578s (+2.2%)2.006s (~)0.428s151.34x
💻 LocalExpress1.596s (-3.7%)2.007s (-3.2%)0.411s151.35x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.364s (-7.9% 🟢)3.989s (-5.0%)1.626s81.00x
▲ VercelNitro2.585s (-3.3%)4.181s (-3.5%)1.596s81.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.256s (+1.0%)2.009s (~)0.753s151.00x
🐘 PostgresNitro1.270s (~)2.010s (~)0.740s151.01x
🐘 PostgresNext.js (Turbopack)1.372s (-1.8%)2.009s (~)0.637s151.09x
💻 LocalNitro2.087s (+18.8% 🔺)2.675s (+29.1% 🔺)0.589s121.66x
💻 LocalNext.js (Turbopack)2.105s (+4.2%)2.676s (+6.8% 🔺)0.571s121.68x
💻 LocalExpress2.117s (~)2.591s (~)0.474s121.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.687s (~)5.540s (-1.3%)1.854s61.00x
▲ VercelNitro3.726s (-9.0% 🟢)5.647s (-5.9% 🟢)1.921s61.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.405s (-6.3% 🟢)2.007s (-16.3% 🟢)0.602s151.00x
🐘 PostgresNitro1.410s (-3.5%)2.008s (~)0.597s151.00x
🐘 PostgresNext.js (Turbopack)1.640s (-1.0%)2.150s (+3.7%)0.510s141.17x
💻 LocalNext.js (Turbopack)5.592s (+8.4% 🔺)6.017s (~)0.425s53.98x
💻 LocalExpress6.060s (+3.4%)6.416s (+3.3%)0.355s54.31x
💻 LocalNitro6.308s (+33.0% 🔺)6.615s (+23.8% 🔺)0.307s54.49x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.328s (+5.0% 🔺)7.109s (+7.3% 🔺)1.781s51.00x
▲ VercelNitro156.356s (+3071.8% 🔺)158.702s (+2255.8% 🔺)2.347s229.35x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.559s (-16.1% 🟢)1.007s (-3.9%)0.447s601.00x
💻 LocalNitro0.599s (-25.6% 🟢)1.005s (-16.6% 🟢)0.406s601.07x
💻 LocalExpress0.613s (-6.5% 🟢)1.005s (-3.3%)0.392s601.10x
🐘 PostgresNitro0.644s (+5.8% 🔺)1.059s (+5.2% 🔺)0.415s571.15x
🐘 PostgresNext.js (Turbopack)0.788s (-2.9%)1.006s (~)0.218s601.41x
💻 LocalNext.js (Turbopack)0.870s (+25.0% 🔺)1.021s (+1.7%)0.151s591.56x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.234s (-4.9%)7.188s (+1.1%)1.954s91.00x
▲ VercelNitro5.234s (-29.9% 🟢)7.068s (-25.8% 🟢)1.834s91.00x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.423s (-7.4% 🟢)2.053s (-4.6%)0.630s441.00x
🐘 PostgresNitro1.430s (+1.0%)2.054s (+2.3%)0.624s441.01x
💻 LocalNitro1.508s (+3.0%)2.007s (~)0.499s451.06x
💻 LocalExpress1.536s (-3.5%)2.007s (-1.1%)0.470s451.08x
🐘 PostgresNext.js (Turbopack)1.883s (-3.1%)2.030s (-6.6% 🟢)0.147s451.32x
💻 LocalNext.js (Turbopack)2.073s (+19.9% 🔺)2.976s (+46.7% 🔺)0.903s311.46x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express12.374s (-24.5% 🟢)14.609s (-20.2% 🟢)2.235s71.00x
▲ VercelNitro12.892s (-2.5%)15.013s (-3.0%)2.121s71.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.798s (-4.0%)3.138s (-4.3%)0.341s391.00x
🐘 PostgresExpress2.852s (-2.0%)3.220s (-9.0% 🟢)0.367s381.02x
💻 LocalExpress3.273s (-4.3%)4.010s (~)0.736s301.17x
💻 LocalNitro3.325s (+3.7%)4.043s (+0.8%)0.718s301.19x
🐘 PostgresNext.js (Turbopack)3.741s (-3.1%)4.042s (-0.8%)0.301s301.34x
💻 LocalNext.js (Turbopack)4.397s (+18.0% 🔺)5.012s (+22.0% 🔺)0.614s241.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro24.989s (-16.1% 🟢)27.368s (-14.4% 🟢)2.379s51.00x
▲ VercelExpress27.286s (-5.4% 🟢)30.110s (-2.6%)2.824s51.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.218s (-7.5% 🟢)1.007s (~)0.789s601.00x
🐘 PostgresExpress0.223s (-11.7% 🟢)1.006s (~)0.784s601.02x
🐘 PostgresNext.js (Turbopack)0.274s (-2.9%)1.006s (~)0.732s601.26x
💻 LocalExpress0.463s (~)1.005s (~)0.542s602.13x
💻 LocalNitro0.464s (+9.4% 🔺)1.004s (~)0.540s602.13x
💻 LocalNext.js (Turbopack)0.661s (+8.2% 🔺)1.058s (+1.9%)0.397s573.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.257s (-3.8%)3.916s (-9.6% 🟢)1.659s161.00x
▲ VercelExpress2.816s (+27.3% 🔺)4.679s (+14.2% 🔺)1.863s131.25x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.347s (+2.4%)1.006s (~)0.659s901.00x
🐘 PostgresNitro0.379s (+2.1%)1.007s (~)0.628s901.09x
🐘 PostgresNext.js (Turbopack)0.472s (-2.2%)1.006s (~)0.534s901.36x
💻 LocalNitro2.177s (+5.5% 🔺)2.766s (+4.9%)0.588s336.27x
💻 LocalExpress2.190s (~)2.713s (-3.9%)0.524s346.31x
💻 LocalNext.js (Turbopack)2.558s (+4.4%)3.261s (+4.9%)0.704s287.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.560s (-89.6% 🟢)6.563s (-85.7% 🟢)2.004s141.00x
▲ VercelExpress5.307s (-87.7% 🟢)7.209s (-84.1% 🟢)1.901s131.16x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.663s (+6.0% 🔺)1.006s (-4.6%)0.343s1201.00x
🐘 PostgresNitro0.694s (-1.8%)1.006s (~)0.312s1201.05x
🐘 PostgresNext.js (Turbopack)0.927s (-5.4% 🟢)1.231s (-23.4% 🟢)0.305s981.40x
💻 LocalExpress9.974s (-3.3%)10.530s (-3.1%)0.556s1215.04x
💻 LocalNitro10.018s (+15.0% 🔺)10.526s (+12.8% 🔺)0.507s1215.11x
💻 LocalNext.js (Turbopack)10.257s (-0.6%)11.209s (-0.8%)0.952s1115.47x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro13.262s (-95.7% 🟢)15.600s (-95.0% 🟢)2.338s81.00x
▲ VercelExpress13.685s (-10.3% 🟢)15.695s (-10.3% 🟢)2.009s81.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.162s (-0.6%)2.005s (~)0.012s (-3.1%)2.019s (~)0.858s101.00x
🐘 PostgresExpress1.165s (-2.5%)2.000s (~)0.001s (-96.8% 🟢)2.011s (-1.6%)0.846s101.00x
💻 LocalNitro1.165s (+1.2%)2.005s (~)0.012s (+23.0% 🔺)2.019s (~)0.854s101.00x
🐘 PostgresNitro1.189s (+0.6%)2.004s (~)0.003s (+128.6% 🔺)2.019s (~)0.830s101.02x
💻 LocalNext.js (Turbopack)1.206s (+3.2%)2.003s (~)0.010s (+1.0%)2.018s (~)0.811s101.04x
🐘 PostgresNext.js (Turbopack)1.232s (~)2.001s (~)0.001s (-26.7% 🟢)2.010s (~)0.778s101.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.175s (~)3.553s (+4.0%)1.893s (+266.9% 🔺)5.938s (+32.9% 🔺)3.763s101.00x
▲ VercelExpress2.463s (+14.8% 🔺)3.433s (+0.7%)2.296s (+336.7% 🔺)6.318s (+42.1% 🔺)3.855s101.13x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.587s (-8.6% 🟢)2.004s (-6.5% 🟢)0.004s (+24.6% 🔺)2.025s (-6.2% 🟢)0.438s301.00x
💻 LocalExpress1.607s (-1.8%)2.010s (~)0.010s (-5.1% 🟢)2.022s (~)0.415s301.01x
🐘 PostgresNitro1.653s (-0.6%)2.039s (+1.6%)0.004s (+0.9%)2.060s (+1.6%)0.407s301.04x
🐘 PostgresNext.js (Turbopack)1.726s (-2.1%)2.009s (~)0.004s (-7.4% 🟢)2.024s (~)0.298s301.09x
💻 LocalNext.js (Turbopack)1.751s (+6.8% 🔺)2.010s (~)0.010s (-3.6%)2.023s (~)0.271s301.10x
💻 LocalNitro1.767s (+1.4%)2.010s (~)0.009s (+3.1%)2.201s (~)0.433s281.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.707s (-0.7%)7.166s (-5.7% 🟢)0.300s (-11.2% 🟢)7.923s (-6.6% 🟢)2.216s81.00x
▲ VercelExpress5.795s (+0.6%)7.189s (-3.3%)0.260s (-26.5% 🟢)7.931s (-5.6% 🟢)2.136s81.02x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.700s (-28.4% 🟢)1.050s (-26.4% 🟢)0.000s (-50.9% 🟢)1.061s (-26.8% 🟢)0.361s571.00x
🐘 PostgresNitro0.717s (-0.8%)1.051s (+2.0%)0.000s (-83.0% 🟢)1.061s (+1.2%)0.343s571.02x
🐘 PostgresNext.js (Turbopack)0.802s (-3.7%)1.072s (~)0.000s (~)1.079s (~)0.277s561.15x
💻 LocalExpress1.412s (-4.8%)2.014s (~)0.000s (-53.3% 🟢)2.016s (~)0.604s302.02x
💻 LocalNitro1.581s (+16.9% 🔺)2.013s (~)0.000s (-28.6% 🟢)2.194s (+8.9% 🔺)0.613s282.26x
💻 LocalNext.js (Turbopack)1.585s (+9.5% 🔺)2.015s (~)0.001s (+100.0% 🔺)2.019s (~)0.434s302.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.288s (-19.0% 🟢)4.748s (-11.1% 🟢)0.000s (-85.3% 🟢)5.247s (-14.9% 🟢)1.959s121.00x
▲ VercelNitro3.570s (-0.8%)5.029s (-0.9%)0.000s (+Infinity% 🔺)5.483s (-2.6%)1.913s111.09x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.390s (-13.9% 🟢)2.068s (-8.2% 🟢)0.000s (+Infinity% 🔺)2.082s (-8.7% 🟢)0.692s291.00x
🐘 PostgresNitro1.470s (+4.2%)2.175s (+9.0% 🔺)0.000s (+Infinity% 🔺)2.192s (+8.9% 🔺)0.722s281.06x
🐘 PostgresNext.js (Turbopack)1.604s (-7.2% 🟢)2.181s (-3.6%)0.000s (+Infinity% 🔺)2.188s (-3.6%)0.584s281.15x
💻 LocalNitro3.174s (+1.9%)4.027s (+3.4%)0.001s (+246.7% 🔺)4.030s (+3.3%)0.856s152.28x
💻 LocalExpress3.184s (-4.5%)3.901s (+1.6%)0.000s (~)3.903s (+1.5%)0.719s162.29x
💻 LocalNext.js (Turbopack)3.483s (+8.4% 🔺)3.840s (-1.5%)0.001s (+140.0% 🔺)3.848s (-1.3%)0.365s162.51x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.176s (-26.5% 🟢)6.833s (-20.3% 🟢)0.000s (NaN%)7.304s (-19.6% 🟢)2.127s91.00x
▲ VercelExpress5.209s (-17.6% 🟢)6.695s (-12.2% 🟢)0.002s (+463.0% 🔺)7.182s (-12.2% 🟢)1.973s91.01x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress9/21
🐘 PostgresExpress17/21
▲ VercelExpress11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres16/21
Next.js (Turbopack)🐘 Postgres16/21
Nitro🐘 Postgres15/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)

📋 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 4, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
❌ ▲ Vercel Production126152191485
✅ 💻 Local Development167102191890
✅ 📦 Local Production167102191890
✅ 🐘 Local Postgres167102191890
✅ 🪟 Windows13500135
✅ 📋 Other7690176945
Total7178510528235

❌ Failed Tests

▲ Vercel Production (5 failed)

astro (1 failed):

  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream

nextjs-turbopack (1 failed):

  • outputStreamWorkflow no startIndex (reads all chunks)

nitro (1 failed):

  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream

vite (2 failed):

Details by Category

❌ ▲ Vercel Production
AppPassedFailedSkipped
❌ astro108126
✅ example109026
✅ express109026
✅ fastify109026
✅ hono109026
❌ nextjs-turbopack13212
✅ nextjs-webpack13302
❌ nitro108126
✅ nuxt109026
✅ sveltekit12807
❌ vite107226
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack13500
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable110025
✅ e2e-local-dev-tanstack-start-110025
✅ e2e-local-postgres-nest-stable110025
✅ e2e-local-postgres-tanstack-start-110025
✅ e2e-local-prod-nest-stable110025
✅ e2e-local-prod-tanstack-start-110025
✅ e2e-vercel-prod-tanstack-start109026

📋 View full workflow run


Some E2E test jobs failed:

  • Vercel Prod: failure
  • Local Dev: success
  • Local Prod: success
  • Local Postgres: success
  • Windows: success

Check the workflow run for details.

@pranaygp
pranaygp marked this pull request as ready for review June 5, 2026 22:17
@pranaygp
pranaygp requested a review from a team as a code ownerJune 5, 2026 22:17
CopilotAI review requested due to automatic review settings June 5, 2026 22:17

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the abort-parallel E2E workflow to ensure that once the workflow times out and triggers an abort, it waits for the in-flight parallel steps to observe the abort and settle before returning. This prevents “dangling” parallel work from keeping the run open until the long steps reach their natural completion, and it strengthens the E2E assertion to prove all branches actually took the abort path.

Changes:

  • Keep the three parallel longStep() executions alive via a named parallelSteps promise so it can be awaited after timeout/abort.
  • On timeout, abort the controller and then await parallelSteps before returning, including the settled results in the return value.
  • Update the E2E test to assert that the workflow returns results: ["aborted", "aborted", "aborted"] for the timeout path.

Reviewed changes

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

FileDescription
workbench/example/workflows/99_e2e.tsPersists the parallel steps promise and awaits it after abort on timeout, returning the settled step results.
packages/core/e2e/e2e.test.tsStrengthens the assertion to verify all parallel steps actually observed the abort and returned "aborted".

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

@pranaygp
pranaygp merged commit 564a47c into mainJun 11, 2026
115 of 122 checks passed
@pranaygp
pranaygp deleted the pranaygp/fix-abort-parallel-timeout branch June 11, 2026 18:02
@github-actions

Copy link
Copy Markdown
Contributor

No backport to stable for 564a47c (AI decision).

The abortParallelWorkflow function in workbench/example/workflows/99_e2e.ts and its corresponding e2e test in packages/core/e2e/e2e.test.ts do not exist on stable — verified via git show origin/stable. This commit fixes/tests behavior that is main-only, so there is nothing to backport.

To override, re-run the Backport to stable workflow manually via workflow_dispatch and paste this commit SHA into the ref input:

564a47c504e1fb0b3c364e1d9a5cabd7b0203034

pranaygp added a commit that referenced this pull request Jun 11, 2026
…hook-ready
* origin-https/main: (119 commits)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
Version Packages (beta) (#2254)
Patch vulnerable package dependencies (#2301)
Deprecate DurableAgent and update it with WorkflowAgent in v5 docs (#2285)
[codex] Fix partial world-local exclusive writes (#2296)
...
# Conflicts:
#	packages/core/src/runtime.ts
#	packages/core/src/runtime/suspension-handler.ts
pranaygp added a commit that referenced this pull request Jun 11, 2026
…t-race-eager-wait
* origin/main:
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
pranaygp added a commit that referenced this pull request Jun 11, 2026
…docs-run-idempotency
* origin-https/main: (115 commits)
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
Version Packages (beta) (#2254)
...
# Conflicts:
#	docs/content/docs/v4/cookbook/advanced/child-workflows.mdx
#	docs/content/docs/v5/cookbook/advanced/child-workflows.mdx
#	docs/content/docs/v5/cookbook/agent-patterns/durable-agent.mdx
pranaygp added a commit that referenced this pull request Jun 11, 2026
* origin/main:
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
pranaygp added a commit that referenced this pull request Jun 12, 2026
…ry-2
* origin/main:
Version Packages (beta) (#2364)
Animate in-progress segments in the timeline (#2383)
Render queued span time as a lead-in connector on the trace timeline. (#2381)
fix(docs): right-align sidebar folder carets consistently (#2377)
[core] Add wire-level framing for byte streams (#1853)
docs: move World SDK and getWorld under workflow/runtime, split out workflow/observability (#2375)
Replace hook.hasConflict with hook.getConflict() returning the conflicting Run (#2373)
ci: use claude-fable-5 for backport AI model (#2370)
Add `hook.hasConflict` for early hook conflict detection (#2015)
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@pranaygp@VaguelySerious
, '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('^' + ".*" + ' fix: settle aborted parallel steps before completing abortParallelWorkflow by pranaygp · Pull Request #2244 · vercel/workflow · GitHub
Skip to content

fix: settle aborted parallel steps before completing abortParallelWorkflow - #2244

Merged
pranaygp merged 2 commits into
mainfrom
pranaygp/fix-abort-parallel-timeout
Jun 11, 2026
Merged

fix: settle aborted parallel steps before completing abortParallelWorkflow#2244
pranaygp merged 2 commits into
mainfrom
pranaygp/fix-abort-parallel-timeout

Conversation

@pranaygp

@pranaygppranaygp commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • keep the parallel longStep() promises alive as a named promise so the workflow can await them after aborting
  • return the settled parallel step results after timeout so the test can prove all three steps actually observed the abort
  • assert AbortController > abortParallelWorkflow: abort cancels all parallel steps returns ["aborted", "aborted", "aborted"]

Validation

  • git diff --check
  • WORKFLOW_PUBLIC_MANIFEST=1 pnpm dev in workbench/nextjs-turbopack
  • DEPLOYMENT_URL="http://localhost:3000" APP_NAME="nextjs-turbopack" pnpm vitest run packages/core/e2e/e2e.test.ts -t "abortParallelWorkflow: abort cancels all parallel steps"

Notes

  • The focused local E2E still does not reach the assertion because local Next dev fails earlier with Workflow "workflow//./workflows/99_e2e//abortParallelWorkflow" is not registered in the current deployment.
  • Dev logs continue to show the concurrent local bundling warning Module not found: Can't resolve <dynamic> from packages/core/dist/runtime/world.js.
  • That local registration/bundling issue appears unrelated to this workflow/test change, so CI remains the real verification path for the timeout fix.

@changeset-bot

changeset-botBot commented Jun 4, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a1fcc91

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel

vercelBot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 4, 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🥇 Nitro0.042s (-2.1%)1.006s (~)0.964s101.00x
💻 LocalExpress0.043s (~)1.006s (~)0.963s101.03x
🐘 PostgresExpress0.060s (-10.0% 🟢)1.012s (~)0.953s101.42x
💻 LocalNext.js (Turbopack)0.062s (+13.3% 🔺)1.007s (~)0.944s101.49x
🐘 PostgresNitro0.063s (-1.1%)1.012s (~)0.949s101.49x
🐘 PostgresNext.js (Turbopack)0.067s (-4.4%)1.012s (~)0.945s101.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.252s (-3.6%)2.403s (-1.3%)2.151s101.00x
▲ VercelExpress0.297s (+9.1% 🔺)2.135s (-21.3% 🟢)1.838s101.18x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.099s (~)2.007s (~)0.908s101.00x
💻 LocalNitro1.103s (+0.6%)2.007s (~)0.904s101.00x
🐘 PostgresExpress1.105s (+1.2%)2.011s (~)0.905s101.01x
🐘 PostgresNitro1.112s (~)2.010s (~)0.899s101.01x
💻 LocalNext.js (Turbopack)1.134s (+2.3%)2.006s (~)0.872s101.03x
🐘 PostgresNext.js (Turbopack)1.140s (~)2.009s (~)0.869s101.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.586s (+1.3%)3.917s (+11.0% 🔺)2.331s101.00x
▲ VercelExpress1.666s (+5.2% 🔺)3.986s (+11.6% 🔺)2.319s101.05x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.520s (-1.8%)11.015s (-2.9%)0.495s31.00x
💻 LocalNitro10.537s (~)11.022s (~)0.485s31.00x
🐘 PostgresNitro10.546s (~)11.020s (~)0.473s31.00x
💻 LocalExpress10.555s (~)11.022s (~)0.467s31.00x
💻 LocalNext.js (Turbopack)10.797s (+1.8%)11.022s (~)0.225s31.03x
🐘 PostgresNext.js (Turbopack)10.814s (~)11.018s (~)0.204s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express13.412s (+1.9%)15.953s (+3.3%)2.541s21.00x
▲ VercelNitro13.614s (+2.2%)15.903s (+2.0%)2.289s21.02x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.754s (-1.1%)14.026s (-1.4%)0.272s51.00x
🐘 PostgresExpress13.860s (~)14.023s (-1.5%)0.163s51.01x
🐘 PostgresNitro13.873s (~)14.020s (~)0.147s51.01x
💻 LocalNitro13.883s (+1.2%)14.227s (+1.4%)0.345s51.01x
💻 LocalNext.js (Turbopack)14.367s (+2.4%)15.031s (+2.8%)0.664s41.04x
🐘 PostgresNext.js (Turbopack)14.437s (-1.1%)15.014s (~)0.576s41.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express20.293s (-20.3% 🟢)22.390s (-17.8% 🟢)2.097s31.00x
▲ VercelNitro20.916s (-18.0% 🟢)22.998s (-16.7% 🟢)2.081s31.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.434s (-1.3%)13.024s (~)0.590s71.00x
💻 LocalNitro12.449s (~)13.025s (~)0.576s71.00x
🐘 PostgresExpress12.478s (-2.0%)13.018s (-2.2%)0.541s71.00x
🐘 PostgresNitro12.795s (~)13.163s (+1.1%)0.368s71.03x
🐘 PostgresNext.js (Turbopack)13.720s (~)14.019s (~)0.298s71.10x
💻 LocalNext.js (Turbopack)13.793s (+6.5% 🔺)14.171s (+6.5% 🔺)0.378s71.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express28.281s (-11.8% 🟢)31.006s (-9.4% 🟢)2.725s31.00x
▲ VercelNitro29.486s (+1.5%)31.364s (~)1.878s31.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.200s (~)2.009s (~)0.809s151.00x
🐘 PostgresExpress1.214s (+1.2%)2.008s (-0.7%)0.794s151.01x
💻 LocalNitro1.217s (~)2.006s (~)0.789s151.01x
💻 LocalExpress1.219s (-3.5%)2.006s (~)0.786s151.02x
🐘 PostgresNext.js (Turbopack)1.245s (~)2.007s (~)0.762s151.04x
💻 LocalNext.js (Turbopack)1.306s (+6.8% 🔺)2.006s (~)0.699s151.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.457s (-11.2% 🟢)4.020s (-14.8% 🟢)1.563s81.00x
▲ VercelNitro2.555s (-7.8% 🟢)4.046s (-6.8% 🟢)1.492s81.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.259s (~)2.008s (~)0.750s151.00x
🐘 PostgresExpress1.268s (-4.4%)2.008s (~)0.740s151.01x
🐘 PostgresNext.js (Turbopack)1.388s (-1.5%)2.073s (+3.2%)0.685s151.10x
💻 LocalNext.js (Turbopack)1.773s (+2.7%)2.073s (+3.3%)0.300s151.41x
💻 LocalNitro1.784s (+4.7%)2.074s (~)0.290s151.42x
💻 LocalExpress1.838s (-2.4%)2.150s (-3.2%)0.312s141.46x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.409s (-16.5% 🟢)5.261s (-14.7% 🟢)1.852s61.00x
▲ VercelNitro4.236s (+4.1%)6.058s (-2.4%)1.822s61.24x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.402s (+0.6%)2.008s (~)0.606s151.00x
🐘 PostgresNitro1.414s (+0.5%)2.007s (~)0.594s151.01x
🐘 PostgresNext.js (Turbopack)1.688s (-4.1%)2.151s (-6.3% 🟢)0.462s141.20x
💻 LocalNext.js (Turbopack)4.642s (+5.6% 🔺)5.179s (+3.3%)0.537s63.31x
💻 LocalExpress5.369s (+1.3%)6.014s (~)0.645s53.83x
💻 LocalNitro5.580s (+18.3% 🔺)6.014s (+20.1% 🔺)0.435s53.98x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.190s (-23.0% 🟢)7.400s (-15.0% 🟢)2.210s51.00x
▲ VercelExpress7.015s (+18.8% 🔺)9.135s (+15.7% 🔺)2.120s41.35x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.178s (-2.1%)2.009s (~)0.831s151.00x
🐘 PostgresNitro1.193s (-0.6%)2.009s (~)0.816s151.01x
🐘 PostgresNext.js (Turbopack)1.240s (-2.1%)2.008s (~)0.768s151.05x
💻 LocalNext.js (Turbopack)1.376s (+5.4% 🔺)2.006s (~)0.630s151.17x
💻 LocalNitro1.578s (+2.2%)2.006s (~)0.428s151.34x
💻 LocalExpress1.596s (-3.7%)2.007s (-3.2%)0.411s151.35x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.364s (-7.9% 🟢)3.989s (-5.0%)1.626s81.00x
▲ VercelNitro2.585s (-3.3%)4.181s (-3.5%)1.596s81.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.256s (+1.0%)2.009s (~)0.753s151.00x
🐘 PostgresNitro1.270s (~)2.010s (~)0.740s151.01x
🐘 PostgresNext.js (Turbopack)1.372s (-1.8%)2.009s (~)0.637s151.09x
💻 LocalNitro2.087s (+18.8% 🔺)2.675s (+29.1% 🔺)0.589s121.66x
💻 LocalNext.js (Turbopack)2.105s (+4.2%)2.676s (+6.8% 🔺)0.571s121.68x
💻 LocalExpress2.117s (~)2.591s (~)0.474s121.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.687s (~)5.540s (-1.3%)1.854s61.00x
▲ VercelNitro3.726s (-9.0% 🟢)5.647s (-5.9% 🟢)1.921s61.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.405s (-6.3% 🟢)2.007s (-16.3% 🟢)0.602s151.00x
🐘 PostgresNitro1.410s (-3.5%)2.008s (~)0.597s151.00x
🐘 PostgresNext.js (Turbopack)1.640s (-1.0%)2.150s (+3.7%)0.510s141.17x
💻 LocalNext.js (Turbopack)5.592s (+8.4% 🔺)6.017s (~)0.425s53.98x
💻 LocalExpress6.060s (+3.4%)6.416s (+3.3%)0.355s54.31x
💻 LocalNitro6.308s (+33.0% 🔺)6.615s (+23.8% 🔺)0.307s54.49x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.328s (+5.0% 🔺)7.109s (+7.3% 🔺)1.781s51.00x
▲ VercelNitro156.356s (+3071.8% 🔺)158.702s (+2255.8% 🔺)2.347s229.35x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.559s (-16.1% 🟢)1.007s (-3.9%)0.447s601.00x
💻 LocalNitro0.599s (-25.6% 🟢)1.005s (-16.6% 🟢)0.406s601.07x
💻 LocalExpress0.613s (-6.5% 🟢)1.005s (-3.3%)0.392s601.10x
🐘 PostgresNitro0.644s (+5.8% 🔺)1.059s (+5.2% 🔺)0.415s571.15x
🐘 PostgresNext.js (Turbopack)0.788s (-2.9%)1.006s (~)0.218s601.41x
💻 LocalNext.js (Turbopack)0.870s (+25.0% 🔺)1.021s (+1.7%)0.151s591.56x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.234s (-4.9%)7.188s (+1.1%)1.954s91.00x
▲ VercelNitro5.234s (-29.9% 🟢)7.068s (-25.8% 🟢)1.834s91.00x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.423s (-7.4% 🟢)2.053s (-4.6%)0.630s441.00x
🐘 PostgresNitro1.430s (+1.0%)2.054s (+2.3%)0.624s441.01x
💻 LocalNitro1.508s (+3.0%)2.007s (~)0.499s451.06x
💻 LocalExpress1.536s (-3.5%)2.007s (-1.1%)0.470s451.08x
🐘 PostgresNext.js (Turbopack)1.883s (-3.1%)2.030s (-6.6% 🟢)0.147s451.32x
💻 LocalNext.js (Turbopack)2.073s (+19.9% 🔺)2.976s (+46.7% 🔺)0.903s311.46x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express12.374s (-24.5% 🟢)14.609s (-20.2% 🟢)2.235s71.00x
▲ VercelNitro12.892s (-2.5%)15.013s (-3.0%)2.121s71.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.798s (-4.0%)3.138s (-4.3%)0.341s391.00x
🐘 PostgresExpress2.852s (-2.0%)3.220s (-9.0% 🟢)0.367s381.02x
💻 LocalExpress3.273s (-4.3%)4.010s (~)0.736s301.17x
💻 LocalNitro3.325s (+3.7%)4.043s (+0.8%)0.718s301.19x
🐘 PostgresNext.js (Turbopack)3.741s (-3.1%)4.042s (-0.8%)0.301s301.34x
💻 LocalNext.js (Turbopack)4.397s (+18.0% 🔺)5.012s (+22.0% 🔺)0.614s241.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro24.989s (-16.1% 🟢)27.368s (-14.4% 🟢)2.379s51.00x
▲ VercelExpress27.286s (-5.4% 🟢)30.110s (-2.6%)2.824s51.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.218s (-7.5% 🟢)1.007s (~)0.789s601.00x
🐘 PostgresExpress0.223s (-11.7% 🟢)1.006s (~)0.784s601.02x
🐘 PostgresNext.js (Turbopack)0.274s (-2.9%)1.006s (~)0.732s601.26x
💻 LocalExpress0.463s (~)1.005s (~)0.542s602.13x
💻 LocalNitro0.464s (+9.4% 🔺)1.004s (~)0.540s602.13x
💻 LocalNext.js (Turbopack)0.661s (+8.2% 🔺)1.058s (+1.9%)0.397s573.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.257s (-3.8%)3.916s (-9.6% 🟢)1.659s161.00x
▲ VercelExpress2.816s (+27.3% 🔺)4.679s (+14.2% 🔺)1.863s131.25x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.347s (+2.4%)1.006s (~)0.659s901.00x
🐘 PostgresNitro0.379s (+2.1%)1.007s (~)0.628s901.09x
🐘 PostgresNext.js (Turbopack)0.472s (-2.2%)1.006s (~)0.534s901.36x
💻 LocalNitro2.177s (+5.5% 🔺)2.766s (+4.9%)0.588s336.27x
💻 LocalExpress2.190s (~)2.713s (-3.9%)0.524s346.31x
💻 LocalNext.js (Turbopack)2.558s (+4.4%)3.261s (+4.9%)0.704s287.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.560s (-89.6% 🟢)6.563s (-85.7% 🟢)2.004s141.00x
▲ VercelExpress5.307s (-87.7% 🟢)7.209s (-84.1% 🟢)1.901s131.16x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.663s (+6.0% 🔺)1.006s (-4.6%)0.343s1201.00x
🐘 PostgresNitro0.694s (-1.8%)1.006s (~)0.312s1201.05x
🐘 PostgresNext.js (Turbopack)0.927s (-5.4% 🟢)1.231s (-23.4% 🟢)0.305s981.40x
💻 LocalExpress9.974s (-3.3%)10.530s (-3.1%)0.556s1215.04x
💻 LocalNitro10.018s (+15.0% 🔺)10.526s (+12.8% 🔺)0.507s1215.11x
💻 LocalNext.js (Turbopack)10.257s (-0.6%)11.209s (-0.8%)0.952s1115.47x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro13.262s (-95.7% 🟢)15.600s (-95.0% 🟢)2.338s81.00x
▲ VercelExpress13.685s (-10.3% 🟢)15.695s (-10.3% 🟢)2.009s81.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.162s (-0.6%)2.005s (~)0.012s (-3.1%)2.019s (~)0.858s101.00x
🐘 PostgresExpress1.165s (-2.5%)2.000s (~)0.001s (-96.8% 🟢)2.011s (-1.6%)0.846s101.00x
💻 LocalNitro1.165s (+1.2%)2.005s (~)0.012s (+23.0% 🔺)2.019s (~)0.854s101.00x
🐘 PostgresNitro1.189s (+0.6%)2.004s (~)0.003s (+128.6% 🔺)2.019s (~)0.830s101.02x
💻 LocalNext.js (Turbopack)1.206s (+3.2%)2.003s (~)0.010s (+1.0%)2.018s (~)0.811s101.04x
🐘 PostgresNext.js (Turbopack)1.232s (~)2.001s (~)0.001s (-26.7% 🟢)2.010s (~)0.778s101.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.175s (~)3.553s (+4.0%)1.893s (+266.9% 🔺)5.938s (+32.9% 🔺)3.763s101.00x
▲ VercelExpress2.463s (+14.8% 🔺)3.433s (+0.7%)2.296s (+336.7% 🔺)6.318s (+42.1% 🔺)3.855s101.13x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.587s (-8.6% 🟢)2.004s (-6.5% 🟢)0.004s (+24.6% 🔺)2.025s (-6.2% 🟢)0.438s301.00x
💻 LocalExpress1.607s (-1.8%)2.010s (~)0.010s (-5.1% 🟢)2.022s (~)0.415s301.01x
🐘 PostgresNitro1.653s (-0.6%)2.039s (+1.6%)0.004s (+0.9%)2.060s (+1.6%)0.407s301.04x
🐘 PostgresNext.js (Turbopack)1.726s (-2.1%)2.009s (~)0.004s (-7.4% 🟢)2.024s (~)0.298s301.09x
💻 LocalNext.js (Turbopack)1.751s (+6.8% 🔺)2.010s (~)0.010s (-3.6%)2.023s (~)0.271s301.10x
💻 LocalNitro1.767s (+1.4%)2.010s (~)0.009s (+3.1%)2.201s (~)0.433s281.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.707s (-0.7%)7.166s (-5.7% 🟢)0.300s (-11.2% 🟢)7.923s (-6.6% 🟢)2.216s81.00x
▲ VercelExpress5.795s (+0.6%)7.189s (-3.3%)0.260s (-26.5% 🟢)7.931s (-5.6% 🟢)2.136s81.02x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.700s (-28.4% 🟢)1.050s (-26.4% 🟢)0.000s (-50.9% 🟢)1.061s (-26.8% 🟢)0.361s571.00x
🐘 PostgresNitro0.717s (-0.8%)1.051s (+2.0%)0.000s (-83.0% 🟢)1.061s (+1.2%)0.343s571.02x
🐘 PostgresNext.js (Turbopack)0.802s (-3.7%)1.072s (~)0.000s (~)1.079s (~)0.277s561.15x
💻 LocalExpress1.412s (-4.8%)2.014s (~)0.000s (-53.3% 🟢)2.016s (~)0.604s302.02x
💻 LocalNitro1.581s (+16.9% 🔺)2.013s (~)0.000s (-28.6% 🟢)2.194s (+8.9% 🔺)0.613s282.26x
💻 LocalNext.js (Turbopack)1.585s (+9.5% 🔺)2.015s (~)0.001s (+100.0% 🔺)2.019s (~)0.434s302.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.288s (-19.0% 🟢)4.748s (-11.1% 🟢)0.000s (-85.3% 🟢)5.247s (-14.9% 🟢)1.959s121.00x
▲ VercelNitro3.570s (-0.8%)5.029s (-0.9%)0.000s (+Infinity% 🔺)5.483s (-2.6%)1.913s111.09x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.390s (-13.9% 🟢)2.068s (-8.2% 🟢)0.000s (+Infinity% 🔺)2.082s (-8.7% 🟢)0.692s291.00x
🐘 PostgresNitro1.470s (+4.2%)2.175s (+9.0% 🔺)0.000s (+Infinity% 🔺)2.192s (+8.9% 🔺)0.722s281.06x
🐘 PostgresNext.js (Turbopack)1.604s (-7.2% 🟢)2.181s (-3.6%)0.000s (+Infinity% 🔺)2.188s (-3.6%)0.584s281.15x
💻 LocalNitro3.174s (+1.9%)4.027s (+3.4%)0.001s (+246.7% 🔺)4.030s (+3.3%)0.856s152.28x
💻 LocalExpress3.184s (-4.5%)3.901s (+1.6%)0.000s (~)3.903s (+1.5%)0.719s162.29x
💻 LocalNext.js (Turbopack)3.483s (+8.4% 🔺)3.840s (-1.5%)0.001s (+140.0% 🔺)3.848s (-1.3%)0.365s162.51x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.176s (-26.5% 🟢)6.833s (-20.3% 🟢)0.000s (NaN%)7.304s (-19.6% 🟢)2.127s91.00x
▲ VercelExpress5.209s (-17.6% 🟢)6.695s (-12.2% 🟢)0.002s (+463.0% 🔺)7.182s (-12.2% 🟢)1.973s91.01x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress9/21
🐘 PostgresExpress17/21
▲ VercelExpress11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres16/21
Next.js (Turbopack)🐘 Postgres16/21
Nitro🐘 Postgres15/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)

📋 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 4, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
❌ ▲ Vercel Production126152191485
✅ 💻 Local Development167102191890
✅ 📦 Local Production167102191890
✅ 🐘 Local Postgres167102191890
✅ 🪟 Windows13500135
✅ 📋 Other7690176945
Total7178510528235

❌ Failed Tests

▲ Vercel Production (5 failed)

astro (1 failed):

  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream

nextjs-turbopack (1 failed):

  • outputStreamWorkflow no startIndex (reads all chunks)

nitro (1 failed):

  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream

vite (2 failed):

Details by Category

❌ ▲ Vercel Production
AppPassedFailedSkipped
❌ astro108126
✅ example109026
✅ express109026
✅ fastify109026
✅ hono109026
❌ nextjs-turbopack13212
✅ nextjs-webpack13302
❌ nitro108126
✅ nuxt109026
✅ sveltekit12807
❌ vite107226
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack13500
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable110025
✅ e2e-local-dev-tanstack-start-110025
✅ e2e-local-postgres-nest-stable110025
✅ e2e-local-postgres-tanstack-start-110025
✅ e2e-local-prod-nest-stable110025
✅ e2e-local-prod-tanstack-start-110025
✅ e2e-vercel-prod-tanstack-start109026

📋 View full workflow run


Some E2E test jobs failed:

  • Vercel Prod: failure
  • Local Dev: success
  • Local Prod: success
  • Local Postgres: success
  • Windows: success

Check the workflow run for details.

@pranaygp
pranaygp marked this pull request as ready for review June 5, 2026 22:17
@pranaygp
pranaygp requested a review from a team as a code ownerJune 5, 2026 22:17
CopilotAI review requested due to automatic review settings June 5, 2026 22:17

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the abort-parallel E2E workflow to ensure that once the workflow times out and triggers an abort, it waits for the in-flight parallel steps to observe the abort and settle before returning. This prevents “dangling” parallel work from keeping the run open until the long steps reach their natural completion, and it strengthens the E2E assertion to prove all branches actually took the abort path.

Changes:

  • Keep the three parallel longStep() executions alive via a named parallelSteps promise so it can be awaited after timeout/abort.
  • On timeout, abort the controller and then await parallelSteps before returning, including the settled results in the return value.
  • Update the E2E test to assert that the workflow returns results: ["aborted", "aborted", "aborted"] for the timeout path.

Reviewed changes

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

FileDescription
workbench/example/workflows/99_e2e.tsPersists the parallel steps promise and awaits it after abort on timeout, returning the settled step results.
packages/core/e2e/e2e.test.tsStrengthens the assertion to verify all parallel steps actually observed the abort and returned "aborted".

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

@pranaygp
pranaygp merged commit 564a47c into mainJun 11, 2026
115 of 122 checks passed
@pranaygp
pranaygp deleted the pranaygp/fix-abort-parallel-timeout branch June 11, 2026 18:02
@github-actions

Copy link
Copy Markdown
Contributor

No backport to stable for 564a47c (AI decision).

The abortParallelWorkflow function in workbench/example/workflows/99_e2e.ts and its corresponding e2e test in packages/core/e2e/e2e.test.ts do not exist on stable — verified via git show origin/stable. This commit fixes/tests behavior that is main-only, so there is nothing to backport.

To override, re-run the Backport to stable workflow manually via workflow_dispatch and paste this commit SHA into the ref input:

564a47c504e1fb0b3c364e1d9a5cabd7b0203034

pranaygp added a commit that referenced this pull request Jun 11, 2026
…hook-ready
* origin-https/main: (119 commits)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
Version Packages (beta) (#2254)
Patch vulnerable package dependencies (#2301)
Deprecate DurableAgent and update it with WorkflowAgent in v5 docs (#2285)
[codex] Fix partial world-local exclusive writes (#2296)
...
# Conflicts:
#	packages/core/src/runtime.ts
#	packages/core/src/runtime/suspension-handler.ts
pranaygp added a commit that referenced this pull request Jun 11, 2026
…t-race-eager-wait
* origin/main:
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
pranaygp added a commit that referenced this pull request Jun 11, 2026
…docs-run-idempotency
* origin-https/main: (115 commits)
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
Version Packages (beta) (#2254)
...
# Conflicts:
#	docs/content/docs/v4/cookbook/advanced/child-workflows.mdx
#	docs/content/docs/v5/cookbook/advanced/child-workflows.mdx
#	docs/content/docs/v5/cookbook/agent-patterns/durable-agent.mdx
pranaygp added a commit that referenced this pull request Jun 11, 2026
* origin/main:
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
pranaygp added a commit that referenced this pull request Jun 12, 2026
…ry-2
* origin/main:
Version Packages (beta) (#2364)
Animate in-progress segments in the timeline (#2383)
Render queued span time as a lead-in connector on the trace timeline. (#2381)
fix(docs): right-align sidebar folder carets consistently (#2377)
[core] Add wire-level framing for byte streams (#1853)
docs: move World SDK and getWorld under workflow/runtime, split out workflow/observability (#2375)
Replace hook.hasConflict with hook.getConflict() returning the conflicting Run (#2373)
ci: use claude-fable-5 for backport AI model (#2370)
Add `hook.hasConflict` for early hook conflict detection (#2015)
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@pranaygp@VaguelySerious
, '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('^' + ".*" + ' fix: settle aborted parallel steps before completing abortParallelWorkflow by pranaygp · Pull Request #2244 · vercel/workflow · GitHub
Skip to content

fix: settle aborted parallel steps before completing abortParallelWorkflow - #2244

Merged
pranaygp merged 2 commits into
mainfrom
pranaygp/fix-abort-parallel-timeout
Jun 11, 2026
Merged

fix: settle aborted parallel steps before completing abortParallelWorkflow#2244
pranaygp merged 2 commits into
mainfrom
pranaygp/fix-abort-parallel-timeout

Conversation

@pranaygp

@pranaygppranaygp commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • keep the parallel longStep() promises alive as a named promise so the workflow can await them after aborting
  • return the settled parallel step results after timeout so the test can prove all three steps actually observed the abort
  • assert AbortController > abortParallelWorkflow: abort cancels all parallel steps returns ["aborted", "aborted", "aborted"]

Validation

  • git diff --check
  • WORKFLOW_PUBLIC_MANIFEST=1 pnpm dev in workbench/nextjs-turbopack
  • DEPLOYMENT_URL="http://localhost:3000" APP_NAME="nextjs-turbopack" pnpm vitest run packages/core/e2e/e2e.test.ts -t "abortParallelWorkflow: abort cancels all parallel steps"

Notes

  • The focused local E2E still does not reach the assertion because local Next dev fails earlier with Workflow "workflow//./workflows/99_e2e//abortParallelWorkflow" is not registered in the current deployment.
  • Dev logs continue to show the concurrent local bundling warning Module not found: Can't resolve <dynamic> from packages/core/dist/runtime/world.js.
  • That local registration/bundling issue appears unrelated to this workflow/test change, so CI remains the real verification path for the timeout fix.

@changeset-bot

changeset-botBot commented Jun 4, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a1fcc91

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel

vercelBot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 4, 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🥇 Nitro0.042s (-2.1%)1.006s (~)0.964s101.00x
💻 LocalExpress0.043s (~)1.006s (~)0.963s101.03x
🐘 PostgresExpress0.060s (-10.0% 🟢)1.012s (~)0.953s101.42x
💻 LocalNext.js (Turbopack)0.062s (+13.3% 🔺)1.007s (~)0.944s101.49x
🐘 PostgresNitro0.063s (-1.1%)1.012s (~)0.949s101.49x
🐘 PostgresNext.js (Turbopack)0.067s (-4.4%)1.012s (~)0.945s101.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.252s (-3.6%)2.403s (-1.3%)2.151s101.00x
▲ VercelExpress0.297s (+9.1% 🔺)2.135s (-21.3% 🟢)1.838s101.18x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.099s (~)2.007s (~)0.908s101.00x
💻 LocalNitro1.103s (+0.6%)2.007s (~)0.904s101.00x
🐘 PostgresExpress1.105s (+1.2%)2.011s (~)0.905s101.01x
🐘 PostgresNitro1.112s (~)2.010s (~)0.899s101.01x
💻 LocalNext.js (Turbopack)1.134s (+2.3%)2.006s (~)0.872s101.03x
🐘 PostgresNext.js (Turbopack)1.140s (~)2.009s (~)0.869s101.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.586s (+1.3%)3.917s (+11.0% 🔺)2.331s101.00x
▲ VercelExpress1.666s (+5.2% 🔺)3.986s (+11.6% 🔺)2.319s101.05x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.520s (-1.8%)11.015s (-2.9%)0.495s31.00x
💻 LocalNitro10.537s (~)11.022s (~)0.485s31.00x
🐘 PostgresNitro10.546s (~)11.020s (~)0.473s31.00x
💻 LocalExpress10.555s (~)11.022s (~)0.467s31.00x
💻 LocalNext.js (Turbopack)10.797s (+1.8%)11.022s (~)0.225s31.03x
🐘 PostgresNext.js (Turbopack)10.814s (~)11.018s (~)0.204s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express13.412s (+1.9%)15.953s (+3.3%)2.541s21.00x
▲ VercelNitro13.614s (+2.2%)15.903s (+2.0%)2.289s21.02x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.754s (-1.1%)14.026s (-1.4%)0.272s51.00x
🐘 PostgresExpress13.860s (~)14.023s (-1.5%)0.163s51.01x
🐘 PostgresNitro13.873s (~)14.020s (~)0.147s51.01x
💻 LocalNitro13.883s (+1.2%)14.227s (+1.4%)0.345s51.01x
💻 LocalNext.js (Turbopack)14.367s (+2.4%)15.031s (+2.8%)0.664s41.04x
🐘 PostgresNext.js (Turbopack)14.437s (-1.1%)15.014s (~)0.576s41.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express20.293s (-20.3% 🟢)22.390s (-17.8% 🟢)2.097s31.00x
▲ VercelNitro20.916s (-18.0% 🟢)22.998s (-16.7% 🟢)2.081s31.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.434s (-1.3%)13.024s (~)0.590s71.00x
💻 LocalNitro12.449s (~)13.025s (~)0.576s71.00x
🐘 PostgresExpress12.478s (-2.0%)13.018s (-2.2%)0.541s71.00x
🐘 PostgresNitro12.795s (~)13.163s (+1.1%)0.368s71.03x
🐘 PostgresNext.js (Turbopack)13.720s (~)14.019s (~)0.298s71.10x
💻 LocalNext.js (Turbopack)13.793s (+6.5% 🔺)14.171s (+6.5% 🔺)0.378s71.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express28.281s (-11.8% 🟢)31.006s (-9.4% 🟢)2.725s31.00x
▲ VercelNitro29.486s (+1.5%)31.364s (~)1.878s31.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.200s (~)2.009s (~)0.809s151.00x
🐘 PostgresExpress1.214s (+1.2%)2.008s (-0.7%)0.794s151.01x
💻 LocalNitro1.217s (~)2.006s (~)0.789s151.01x
💻 LocalExpress1.219s (-3.5%)2.006s (~)0.786s151.02x
🐘 PostgresNext.js (Turbopack)1.245s (~)2.007s (~)0.762s151.04x
💻 LocalNext.js (Turbopack)1.306s (+6.8% 🔺)2.006s (~)0.699s151.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.457s (-11.2% 🟢)4.020s (-14.8% 🟢)1.563s81.00x
▲ VercelNitro2.555s (-7.8% 🟢)4.046s (-6.8% 🟢)1.492s81.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.259s (~)2.008s (~)0.750s151.00x
🐘 PostgresExpress1.268s (-4.4%)2.008s (~)0.740s151.01x
🐘 PostgresNext.js (Turbopack)1.388s (-1.5%)2.073s (+3.2%)0.685s151.10x
💻 LocalNext.js (Turbopack)1.773s (+2.7%)2.073s (+3.3%)0.300s151.41x
💻 LocalNitro1.784s (+4.7%)2.074s (~)0.290s151.42x
💻 LocalExpress1.838s (-2.4%)2.150s (-3.2%)0.312s141.46x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.409s (-16.5% 🟢)5.261s (-14.7% 🟢)1.852s61.00x
▲ VercelNitro4.236s (+4.1%)6.058s (-2.4%)1.822s61.24x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.402s (+0.6%)2.008s (~)0.606s151.00x
🐘 PostgresNitro1.414s (+0.5%)2.007s (~)0.594s151.01x
🐘 PostgresNext.js (Turbopack)1.688s (-4.1%)2.151s (-6.3% 🟢)0.462s141.20x
💻 LocalNext.js (Turbopack)4.642s (+5.6% 🔺)5.179s (+3.3%)0.537s63.31x
💻 LocalExpress5.369s (+1.3%)6.014s (~)0.645s53.83x
💻 LocalNitro5.580s (+18.3% 🔺)6.014s (+20.1% 🔺)0.435s53.98x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.190s (-23.0% 🟢)7.400s (-15.0% 🟢)2.210s51.00x
▲ VercelExpress7.015s (+18.8% 🔺)9.135s (+15.7% 🔺)2.120s41.35x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.178s (-2.1%)2.009s (~)0.831s151.00x
🐘 PostgresNitro1.193s (-0.6%)2.009s (~)0.816s151.01x
🐘 PostgresNext.js (Turbopack)1.240s (-2.1%)2.008s (~)0.768s151.05x
💻 LocalNext.js (Turbopack)1.376s (+5.4% 🔺)2.006s (~)0.630s151.17x
💻 LocalNitro1.578s (+2.2%)2.006s (~)0.428s151.34x
💻 LocalExpress1.596s (-3.7%)2.007s (-3.2%)0.411s151.35x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.364s (-7.9% 🟢)3.989s (-5.0%)1.626s81.00x
▲ VercelNitro2.585s (-3.3%)4.181s (-3.5%)1.596s81.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.256s (+1.0%)2.009s (~)0.753s151.00x
🐘 PostgresNitro1.270s (~)2.010s (~)0.740s151.01x
🐘 PostgresNext.js (Turbopack)1.372s (-1.8%)2.009s (~)0.637s151.09x
💻 LocalNitro2.087s (+18.8% 🔺)2.675s (+29.1% 🔺)0.589s121.66x
💻 LocalNext.js (Turbopack)2.105s (+4.2%)2.676s (+6.8% 🔺)0.571s121.68x
💻 LocalExpress2.117s (~)2.591s (~)0.474s121.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.687s (~)5.540s (-1.3%)1.854s61.00x
▲ VercelNitro3.726s (-9.0% 🟢)5.647s (-5.9% 🟢)1.921s61.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.405s (-6.3% 🟢)2.007s (-16.3% 🟢)0.602s151.00x
🐘 PostgresNitro1.410s (-3.5%)2.008s (~)0.597s151.00x
🐘 PostgresNext.js (Turbopack)1.640s (-1.0%)2.150s (+3.7%)0.510s141.17x
💻 LocalNext.js (Turbopack)5.592s (+8.4% 🔺)6.017s (~)0.425s53.98x
💻 LocalExpress6.060s (+3.4%)6.416s (+3.3%)0.355s54.31x
💻 LocalNitro6.308s (+33.0% 🔺)6.615s (+23.8% 🔺)0.307s54.49x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.328s (+5.0% 🔺)7.109s (+7.3% 🔺)1.781s51.00x
▲ VercelNitro156.356s (+3071.8% 🔺)158.702s (+2255.8% 🔺)2.347s229.35x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.559s (-16.1% 🟢)1.007s (-3.9%)0.447s601.00x
💻 LocalNitro0.599s (-25.6% 🟢)1.005s (-16.6% 🟢)0.406s601.07x
💻 LocalExpress0.613s (-6.5% 🟢)1.005s (-3.3%)0.392s601.10x
🐘 PostgresNitro0.644s (+5.8% 🔺)1.059s (+5.2% 🔺)0.415s571.15x
🐘 PostgresNext.js (Turbopack)0.788s (-2.9%)1.006s (~)0.218s601.41x
💻 LocalNext.js (Turbopack)0.870s (+25.0% 🔺)1.021s (+1.7%)0.151s591.56x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.234s (-4.9%)7.188s (+1.1%)1.954s91.00x
▲ VercelNitro5.234s (-29.9% 🟢)7.068s (-25.8% 🟢)1.834s91.00x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.423s (-7.4% 🟢)2.053s (-4.6%)0.630s441.00x
🐘 PostgresNitro1.430s (+1.0%)2.054s (+2.3%)0.624s441.01x
💻 LocalNitro1.508s (+3.0%)2.007s (~)0.499s451.06x
💻 LocalExpress1.536s (-3.5%)2.007s (-1.1%)0.470s451.08x
🐘 PostgresNext.js (Turbopack)1.883s (-3.1%)2.030s (-6.6% 🟢)0.147s451.32x
💻 LocalNext.js (Turbopack)2.073s (+19.9% 🔺)2.976s (+46.7% 🔺)0.903s311.46x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express12.374s (-24.5% 🟢)14.609s (-20.2% 🟢)2.235s71.00x
▲ VercelNitro12.892s (-2.5%)15.013s (-3.0%)2.121s71.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.798s (-4.0%)3.138s (-4.3%)0.341s391.00x
🐘 PostgresExpress2.852s (-2.0%)3.220s (-9.0% 🟢)0.367s381.02x
💻 LocalExpress3.273s (-4.3%)4.010s (~)0.736s301.17x
💻 LocalNitro3.325s (+3.7%)4.043s (+0.8%)0.718s301.19x
🐘 PostgresNext.js (Turbopack)3.741s (-3.1%)4.042s (-0.8%)0.301s301.34x
💻 LocalNext.js (Turbopack)4.397s (+18.0% 🔺)5.012s (+22.0% 🔺)0.614s241.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro24.989s (-16.1% 🟢)27.368s (-14.4% 🟢)2.379s51.00x
▲ VercelExpress27.286s (-5.4% 🟢)30.110s (-2.6%)2.824s51.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.218s (-7.5% 🟢)1.007s (~)0.789s601.00x
🐘 PostgresExpress0.223s (-11.7% 🟢)1.006s (~)0.784s601.02x
🐘 PostgresNext.js (Turbopack)0.274s (-2.9%)1.006s (~)0.732s601.26x
💻 LocalExpress0.463s (~)1.005s (~)0.542s602.13x
💻 LocalNitro0.464s (+9.4% 🔺)1.004s (~)0.540s602.13x
💻 LocalNext.js (Turbopack)0.661s (+8.2% 🔺)1.058s (+1.9%)0.397s573.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.257s (-3.8%)3.916s (-9.6% 🟢)1.659s161.00x
▲ VercelExpress2.816s (+27.3% 🔺)4.679s (+14.2% 🔺)1.863s131.25x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.347s (+2.4%)1.006s (~)0.659s901.00x
🐘 PostgresNitro0.379s (+2.1%)1.007s (~)0.628s901.09x
🐘 PostgresNext.js (Turbopack)0.472s (-2.2%)1.006s (~)0.534s901.36x
💻 LocalNitro2.177s (+5.5% 🔺)2.766s (+4.9%)0.588s336.27x
💻 LocalExpress2.190s (~)2.713s (-3.9%)0.524s346.31x
💻 LocalNext.js (Turbopack)2.558s (+4.4%)3.261s (+4.9%)0.704s287.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.560s (-89.6% 🟢)6.563s (-85.7% 🟢)2.004s141.00x
▲ VercelExpress5.307s (-87.7% 🟢)7.209s (-84.1% 🟢)1.901s131.16x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.663s (+6.0% 🔺)1.006s (-4.6%)0.343s1201.00x
🐘 PostgresNitro0.694s (-1.8%)1.006s (~)0.312s1201.05x
🐘 PostgresNext.js (Turbopack)0.927s (-5.4% 🟢)1.231s (-23.4% 🟢)0.305s981.40x
💻 LocalExpress9.974s (-3.3%)10.530s (-3.1%)0.556s1215.04x
💻 LocalNitro10.018s (+15.0% 🔺)10.526s (+12.8% 🔺)0.507s1215.11x
💻 LocalNext.js (Turbopack)10.257s (-0.6%)11.209s (-0.8%)0.952s1115.47x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro13.262s (-95.7% 🟢)15.600s (-95.0% 🟢)2.338s81.00x
▲ VercelExpress13.685s (-10.3% 🟢)15.695s (-10.3% 🟢)2.009s81.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.162s (-0.6%)2.005s (~)0.012s (-3.1%)2.019s (~)0.858s101.00x
🐘 PostgresExpress1.165s (-2.5%)2.000s (~)0.001s (-96.8% 🟢)2.011s (-1.6%)0.846s101.00x
💻 LocalNitro1.165s (+1.2%)2.005s (~)0.012s (+23.0% 🔺)2.019s (~)0.854s101.00x
🐘 PostgresNitro1.189s (+0.6%)2.004s (~)0.003s (+128.6% 🔺)2.019s (~)0.830s101.02x
💻 LocalNext.js (Turbopack)1.206s (+3.2%)2.003s (~)0.010s (+1.0%)2.018s (~)0.811s101.04x
🐘 PostgresNext.js (Turbopack)1.232s (~)2.001s (~)0.001s (-26.7% 🟢)2.010s (~)0.778s101.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.175s (~)3.553s (+4.0%)1.893s (+266.9% 🔺)5.938s (+32.9% 🔺)3.763s101.00x
▲ VercelExpress2.463s (+14.8% 🔺)3.433s (+0.7%)2.296s (+336.7% 🔺)6.318s (+42.1% 🔺)3.855s101.13x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.587s (-8.6% 🟢)2.004s (-6.5% 🟢)0.004s (+24.6% 🔺)2.025s (-6.2% 🟢)0.438s301.00x
💻 LocalExpress1.607s (-1.8%)2.010s (~)0.010s (-5.1% 🟢)2.022s (~)0.415s301.01x
🐘 PostgresNitro1.653s (-0.6%)2.039s (+1.6%)0.004s (+0.9%)2.060s (+1.6%)0.407s301.04x
🐘 PostgresNext.js (Turbopack)1.726s (-2.1%)2.009s (~)0.004s (-7.4% 🟢)2.024s (~)0.298s301.09x
💻 LocalNext.js (Turbopack)1.751s (+6.8% 🔺)2.010s (~)0.010s (-3.6%)2.023s (~)0.271s301.10x
💻 LocalNitro1.767s (+1.4%)2.010s (~)0.009s (+3.1%)2.201s (~)0.433s281.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.707s (-0.7%)7.166s (-5.7% 🟢)0.300s (-11.2% 🟢)7.923s (-6.6% 🟢)2.216s81.00x
▲ VercelExpress5.795s (+0.6%)7.189s (-3.3%)0.260s (-26.5% 🟢)7.931s (-5.6% 🟢)2.136s81.02x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.700s (-28.4% 🟢)1.050s (-26.4% 🟢)0.000s (-50.9% 🟢)1.061s (-26.8% 🟢)0.361s571.00x
🐘 PostgresNitro0.717s (-0.8%)1.051s (+2.0%)0.000s (-83.0% 🟢)1.061s (+1.2%)0.343s571.02x
🐘 PostgresNext.js (Turbopack)0.802s (-3.7%)1.072s (~)0.000s (~)1.079s (~)0.277s561.15x
💻 LocalExpress1.412s (-4.8%)2.014s (~)0.000s (-53.3% 🟢)2.016s (~)0.604s302.02x
💻 LocalNitro1.581s (+16.9% 🔺)2.013s (~)0.000s (-28.6% 🟢)2.194s (+8.9% 🔺)0.613s282.26x
💻 LocalNext.js (Turbopack)1.585s (+9.5% 🔺)2.015s (~)0.001s (+100.0% 🔺)2.019s (~)0.434s302.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.288s (-19.0% 🟢)4.748s (-11.1% 🟢)0.000s (-85.3% 🟢)5.247s (-14.9% 🟢)1.959s121.00x
▲ VercelNitro3.570s (-0.8%)5.029s (-0.9%)0.000s (+Infinity% 🔺)5.483s (-2.6%)1.913s111.09x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.390s (-13.9% 🟢)2.068s (-8.2% 🟢)0.000s (+Infinity% 🔺)2.082s (-8.7% 🟢)0.692s291.00x
🐘 PostgresNitro1.470s (+4.2%)2.175s (+9.0% 🔺)0.000s (+Infinity% 🔺)2.192s (+8.9% 🔺)0.722s281.06x
🐘 PostgresNext.js (Turbopack)1.604s (-7.2% 🟢)2.181s (-3.6%)0.000s (+Infinity% 🔺)2.188s (-3.6%)0.584s281.15x
💻 LocalNitro3.174s (+1.9%)4.027s (+3.4%)0.001s (+246.7% 🔺)4.030s (+3.3%)0.856s152.28x
💻 LocalExpress3.184s (-4.5%)3.901s (+1.6%)0.000s (~)3.903s (+1.5%)0.719s162.29x
💻 LocalNext.js (Turbopack)3.483s (+8.4% 🔺)3.840s (-1.5%)0.001s (+140.0% 🔺)3.848s (-1.3%)0.365s162.51x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.176s (-26.5% 🟢)6.833s (-20.3% 🟢)0.000s (NaN%)7.304s (-19.6% 🟢)2.127s91.00x
▲ VercelExpress5.209s (-17.6% 🟢)6.695s (-12.2% 🟢)0.002s (+463.0% 🔺)7.182s (-12.2% 🟢)1.973s91.01x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress9/21
🐘 PostgresExpress17/21
▲ VercelExpress11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres16/21
Next.js (Turbopack)🐘 Postgres16/21
Nitro🐘 Postgres15/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)

📋 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 4, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
❌ ▲ Vercel Production126152191485
✅ 💻 Local Development167102191890
✅ 📦 Local Production167102191890
✅ 🐘 Local Postgres167102191890
✅ 🪟 Windows13500135
✅ 📋 Other7690176945
Total7178510528235

❌ Failed Tests

▲ Vercel Production (5 failed)

astro (1 failed):

  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream

nextjs-turbopack (1 failed):

  • outputStreamWorkflow no startIndex (reads all chunks)

nitro (1 failed):

  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream

vite (2 failed):

Details by Category

❌ ▲ Vercel Production
AppPassedFailedSkipped
❌ astro108126
✅ example109026
✅ express109026
✅ fastify109026
✅ hono109026
❌ nextjs-turbopack13212
✅ nextjs-webpack13302
❌ nitro108126
✅ nuxt109026
✅ sveltekit12807
❌ vite107226
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack13500
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable110025
✅ e2e-local-dev-tanstack-start-110025
✅ e2e-local-postgres-nest-stable110025
✅ e2e-local-postgres-tanstack-start-110025
✅ e2e-local-prod-nest-stable110025
✅ e2e-local-prod-tanstack-start-110025
✅ e2e-vercel-prod-tanstack-start109026

📋 View full workflow run


Some E2E test jobs failed:

  • Vercel Prod: failure
  • Local Dev: success
  • Local Prod: success
  • Local Postgres: success
  • Windows: success

Check the workflow run for details.

@pranaygp
pranaygp marked this pull request as ready for review June 5, 2026 22:17
@pranaygp
pranaygp requested a review from a team as a code ownerJune 5, 2026 22:17
CopilotAI review requested due to automatic review settings June 5, 2026 22:17

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the abort-parallel E2E workflow to ensure that once the workflow times out and triggers an abort, it waits for the in-flight parallel steps to observe the abort and settle before returning. This prevents “dangling” parallel work from keeping the run open until the long steps reach their natural completion, and it strengthens the E2E assertion to prove all branches actually took the abort path.

Changes:

  • Keep the three parallel longStep() executions alive via a named parallelSteps promise so it can be awaited after timeout/abort.
  • On timeout, abort the controller and then await parallelSteps before returning, including the settled results in the return value.
  • Update the E2E test to assert that the workflow returns results: ["aborted", "aborted", "aborted"] for the timeout path.

Reviewed changes

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

FileDescription
workbench/example/workflows/99_e2e.tsPersists the parallel steps promise and awaits it after abort on timeout, returning the settled step results.
packages/core/e2e/e2e.test.tsStrengthens the assertion to verify all parallel steps actually observed the abort and returned "aborted".

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

@pranaygp
pranaygp merged commit 564a47c into mainJun 11, 2026
115 of 122 checks passed
@pranaygp
pranaygp deleted the pranaygp/fix-abort-parallel-timeout branch June 11, 2026 18:02
@github-actions

Copy link
Copy Markdown
Contributor

No backport to stable for 564a47c (AI decision).

The abortParallelWorkflow function in workbench/example/workflows/99_e2e.ts and its corresponding e2e test in packages/core/e2e/e2e.test.ts do not exist on stable — verified via git show origin/stable. This commit fixes/tests behavior that is main-only, so there is nothing to backport.

To override, re-run the Backport to stable workflow manually via workflow_dispatch and paste this commit SHA into the ref input:

564a47c504e1fb0b3c364e1d9a5cabd7b0203034

pranaygp added a commit that referenced this pull request Jun 11, 2026
…hook-ready
* origin-https/main: (119 commits)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
Version Packages (beta) (#2254)
Patch vulnerable package dependencies (#2301)
Deprecate DurableAgent and update it with WorkflowAgent in v5 docs (#2285)
[codex] Fix partial world-local exclusive writes (#2296)
...
# Conflicts:
#	packages/core/src/runtime.ts
#	packages/core/src/runtime/suspension-handler.ts
pranaygp added a commit that referenced this pull request Jun 11, 2026
…t-race-eager-wait
* origin/main:
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
pranaygp added a commit that referenced this pull request Jun 11, 2026
…docs-run-idempotency
* origin-https/main: (115 commits)
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
Version Packages (beta) (#2254)
...
# Conflicts:
#	docs/content/docs/v4/cookbook/advanced/child-workflows.mdx
#	docs/content/docs/v5/cookbook/advanced/child-workflows.mdx
#	docs/content/docs/v5/cookbook/agent-patterns/durable-agent.mdx
pranaygp added a commit that referenced this pull request Jun 11, 2026
* origin/main:
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
pranaygp added a commit that referenced this pull request Jun 12, 2026
…ry-2
* origin/main:
Version Packages (beta) (#2364)
Animate in-progress segments in the timeline (#2383)
Render queued span time as a lead-in connector on the trace timeline. (#2381)
fix(docs): right-align sidebar folder carets consistently (#2377)
[core] Add wire-level framing for byte streams (#1853)
docs: move World SDK and getWorld under workflow/runtime, split out workflow/observability (#2375)
Replace hook.hasConflict with hook.getConflict() returning the conflicting Run (#2373)
ci: use claude-fable-5 for backport AI model (#2370)
Add `hook.hasConflict` for early hook conflict detection (#2015)
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@pranaygp@VaguelySerious
, '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" + ' fix: settle aborted parallel steps before completing abortParallelWorkflow by pranaygp · Pull Request #2244 · vercel/workflow · GitHub
Skip to content

fix: settle aborted parallel steps before completing abortParallelWorkflow - #2244

Merged
pranaygp merged 2 commits into
mainfrom
pranaygp/fix-abort-parallel-timeout
Jun 11, 2026
Merged

fix: settle aborted parallel steps before completing abortParallelWorkflow#2244
pranaygp merged 2 commits into
mainfrom
pranaygp/fix-abort-parallel-timeout

Conversation

@pranaygp

@pranaygppranaygp commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • keep the parallel longStep() promises alive as a named promise so the workflow can await them after aborting
  • return the settled parallel step results after timeout so the test can prove all three steps actually observed the abort
  • assert AbortController > abortParallelWorkflow: abort cancels all parallel steps returns ["aborted", "aborted", "aborted"]

Validation

  • git diff --check
  • WORKFLOW_PUBLIC_MANIFEST=1 pnpm dev in workbench/nextjs-turbopack
  • DEPLOYMENT_URL="http://localhost:3000" APP_NAME="nextjs-turbopack" pnpm vitest run packages/core/e2e/e2e.test.ts -t "abortParallelWorkflow: abort cancels all parallel steps"

Notes

  • The focused local E2E still does not reach the assertion because local Next dev fails earlier with Workflow "workflow//./workflows/99_e2e//abortParallelWorkflow" is not registered in the current deployment.
  • Dev logs continue to show the concurrent local bundling warning Module not found: Can't resolve <dynamic> from packages/core/dist/runtime/world.js.
  • That local registration/bundling issue appears unrelated to this workflow/test change, so CI remains the real verification path for the timeout fix.

@changeset-bot

changeset-botBot commented Jun 4, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a1fcc91

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel

vercelBot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 4, 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🥇 Nitro0.042s (-2.1%)1.006s (~)0.964s101.00x
💻 LocalExpress0.043s (~)1.006s (~)0.963s101.03x
🐘 PostgresExpress0.060s (-10.0% 🟢)1.012s (~)0.953s101.42x
💻 LocalNext.js (Turbopack)0.062s (+13.3% 🔺)1.007s (~)0.944s101.49x
🐘 PostgresNitro0.063s (-1.1%)1.012s (~)0.949s101.49x
🐘 PostgresNext.js (Turbopack)0.067s (-4.4%)1.012s (~)0.945s101.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.252s (-3.6%)2.403s (-1.3%)2.151s101.00x
▲ VercelExpress0.297s (+9.1% 🔺)2.135s (-21.3% 🟢)1.838s101.18x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.099s (~)2.007s (~)0.908s101.00x
💻 LocalNitro1.103s (+0.6%)2.007s (~)0.904s101.00x
🐘 PostgresExpress1.105s (+1.2%)2.011s (~)0.905s101.01x
🐘 PostgresNitro1.112s (~)2.010s (~)0.899s101.01x
💻 LocalNext.js (Turbopack)1.134s (+2.3%)2.006s (~)0.872s101.03x
🐘 PostgresNext.js (Turbopack)1.140s (~)2.009s (~)0.869s101.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.586s (+1.3%)3.917s (+11.0% 🔺)2.331s101.00x
▲ VercelExpress1.666s (+5.2% 🔺)3.986s (+11.6% 🔺)2.319s101.05x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.520s (-1.8%)11.015s (-2.9%)0.495s31.00x
💻 LocalNitro10.537s (~)11.022s (~)0.485s31.00x
🐘 PostgresNitro10.546s (~)11.020s (~)0.473s31.00x
💻 LocalExpress10.555s (~)11.022s (~)0.467s31.00x
💻 LocalNext.js (Turbopack)10.797s (+1.8%)11.022s (~)0.225s31.03x
🐘 PostgresNext.js (Turbopack)10.814s (~)11.018s (~)0.204s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express13.412s (+1.9%)15.953s (+3.3%)2.541s21.00x
▲ VercelNitro13.614s (+2.2%)15.903s (+2.0%)2.289s21.02x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.754s (-1.1%)14.026s (-1.4%)0.272s51.00x
🐘 PostgresExpress13.860s (~)14.023s (-1.5%)0.163s51.01x
🐘 PostgresNitro13.873s (~)14.020s (~)0.147s51.01x
💻 LocalNitro13.883s (+1.2%)14.227s (+1.4%)0.345s51.01x
💻 LocalNext.js (Turbopack)14.367s (+2.4%)15.031s (+2.8%)0.664s41.04x
🐘 PostgresNext.js (Turbopack)14.437s (-1.1%)15.014s (~)0.576s41.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express20.293s (-20.3% 🟢)22.390s (-17.8% 🟢)2.097s31.00x
▲ VercelNitro20.916s (-18.0% 🟢)22.998s (-16.7% 🟢)2.081s31.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.434s (-1.3%)13.024s (~)0.590s71.00x
💻 LocalNitro12.449s (~)13.025s (~)0.576s71.00x
🐘 PostgresExpress12.478s (-2.0%)13.018s (-2.2%)0.541s71.00x
🐘 PostgresNitro12.795s (~)13.163s (+1.1%)0.368s71.03x
🐘 PostgresNext.js (Turbopack)13.720s (~)14.019s (~)0.298s71.10x
💻 LocalNext.js (Turbopack)13.793s (+6.5% 🔺)14.171s (+6.5% 🔺)0.378s71.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express28.281s (-11.8% 🟢)31.006s (-9.4% 🟢)2.725s31.00x
▲ VercelNitro29.486s (+1.5%)31.364s (~)1.878s31.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.200s (~)2.009s (~)0.809s151.00x
🐘 PostgresExpress1.214s (+1.2%)2.008s (-0.7%)0.794s151.01x
💻 LocalNitro1.217s (~)2.006s (~)0.789s151.01x
💻 LocalExpress1.219s (-3.5%)2.006s (~)0.786s151.02x
🐘 PostgresNext.js (Turbopack)1.245s (~)2.007s (~)0.762s151.04x
💻 LocalNext.js (Turbopack)1.306s (+6.8% 🔺)2.006s (~)0.699s151.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.457s (-11.2% 🟢)4.020s (-14.8% 🟢)1.563s81.00x
▲ VercelNitro2.555s (-7.8% 🟢)4.046s (-6.8% 🟢)1.492s81.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.259s (~)2.008s (~)0.750s151.00x
🐘 PostgresExpress1.268s (-4.4%)2.008s (~)0.740s151.01x
🐘 PostgresNext.js (Turbopack)1.388s (-1.5%)2.073s (+3.2%)0.685s151.10x
💻 LocalNext.js (Turbopack)1.773s (+2.7%)2.073s (+3.3%)0.300s151.41x
💻 LocalNitro1.784s (+4.7%)2.074s (~)0.290s151.42x
💻 LocalExpress1.838s (-2.4%)2.150s (-3.2%)0.312s141.46x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.409s (-16.5% 🟢)5.261s (-14.7% 🟢)1.852s61.00x
▲ VercelNitro4.236s (+4.1%)6.058s (-2.4%)1.822s61.24x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.402s (+0.6%)2.008s (~)0.606s151.00x
🐘 PostgresNitro1.414s (+0.5%)2.007s (~)0.594s151.01x
🐘 PostgresNext.js (Turbopack)1.688s (-4.1%)2.151s (-6.3% 🟢)0.462s141.20x
💻 LocalNext.js (Turbopack)4.642s (+5.6% 🔺)5.179s (+3.3%)0.537s63.31x
💻 LocalExpress5.369s (+1.3%)6.014s (~)0.645s53.83x
💻 LocalNitro5.580s (+18.3% 🔺)6.014s (+20.1% 🔺)0.435s53.98x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.190s (-23.0% 🟢)7.400s (-15.0% 🟢)2.210s51.00x
▲ VercelExpress7.015s (+18.8% 🔺)9.135s (+15.7% 🔺)2.120s41.35x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.178s (-2.1%)2.009s (~)0.831s151.00x
🐘 PostgresNitro1.193s (-0.6%)2.009s (~)0.816s151.01x
🐘 PostgresNext.js (Turbopack)1.240s (-2.1%)2.008s (~)0.768s151.05x
💻 LocalNext.js (Turbopack)1.376s (+5.4% 🔺)2.006s (~)0.630s151.17x
💻 LocalNitro1.578s (+2.2%)2.006s (~)0.428s151.34x
💻 LocalExpress1.596s (-3.7%)2.007s (-3.2%)0.411s151.35x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.364s (-7.9% 🟢)3.989s (-5.0%)1.626s81.00x
▲ VercelNitro2.585s (-3.3%)4.181s (-3.5%)1.596s81.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.256s (+1.0%)2.009s (~)0.753s151.00x
🐘 PostgresNitro1.270s (~)2.010s (~)0.740s151.01x
🐘 PostgresNext.js (Turbopack)1.372s (-1.8%)2.009s (~)0.637s151.09x
💻 LocalNitro2.087s (+18.8% 🔺)2.675s (+29.1% 🔺)0.589s121.66x
💻 LocalNext.js (Turbopack)2.105s (+4.2%)2.676s (+6.8% 🔺)0.571s121.68x
💻 LocalExpress2.117s (~)2.591s (~)0.474s121.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.687s (~)5.540s (-1.3%)1.854s61.00x
▲ VercelNitro3.726s (-9.0% 🟢)5.647s (-5.9% 🟢)1.921s61.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.405s (-6.3% 🟢)2.007s (-16.3% 🟢)0.602s151.00x
🐘 PostgresNitro1.410s (-3.5%)2.008s (~)0.597s151.00x
🐘 PostgresNext.js (Turbopack)1.640s (-1.0%)2.150s (+3.7%)0.510s141.17x
💻 LocalNext.js (Turbopack)5.592s (+8.4% 🔺)6.017s (~)0.425s53.98x
💻 LocalExpress6.060s (+3.4%)6.416s (+3.3%)0.355s54.31x
💻 LocalNitro6.308s (+33.0% 🔺)6.615s (+23.8% 🔺)0.307s54.49x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.328s (+5.0% 🔺)7.109s (+7.3% 🔺)1.781s51.00x
▲ VercelNitro156.356s (+3071.8% 🔺)158.702s (+2255.8% 🔺)2.347s229.35x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.559s (-16.1% 🟢)1.007s (-3.9%)0.447s601.00x
💻 LocalNitro0.599s (-25.6% 🟢)1.005s (-16.6% 🟢)0.406s601.07x
💻 LocalExpress0.613s (-6.5% 🟢)1.005s (-3.3%)0.392s601.10x
🐘 PostgresNitro0.644s (+5.8% 🔺)1.059s (+5.2% 🔺)0.415s571.15x
🐘 PostgresNext.js (Turbopack)0.788s (-2.9%)1.006s (~)0.218s601.41x
💻 LocalNext.js (Turbopack)0.870s (+25.0% 🔺)1.021s (+1.7%)0.151s591.56x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.234s (-4.9%)7.188s (+1.1%)1.954s91.00x
▲ VercelNitro5.234s (-29.9% 🟢)7.068s (-25.8% 🟢)1.834s91.00x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.423s (-7.4% 🟢)2.053s (-4.6%)0.630s441.00x
🐘 PostgresNitro1.430s (+1.0%)2.054s (+2.3%)0.624s441.01x
💻 LocalNitro1.508s (+3.0%)2.007s (~)0.499s451.06x
💻 LocalExpress1.536s (-3.5%)2.007s (-1.1%)0.470s451.08x
🐘 PostgresNext.js (Turbopack)1.883s (-3.1%)2.030s (-6.6% 🟢)0.147s451.32x
💻 LocalNext.js (Turbopack)2.073s (+19.9% 🔺)2.976s (+46.7% 🔺)0.903s311.46x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express12.374s (-24.5% 🟢)14.609s (-20.2% 🟢)2.235s71.00x
▲ VercelNitro12.892s (-2.5%)15.013s (-3.0%)2.121s71.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.798s (-4.0%)3.138s (-4.3%)0.341s391.00x
🐘 PostgresExpress2.852s (-2.0%)3.220s (-9.0% 🟢)0.367s381.02x
💻 LocalExpress3.273s (-4.3%)4.010s (~)0.736s301.17x
💻 LocalNitro3.325s (+3.7%)4.043s (+0.8%)0.718s301.19x
🐘 PostgresNext.js (Turbopack)3.741s (-3.1%)4.042s (-0.8%)0.301s301.34x
💻 LocalNext.js (Turbopack)4.397s (+18.0% 🔺)5.012s (+22.0% 🔺)0.614s241.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro24.989s (-16.1% 🟢)27.368s (-14.4% 🟢)2.379s51.00x
▲ VercelExpress27.286s (-5.4% 🟢)30.110s (-2.6%)2.824s51.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.218s (-7.5% 🟢)1.007s (~)0.789s601.00x
🐘 PostgresExpress0.223s (-11.7% 🟢)1.006s (~)0.784s601.02x
🐘 PostgresNext.js (Turbopack)0.274s (-2.9%)1.006s (~)0.732s601.26x
💻 LocalExpress0.463s (~)1.005s (~)0.542s602.13x
💻 LocalNitro0.464s (+9.4% 🔺)1.004s (~)0.540s602.13x
💻 LocalNext.js (Turbopack)0.661s (+8.2% 🔺)1.058s (+1.9%)0.397s573.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.257s (-3.8%)3.916s (-9.6% 🟢)1.659s161.00x
▲ VercelExpress2.816s (+27.3% 🔺)4.679s (+14.2% 🔺)1.863s131.25x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.347s (+2.4%)1.006s (~)0.659s901.00x
🐘 PostgresNitro0.379s (+2.1%)1.007s (~)0.628s901.09x
🐘 PostgresNext.js (Turbopack)0.472s (-2.2%)1.006s (~)0.534s901.36x
💻 LocalNitro2.177s (+5.5% 🔺)2.766s (+4.9%)0.588s336.27x
💻 LocalExpress2.190s (~)2.713s (-3.9%)0.524s346.31x
💻 LocalNext.js (Turbopack)2.558s (+4.4%)3.261s (+4.9%)0.704s287.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.560s (-89.6% 🟢)6.563s (-85.7% 🟢)2.004s141.00x
▲ VercelExpress5.307s (-87.7% 🟢)7.209s (-84.1% 🟢)1.901s131.16x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.663s (+6.0% 🔺)1.006s (-4.6%)0.343s1201.00x
🐘 PostgresNitro0.694s (-1.8%)1.006s (~)0.312s1201.05x
🐘 PostgresNext.js (Turbopack)0.927s (-5.4% 🟢)1.231s (-23.4% 🟢)0.305s981.40x
💻 LocalExpress9.974s (-3.3%)10.530s (-3.1%)0.556s1215.04x
💻 LocalNitro10.018s (+15.0% 🔺)10.526s (+12.8% 🔺)0.507s1215.11x
💻 LocalNext.js (Turbopack)10.257s (-0.6%)11.209s (-0.8%)0.952s1115.47x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro13.262s (-95.7% 🟢)15.600s (-95.0% 🟢)2.338s81.00x
▲ VercelExpress13.685s (-10.3% 🟢)15.695s (-10.3% 🟢)2.009s81.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.162s (-0.6%)2.005s (~)0.012s (-3.1%)2.019s (~)0.858s101.00x
🐘 PostgresExpress1.165s (-2.5%)2.000s (~)0.001s (-96.8% 🟢)2.011s (-1.6%)0.846s101.00x
💻 LocalNitro1.165s (+1.2%)2.005s (~)0.012s (+23.0% 🔺)2.019s (~)0.854s101.00x
🐘 PostgresNitro1.189s (+0.6%)2.004s (~)0.003s (+128.6% 🔺)2.019s (~)0.830s101.02x
💻 LocalNext.js (Turbopack)1.206s (+3.2%)2.003s (~)0.010s (+1.0%)2.018s (~)0.811s101.04x
🐘 PostgresNext.js (Turbopack)1.232s (~)2.001s (~)0.001s (-26.7% 🟢)2.010s (~)0.778s101.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.175s (~)3.553s (+4.0%)1.893s (+266.9% 🔺)5.938s (+32.9% 🔺)3.763s101.00x
▲ VercelExpress2.463s (+14.8% 🔺)3.433s (+0.7%)2.296s (+336.7% 🔺)6.318s (+42.1% 🔺)3.855s101.13x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.587s (-8.6% 🟢)2.004s (-6.5% 🟢)0.004s (+24.6% 🔺)2.025s (-6.2% 🟢)0.438s301.00x
💻 LocalExpress1.607s (-1.8%)2.010s (~)0.010s (-5.1% 🟢)2.022s (~)0.415s301.01x
🐘 PostgresNitro1.653s (-0.6%)2.039s (+1.6%)0.004s (+0.9%)2.060s (+1.6%)0.407s301.04x
🐘 PostgresNext.js (Turbopack)1.726s (-2.1%)2.009s (~)0.004s (-7.4% 🟢)2.024s (~)0.298s301.09x
💻 LocalNext.js (Turbopack)1.751s (+6.8% 🔺)2.010s (~)0.010s (-3.6%)2.023s (~)0.271s301.10x
💻 LocalNitro1.767s (+1.4%)2.010s (~)0.009s (+3.1%)2.201s (~)0.433s281.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.707s (-0.7%)7.166s (-5.7% 🟢)0.300s (-11.2% 🟢)7.923s (-6.6% 🟢)2.216s81.00x
▲ VercelExpress5.795s (+0.6%)7.189s (-3.3%)0.260s (-26.5% 🟢)7.931s (-5.6% 🟢)2.136s81.02x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.700s (-28.4% 🟢)1.050s (-26.4% 🟢)0.000s (-50.9% 🟢)1.061s (-26.8% 🟢)0.361s571.00x
🐘 PostgresNitro0.717s (-0.8%)1.051s (+2.0%)0.000s (-83.0% 🟢)1.061s (+1.2%)0.343s571.02x
🐘 PostgresNext.js (Turbopack)0.802s (-3.7%)1.072s (~)0.000s (~)1.079s (~)0.277s561.15x
💻 LocalExpress1.412s (-4.8%)2.014s (~)0.000s (-53.3% 🟢)2.016s (~)0.604s302.02x
💻 LocalNitro1.581s (+16.9% 🔺)2.013s (~)0.000s (-28.6% 🟢)2.194s (+8.9% 🔺)0.613s282.26x
💻 LocalNext.js (Turbopack)1.585s (+9.5% 🔺)2.015s (~)0.001s (+100.0% 🔺)2.019s (~)0.434s302.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.288s (-19.0% 🟢)4.748s (-11.1% 🟢)0.000s (-85.3% 🟢)5.247s (-14.9% 🟢)1.959s121.00x
▲ VercelNitro3.570s (-0.8%)5.029s (-0.9%)0.000s (+Infinity% 🔺)5.483s (-2.6%)1.913s111.09x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.390s (-13.9% 🟢)2.068s (-8.2% 🟢)0.000s (+Infinity% 🔺)2.082s (-8.7% 🟢)0.692s291.00x
🐘 PostgresNitro1.470s (+4.2%)2.175s (+9.0% 🔺)0.000s (+Infinity% 🔺)2.192s (+8.9% 🔺)0.722s281.06x
🐘 PostgresNext.js (Turbopack)1.604s (-7.2% 🟢)2.181s (-3.6%)0.000s (+Infinity% 🔺)2.188s (-3.6%)0.584s281.15x
💻 LocalNitro3.174s (+1.9%)4.027s (+3.4%)0.001s (+246.7% 🔺)4.030s (+3.3%)0.856s152.28x
💻 LocalExpress3.184s (-4.5%)3.901s (+1.6%)0.000s (~)3.903s (+1.5%)0.719s162.29x
💻 LocalNext.js (Turbopack)3.483s (+8.4% 🔺)3.840s (-1.5%)0.001s (+140.0% 🔺)3.848s (-1.3%)0.365s162.51x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.176s (-26.5% 🟢)6.833s (-20.3% 🟢)0.000s (NaN%)7.304s (-19.6% 🟢)2.127s91.00x
▲ VercelExpress5.209s (-17.6% 🟢)6.695s (-12.2% 🟢)0.002s (+463.0% 🔺)7.182s (-12.2% 🟢)1.973s91.01x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress9/21
🐘 PostgresExpress17/21
▲ VercelExpress11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres16/21
Next.js (Turbopack)🐘 Postgres16/21
Nitro🐘 Postgres15/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)

📋 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 4, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
❌ ▲ Vercel Production126152191485
✅ 💻 Local Development167102191890
✅ 📦 Local Production167102191890
✅ 🐘 Local Postgres167102191890
✅ 🪟 Windows13500135
✅ 📋 Other7690176945
Total7178510528235

❌ Failed Tests

▲ Vercel Production (5 failed)

astro (1 failed):

  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream

nextjs-turbopack (1 failed):

  • outputStreamWorkflow no startIndex (reads all chunks)

nitro (1 failed):

  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream

vite (2 failed):

Details by Category

❌ ▲ Vercel Production
AppPassedFailedSkipped
❌ astro108126
✅ example109026
✅ express109026
✅ fastify109026
✅ hono109026
❌ nextjs-turbopack13212
✅ nextjs-webpack13302
❌ nitro108126
✅ nuxt109026
✅ sveltekit12807
❌ vite107226
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack13500
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable110025
✅ e2e-local-dev-tanstack-start-110025
✅ e2e-local-postgres-nest-stable110025
✅ e2e-local-postgres-tanstack-start-110025
✅ e2e-local-prod-nest-stable110025
✅ e2e-local-prod-tanstack-start-110025
✅ e2e-vercel-prod-tanstack-start109026

📋 View full workflow run


Some E2E test jobs failed:

  • Vercel Prod: failure
  • Local Dev: success
  • Local Prod: success
  • Local Postgres: success
  • Windows: success

Check the workflow run for details.

@pranaygp
pranaygp marked this pull request as ready for review June 5, 2026 22:17
@pranaygp
pranaygp requested a review from a team as a code ownerJune 5, 2026 22:17
CopilotAI review requested due to automatic review settings June 5, 2026 22:17

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the abort-parallel E2E workflow to ensure that once the workflow times out and triggers an abort, it waits for the in-flight parallel steps to observe the abort and settle before returning. This prevents “dangling” parallel work from keeping the run open until the long steps reach their natural completion, and it strengthens the E2E assertion to prove all branches actually took the abort path.

Changes:

  • Keep the three parallel longStep() executions alive via a named parallelSteps promise so it can be awaited after timeout/abort.
  • On timeout, abort the controller and then await parallelSteps before returning, including the settled results in the return value.
  • Update the E2E test to assert that the workflow returns results: ["aborted", "aborted", "aborted"] for the timeout path.

Reviewed changes

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

FileDescription
workbench/example/workflows/99_e2e.tsPersists the parallel steps promise and awaits it after abort on timeout, returning the settled step results.
packages/core/e2e/e2e.test.tsStrengthens the assertion to verify all parallel steps actually observed the abort and returned "aborted".

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

@pranaygp
pranaygp merged commit 564a47c into mainJun 11, 2026
115 of 122 checks passed
@pranaygp
pranaygp deleted the pranaygp/fix-abort-parallel-timeout branch June 11, 2026 18:02
@github-actions

Copy link
Copy Markdown
Contributor

No backport to stable for 564a47c (AI decision).

The abortParallelWorkflow function in workbench/example/workflows/99_e2e.ts and its corresponding e2e test in packages/core/e2e/e2e.test.ts do not exist on stable — verified via git show origin/stable. This commit fixes/tests behavior that is main-only, so there is nothing to backport.

To override, re-run the Backport to stable workflow manually via workflow_dispatch and paste this commit SHA into the ref input:

564a47c504e1fb0b3c364e1d9a5cabd7b0203034

pranaygp added a commit that referenced this pull request Jun 11, 2026
…hook-ready
* origin-https/main: (119 commits)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
Version Packages (beta) (#2254)
Patch vulnerable package dependencies (#2301)
Deprecate DurableAgent and update it with WorkflowAgent in v5 docs (#2285)
[codex] Fix partial world-local exclusive writes (#2296)
...
# Conflicts:
#	packages/core/src/runtime.ts
#	packages/core/src/runtime/suspension-handler.ts
pranaygp added a commit that referenced this pull request Jun 11, 2026
…t-race-eager-wait
* origin/main:
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
pranaygp added a commit that referenced this pull request Jun 11, 2026
…docs-run-idempotency
* origin-https/main: (115 commits)
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
Version Packages (beta) (#2254)
...
# Conflicts:
#	docs/content/docs/v4/cookbook/advanced/child-workflows.mdx
#	docs/content/docs/v5/cookbook/advanced/child-workflows.mdx
#	docs/content/docs/v5/cookbook/agent-patterns/durable-agent.mdx
pranaygp added a commit that referenced this pull request Jun 11, 2026
* origin/main:
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
pranaygp added a commit that referenced this pull request Jun 12, 2026
…ry-2
* origin/main:
Version Packages (beta) (#2364)
Animate in-progress segments in the timeline (#2383)
Render queued span time as a lead-in connector on the trace timeline. (#2381)
fix(docs): right-align sidebar folder carets consistently (#2377)
[core] Add wire-level framing for byte streams (#1853)
docs: move World SDK and getWorld under workflow/runtime, split out workflow/observability (#2375)
Replace hook.hasConflict with hook.getConflict() returning the conflicting Run (#2373)
ci: use claude-fable-5 for backport AI model (#2370)
Add `hook.hasConflict` for early hook conflict detection (#2015)
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@pranaygp@VaguelySerious
, '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('^' + ".*" + ' fix: settle aborted parallel steps before completing abortParallelWorkflow by pranaygp · Pull Request #2244 · vercel/workflow · GitHub
Skip to content

fix: settle aborted parallel steps before completing abortParallelWorkflow - #2244

Merged
pranaygp merged 2 commits into
mainfrom
pranaygp/fix-abort-parallel-timeout
Jun 11, 2026
Merged

fix: settle aborted parallel steps before completing abortParallelWorkflow#2244
pranaygp merged 2 commits into
mainfrom
pranaygp/fix-abort-parallel-timeout

Conversation

@pranaygp

@pranaygppranaygp commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • keep the parallel longStep() promises alive as a named promise so the workflow can await them after aborting
  • return the settled parallel step results after timeout so the test can prove all three steps actually observed the abort
  • assert AbortController > abortParallelWorkflow: abort cancels all parallel steps returns ["aborted", "aborted", "aborted"]

Validation

  • git diff --check
  • WORKFLOW_PUBLIC_MANIFEST=1 pnpm dev in workbench/nextjs-turbopack
  • DEPLOYMENT_URL="http://localhost:3000" APP_NAME="nextjs-turbopack" pnpm vitest run packages/core/e2e/e2e.test.ts -t "abortParallelWorkflow: abort cancels all parallel steps"

Notes

  • The focused local E2E still does not reach the assertion because local Next dev fails earlier with Workflow "workflow//./workflows/99_e2e//abortParallelWorkflow" is not registered in the current deployment.
  • Dev logs continue to show the concurrent local bundling warning Module not found: Can't resolve <dynamic> from packages/core/dist/runtime/world.js.
  • That local registration/bundling issue appears unrelated to this workflow/test change, so CI remains the real verification path for the timeout fix.

@changeset-bot

changeset-botBot commented Jun 4, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a1fcc91

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel

vercelBot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 4, 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🥇 Nitro0.042s (-2.1%)1.006s (~)0.964s101.00x
💻 LocalExpress0.043s (~)1.006s (~)0.963s101.03x
🐘 PostgresExpress0.060s (-10.0% 🟢)1.012s (~)0.953s101.42x
💻 LocalNext.js (Turbopack)0.062s (+13.3% 🔺)1.007s (~)0.944s101.49x
🐘 PostgresNitro0.063s (-1.1%)1.012s (~)0.949s101.49x
🐘 PostgresNext.js (Turbopack)0.067s (-4.4%)1.012s (~)0.945s101.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.252s (-3.6%)2.403s (-1.3%)2.151s101.00x
▲ VercelExpress0.297s (+9.1% 🔺)2.135s (-21.3% 🟢)1.838s101.18x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.099s (~)2.007s (~)0.908s101.00x
💻 LocalNitro1.103s (+0.6%)2.007s (~)0.904s101.00x
🐘 PostgresExpress1.105s (+1.2%)2.011s (~)0.905s101.01x
🐘 PostgresNitro1.112s (~)2.010s (~)0.899s101.01x
💻 LocalNext.js (Turbopack)1.134s (+2.3%)2.006s (~)0.872s101.03x
🐘 PostgresNext.js (Turbopack)1.140s (~)2.009s (~)0.869s101.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.586s (+1.3%)3.917s (+11.0% 🔺)2.331s101.00x
▲ VercelExpress1.666s (+5.2% 🔺)3.986s (+11.6% 🔺)2.319s101.05x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.520s (-1.8%)11.015s (-2.9%)0.495s31.00x
💻 LocalNitro10.537s (~)11.022s (~)0.485s31.00x
🐘 PostgresNitro10.546s (~)11.020s (~)0.473s31.00x
💻 LocalExpress10.555s (~)11.022s (~)0.467s31.00x
💻 LocalNext.js (Turbopack)10.797s (+1.8%)11.022s (~)0.225s31.03x
🐘 PostgresNext.js (Turbopack)10.814s (~)11.018s (~)0.204s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express13.412s (+1.9%)15.953s (+3.3%)2.541s21.00x
▲ VercelNitro13.614s (+2.2%)15.903s (+2.0%)2.289s21.02x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.754s (-1.1%)14.026s (-1.4%)0.272s51.00x
🐘 PostgresExpress13.860s (~)14.023s (-1.5%)0.163s51.01x
🐘 PostgresNitro13.873s (~)14.020s (~)0.147s51.01x
💻 LocalNitro13.883s (+1.2%)14.227s (+1.4%)0.345s51.01x
💻 LocalNext.js (Turbopack)14.367s (+2.4%)15.031s (+2.8%)0.664s41.04x
🐘 PostgresNext.js (Turbopack)14.437s (-1.1%)15.014s (~)0.576s41.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express20.293s (-20.3% 🟢)22.390s (-17.8% 🟢)2.097s31.00x
▲ VercelNitro20.916s (-18.0% 🟢)22.998s (-16.7% 🟢)2.081s31.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.434s (-1.3%)13.024s (~)0.590s71.00x
💻 LocalNitro12.449s (~)13.025s (~)0.576s71.00x
🐘 PostgresExpress12.478s (-2.0%)13.018s (-2.2%)0.541s71.00x
🐘 PostgresNitro12.795s (~)13.163s (+1.1%)0.368s71.03x
🐘 PostgresNext.js (Turbopack)13.720s (~)14.019s (~)0.298s71.10x
💻 LocalNext.js (Turbopack)13.793s (+6.5% 🔺)14.171s (+6.5% 🔺)0.378s71.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express28.281s (-11.8% 🟢)31.006s (-9.4% 🟢)2.725s31.00x
▲ VercelNitro29.486s (+1.5%)31.364s (~)1.878s31.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.200s (~)2.009s (~)0.809s151.00x
🐘 PostgresExpress1.214s (+1.2%)2.008s (-0.7%)0.794s151.01x
💻 LocalNitro1.217s (~)2.006s (~)0.789s151.01x
💻 LocalExpress1.219s (-3.5%)2.006s (~)0.786s151.02x
🐘 PostgresNext.js (Turbopack)1.245s (~)2.007s (~)0.762s151.04x
💻 LocalNext.js (Turbopack)1.306s (+6.8% 🔺)2.006s (~)0.699s151.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.457s (-11.2% 🟢)4.020s (-14.8% 🟢)1.563s81.00x
▲ VercelNitro2.555s (-7.8% 🟢)4.046s (-6.8% 🟢)1.492s81.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.259s (~)2.008s (~)0.750s151.00x
🐘 PostgresExpress1.268s (-4.4%)2.008s (~)0.740s151.01x
🐘 PostgresNext.js (Turbopack)1.388s (-1.5%)2.073s (+3.2%)0.685s151.10x
💻 LocalNext.js (Turbopack)1.773s (+2.7%)2.073s (+3.3%)0.300s151.41x
💻 LocalNitro1.784s (+4.7%)2.074s (~)0.290s151.42x
💻 LocalExpress1.838s (-2.4%)2.150s (-3.2%)0.312s141.46x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.409s (-16.5% 🟢)5.261s (-14.7% 🟢)1.852s61.00x
▲ VercelNitro4.236s (+4.1%)6.058s (-2.4%)1.822s61.24x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.402s (+0.6%)2.008s (~)0.606s151.00x
🐘 PostgresNitro1.414s (+0.5%)2.007s (~)0.594s151.01x
🐘 PostgresNext.js (Turbopack)1.688s (-4.1%)2.151s (-6.3% 🟢)0.462s141.20x
💻 LocalNext.js (Turbopack)4.642s (+5.6% 🔺)5.179s (+3.3%)0.537s63.31x
💻 LocalExpress5.369s (+1.3%)6.014s (~)0.645s53.83x
💻 LocalNitro5.580s (+18.3% 🔺)6.014s (+20.1% 🔺)0.435s53.98x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.190s (-23.0% 🟢)7.400s (-15.0% 🟢)2.210s51.00x
▲ VercelExpress7.015s (+18.8% 🔺)9.135s (+15.7% 🔺)2.120s41.35x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.178s (-2.1%)2.009s (~)0.831s151.00x
🐘 PostgresNitro1.193s (-0.6%)2.009s (~)0.816s151.01x
🐘 PostgresNext.js (Turbopack)1.240s (-2.1%)2.008s (~)0.768s151.05x
💻 LocalNext.js (Turbopack)1.376s (+5.4% 🔺)2.006s (~)0.630s151.17x
💻 LocalNitro1.578s (+2.2%)2.006s (~)0.428s151.34x
💻 LocalExpress1.596s (-3.7%)2.007s (-3.2%)0.411s151.35x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.364s (-7.9% 🟢)3.989s (-5.0%)1.626s81.00x
▲ VercelNitro2.585s (-3.3%)4.181s (-3.5%)1.596s81.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.256s (+1.0%)2.009s (~)0.753s151.00x
🐘 PostgresNitro1.270s (~)2.010s (~)0.740s151.01x
🐘 PostgresNext.js (Turbopack)1.372s (-1.8%)2.009s (~)0.637s151.09x
💻 LocalNitro2.087s (+18.8% 🔺)2.675s (+29.1% 🔺)0.589s121.66x
💻 LocalNext.js (Turbopack)2.105s (+4.2%)2.676s (+6.8% 🔺)0.571s121.68x
💻 LocalExpress2.117s (~)2.591s (~)0.474s121.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.687s (~)5.540s (-1.3%)1.854s61.00x
▲ VercelNitro3.726s (-9.0% 🟢)5.647s (-5.9% 🟢)1.921s61.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.405s (-6.3% 🟢)2.007s (-16.3% 🟢)0.602s151.00x
🐘 PostgresNitro1.410s (-3.5%)2.008s (~)0.597s151.00x
🐘 PostgresNext.js (Turbopack)1.640s (-1.0%)2.150s (+3.7%)0.510s141.17x
💻 LocalNext.js (Turbopack)5.592s (+8.4% 🔺)6.017s (~)0.425s53.98x
💻 LocalExpress6.060s (+3.4%)6.416s (+3.3%)0.355s54.31x
💻 LocalNitro6.308s (+33.0% 🔺)6.615s (+23.8% 🔺)0.307s54.49x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.328s (+5.0% 🔺)7.109s (+7.3% 🔺)1.781s51.00x
▲ VercelNitro156.356s (+3071.8% 🔺)158.702s (+2255.8% 🔺)2.347s229.35x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.559s (-16.1% 🟢)1.007s (-3.9%)0.447s601.00x
💻 LocalNitro0.599s (-25.6% 🟢)1.005s (-16.6% 🟢)0.406s601.07x
💻 LocalExpress0.613s (-6.5% 🟢)1.005s (-3.3%)0.392s601.10x
🐘 PostgresNitro0.644s (+5.8% 🔺)1.059s (+5.2% 🔺)0.415s571.15x
🐘 PostgresNext.js (Turbopack)0.788s (-2.9%)1.006s (~)0.218s601.41x
💻 LocalNext.js (Turbopack)0.870s (+25.0% 🔺)1.021s (+1.7%)0.151s591.56x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.234s (-4.9%)7.188s (+1.1%)1.954s91.00x
▲ VercelNitro5.234s (-29.9% 🟢)7.068s (-25.8% 🟢)1.834s91.00x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.423s (-7.4% 🟢)2.053s (-4.6%)0.630s441.00x
🐘 PostgresNitro1.430s (+1.0%)2.054s (+2.3%)0.624s441.01x
💻 LocalNitro1.508s (+3.0%)2.007s (~)0.499s451.06x
💻 LocalExpress1.536s (-3.5%)2.007s (-1.1%)0.470s451.08x
🐘 PostgresNext.js (Turbopack)1.883s (-3.1%)2.030s (-6.6% 🟢)0.147s451.32x
💻 LocalNext.js (Turbopack)2.073s (+19.9% 🔺)2.976s (+46.7% 🔺)0.903s311.46x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express12.374s (-24.5% 🟢)14.609s (-20.2% 🟢)2.235s71.00x
▲ VercelNitro12.892s (-2.5%)15.013s (-3.0%)2.121s71.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.798s (-4.0%)3.138s (-4.3%)0.341s391.00x
🐘 PostgresExpress2.852s (-2.0%)3.220s (-9.0% 🟢)0.367s381.02x
💻 LocalExpress3.273s (-4.3%)4.010s (~)0.736s301.17x
💻 LocalNitro3.325s (+3.7%)4.043s (+0.8%)0.718s301.19x
🐘 PostgresNext.js (Turbopack)3.741s (-3.1%)4.042s (-0.8%)0.301s301.34x
💻 LocalNext.js (Turbopack)4.397s (+18.0% 🔺)5.012s (+22.0% 🔺)0.614s241.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro24.989s (-16.1% 🟢)27.368s (-14.4% 🟢)2.379s51.00x
▲ VercelExpress27.286s (-5.4% 🟢)30.110s (-2.6%)2.824s51.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.218s (-7.5% 🟢)1.007s (~)0.789s601.00x
🐘 PostgresExpress0.223s (-11.7% 🟢)1.006s (~)0.784s601.02x
🐘 PostgresNext.js (Turbopack)0.274s (-2.9%)1.006s (~)0.732s601.26x
💻 LocalExpress0.463s (~)1.005s (~)0.542s602.13x
💻 LocalNitro0.464s (+9.4% 🔺)1.004s (~)0.540s602.13x
💻 LocalNext.js (Turbopack)0.661s (+8.2% 🔺)1.058s (+1.9%)0.397s573.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.257s (-3.8%)3.916s (-9.6% 🟢)1.659s161.00x
▲ VercelExpress2.816s (+27.3% 🔺)4.679s (+14.2% 🔺)1.863s131.25x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.347s (+2.4%)1.006s (~)0.659s901.00x
🐘 PostgresNitro0.379s (+2.1%)1.007s (~)0.628s901.09x
🐘 PostgresNext.js (Turbopack)0.472s (-2.2%)1.006s (~)0.534s901.36x
💻 LocalNitro2.177s (+5.5% 🔺)2.766s (+4.9%)0.588s336.27x
💻 LocalExpress2.190s (~)2.713s (-3.9%)0.524s346.31x
💻 LocalNext.js (Turbopack)2.558s (+4.4%)3.261s (+4.9%)0.704s287.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.560s (-89.6% 🟢)6.563s (-85.7% 🟢)2.004s141.00x
▲ VercelExpress5.307s (-87.7% 🟢)7.209s (-84.1% 🟢)1.901s131.16x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.663s (+6.0% 🔺)1.006s (-4.6%)0.343s1201.00x
🐘 PostgresNitro0.694s (-1.8%)1.006s (~)0.312s1201.05x
🐘 PostgresNext.js (Turbopack)0.927s (-5.4% 🟢)1.231s (-23.4% 🟢)0.305s981.40x
💻 LocalExpress9.974s (-3.3%)10.530s (-3.1%)0.556s1215.04x
💻 LocalNitro10.018s (+15.0% 🔺)10.526s (+12.8% 🔺)0.507s1215.11x
💻 LocalNext.js (Turbopack)10.257s (-0.6%)11.209s (-0.8%)0.952s1115.47x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro13.262s (-95.7% 🟢)15.600s (-95.0% 🟢)2.338s81.00x
▲ VercelExpress13.685s (-10.3% 🟢)15.695s (-10.3% 🟢)2.009s81.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.162s (-0.6%)2.005s (~)0.012s (-3.1%)2.019s (~)0.858s101.00x
🐘 PostgresExpress1.165s (-2.5%)2.000s (~)0.001s (-96.8% 🟢)2.011s (-1.6%)0.846s101.00x
💻 LocalNitro1.165s (+1.2%)2.005s (~)0.012s (+23.0% 🔺)2.019s (~)0.854s101.00x
🐘 PostgresNitro1.189s (+0.6%)2.004s (~)0.003s (+128.6% 🔺)2.019s (~)0.830s101.02x
💻 LocalNext.js (Turbopack)1.206s (+3.2%)2.003s (~)0.010s (+1.0%)2.018s (~)0.811s101.04x
🐘 PostgresNext.js (Turbopack)1.232s (~)2.001s (~)0.001s (-26.7% 🟢)2.010s (~)0.778s101.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.175s (~)3.553s (+4.0%)1.893s (+266.9% 🔺)5.938s (+32.9% 🔺)3.763s101.00x
▲ VercelExpress2.463s (+14.8% 🔺)3.433s (+0.7%)2.296s (+336.7% 🔺)6.318s (+42.1% 🔺)3.855s101.13x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.587s (-8.6% 🟢)2.004s (-6.5% 🟢)0.004s (+24.6% 🔺)2.025s (-6.2% 🟢)0.438s301.00x
💻 LocalExpress1.607s (-1.8%)2.010s (~)0.010s (-5.1% 🟢)2.022s (~)0.415s301.01x
🐘 PostgresNitro1.653s (-0.6%)2.039s (+1.6%)0.004s (+0.9%)2.060s (+1.6%)0.407s301.04x
🐘 PostgresNext.js (Turbopack)1.726s (-2.1%)2.009s (~)0.004s (-7.4% 🟢)2.024s (~)0.298s301.09x
💻 LocalNext.js (Turbopack)1.751s (+6.8% 🔺)2.010s (~)0.010s (-3.6%)2.023s (~)0.271s301.10x
💻 LocalNitro1.767s (+1.4%)2.010s (~)0.009s (+3.1%)2.201s (~)0.433s281.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.707s (-0.7%)7.166s (-5.7% 🟢)0.300s (-11.2% 🟢)7.923s (-6.6% 🟢)2.216s81.00x
▲ VercelExpress5.795s (+0.6%)7.189s (-3.3%)0.260s (-26.5% 🟢)7.931s (-5.6% 🟢)2.136s81.02x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.700s (-28.4% 🟢)1.050s (-26.4% 🟢)0.000s (-50.9% 🟢)1.061s (-26.8% 🟢)0.361s571.00x
🐘 PostgresNitro0.717s (-0.8%)1.051s (+2.0%)0.000s (-83.0% 🟢)1.061s (+1.2%)0.343s571.02x
🐘 PostgresNext.js (Turbopack)0.802s (-3.7%)1.072s (~)0.000s (~)1.079s (~)0.277s561.15x
💻 LocalExpress1.412s (-4.8%)2.014s (~)0.000s (-53.3% 🟢)2.016s (~)0.604s302.02x
💻 LocalNitro1.581s (+16.9% 🔺)2.013s (~)0.000s (-28.6% 🟢)2.194s (+8.9% 🔺)0.613s282.26x
💻 LocalNext.js (Turbopack)1.585s (+9.5% 🔺)2.015s (~)0.001s (+100.0% 🔺)2.019s (~)0.434s302.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.288s (-19.0% 🟢)4.748s (-11.1% 🟢)0.000s (-85.3% 🟢)5.247s (-14.9% 🟢)1.959s121.00x
▲ VercelNitro3.570s (-0.8%)5.029s (-0.9%)0.000s (+Infinity% 🔺)5.483s (-2.6%)1.913s111.09x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.390s (-13.9% 🟢)2.068s (-8.2% 🟢)0.000s (+Infinity% 🔺)2.082s (-8.7% 🟢)0.692s291.00x
🐘 PostgresNitro1.470s (+4.2%)2.175s (+9.0% 🔺)0.000s (+Infinity% 🔺)2.192s (+8.9% 🔺)0.722s281.06x
🐘 PostgresNext.js (Turbopack)1.604s (-7.2% 🟢)2.181s (-3.6%)0.000s (+Infinity% 🔺)2.188s (-3.6%)0.584s281.15x
💻 LocalNitro3.174s (+1.9%)4.027s (+3.4%)0.001s (+246.7% 🔺)4.030s (+3.3%)0.856s152.28x
💻 LocalExpress3.184s (-4.5%)3.901s (+1.6%)0.000s (~)3.903s (+1.5%)0.719s162.29x
💻 LocalNext.js (Turbopack)3.483s (+8.4% 🔺)3.840s (-1.5%)0.001s (+140.0% 🔺)3.848s (-1.3%)0.365s162.51x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.176s (-26.5% 🟢)6.833s (-20.3% 🟢)0.000s (NaN%)7.304s (-19.6% 🟢)2.127s91.00x
▲ VercelExpress5.209s (-17.6% 🟢)6.695s (-12.2% 🟢)0.002s (+463.0% 🔺)7.182s (-12.2% 🟢)1.973s91.01x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress9/21
🐘 PostgresExpress17/21
▲ VercelExpress11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres16/21
Next.js (Turbopack)🐘 Postgres16/21
Nitro🐘 Postgres15/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)

📋 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 4, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
❌ ▲ Vercel Production126152191485
✅ 💻 Local Development167102191890
✅ 📦 Local Production167102191890
✅ 🐘 Local Postgres167102191890
✅ 🪟 Windows13500135
✅ 📋 Other7690176945
Total7178510528235

❌ Failed Tests

▲ Vercel Production (5 failed)

astro (1 failed):

  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream

nextjs-turbopack (1 failed):

  • outputStreamWorkflow no startIndex (reads all chunks)

nitro (1 failed):

  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream

vite (2 failed):

Details by Category

❌ ▲ Vercel Production
AppPassedFailedSkipped
❌ astro108126
✅ example109026
✅ express109026
✅ fastify109026
✅ hono109026
❌ nextjs-turbopack13212
✅ nextjs-webpack13302
❌ nitro108126
✅ nuxt109026
✅ sveltekit12807
❌ vite107226
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack13500
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable110025
✅ e2e-local-dev-tanstack-start-110025
✅ e2e-local-postgres-nest-stable110025
✅ e2e-local-postgres-tanstack-start-110025
✅ e2e-local-prod-nest-stable110025
✅ e2e-local-prod-tanstack-start-110025
✅ e2e-vercel-prod-tanstack-start109026

📋 View full workflow run


Some E2E test jobs failed:

  • Vercel Prod: failure
  • Local Dev: success
  • Local Prod: success
  • Local Postgres: success
  • Windows: success

Check the workflow run for details.

@pranaygp
pranaygp marked this pull request as ready for review June 5, 2026 22:17
@pranaygp
pranaygp requested a review from a team as a code ownerJune 5, 2026 22:17
CopilotAI review requested due to automatic review settings June 5, 2026 22:17

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the abort-parallel E2E workflow to ensure that once the workflow times out and triggers an abort, it waits for the in-flight parallel steps to observe the abort and settle before returning. This prevents “dangling” parallel work from keeping the run open until the long steps reach their natural completion, and it strengthens the E2E assertion to prove all branches actually took the abort path.

Changes:

  • Keep the three parallel longStep() executions alive via a named parallelSteps promise so it can be awaited after timeout/abort.
  • On timeout, abort the controller and then await parallelSteps before returning, including the settled results in the return value.
  • Update the E2E test to assert that the workflow returns results: ["aborted", "aborted", "aborted"] for the timeout path.

Reviewed changes

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

FileDescription
workbench/example/workflows/99_e2e.tsPersists the parallel steps promise and awaits it after abort on timeout, returning the settled step results.
packages/core/e2e/e2e.test.tsStrengthens the assertion to verify all parallel steps actually observed the abort and returned "aborted".

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

@pranaygp
pranaygp merged commit 564a47c into mainJun 11, 2026
115 of 122 checks passed
@pranaygp
pranaygp deleted the pranaygp/fix-abort-parallel-timeout branch June 11, 2026 18:02
@github-actions

Copy link
Copy Markdown
Contributor

No backport to stable for 564a47c (AI decision).

The abortParallelWorkflow function in workbench/example/workflows/99_e2e.ts and its corresponding e2e test in packages/core/e2e/e2e.test.ts do not exist on stable — verified via git show origin/stable. This commit fixes/tests behavior that is main-only, so there is nothing to backport.

To override, re-run the Backport to stable workflow manually via workflow_dispatch and paste this commit SHA into the ref input:

564a47c504e1fb0b3c364e1d9a5cabd7b0203034

pranaygp added a commit that referenced this pull request Jun 11, 2026
…hook-ready
* origin-https/main: (119 commits)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
Version Packages (beta) (#2254)
Patch vulnerable package dependencies (#2301)
Deprecate DurableAgent and update it with WorkflowAgent in v5 docs (#2285)
[codex] Fix partial world-local exclusive writes (#2296)
...
# Conflicts:
#	packages/core/src/runtime.ts
#	packages/core/src/runtime/suspension-handler.ts
pranaygp added a commit that referenced this pull request Jun 11, 2026
…t-race-eager-wait
* origin/main:
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
pranaygp added a commit that referenced this pull request Jun 11, 2026
…docs-run-idempotency
* origin-https/main: (115 commits)
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
Version Packages (beta) (#2254)
...
# Conflicts:
#	docs/content/docs/v4/cookbook/advanced/child-workflows.mdx
#	docs/content/docs/v5/cookbook/advanced/child-workflows.mdx
#	docs/content/docs/v5/cookbook/agent-patterns/durable-agent.mdx
pranaygp added a commit that referenced this pull request Jun 11, 2026
* origin/main:
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
pranaygp added a commit that referenced this pull request Jun 12, 2026
…ry-2
* origin/main:
Version Packages (beta) (#2364)
Animate in-progress segments in the timeline (#2383)
Render queued span time as a lead-in connector on the trace timeline. (#2381)
fix(docs): right-align sidebar folder carets consistently (#2377)
[core] Add wire-level framing for byte streams (#1853)
docs: move World SDK and getWorld under workflow/runtime, split out workflow/observability (#2375)
Replace hook.hasConflict with hook.getConflict() returning the conflicting Run (#2373)
ci: use claude-fable-5 for backport AI model (#2370)
Add `hook.hasConflict` for early hook conflict detection (#2015)
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@pranaygp@VaguelySerious
, '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); } })(); })(); fix: settle aborted parallel steps before completing abortParallelWorkflow by pranaygp · Pull Request #2244 · vercel/workflow · GitHub
Skip to content

fix: settle aborted parallel steps before completing abortParallelWorkflow - #2244

Merged
pranaygp merged 2 commits into
mainfrom
pranaygp/fix-abort-parallel-timeout
Jun 11, 2026
Merged

fix: settle aborted parallel steps before completing abortParallelWorkflow#2244
pranaygp merged 2 commits into
mainfrom
pranaygp/fix-abort-parallel-timeout

Conversation

@pranaygp

@pranaygppranaygp commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • keep the parallel longStep() promises alive as a named promise so the workflow can await them after aborting
  • return the settled parallel step results after timeout so the test can prove all three steps actually observed the abort
  • assert AbortController > abortParallelWorkflow: abort cancels all parallel steps returns ["aborted", "aborted", "aborted"]

Validation

  • git diff --check
  • WORKFLOW_PUBLIC_MANIFEST=1 pnpm dev in workbench/nextjs-turbopack
  • DEPLOYMENT_URL="http://localhost:3000" APP_NAME="nextjs-turbopack" pnpm vitest run packages/core/e2e/e2e.test.ts -t "abortParallelWorkflow: abort cancels all parallel steps"

Notes

  • The focused local E2E still does not reach the assertion because local Next dev fails earlier with Workflow "workflow//./workflows/99_e2e//abortParallelWorkflow" is not registered in the current deployment.
  • Dev logs continue to show the concurrent local bundling warning Module not found: Can't resolve <dynamic> from packages/core/dist/runtime/world.js.
  • That local registration/bundling issue appears unrelated to this workflow/test change, so CI remains the real verification path for the timeout fix.

@changeset-bot

changeset-botBot commented Jun 4, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a1fcc91

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel

vercelBot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 4, 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🥇 Nitro0.042s (-2.1%)1.006s (~)0.964s101.00x
💻 LocalExpress0.043s (~)1.006s (~)0.963s101.03x
🐘 PostgresExpress0.060s (-10.0% 🟢)1.012s (~)0.953s101.42x
💻 LocalNext.js (Turbopack)0.062s (+13.3% 🔺)1.007s (~)0.944s101.49x
🐘 PostgresNitro0.063s (-1.1%)1.012s (~)0.949s101.49x
🐘 PostgresNext.js (Turbopack)0.067s (-4.4%)1.012s (~)0.945s101.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.252s (-3.6%)2.403s (-1.3%)2.151s101.00x
▲ VercelExpress0.297s (+9.1% 🔺)2.135s (-21.3% 🟢)1.838s101.18x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.099s (~)2.007s (~)0.908s101.00x
💻 LocalNitro1.103s (+0.6%)2.007s (~)0.904s101.00x
🐘 PostgresExpress1.105s (+1.2%)2.011s (~)0.905s101.01x
🐘 PostgresNitro1.112s (~)2.010s (~)0.899s101.01x
💻 LocalNext.js (Turbopack)1.134s (+2.3%)2.006s (~)0.872s101.03x
🐘 PostgresNext.js (Turbopack)1.140s (~)2.009s (~)0.869s101.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.586s (+1.3%)3.917s (+11.0% 🔺)2.331s101.00x
▲ VercelExpress1.666s (+5.2% 🔺)3.986s (+11.6% 🔺)2.319s101.05x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.520s (-1.8%)11.015s (-2.9%)0.495s31.00x
💻 LocalNitro10.537s (~)11.022s (~)0.485s31.00x
🐘 PostgresNitro10.546s (~)11.020s (~)0.473s31.00x
💻 LocalExpress10.555s (~)11.022s (~)0.467s31.00x
💻 LocalNext.js (Turbopack)10.797s (+1.8%)11.022s (~)0.225s31.03x
🐘 PostgresNext.js (Turbopack)10.814s (~)11.018s (~)0.204s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express13.412s (+1.9%)15.953s (+3.3%)2.541s21.00x
▲ VercelNitro13.614s (+2.2%)15.903s (+2.0%)2.289s21.02x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.754s (-1.1%)14.026s (-1.4%)0.272s51.00x
🐘 PostgresExpress13.860s (~)14.023s (-1.5%)0.163s51.01x
🐘 PostgresNitro13.873s (~)14.020s (~)0.147s51.01x
💻 LocalNitro13.883s (+1.2%)14.227s (+1.4%)0.345s51.01x
💻 LocalNext.js (Turbopack)14.367s (+2.4%)15.031s (+2.8%)0.664s41.04x
🐘 PostgresNext.js (Turbopack)14.437s (-1.1%)15.014s (~)0.576s41.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express20.293s (-20.3% 🟢)22.390s (-17.8% 🟢)2.097s31.00x
▲ VercelNitro20.916s (-18.0% 🟢)22.998s (-16.7% 🟢)2.081s31.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.434s (-1.3%)13.024s (~)0.590s71.00x
💻 LocalNitro12.449s (~)13.025s (~)0.576s71.00x
🐘 PostgresExpress12.478s (-2.0%)13.018s (-2.2%)0.541s71.00x
🐘 PostgresNitro12.795s (~)13.163s (+1.1%)0.368s71.03x
🐘 PostgresNext.js (Turbopack)13.720s (~)14.019s (~)0.298s71.10x
💻 LocalNext.js (Turbopack)13.793s (+6.5% 🔺)14.171s (+6.5% 🔺)0.378s71.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express28.281s (-11.8% 🟢)31.006s (-9.4% 🟢)2.725s31.00x
▲ VercelNitro29.486s (+1.5%)31.364s (~)1.878s31.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.200s (~)2.009s (~)0.809s151.00x
🐘 PostgresExpress1.214s (+1.2%)2.008s (-0.7%)0.794s151.01x
💻 LocalNitro1.217s (~)2.006s (~)0.789s151.01x
💻 LocalExpress1.219s (-3.5%)2.006s (~)0.786s151.02x
🐘 PostgresNext.js (Turbopack)1.245s (~)2.007s (~)0.762s151.04x
💻 LocalNext.js (Turbopack)1.306s (+6.8% 🔺)2.006s (~)0.699s151.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.457s (-11.2% 🟢)4.020s (-14.8% 🟢)1.563s81.00x
▲ VercelNitro2.555s (-7.8% 🟢)4.046s (-6.8% 🟢)1.492s81.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.259s (~)2.008s (~)0.750s151.00x
🐘 PostgresExpress1.268s (-4.4%)2.008s (~)0.740s151.01x
🐘 PostgresNext.js (Turbopack)1.388s (-1.5%)2.073s (+3.2%)0.685s151.10x
💻 LocalNext.js (Turbopack)1.773s (+2.7%)2.073s (+3.3%)0.300s151.41x
💻 LocalNitro1.784s (+4.7%)2.074s (~)0.290s151.42x
💻 LocalExpress1.838s (-2.4%)2.150s (-3.2%)0.312s141.46x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.409s (-16.5% 🟢)5.261s (-14.7% 🟢)1.852s61.00x
▲ VercelNitro4.236s (+4.1%)6.058s (-2.4%)1.822s61.24x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.402s (+0.6%)2.008s (~)0.606s151.00x
🐘 PostgresNitro1.414s (+0.5%)2.007s (~)0.594s151.01x
🐘 PostgresNext.js (Turbopack)1.688s (-4.1%)2.151s (-6.3% 🟢)0.462s141.20x
💻 LocalNext.js (Turbopack)4.642s (+5.6% 🔺)5.179s (+3.3%)0.537s63.31x
💻 LocalExpress5.369s (+1.3%)6.014s (~)0.645s53.83x
💻 LocalNitro5.580s (+18.3% 🔺)6.014s (+20.1% 🔺)0.435s53.98x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.190s (-23.0% 🟢)7.400s (-15.0% 🟢)2.210s51.00x
▲ VercelExpress7.015s (+18.8% 🔺)9.135s (+15.7% 🔺)2.120s41.35x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.178s (-2.1%)2.009s (~)0.831s151.00x
🐘 PostgresNitro1.193s (-0.6%)2.009s (~)0.816s151.01x
🐘 PostgresNext.js (Turbopack)1.240s (-2.1%)2.008s (~)0.768s151.05x
💻 LocalNext.js (Turbopack)1.376s (+5.4% 🔺)2.006s (~)0.630s151.17x
💻 LocalNitro1.578s (+2.2%)2.006s (~)0.428s151.34x
💻 LocalExpress1.596s (-3.7%)2.007s (-3.2%)0.411s151.35x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.364s (-7.9% 🟢)3.989s (-5.0%)1.626s81.00x
▲ VercelNitro2.585s (-3.3%)4.181s (-3.5%)1.596s81.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.256s (+1.0%)2.009s (~)0.753s151.00x
🐘 PostgresNitro1.270s (~)2.010s (~)0.740s151.01x
🐘 PostgresNext.js (Turbopack)1.372s (-1.8%)2.009s (~)0.637s151.09x
💻 LocalNitro2.087s (+18.8% 🔺)2.675s (+29.1% 🔺)0.589s121.66x
💻 LocalNext.js (Turbopack)2.105s (+4.2%)2.676s (+6.8% 🔺)0.571s121.68x
💻 LocalExpress2.117s (~)2.591s (~)0.474s121.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.687s (~)5.540s (-1.3%)1.854s61.00x
▲ VercelNitro3.726s (-9.0% 🟢)5.647s (-5.9% 🟢)1.921s61.01x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.405s (-6.3% 🟢)2.007s (-16.3% 🟢)0.602s151.00x
🐘 PostgresNitro1.410s (-3.5%)2.008s (~)0.597s151.00x
🐘 PostgresNext.js (Turbopack)1.640s (-1.0%)2.150s (+3.7%)0.510s141.17x
💻 LocalNext.js (Turbopack)5.592s (+8.4% 🔺)6.017s (~)0.425s53.98x
💻 LocalExpress6.060s (+3.4%)6.416s (+3.3%)0.355s54.31x
💻 LocalNitro6.308s (+33.0% 🔺)6.615s (+23.8% 🔺)0.307s54.49x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.328s (+5.0% 🔺)7.109s (+7.3% 🔺)1.781s51.00x
▲ VercelNitro156.356s (+3071.8% 🔺)158.702s (+2255.8% 🔺)2.347s229.35x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.559s (-16.1% 🟢)1.007s (-3.9%)0.447s601.00x
💻 LocalNitro0.599s (-25.6% 🟢)1.005s (-16.6% 🟢)0.406s601.07x
💻 LocalExpress0.613s (-6.5% 🟢)1.005s (-3.3%)0.392s601.10x
🐘 PostgresNitro0.644s (+5.8% 🔺)1.059s (+5.2% 🔺)0.415s571.15x
🐘 PostgresNext.js (Turbopack)0.788s (-2.9%)1.006s (~)0.218s601.41x
💻 LocalNext.js (Turbopack)0.870s (+25.0% 🔺)1.021s (+1.7%)0.151s591.56x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express5.234s (-4.9%)7.188s (+1.1%)1.954s91.00x
▲ VercelNitro5.234s (-29.9% 🟢)7.068s (-25.8% 🟢)1.834s91.00x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.423s (-7.4% 🟢)2.053s (-4.6%)0.630s441.00x
🐘 PostgresNitro1.430s (+1.0%)2.054s (+2.3%)0.624s441.01x
💻 LocalNitro1.508s (+3.0%)2.007s (~)0.499s451.06x
💻 LocalExpress1.536s (-3.5%)2.007s (-1.1%)0.470s451.08x
🐘 PostgresNext.js (Turbopack)1.883s (-3.1%)2.030s (-6.6% 🟢)0.147s451.32x
💻 LocalNext.js (Turbopack)2.073s (+19.9% 🔺)2.976s (+46.7% 🔺)0.903s311.46x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express12.374s (-24.5% 🟢)14.609s (-20.2% 🟢)2.235s71.00x
▲ VercelNitro12.892s (-2.5%)15.013s (-3.0%)2.121s71.04x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Express | Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.798s (-4.0%)3.138s (-4.3%)0.341s391.00x
🐘 PostgresExpress2.852s (-2.0%)3.220s (-9.0% 🟢)0.367s381.02x
💻 LocalExpress3.273s (-4.3%)4.010s (~)0.736s301.17x
💻 LocalNitro3.325s (+3.7%)4.043s (+0.8%)0.718s301.19x
🐘 PostgresNext.js (Turbopack)3.741s (-3.1%)4.042s (-0.8%)0.301s301.34x
💻 LocalNext.js (Turbopack)4.397s (+18.0% 🔺)5.012s (+22.0% 🔺)0.614s241.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro24.989s (-16.1% 🟢)27.368s (-14.4% 🟢)2.379s51.00x
▲ VercelExpress27.286s (-5.4% 🟢)30.110s (-2.6%)2.824s51.09x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.218s (-7.5% 🟢)1.007s (~)0.789s601.00x
🐘 PostgresExpress0.223s (-11.7% 🟢)1.006s (~)0.784s601.02x
🐘 PostgresNext.js (Turbopack)0.274s (-2.9%)1.006s (~)0.732s601.26x
💻 LocalExpress0.463s (~)1.005s (~)0.542s602.13x
💻 LocalNitro0.464s (+9.4% 🔺)1.004s (~)0.540s602.13x
💻 LocalNext.js (Turbopack)0.661s (+8.2% 🔺)1.058s (+1.9%)0.397s573.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.257s (-3.8%)3.916s (-9.6% 🟢)1.659s161.00x
▲ VercelExpress2.816s (+27.3% 🔺)4.679s (+14.2% 🔺)1.863s131.25x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.347s (+2.4%)1.006s (~)0.659s901.00x
🐘 PostgresNitro0.379s (+2.1%)1.007s (~)0.628s901.09x
🐘 PostgresNext.js (Turbopack)0.472s (-2.2%)1.006s (~)0.534s901.36x
💻 LocalNitro2.177s (+5.5% 🔺)2.766s (+4.9%)0.588s336.27x
💻 LocalExpress2.190s (~)2.713s (-3.9%)0.524s346.31x
💻 LocalNext.js (Turbopack)2.558s (+4.4%)3.261s (+4.9%)0.704s287.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.560s (-89.6% 🟢)6.563s (-85.7% 🟢)2.004s141.00x
▲ VercelExpress5.307s (-87.7% 🟢)7.209s (-84.1% 🟢)1.901s131.16x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.663s (+6.0% 🔺)1.006s (-4.6%)0.343s1201.00x
🐘 PostgresNitro0.694s (-1.8%)1.006s (~)0.312s1201.05x
🐘 PostgresNext.js (Turbopack)0.927s (-5.4% 🟢)1.231s (-23.4% 🟢)0.305s981.40x
💻 LocalExpress9.974s (-3.3%)10.530s (-3.1%)0.556s1215.04x
💻 LocalNitro10.018s (+15.0% 🔺)10.526s (+12.8% 🔺)0.507s1215.11x
💻 LocalNext.js (Turbopack)10.257s (-0.6%)11.209s (-0.8%)0.952s1115.47x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro13.262s (-95.7% 🟢)15.600s (-95.0% 🟢)2.338s81.00x
▲ VercelExpress13.685s (-10.3% 🟢)15.695s (-10.3% 🟢)2.009s81.03x
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro | Express

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.162s (-0.6%)2.005s (~)0.012s (-3.1%)2.019s (~)0.858s101.00x
🐘 PostgresExpress1.165s (-2.5%)2.000s (~)0.001s (-96.8% 🟢)2.011s (-1.6%)0.846s101.00x
💻 LocalNitro1.165s (+1.2%)2.005s (~)0.012s (+23.0% 🔺)2.019s (~)0.854s101.00x
🐘 PostgresNitro1.189s (+0.6%)2.004s (~)0.003s (+128.6% 🔺)2.019s (~)0.830s101.02x
💻 LocalNext.js (Turbopack)1.206s (+3.2%)2.003s (~)0.010s (+1.0%)2.018s (~)0.811s101.04x
🐘 PostgresNext.js (Turbopack)1.232s (~)2.001s (~)0.001s (-26.7% 🟢)2.010s (~)0.778s101.06x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.175s (~)3.553s (+4.0%)1.893s (+266.9% 🔺)5.938s (+32.9% 🔺)3.763s101.00x
▲ VercelExpress2.463s (+14.8% 🔺)3.433s (+0.7%)2.296s (+336.7% 🔺)6.318s (+42.1% 🔺)3.855s101.13x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.587s (-8.6% 🟢)2.004s (-6.5% 🟢)0.004s (+24.6% 🔺)2.025s (-6.2% 🟢)0.438s301.00x
💻 LocalExpress1.607s (-1.8%)2.010s (~)0.010s (-5.1% 🟢)2.022s (~)0.415s301.01x
🐘 PostgresNitro1.653s (-0.6%)2.039s (+1.6%)0.004s (+0.9%)2.060s (+1.6%)0.407s301.04x
🐘 PostgresNext.js (Turbopack)1.726s (-2.1%)2.009s (~)0.004s (-7.4% 🟢)2.024s (~)0.298s301.09x
💻 LocalNext.js (Turbopack)1.751s (+6.8% 🔺)2.010s (~)0.010s (-3.6%)2.023s (~)0.271s301.10x
💻 LocalNitro1.767s (+1.4%)2.010s (~)0.009s (+3.1%)2.201s (~)0.433s281.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.707s (-0.7%)7.166s (-5.7% 🟢)0.300s (-11.2% 🟢)7.923s (-6.6% 🟢)2.216s81.00x
▲ VercelExpress5.795s (+0.6%)7.189s (-3.3%)0.260s (-26.5% 🟢)7.931s (-5.6% 🟢)2.136s81.02x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.700s (-28.4% 🟢)1.050s (-26.4% 🟢)0.000s (-50.9% 🟢)1.061s (-26.8% 🟢)0.361s571.00x
🐘 PostgresNitro0.717s (-0.8%)1.051s (+2.0%)0.000s (-83.0% 🟢)1.061s (+1.2%)0.343s571.02x
🐘 PostgresNext.js (Turbopack)0.802s (-3.7%)1.072s (~)0.000s (~)1.079s (~)0.277s561.15x
💻 LocalExpress1.412s (-4.8%)2.014s (~)0.000s (-53.3% 🟢)2.016s (~)0.604s302.02x
💻 LocalNitro1.581s (+16.9% 🔺)2.013s (~)0.000s (-28.6% 🟢)2.194s (+8.9% 🔺)0.613s282.26x
💻 LocalNext.js (Turbopack)1.585s (+9.5% 🔺)2.015s (~)0.001s (+100.0% 🔺)2.019s (~)0.434s302.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.288s (-19.0% 🟢)4.748s (-11.1% 🟢)0.000s (-85.3% 🟢)5.247s (-14.9% 🟢)1.959s121.00x
▲ VercelNitro3.570s (-0.8%)5.029s (-0.9%)0.000s (+Infinity% 🔺)5.483s (-2.6%)1.913s111.09x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Express | Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.390s (-13.9% 🟢)2.068s (-8.2% 🟢)0.000s (+Infinity% 🔺)2.082s (-8.7% 🟢)0.692s291.00x
🐘 PostgresNitro1.470s (+4.2%)2.175s (+9.0% 🔺)0.000s (+Infinity% 🔺)2.192s (+8.9% 🔺)0.722s281.06x
🐘 PostgresNext.js (Turbopack)1.604s (-7.2% 🟢)2.181s (-3.6%)0.000s (+Infinity% 🔺)2.188s (-3.6%)0.584s281.15x
💻 LocalNitro3.174s (+1.9%)4.027s (+3.4%)0.001s (+246.7% 🔺)4.030s (+3.3%)0.856s152.28x
💻 LocalExpress3.184s (-4.5%)3.901s (+1.6%)0.000s (~)3.903s (+1.5%)0.719s162.29x
💻 LocalNext.js (Turbopack)3.483s (+8.4% 🔺)3.840s (-1.5%)0.001s (+140.0% 🔺)3.848s (-1.3%)0.365s162.51x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.176s (-26.5% 🟢)6.833s (-20.3% 🟢)0.000s (NaN%)7.304s (-19.6% 🟢)2.127s91.00x
▲ VercelExpress5.209s (-17.6% 🟢)6.695s (-12.2% 🟢)0.002s (+463.0% 🔺)7.182s (-12.2% 🟢)1.973s91.01x
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro | Express

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress9/21
🐘 PostgresExpress17/21
▲ VercelExpress11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres16/21
Next.js (Turbopack)🐘 Postgres16/21
Nitro🐘 Postgres15/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)

📋 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 4, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
❌ ▲ Vercel Production126152191485
✅ 💻 Local Development167102191890
✅ 📦 Local Production167102191890
✅ 🐘 Local Postgres167102191890
✅ 🪟 Windows13500135
✅ 📋 Other7690176945
Total7178510528235

❌ Failed Tests

▲ Vercel Production (5 failed)

astro (1 failed):

  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream

nextjs-turbopack (1 failed):

  • outputStreamWorkflow no startIndex (reads all chunks)

nitro (1 failed):

  • outputStreamWorkflow - getTailIndex and getChunks getChunks returns same content as reading the stream

vite (2 failed):

Details by Category

❌ ▲ Vercel Production
AppPassedFailedSkipped
❌ astro108126
✅ example109026
✅ express109026
✅ fastify109026
✅ hono109026
❌ nextjs-turbopack13212
✅ nextjs-webpack13302
❌ nitro108126
✅ nuxt109026
✅ sveltekit12807
❌ vite107226
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable110025
✅ express-stable110025
✅ fastify-stable110025
✅ hono-stable110025
✅ nextjs-turbopack-canary116019
✅ nextjs-turbopack-stable-lazy-discovery-disabled13500
✅ nextjs-turbopack-stable-lazy-discovery-enabled13500
✅ nextjs-webpack-canary116019
✅ nextjs-webpack-stable-lazy-discovery-disabled13500
✅ nextjs-webpack-stable-lazy-discovery-enabled13500
✅ nitro-stable110025
✅ nuxt-stable110025
✅ sveltekit-stable12906
✅ vite-stable110025
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack13500
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable110025
✅ e2e-local-dev-tanstack-start-110025
✅ e2e-local-postgres-nest-stable110025
✅ e2e-local-postgres-tanstack-start-110025
✅ e2e-local-prod-nest-stable110025
✅ e2e-local-prod-tanstack-start-110025
✅ e2e-vercel-prod-tanstack-start109026

📋 View full workflow run


Some E2E test jobs failed:

  • Vercel Prod: failure
  • Local Dev: success
  • Local Prod: success
  • Local Postgres: success
  • Windows: success

Check the workflow run for details.

@pranaygp
pranaygp marked this pull request as ready for review June 5, 2026 22:17
@pranaygp
pranaygp requested a review from a team as a code ownerJune 5, 2026 22:17
CopilotAI review requested due to automatic review settings June 5, 2026 22:17

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the abort-parallel E2E workflow to ensure that once the workflow times out and triggers an abort, it waits for the in-flight parallel steps to observe the abort and settle before returning. This prevents “dangling” parallel work from keeping the run open until the long steps reach their natural completion, and it strengthens the E2E assertion to prove all branches actually took the abort path.

Changes:

  • Keep the three parallel longStep() executions alive via a named parallelSteps promise so it can be awaited after timeout/abort.
  • On timeout, abort the controller and then await parallelSteps before returning, including the settled results in the return value.
  • Update the E2E test to assert that the workflow returns results: ["aborted", "aborted", "aborted"] for the timeout path.

Reviewed changes

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

FileDescription
workbench/example/workflows/99_e2e.tsPersists the parallel steps promise and awaits it after abort on timeout, returning the settled step results.
packages/core/e2e/e2e.test.tsStrengthens the assertion to verify all parallel steps actually observed the abort and returned "aborted".

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

@pranaygp
pranaygp merged commit 564a47c into mainJun 11, 2026
115 of 122 checks passed
@pranaygp
pranaygp deleted the pranaygp/fix-abort-parallel-timeout branch June 11, 2026 18:02
@github-actions

Copy link
Copy Markdown
Contributor

No backport to stable for 564a47c (AI decision).

The abortParallelWorkflow function in workbench/example/workflows/99_e2e.ts and its corresponding e2e test in packages/core/e2e/e2e.test.ts do not exist on stable — verified via git show origin/stable. This commit fixes/tests behavior that is main-only, so there is nothing to backport.

To override, re-run the Backport to stable workflow manually via workflow_dispatch and paste this commit SHA into the ref input:

564a47c504e1fb0b3c364e1d9a5cabd7b0203034

pranaygp added a commit that referenced this pull request Jun 11, 2026
…hook-ready
* origin-https/main: (119 commits)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
Version Packages (beta) (#2254)
Patch vulnerable package dependencies (#2301)
Deprecate DurableAgent and update it with WorkflowAgent in v5 docs (#2285)
[codex] Fix partial world-local exclusive writes (#2296)
...
# Conflicts:
#	packages/core/src/runtime.ts
#	packages/core/src/runtime/suspension-handler.ts
pranaygp added a commit that referenced this pull request Jun 11, 2026
…t-race-eager-wait
* origin/main:
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
pranaygp added a commit that referenced this pull request Jun 11, 2026
…docs-run-idempotency
* origin-https/main: (115 commits)
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
Version Packages (beta) (#2254)
...
# Conflicts:
#	docs/content/docs/v4/cookbook/advanced/child-workflows.mdx
#	docs/content/docs/v5/cookbook/advanced/child-workflows.mdx
#	docs/content/docs/v5/cookbook/agent-patterns/durable-agent.mdx
pranaygp added a commit that referenced this pull request Jun 11, 2026
* origin/main:
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Add native v4 workflow attribute events (#2226)
Version Packages (beta) (#2326)
[ci] Fix flaky windows unit tests (#2359)
Capture Vercel runtime logs when e2e Vercel Prod lanes fail (#2356)
Fix e2e failure reporting under vitest 4 and preserve fetch error causes (#2355)
[core] Fix process crash from rejected waitUntil promises (#2336)
[core] Remove duplicate `waitUntil` for suspension handler async operations (#2345)
Prevent local tests from hanging (#2338)
feat(core): add optional namespace for queue topic prefix (#2305)
[web-shared] Show precise durations in the new trace viewer (#2335)
Validate unique workflow step IDs at build time (#2018)
Move run attributes into their own detail card (#2327)
[core] Forward-port stream reconnect to getReadable level (#2318)
[docs] Add "Step executed multiple times" error page (#2310)
Fix flickering on the detail panel when navigating the trace viewer (#2325)
pranaygp added a commit that referenced this pull request Jun 12, 2026
…ry-2
* origin/main:
Version Packages (beta) (#2364)
Animate in-progress segments in the timeline (#2383)
Render queued span time as a lead-in connector on the trace timeline. (#2381)
fix(docs): right-align sidebar folder carets consistently (#2377)
[core] Add wire-level framing for byte streams (#1853)
docs: move World SDK and getWorld under workflow/runtime, split out workflow/observability (#2375)
Replace hook.hasConflict with hook.getConflict() returning the conflicting Run (#2373)
ci: use claude-fable-5 for backport AI model (#2370)
Add `hook.hasConflict` for early hook conflict detection (#2015)
[core] V2: unify wait+step queue dispatch in suspension processing (#1925)
fix(world-local,world-postgres): make duplicate hook_created idempotent (#2295)
docs(observability): remove MVP implementation detail bullet (#2367)
fix: settle aborted parallel steps before completing abortParallelWorkflow (#2244)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@pranaygp@VaguelySerious