[world] Asymmetric ULID timestamp validation thresholds - #1605

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/asymmetric-ulid-thresholds
Apr 3, 2026
Merged

[world] Asymmetric ULID timestamp validation thresholds#1605
VaguelySerious merged 1 commit into
mainfrom
peter/asymmetric-ulid-thresholds

Conversation

@VaguelySerious

@VaguelySeriousVaguelySerious commented Apr 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Extracted from [core] [world] Lazy run creation on start #1537
  • Changes ULID timestamp validation from a symmetric 5-minute threshold to asymmetric thresholds: 24 hours in the past and 5 minutes in the future
  • The past threshold supports resilient start where VQS delayed messages (up to 24h) can cause run_created timestamps to lag significantly
  • The future threshold stays tight to prevent abuse from client-generated ULIDs with manipulated timestamps while tolerating clock skew

Test plan

  • custom runId validation tests pass in world-local (8/8 passing)
  • CI checks pass

🤖 Generated with Claude Code

@VaguelySerious
VaguelySerious requested a review from a team as a code ownerApril 3, 2026 19:28
@vercel

vercelBot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

changeset-botBot commented Apr 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6fe7f08

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

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

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

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

@github-actions

github-actionsBot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.042s (-3.5%)1.005s (~)0.963s101.00x
💻 LocalNitro0.043s (-15.9% 🟢)1.005s (~)0.962s101.05x
🐘 PostgresExpress0.060s (-9.8% 🟢)1.010s (~)0.950s101.45x
🐘 PostgresNitro0.063s (+9.9% 🔺)1.011s (~)0.948s101.52x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.548s (-14.7% 🟢)2.778s (+13.8% 🔺)2.230s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.131s (-1.0%)2.005s (~)0.875s101.00x
💻 LocalExpress1.134s (~)2.006s (~)0.873s101.00x
🐘 PostgresExpress1.149s (+0.5%)2.011s (~)0.863s101.02x
🐘 PostgresNitro1.153s (~)2.012s (~)0.860s101.02x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.333s (+2.9%)3.883s (+8.4% 🔺)1.550s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.888s (~)11.022s (~)0.134s31.00x
💻 LocalExpress10.911s (~)11.023s (~)0.112s31.00x
🐘 PostgresNitro10.921s (~)11.026s (~)0.105s31.00x
💻 LocalNitro10.936s (-0.7%)11.023s (-2.9%)0.088s31.00x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)17.453s (-4.9%)19.447s (-3.2%)1.994s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express14.547s (-0.5%)15.023s (~)0.476s41.00x
🐘 PostgresNitro14.666s (+1.1%)15.025s (~)0.359s41.01x
💻 LocalExpress14.869s (-0.6%)15.028s (~)0.159s41.02x
💻 LocalNitro15.015s (-1.3%)15.281s (-4.7%)0.265s41.03x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)33.276s (-1.4%)35.166s (-0.6%)1.890s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.993s (~)14.450s (~)0.457s71.00x
🐘 PostgresNitro14.178s (+1.2%)15.026s (+2.9%)0.848s61.01x
💻 LocalExpress16.490s (-1.2%)17.031s (~)0.541s61.18x
💻 LocalNitro16.755s (-2.4%)17.031s (-5.6% 🟢)0.277s61.20x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)53.480s (-1.8%)56.144s (+1.3%)2.665s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.269s (+0.7%)2.013s (~)0.744s151.00x
🐘 PostgresExpress1.282s (+1.1%)2.011s (~)0.730s151.01x
💻 LocalNitro1.510s (-3.6%)2.006s (~)0.495s151.19x
💻 LocalExpress1.516s (-1.6%)2.006s (~)0.490s151.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.523s (-9.4% 🟢)4.474s (+15.1% 🔺)1.951s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.331s (~)3.011s (~)0.679s101.00x
🐘 PostgresNitro2.359s (+1.4%)3.012s (~)0.654s101.01x
💻 LocalNitro2.961s (-5.1% 🟢)3.208s (-17.4% 🟢)0.247s101.27x
💻 LocalExpress3.123s (~)3.759s (-6.2% 🟢)0.637s81.34x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.413s (+9.7% 🔺)5.619s (+24.1% 🔺)2.207s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.454s (~)4.010s (~)0.556s81.00x
🐘 PostgresNitro3.502s (+0.8%)4.011s (~)0.509s81.01x
💻 LocalNitro8.370s (~)8.771s (-2.8%)0.401s42.42x
💻 LocalExpress8.371s (+2.7%)9.021s (~)0.650s42.42x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.363s (-18.8% 🟢)5.338s (-7.0% 🟢)1.975s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.265s (+0.6%)2.009s (~)0.744s151.00x
🐘 PostgresExpress1.266s (~)2.009s (~)0.743s151.00x
💻 LocalNitro1.536s (-1.9%)2.006s (~)0.469s151.21x
💻 LocalExpress1.552s (+0.6%)2.006s (~)0.453s151.23x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.483s (+10.6% 🔺)4.162s (+15.6% 🔺)1.679s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.348s (~)3.010s (~)0.661s101.00x
🐘 PostgresNitro2.349s (+1.1%)3.012s (~)0.664s101.00x
💻 LocalExpress2.907s (-6.5% 🟢)3.454s (-11.1% 🟢)0.547s91.24x
💻 LocalNitro3.122s (-2.9%)3.885s (~)0.763s81.33x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.541s (-12.8% 🟢)4.115s (+3.0%)1.574s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.486s (~)4.012s (~)0.526s81.00x
🐘 PostgresNitro3.488s (+0.8%)4.012s (~)0.524s81.00x
💻 LocalExpress8.474s (-5.9% 🟢)9.023s (-5.3% 🟢)0.549s42.43x
💻 LocalNitro8.716s (-2.6%)9.024s (-2.7%)0.308s42.50x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.123s (-15.1% 🟢)5.054s (-1.5%)1.931s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.823s (-3.3%)1.024s (+1.6%)0.201s591.00x
🐘 PostgresNitro0.870s (+5.2% 🔺)1.008s (~)0.138s601.06x
💻 LocalExpress0.966s (-3.3%)1.076s (-24.4% 🟢)0.110s561.17x
💻 LocalNitro0.983s (-4.1%)1.096s (-42.7% 🟢)0.112s551.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)10.067s (-1.8%)12.179s (+2.7%)2.112s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.990s (-1.7%)2.469s (-8.1% 🟢)0.479s371.00x
🐘 PostgresNitro2.110s (+7.5% 🔺)3.012s (+40.0% 🔺)0.902s301.06x
💻 LocalExpress2.980s (-1.1%)3.293s (-8.7% 🟢)0.313s281.50x
💻 LocalNitro3.018s (-2.3%)3.547s (-11.6% 🟢)0.529s261.52x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)33.137s (+10.2% 🔺)34.857s (+10.1% 🔺)1.720s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.980s (-1.9%)4.404s (-7.9% 🟢)0.424s281.00x
🐘 PostgresNitro4.305s (+7.1% 🔺)5.012s (+10.7% 🔺)0.707s241.08x
💻 LocalExpress9.017s (-1.4%)9.401s (-2.4%)0.384s132.27x
💻 LocalNitro9.211s (-2.2%)9.864s (-1.6%)0.653s132.31x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)83.803s (~)85.733s (~)1.930s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.282s (+1.4%)1.008s (~)0.726s601.00x
🐘 PostgresNitro0.299s (+9.6% 🔺)1.008s (~)0.709s601.06x
💻 LocalExpress0.591s (+1.7%)1.004s (~)0.413s602.10x
💻 LocalNitro0.602s (-11.9% 🟢)1.005s (-3.4%)0.403s602.13x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.982s (-0.6%)3.554s (-7.2% 🟢)1.572s181.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.493s (-1.0%)1.008s (~)0.515s901.00x
🐘 PostgresNitro0.517s (+5.7% 🔺)1.008s (~)0.491s901.05x
💻 LocalExpress2.507s (-1.8%)3.008s (~)0.502s305.09x
💻 LocalNitro2.541s (~)3.009s (~)0.468s305.16x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.745s (-17.5% 🟢)5.390s (-11.7% 🟢)1.645s171.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.800s (+1.1%)1.009s (~)0.208s1191.00x
🐘 PostgresNitro0.813s (+5.1% 🔺)1.019s (+1.1%)0.206s1181.02x
💻 LocalExpress11.134s (-0.6%)11.755s (-1.5%)0.621s1113.91x
💻 LocalNitro11.277s (-0.6%)11.938s (~)0.660s1114.09x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)31.620s (+281.9% 🔺)33.851s (+247.7% 🔺)2.231s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.201s (-7.9% 🟢)1.004s (~)0.012s (+5.4% 🔺)1.018s (~)0.818s101.00x
💻 LocalExpress0.201s (-0.9%)1.003s (~)0.011s (-5.0%)1.018s (~)0.817s101.00x
🐘 PostgresExpress0.203s (-0.6%)0.997s (~)0.002s (+7.1% 🔺)1.010s (~)0.807s101.01x
🐘 PostgresNitro0.229s (+9.8% 🔺)0.993s (~)0.002s (+33.3% 🔺)1.011s (~)0.782s101.14x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.584s (-20.9% 🟢)2.641s (-11.4% 🟢)0.679s (+0.9%)4.048s (-3.5%)2.463s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.641s (+6.2% 🔺)1.005s (~)0.003s (-20.0% 🟢)1.022s (~)0.381s591.00x
🐘 PostgresExpress0.673s (+9.2% 🔺)1.021s (+1.9%)0.006s (+53.2% 🔺)1.042s (+1.7%)0.369s591.05x
💻 LocalExpress0.719s (-0.7%)1.010s (~)0.009s (+6.7% 🔺)1.023s (~)0.304s591.12x
💻 LocalNitro0.723s (-4.9%)1.010s (~)0.008s (-14.7% 🟢)1.022s (~)0.299s591.13x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)5.245s (-10.7% 🟢)6.441s (-7.1% 🟢)0.237s (-44.1% 🟢)7.975s (+0.6%)2.730s81.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.960s (-1.7%)1.295s (+8.1% 🔺)0.000s (+Infinity% 🔺)1.313s (+6.2% 🔺)0.353s461.00x
🐘 PostgresNitro0.996s (+2.1%)1.271s (+9.1% 🔺)0.000s (+10.6% 🔺)1.286s (+8.3% 🔺)0.291s471.04x
💻 LocalExpress1.218s (-2.4%)2.019s (~)0.000s (+12.5% 🔺)2.022s (~)0.804s301.27x
💻 LocalNitro1.230s (-5.0% 🟢)2.021s (~)0.000s (-27.3% 🟢)2.023s (~)0.792s301.28x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.606s (+10.6% 🔺)5.067s (+22.9% 🔺)0.001s (+Infinity% 🔺)5.771s (+23.2% 🔺)2.165s121.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.764s (+0.8%)2.212s (+7.1% 🔺)0.000s (NaN%)2.225s (+5.8% 🔺)0.462s281.00x
🐘 PostgresNitro1.816s (+5.9% 🔺)2.137s (+1.8%)0.000s (+3.6%)2.173s (+2.9%)0.357s281.03x
💻 LocalExpress3.362s (-7.2% 🟢)4.036s (-1.5%)0.001s (+14.3% 🔺)4.039s (-1.5%)0.676s151.91x
💻 LocalNitro3.539s (-5.2% 🟢)4.100s (-3.2%)0.001s (-9.1% 🟢)4.103s (-3.2%)0.564s152.01x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)4.404s (-16.4% 🟢)5.573s (-10.4% 🟢)0.000s (NaN%)6.275s (-7.3% 🟢)1.872s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress15/21
🐘 PostgresExpress18/21
▲ VercelNext.js (Turbopack)21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 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 Apr 3, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
❌ ▲ Vercel Production856167924
✅ 💻 Local Development83001781008
✅ 📦 Local Production83001781008
✅ 🐘 Local Postgres83001781008
✅ 🪟 Windows760884
❌ 🌍 Community Worlds1326024216
✅ 📋 Other210042252
Total3764616754500

❌ Failed Tests

▲ Vercel Production (1 failed)

hono (1 failed):

🌍 Community Worlds (60 failed)

mongodb (3 failed):

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

redis (2 failed):

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

turso (55 failed):

  • addTenWorkflow | wrun_01KNADVMY2ADZDEFCAVK9GFP2A
  • addTenWorkflow | wrun_01KNADVMY2ADZDEFCAVK9GFP2A
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNADX14H32WY5D5CJ2CADA8M
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNADVVFJDNRM6X12EVWJSV8G
  • promiseRaceWorkflow | wrun_01KNADW1BC32ANVV4Q8D4ECZTN
  • promiseAnyWorkflow | wrun_01KNADW3NPZRBFYXVTAHQCB5CK
  • importedStepOnlyWorkflow | wrun_01KNADXC2W2SCG0JHBXK06KFJJ
  • hookWorkflow | wrun_01KNADWG9G090YSY7JQS01N5ZF
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNADWVHN163V38QHQKKWK0B1
  • webhookWorkflow | wrun_01KNADX4QB33YSPJDEND7JPJW6
  • sleepingWorkflow | wrun_01KNADXB43JBBDAC0R7H9954N4
  • parallelSleepWorkflow | wrun_01KNADXQYZ818ND9BCMQC1A6NV
  • nullByteWorkflow | wrun_01KNADXWFWP8HE86ZW6ZXXS82G
  • workflowAndStepMetadataWorkflow | wrun_01KNADXYQ1XAS5SFY8Y25NYCZR
  • fetchWorkflow | wrun_01KNAE0TSX9BEVE2TE3K8QN55W
  • promiseRaceStressTestWorkflow | wrun_01KNAE0YCQ9MHYK43W5W3YEPYM
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KNAE4DVCJGA7HBPA25N75BV7
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNAE53PD7WR0WEGJ3YGT1EED
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNAE5S7D1Y8R5JRR70BXM4CB
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNAE6CSNSZK568AD2W8FKQ07
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNAE6N9JKR3TTQ0H9KK9V4MA
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNAE6TNYJM1DW39VF128S7YC
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNAE6Y4M4MJMXV7WJ2VRGQZ3
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNAE7CZGEFBRCGNHRE54DZGT
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNAE7K3T10S1KWGHV2NJ0GPE
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNAE7RET49171P9BT30MBVBC
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNAE7Z5E3PBDFP4ADJN4BGS5
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNAE86ZC0DHK1BK2QFWPH010
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNAE8E8EQE2HHH8Z9X2PGQ0M
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNAE8NY2R31SYCR73JMRP3ES
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNAE91M28SWD0HC9K10WQ8A1
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNAE996QWR9JY6091FN739Z7
  • cancelRun - cancelling a running workflow | wrun_01KNAE9HQ1J0D1N9BHASS0VBR8
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNAE9TST5H50RKTH96V9VYC6
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNAEA6FJK5ECGCXTBPSVVP75
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNAEAXNWSV64N9SP0ZBVG87M
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNAEB806AYWDH4W1JBDM55YF
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNAEBEG302FHKPZA4W9QV5HG

Details by Category

❌ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro7707
✅ example7707
✅ express7707
✅ fastify7707
❌ hono7617
✅ nextjs-turbopack8202
✅ nextjs-webpack8202
✅ nitro7707
✅ nuxt7707
✅ sveltekit7707
✅ vite7707
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack7608
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev500
❌ mongodb5638
✅ redis-dev500
❌ redis5728
✅ turso-dev500
❌ turso4558
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable70014
✅ e2e-local-postgres-nest-stable70014
✅ e2e-local-prod-nest-stable70014

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

Use 24h past / 5min future instead of symmetric 5min threshold. This
supports resilient start where queue retry delays (up to 24h via VQS)
can cause run_created timestamps to be far in the past, while keeping
future timestamps tight to prevent abuse.
Extracted from #1537.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>

@TooTallNateTooTallNate left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Clean extraction from #1537. The asymmetric threshold logic is correct, the backwards-compat alias is properly deprecated, all three callers use default args so the signature change is safe, and the tests cover the boundary conditions well.

One trivial nit (non-blocking): DEFAULT_TIMESTAMP_THRESHOLD_MS is imported but unused in storage.test.ts (line 7). The tests now use hardcoded values (25h, 10min, 4min) instead of referencing the constant. You could either remove the dead import or use the new constants in the test assertions for self-documenting tests.

LGTM.

@VaguelySerious
VaguelySerious merged commit b30b0dc into mainApr 3, 2026
99 of 103 checks passed
@VaguelySerious
VaguelySerious deleted the peter/asymmetric-ulid-thresholds branch April 3, 2026 19:54
This was referenced Apr 3, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

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

[world] Asymmetric ULID timestamp validation thresholds - #1605

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/asymmetric-ulid-thresholds
Apr 3, 2026
Merged

[world] Asymmetric ULID timestamp validation thresholds#1605
VaguelySerious merged 1 commit into
mainfrom
peter/asymmetric-ulid-thresholds

Conversation

@VaguelySerious

@VaguelySeriousVaguelySerious commented Apr 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Extracted from [core] [world] Lazy run creation on start #1537
  • Changes ULID timestamp validation from a symmetric 5-minute threshold to asymmetric thresholds: 24 hours in the past and 5 minutes in the future
  • The past threshold supports resilient start where VQS delayed messages (up to 24h) can cause run_created timestamps to lag significantly
  • The future threshold stays tight to prevent abuse from client-generated ULIDs with manipulated timestamps while tolerating clock skew

Test plan

  • custom runId validation tests pass in world-local (8/8 passing)
  • CI checks pass

🤖 Generated with Claude Code

@VaguelySerious
VaguelySerious requested a review from a team as a code ownerApril 3, 2026 19:28
@vercel

vercelBot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

changeset-botBot commented Apr 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6fe7f08

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

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

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

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

@github-actions

github-actionsBot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.042s (-3.5%)1.005s (~)0.963s101.00x
💻 LocalNitro0.043s (-15.9% 🟢)1.005s (~)0.962s101.05x
🐘 PostgresExpress0.060s (-9.8% 🟢)1.010s (~)0.950s101.45x
🐘 PostgresNitro0.063s (+9.9% 🔺)1.011s (~)0.948s101.52x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.548s (-14.7% 🟢)2.778s (+13.8% 🔺)2.230s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.131s (-1.0%)2.005s (~)0.875s101.00x
💻 LocalExpress1.134s (~)2.006s (~)0.873s101.00x
🐘 PostgresExpress1.149s (+0.5%)2.011s (~)0.863s101.02x
🐘 PostgresNitro1.153s (~)2.012s (~)0.860s101.02x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.333s (+2.9%)3.883s (+8.4% 🔺)1.550s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.888s (~)11.022s (~)0.134s31.00x
💻 LocalExpress10.911s (~)11.023s (~)0.112s31.00x
🐘 PostgresNitro10.921s (~)11.026s (~)0.105s31.00x
💻 LocalNitro10.936s (-0.7%)11.023s (-2.9%)0.088s31.00x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)17.453s (-4.9%)19.447s (-3.2%)1.994s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express14.547s (-0.5%)15.023s (~)0.476s41.00x
🐘 PostgresNitro14.666s (+1.1%)15.025s (~)0.359s41.01x
💻 LocalExpress14.869s (-0.6%)15.028s (~)0.159s41.02x
💻 LocalNitro15.015s (-1.3%)15.281s (-4.7%)0.265s41.03x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)33.276s (-1.4%)35.166s (-0.6%)1.890s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.993s (~)14.450s (~)0.457s71.00x
🐘 PostgresNitro14.178s (+1.2%)15.026s (+2.9%)0.848s61.01x
💻 LocalExpress16.490s (-1.2%)17.031s (~)0.541s61.18x
💻 LocalNitro16.755s (-2.4%)17.031s (-5.6% 🟢)0.277s61.20x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)53.480s (-1.8%)56.144s (+1.3%)2.665s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.269s (+0.7%)2.013s (~)0.744s151.00x
🐘 PostgresExpress1.282s (+1.1%)2.011s (~)0.730s151.01x
💻 LocalNitro1.510s (-3.6%)2.006s (~)0.495s151.19x
💻 LocalExpress1.516s (-1.6%)2.006s (~)0.490s151.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.523s (-9.4% 🟢)4.474s (+15.1% 🔺)1.951s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.331s (~)3.011s (~)0.679s101.00x
🐘 PostgresNitro2.359s (+1.4%)3.012s (~)0.654s101.01x
💻 LocalNitro2.961s (-5.1% 🟢)3.208s (-17.4% 🟢)0.247s101.27x
💻 LocalExpress3.123s (~)3.759s (-6.2% 🟢)0.637s81.34x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.413s (+9.7% 🔺)5.619s (+24.1% 🔺)2.207s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.454s (~)4.010s (~)0.556s81.00x
🐘 PostgresNitro3.502s (+0.8%)4.011s (~)0.509s81.01x
💻 LocalNitro8.370s (~)8.771s (-2.8%)0.401s42.42x
💻 LocalExpress8.371s (+2.7%)9.021s (~)0.650s42.42x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.363s (-18.8% 🟢)5.338s (-7.0% 🟢)1.975s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.265s (+0.6%)2.009s (~)0.744s151.00x
🐘 PostgresExpress1.266s (~)2.009s (~)0.743s151.00x
💻 LocalNitro1.536s (-1.9%)2.006s (~)0.469s151.21x
💻 LocalExpress1.552s (+0.6%)2.006s (~)0.453s151.23x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.483s (+10.6% 🔺)4.162s (+15.6% 🔺)1.679s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.348s (~)3.010s (~)0.661s101.00x
🐘 PostgresNitro2.349s (+1.1%)3.012s (~)0.664s101.00x
💻 LocalExpress2.907s (-6.5% 🟢)3.454s (-11.1% 🟢)0.547s91.24x
💻 LocalNitro3.122s (-2.9%)3.885s (~)0.763s81.33x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.541s (-12.8% 🟢)4.115s (+3.0%)1.574s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.486s (~)4.012s (~)0.526s81.00x
🐘 PostgresNitro3.488s (+0.8%)4.012s (~)0.524s81.00x
💻 LocalExpress8.474s (-5.9% 🟢)9.023s (-5.3% 🟢)0.549s42.43x
💻 LocalNitro8.716s (-2.6%)9.024s (-2.7%)0.308s42.50x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.123s (-15.1% 🟢)5.054s (-1.5%)1.931s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.823s (-3.3%)1.024s (+1.6%)0.201s591.00x
🐘 PostgresNitro0.870s (+5.2% 🔺)1.008s (~)0.138s601.06x
💻 LocalExpress0.966s (-3.3%)1.076s (-24.4% 🟢)0.110s561.17x
💻 LocalNitro0.983s (-4.1%)1.096s (-42.7% 🟢)0.112s551.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)10.067s (-1.8%)12.179s (+2.7%)2.112s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.990s (-1.7%)2.469s (-8.1% 🟢)0.479s371.00x
🐘 PostgresNitro2.110s (+7.5% 🔺)3.012s (+40.0% 🔺)0.902s301.06x
💻 LocalExpress2.980s (-1.1%)3.293s (-8.7% 🟢)0.313s281.50x
💻 LocalNitro3.018s (-2.3%)3.547s (-11.6% 🟢)0.529s261.52x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)33.137s (+10.2% 🔺)34.857s (+10.1% 🔺)1.720s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.980s (-1.9%)4.404s (-7.9% 🟢)0.424s281.00x
🐘 PostgresNitro4.305s (+7.1% 🔺)5.012s (+10.7% 🔺)0.707s241.08x
💻 LocalExpress9.017s (-1.4%)9.401s (-2.4%)0.384s132.27x
💻 LocalNitro9.211s (-2.2%)9.864s (-1.6%)0.653s132.31x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)83.803s (~)85.733s (~)1.930s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.282s (+1.4%)1.008s (~)0.726s601.00x
🐘 PostgresNitro0.299s (+9.6% 🔺)1.008s (~)0.709s601.06x
💻 LocalExpress0.591s (+1.7%)1.004s (~)0.413s602.10x
💻 LocalNitro0.602s (-11.9% 🟢)1.005s (-3.4%)0.403s602.13x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.982s (-0.6%)3.554s (-7.2% 🟢)1.572s181.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.493s (-1.0%)1.008s (~)0.515s901.00x
🐘 PostgresNitro0.517s (+5.7% 🔺)1.008s (~)0.491s901.05x
💻 LocalExpress2.507s (-1.8%)3.008s (~)0.502s305.09x
💻 LocalNitro2.541s (~)3.009s (~)0.468s305.16x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.745s (-17.5% 🟢)5.390s (-11.7% 🟢)1.645s171.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.800s (+1.1%)1.009s (~)0.208s1191.00x
🐘 PostgresNitro0.813s (+5.1% 🔺)1.019s (+1.1%)0.206s1181.02x
💻 LocalExpress11.134s (-0.6%)11.755s (-1.5%)0.621s1113.91x
💻 LocalNitro11.277s (-0.6%)11.938s (~)0.660s1114.09x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)31.620s (+281.9% 🔺)33.851s (+247.7% 🔺)2.231s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.201s (-7.9% 🟢)1.004s (~)0.012s (+5.4% 🔺)1.018s (~)0.818s101.00x
💻 LocalExpress0.201s (-0.9%)1.003s (~)0.011s (-5.0%)1.018s (~)0.817s101.00x
🐘 PostgresExpress0.203s (-0.6%)0.997s (~)0.002s (+7.1% 🔺)1.010s (~)0.807s101.01x
🐘 PostgresNitro0.229s (+9.8% 🔺)0.993s (~)0.002s (+33.3% 🔺)1.011s (~)0.782s101.14x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.584s (-20.9% 🟢)2.641s (-11.4% 🟢)0.679s (+0.9%)4.048s (-3.5%)2.463s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.641s (+6.2% 🔺)1.005s (~)0.003s (-20.0% 🟢)1.022s (~)0.381s591.00x
🐘 PostgresExpress0.673s (+9.2% 🔺)1.021s (+1.9%)0.006s (+53.2% 🔺)1.042s (+1.7%)0.369s591.05x
💻 LocalExpress0.719s (-0.7%)1.010s (~)0.009s (+6.7% 🔺)1.023s (~)0.304s591.12x
💻 LocalNitro0.723s (-4.9%)1.010s (~)0.008s (-14.7% 🟢)1.022s (~)0.299s591.13x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)5.245s (-10.7% 🟢)6.441s (-7.1% 🟢)0.237s (-44.1% 🟢)7.975s (+0.6%)2.730s81.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.960s (-1.7%)1.295s (+8.1% 🔺)0.000s (+Infinity% 🔺)1.313s (+6.2% 🔺)0.353s461.00x
🐘 PostgresNitro0.996s (+2.1%)1.271s (+9.1% 🔺)0.000s (+10.6% 🔺)1.286s (+8.3% 🔺)0.291s471.04x
💻 LocalExpress1.218s (-2.4%)2.019s (~)0.000s (+12.5% 🔺)2.022s (~)0.804s301.27x
💻 LocalNitro1.230s (-5.0% 🟢)2.021s (~)0.000s (-27.3% 🟢)2.023s (~)0.792s301.28x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.606s (+10.6% 🔺)5.067s (+22.9% 🔺)0.001s (+Infinity% 🔺)5.771s (+23.2% 🔺)2.165s121.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.764s (+0.8%)2.212s (+7.1% 🔺)0.000s (NaN%)2.225s (+5.8% 🔺)0.462s281.00x
🐘 PostgresNitro1.816s (+5.9% 🔺)2.137s (+1.8%)0.000s (+3.6%)2.173s (+2.9%)0.357s281.03x
💻 LocalExpress3.362s (-7.2% 🟢)4.036s (-1.5%)0.001s (+14.3% 🔺)4.039s (-1.5%)0.676s151.91x
💻 LocalNitro3.539s (-5.2% 🟢)4.100s (-3.2%)0.001s (-9.1% 🟢)4.103s (-3.2%)0.564s152.01x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)4.404s (-16.4% 🟢)5.573s (-10.4% 🟢)0.000s (NaN%)6.275s (-7.3% 🟢)1.872s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress15/21
🐘 PostgresExpress18/21
▲ VercelNext.js (Turbopack)21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 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 Apr 3, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
❌ ▲ Vercel Production856167924
✅ 💻 Local Development83001781008
✅ 📦 Local Production83001781008
✅ 🐘 Local Postgres83001781008
✅ 🪟 Windows760884
❌ 🌍 Community Worlds1326024216
✅ 📋 Other210042252
Total3764616754500

❌ Failed Tests

▲ Vercel Production (1 failed)

hono (1 failed):

🌍 Community Worlds (60 failed)

mongodb (3 failed):

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

redis (2 failed):

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

turso (55 failed):

  • addTenWorkflow | wrun_01KNADVMY2ADZDEFCAVK9GFP2A
  • addTenWorkflow | wrun_01KNADVMY2ADZDEFCAVK9GFP2A
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNADX14H32WY5D5CJ2CADA8M
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNADVVFJDNRM6X12EVWJSV8G
  • promiseRaceWorkflow | wrun_01KNADW1BC32ANVV4Q8D4ECZTN
  • promiseAnyWorkflow | wrun_01KNADW3NPZRBFYXVTAHQCB5CK
  • importedStepOnlyWorkflow | wrun_01KNADXC2W2SCG0JHBXK06KFJJ
  • hookWorkflow | wrun_01KNADWG9G090YSY7JQS01N5ZF
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNADWVHN163V38QHQKKWK0B1
  • webhookWorkflow | wrun_01KNADX4QB33YSPJDEND7JPJW6
  • sleepingWorkflow | wrun_01KNADXB43JBBDAC0R7H9954N4
  • parallelSleepWorkflow | wrun_01KNADXQYZ818ND9BCMQC1A6NV
  • nullByteWorkflow | wrun_01KNADXWFWP8HE86ZW6ZXXS82G
  • workflowAndStepMetadataWorkflow | wrun_01KNADXYQ1XAS5SFY8Y25NYCZR
  • fetchWorkflow | wrun_01KNAE0TSX9BEVE2TE3K8QN55W
  • promiseRaceStressTestWorkflow | wrun_01KNAE0YCQ9MHYK43W5W3YEPYM
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KNAE4DVCJGA7HBPA25N75BV7
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNAE53PD7WR0WEGJ3YGT1EED
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNAE5S7D1Y8R5JRR70BXM4CB
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNAE6CSNSZK568AD2W8FKQ07
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNAE6N9JKR3TTQ0H9KK9V4MA
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNAE6TNYJM1DW39VF128S7YC
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNAE6Y4M4MJMXV7WJ2VRGQZ3
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNAE7CZGEFBRCGNHRE54DZGT
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNAE7K3T10S1KWGHV2NJ0GPE
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNAE7RET49171P9BT30MBVBC
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNAE7Z5E3PBDFP4ADJN4BGS5
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNAE86ZC0DHK1BK2QFWPH010
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNAE8E8EQE2HHH8Z9X2PGQ0M
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNAE8NY2R31SYCR73JMRP3ES
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNAE91M28SWD0HC9K10WQ8A1
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNAE996QWR9JY6091FN739Z7
  • cancelRun - cancelling a running workflow | wrun_01KNAE9HQ1J0D1N9BHASS0VBR8
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNAE9TST5H50RKTH96V9VYC6
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNAEA6FJK5ECGCXTBPSVVP75
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNAEAXNWSV64N9SP0ZBVG87M
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNAEB806AYWDH4W1JBDM55YF
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNAEBEG302FHKPZA4W9QV5HG

Details by Category

❌ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro7707
✅ example7707
✅ express7707
✅ fastify7707
❌ hono7617
✅ nextjs-turbopack8202
✅ nextjs-webpack8202
✅ nitro7707
✅ nuxt7707
✅ sveltekit7707
✅ vite7707
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack7608
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev500
❌ mongodb5638
✅ redis-dev500
❌ redis5728
✅ turso-dev500
❌ turso4558
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable70014
✅ e2e-local-postgres-nest-stable70014
✅ e2e-local-prod-nest-stable70014

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

Use 24h past / 5min future instead of symmetric 5min threshold. This
supports resilient start where queue retry delays (up to 24h via VQS)
can cause run_created timestamps to be far in the past, while keeping
future timestamps tight to prevent abuse.
Extracted from #1537.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>

@TooTallNateTooTallNate left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Clean extraction from #1537. The asymmetric threshold logic is correct, the backwards-compat alias is properly deprecated, all three callers use default args so the signature change is safe, and the tests cover the boundary conditions well.

One trivial nit (non-blocking): DEFAULT_TIMESTAMP_THRESHOLD_MS is imported but unused in storage.test.ts (line 7). The tests now use hardcoded values (25h, 10min, 4min) instead of referencing the constant. You could either remove the dead import or use the new constants in the test assertions for self-documenting tests.

LGTM.

@VaguelySerious
VaguelySerious merged commit b30b0dc into mainApr 3, 2026
99 of 103 checks passed
@VaguelySerious
VaguelySerious deleted the peter/asymmetric-ulid-thresholds branch April 3, 2026 19:54
This was referenced Apr 3, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

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

[world] Asymmetric ULID timestamp validation thresholds - #1605

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/asymmetric-ulid-thresholds
Apr 3, 2026
Merged

[world] Asymmetric ULID timestamp validation thresholds#1605
VaguelySerious merged 1 commit into
mainfrom
peter/asymmetric-ulid-thresholds

Conversation

@VaguelySerious

@VaguelySeriousVaguelySerious commented Apr 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Extracted from [core] [world] Lazy run creation on start #1537
  • Changes ULID timestamp validation from a symmetric 5-minute threshold to asymmetric thresholds: 24 hours in the past and 5 minutes in the future
  • The past threshold supports resilient start where VQS delayed messages (up to 24h) can cause run_created timestamps to lag significantly
  • The future threshold stays tight to prevent abuse from client-generated ULIDs with manipulated timestamps while tolerating clock skew

Test plan

  • custom runId validation tests pass in world-local (8/8 passing)
  • CI checks pass

🤖 Generated with Claude Code

@VaguelySerious
VaguelySerious requested a review from a team as a code ownerApril 3, 2026 19:28
@vercel

vercelBot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

changeset-botBot commented Apr 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6fe7f08

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

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

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

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

@github-actions

github-actionsBot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.042s (-3.5%)1.005s (~)0.963s101.00x
💻 LocalNitro0.043s (-15.9% 🟢)1.005s (~)0.962s101.05x
🐘 PostgresExpress0.060s (-9.8% 🟢)1.010s (~)0.950s101.45x
🐘 PostgresNitro0.063s (+9.9% 🔺)1.011s (~)0.948s101.52x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.548s (-14.7% 🟢)2.778s (+13.8% 🔺)2.230s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.131s (-1.0%)2.005s (~)0.875s101.00x
💻 LocalExpress1.134s (~)2.006s (~)0.873s101.00x
🐘 PostgresExpress1.149s (+0.5%)2.011s (~)0.863s101.02x
🐘 PostgresNitro1.153s (~)2.012s (~)0.860s101.02x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.333s (+2.9%)3.883s (+8.4% 🔺)1.550s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.888s (~)11.022s (~)0.134s31.00x
💻 LocalExpress10.911s (~)11.023s (~)0.112s31.00x
🐘 PostgresNitro10.921s (~)11.026s (~)0.105s31.00x
💻 LocalNitro10.936s (-0.7%)11.023s (-2.9%)0.088s31.00x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)17.453s (-4.9%)19.447s (-3.2%)1.994s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express14.547s (-0.5%)15.023s (~)0.476s41.00x
🐘 PostgresNitro14.666s (+1.1%)15.025s (~)0.359s41.01x
💻 LocalExpress14.869s (-0.6%)15.028s (~)0.159s41.02x
💻 LocalNitro15.015s (-1.3%)15.281s (-4.7%)0.265s41.03x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)33.276s (-1.4%)35.166s (-0.6%)1.890s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.993s (~)14.450s (~)0.457s71.00x
🐘 PostgresNitro14.178s (+1.2%)15.026s (+2.9%)0.848s61.01x
💻 LocalExpress16.490s (-1.2%)17.031s (~)0.541s61.18x
💻 LocalNitro16.755s (-2.4%)17.031s (-5.6% 🟢)0.277s61.20x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)53.480s (-1.8%)56.144s (+1.3%)2.665s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.269s (+0.7%)2.013s (~)0.744s151.00x
🐘 PostgresExpress1.282s (+1.1%)2.011s (~)0.730s151.01x
💻 LocalNitro1.510s (-3.6%)2.006s (~)0.495s151.19x
💻 LocalExpress1.516s (-1.6%)2.006s (~)0.490s151.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.523s (-9.4% 🟢)4.474s (+15.1% 🔺)1.951s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.331s (~)3.011s (~)0.679s101.00x
🐘 PostgresNitro2.359s (+1.4%)3.012s (~)0.654s101.01x
💻 LocalNitro2.961s (-5.1% 🟢)3.208s (-17.4% 🟢)0.247s101.27x
💻 LocalExpress3.123s (~)3.759s (-6.2% 🟢)0.637s81.34x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.413s (+9.7% 🔺)5.619s (+24.1% 🔺)2.207s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.454s (~)4.010s (~)0.556s81.00x
🐘 PostgresNitro3.502s (+0.8%)4.011s (~)0.509s81.01x
💻 LocalNitro8.370s (~)8.771s (-2.8%)0.401s42.42x
💻 LocalExpress8.371s (+2.7%)9.021s (~)0.650s42.42x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.363s (-18.8% 🟢)5.338s (-7.0% 🟢)1.975s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.265s (+0.6%)2.009s (~)0.744s151.00x
🐘 PostgresExpress1.266s (~)2.009s (~)0.743s151.00x
💻 LocalNitro1.536s (-1.9%)2.006s (~)0.469s151.21x
💻 LocalExpress1.552s (+0.6%)2.006s (~)0.453s151.23x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.483s (+10.6% 🔺)4.162s (+15.6% 🔺)1.679s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.348s (~)3.010s (~)0.661s101.00x
🐘 PostgresNitro2.349s (+1.1%)3.012s (~)0.664s101.00x
💻 LocalExpress2.907s (-6.5% 🟢)3.454s (-11.1% 🟢)0.547s91.24x
💻 LocalNitro3.122s (-2.9%)3.885s (~)0.763s81.33x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.541s (-12.8% 🟢)4.115s (+3.0%)1.574s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.486s (~)4.012s (~)0.526s81.00x
🐘 PostgresNitro3.488s (+0.8%)4.012s (~)0.524s81.00x
💻 LocalExpress8.474s (-5.9% 🟢)9.023s (-5.3% 🟢)0.549s42.43x
💻 LocalNitro8.716s (-2.6%)9.024s (-2.7%)0.308s42.50x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.123s (-15.1% 🟢)5.054s (-1.5%)1.931s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.823s (-3.3%)1.024s (+1.6%)0.201s591.00x
🐘 PostgresNitro0.870s (+5.2% 🔺)1.008s (~)0.138s601.06x
💻 LocalExpress0.966s (-3.3%)1.076s (-24.4% 🟢)0.110s561.17x
💻 LocalNitro0.983s (-4.1%)1.096s (-42.7% 🟢)0.112s551.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)10.067s (-1.8%)12.179s (+2.7%)2.112s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.990s (-1.7%)2.469s (-8.1% 🟢)0.479s371.00x
🐘 PostgresNitro2.110s (+7.5% 🔺)3.012s (+40.0% 🔺)0.902s301.06x
💻 LocalExpress2.980s (-1.1%)3.293s (-8.7% 🟢)0.313s281.50x
💻 LocalNitro3.018s (-2.3%)3.547s (-11.6% 🟢)0.529s261.52x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)33.137s (+10.2% 🔺)34.857s (+10.1% 🔺)1.720s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.980s (-1.9%)4.404s (-7.9% 🟢)0.424s281.00x
🐘 PostgresNitro4.305s (+7.1% 🔺)5.012s (+10.7% 🔺)0.707s241.08x
💻 LocalExpress9.017s (-1.4%)9.401s (-2.4%)0.384s132.27x
💻 LocalNitro9.211s (-2.2%)9.864s (-1.6%)0.653s132.31x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)83.803s (~)85.733s (~)1.930s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.282s (+1.4%)1.008s (~)0.726s601.00x
🐘 PostgresNitro0.299s (+9.6% 🔺)1.008s (~)0.709s601.06x
💻 LocalExpress0.591s (+1.7%)1.004s (~)0.413s602.10x
💻 LocalNitro0.602s (-11.9% 🟢)1.005s (-3.4%)0.403s602.13x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.982s (-0.6%)3.554s (-7.2% 🟢)1.572s181.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.493s (-1.0%)1.008s (~)0.515s901.00x
🐘 PostgresNitro0.517s (+5.7% 🔺)1.008s (~)0.491s901.05x
💻 LocalExpress2.507s (-1.8%)3.008s (~)0.502s305.09x
💻 LocalNitro2.541s (~)3.009s (~)0.468s305.16x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.745s (-17.5% 🟢)5.390s (-11.7% 🟢)1.645s171.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.800s (+1.1%)1.009s (~)0.208s1191.00x
🐘 PostgresNitro0.813s (+5.1% 🔺)1.019s (+1.1%)0.206s1181.02x
💻 LocalExpress11.134s (-0.6%)11.755s (-1.5%)0.621s1113.91x
💻 LocalNitro11.277s (-0.6%)11.938s (~)0.660s1114.09x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)31.620s (+281.9% 🔺)33.851s (+247.7% 🔺)2.231s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.201s (-7.9% 🟢)1.004s (~)0.012s (+5.4% 🔺)1.018s (~)0.818s101.00x
💻 LocalExpress0.201s (-0.9%)1.003s (~)0.011s (-5.0%)1.018s (~)0.817s101.00x
🐘 PostgresExpress0.203s (-0.6%)0.997s (~)0.002s (+7.1% 🔺)1.010s (~)0.807s101.01x
🐘 PostgresNitro0.229s (+9.8% 🔺)0.993s (~)0.002s (+33.3% 🔺)1.011s (~)0.782s101.14x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.584s (-20.9% 🟢)2.641s (-11.4% 🟢)0.679s (+0.9%)4.048s (-3.5%)2.463s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.641s (+6.2% 🔺)1.005s (~)0.003s (-20.0% 🟢)1.022s (~)0.381s591.00x
🐘 PostgresExpress0.673s (+9.2% 🔺)1.021s (+1.9%)0.006s (+53.2% 🔺)1.042s (+1.7%)0.369s591.05x
💻 LocalExpress0.719s (-0.7%)1.010s (~)0.009s (+6.7% 🔺)1.023s (~)0.304s591.12x
💻 LocalNitro0.723s (-4.9%)1.010s (~)0.008s (-14.7% 🟢)1.022s (~)0.299s591.13x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)5.245s (-10.7% 🟢)6.441s (-7.1% 🟢)0.237s (-44.1% 🟢)7.975s (+0.6%)2.730s81.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.960s (-1.7%)1.295s (+8.1% 🔺)0.000s (+Infinity% 🔺)1.313s (+6.2% 🔺)0.353s461.00x
🐘 PostgresNitro0.996s (+2.1%)1.271s (+9.1% 🔺)0.000s (+10.6% 🔺)1.286s (+8.3% 🔺)0.291s471.04x
💻 LocalExpress1.218s (-2.4%)2.019s (~)0.000s (+12.5% 🔺)2.022s (~)0.804s301.27x
💻 LocalNitro1.230s (-5.0% 🟢)2.021s (~)0.000s (-27.3% 🟢)2.023s (~)0.792s301.28x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.606s (+10.6% 🔺)5.067s (+22.9% 🔺)0.001s (+Infinity% 🔺)5.771s (+23.2% 🔺)2.165s121.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.764s (+0.8%)2.212s (+7.1% 🔺)0.000s (NaN%)2.225s (+5.8% 🔺)0.462s281.00x
🐘 PostgresNitro1.816s (+5.9% 🔺)2.137s (+1.8%)0.000s (+3.6%)2.173s (+2.9%)0.357s281.03x
💻 LocalExpress3.362s (-7.2% 🟢)4.036s (-1.5%)0.001s (+14.3% 🔺)4.039s (-1.5%)0.676s151.91x
💻 LocalNitro3.539s (-5.2% 🟢)4.100s (-3.2%)0.001s (-9.1% 🟢)4.103s (-3.2%)0.564s152.01x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)4.404s (-16.4% 🟢)5.573s (-10.4% 🟢)0.000s (NaN%)6.275s (-7.3% 🟢)1.872s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress15/21
🐘 PostgresExpress18/21
▲ VercelNext.js (Turbopack)21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 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 Apr 3, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
❌ ▲ Vercel Production856167924
✅ 💻 Local Development83001781008
✅ 📦 Local Production83001781008
✅ 🐘 Local Postgres83001781008
✅ 🪟 Windows760884
❌ 🌍 Community Worlds1326024216
✅ 📋 Other210042252
Total3764616754500

❌ Failed Tests

▲ Vercel Production (1 failed)

hono (1 failed):

🌍 Community Worlds (60 failed)

mongodb (3 failed):

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

redis (2 failed):

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

turso (55 failed):

  • addTenWorkflow | wrun_01KNADVMY2ADZDEFCAVK9GFP2A
  • addTenWorkflow | wrun_01KNADVMY2ADZDEFCAVK9GFP2A
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNADX14H32WY5D5CJ2CADA8M
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNADVVFJDNRM6X12EVWJSV8G
  • promiseRaceWorkflow | wrun_01KNADW1BC32ANVV4Q8D4ECZTN
  • promiseAnyWorkflow | wrun_01KNADW3NPZRBFYXVTAHQCB5CK
  • importedStepOnlyWorkflow | wrun_01KNADXC2W2SCG0JHBXK06KFJJ
  • hookWorkflow | wrun_01KNADWG9G090YSY7JQS01N5ZF
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNADWVHN163V38QHQKKWK0B1
  • webhookWorkflow | wrun_01KNADX4QB33YSPJDEND7JPJW6
  • sleepingWorkflow | wrun_01KNADXB43JBBDAC0R7H9954N4
  • parallelSleepWorkflow | wrun_01KNADXQYZ818ND9BCMQC1A6NV
  • nullByteWorkflow | wrun_01KNADXWFWP8HE86ZW6ZXXS82G
  • workflowAndStepMetadataWorkflow | wrun_01KNADXYQ1XAS5SFY8Y25NYCZR
  • fetchWorkflow | wrun_01KNAE0TSX9BEVE2TE3K8QN55W
  • promiseRaceStressTestWorkflow | wrun_01KNAE0YCQ9MHYK43W5W3YEPYM
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KNAE4DVCJGA7HBPA25N75BV7
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNAE53PD7WR0WEGJ3YGT1EED
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNAE5S7D1Y8R5JRR70BXM4CB
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNAE6CSNSZK568AD2W8FKQ07
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNAE6N9JKR3TTQ0H9KK9V4MA
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNAE6TNYJM1DW39VF128S7YC
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNAE6Y4M4MJMXV7WJ2VRGQZ3
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNAE7CZGEFBRCGNHRE54DZGT
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNAE7K3T10S1KWGHV2NJ0GPE
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNAE7RET49171P9BT30MBVBC
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNAE7Z5E3PBDFP4ADJN4BGS5
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNAE86ZC0DHK1BK2QFWPH010
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNAE8E8EQE2HHH8Z9X2PGQ0M
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNAE8NY2R31SYCR73JMRP3ES
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNAE91M28SWD0HC9K10WQ8A1
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNAE996QWR9JY6091FN739Z7
  • cancelRun - cancelling a running workflow | wrun_01KNAE9HQ1J0D1N9BHASS0VBR8
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNAE9TST5H50RKTH96V9VYC6
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNAEA6FJK5ECGCXTBPSVVP75
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNAEAXNWSV64N9SP0ZBVG87M
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNAEB806AYWDH4W1JBDM55YF
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNAEBEG302FHKPZA4W9QV5HG

Details by Category

❌ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro7707
✅ example7707
✅ express7707
✅ fastify7707
❌ hono7617
✅ nextjs-turbopack8202
✅ nextjs-webpack8202
✅ nitro7707
✅ nuxt7707
✅ sveltekit7707
✅ vite7707
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack7608
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev500
❌ mongodb5638
✅ redis-dev500
❌ redis5728
✅ turso-dev500
❌ turso4558
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable70014
✅ e2e-local-postgres-nest-stable70014
✅ e2e-local-prod-nest-stable70014

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

Use 24h past / 5min future instead of symmetric 5min threshold. This
supports resilient start where queue retry delays (up to 24h via VQS)
can cause run_created timestamps to be far in the past, while keeping
future timestamps tight to prevent abuse.
Extracted from #1537.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>

@TooTallNateTooTallNate left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Clean extraction from #1537. The asymmetric threshold logic is correct, the backwards-compat alias is properly deprecated, all three callers use default args so the signature change is safe, and the tests cover the boundary conditions well.

One trivial nit (non-blocking): DEFAULT_TIMESTAMP_THRESHOLD_MS is imported but unused in storage.test.ts (line 7). The tests now use hardcoded values (25h, 10min, 4min) instead of referencing the constant. You could either remove the dead import or use the new constants in the test assertions for self-documenting tests.

LGTM.

@VaguelySerious
VaguelySerious merged commit b30b0dc into mainApr 3, 2026
99 of 103 checks passed
@VaguelySerious
VaguelySerious deleted the peter/asymmetric-ulid-thresholds branch April 3, 2026 19:54
This was referenced Apr 3, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

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

[world] Asymmetric ULID timestamp validation thresholds - #1605

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/asymmetric-ulid-thresholds
Apr 3, 2026
Merged

[world] Asymmetric ULID timestamp validation thresholds#1605
VaguelySerious merged 1 commit into
mainfrom
peter/asymmetric-ulid-thresholds

Conversation

@VaguelySerious

@VaguelySeriousVaguelySerious commented Apr 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Extracted from [core] [world] Lazy run creation on start #1537
  • Changes ULID timestamp validation from a symmetric 5-minute threshold to asymmetric thresholds: 24 hours in the past and 5 minutes in the future
  • The past threshold supports resilient start where VQS delayed messages (up to 24h) can cause run_created timestamps to lag significantly
  • The future threshold stays tight to prevent abuse from client-generated ULIDs with manipulated timestamps while tolerating clock skew

Test plan

  • custom runId validation tests pass in world-local (8/8 passing)
  • CI checks pass

🤖 Generated with Claude Code

@VaguelySerious
VaguelySerious requested a review from a team as a code ownerApril 3, 2026 19:28
@vercel

vercelBot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

changeset-botBot commented Apr 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6fe7f08

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

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

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

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

@github-actions

github-actionsBot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.042s (-3.5%)1.005s (~)0.963s101.00x
💻 LocalNitro0.043s (-15.9% 🟢)1.005s (~)0.962s101.05x
🐘 PostgresExpress0.060s (-9.8% 🟢)1.010s (~)0.950s101.45x
🐘 PostgresNitro0.063s (+9.9% 🔺)1.011s (~)0.948s101.52x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.548s (-14.7% 🟢)2.778s (+13.8% 🔺)2.230s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.131s (-1.0%)2.005s (~)0.875s101.00x
💻 LocalExpress1.134s (~)2.006s (~)0.873s101.00x
🐘 PostgresExpress1.149s (+0.5%)2.011s (~)0.863s101.02x
🐘 PostgresNitro1.153s (~)2.012s (~)0.860s101.02x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.333s (+2.9%)3.883s (+8.4% 🔺)1.550s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.888s (~)11.022s (~)0.134s31.00x
💻 LocalExpress10.911s (~)11.023s (~)0.112s31.00x
🐘 PostgresNitro10.921s (~)11.026s (~)0.105s31.00x
💻 LocalNitro10.936s (-0.7%)11.023s (-2.9%)0.088s31.00x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)17.453s (-4.9%)19.447s (-3.2%)1.994s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express14.547s (-0.5%)15.023s (~)0.476s41.00x
🐘 PostgresNitro14.666s (+1.1%)15.025s (~)0.359s41.01x
💻 LocalExpress14.869s (-0.6%)15.028s (~)0.159s41.02x
💻 LocalNitro15.015s (-1.3%)15.281s (-4.7%)0.265s41.03x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)33.276s (-1.4%)35.166s (-0.6%)1.890s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.993s (~)14.450s (~)0.457s71.00x
🐘 PostgresNitro14.178s (+1.2%)15.026s (+2.9%)0.848s61.01x
💻 LocalExpress16.490s (-1.2%)17.031s (~)0.541s61.18x
💻 LocalNitro16.755s (-2.4%)17.031s (-5.6% 🟢)0.277s61.20x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)53.480s (-1.8%)56.144s (+1.3%)2.665s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.269s (+0.7%)2.013s (~)0.744s151.00x
🐘 PostgresExpress1.282s (+1.1%)2.011s (~)0.730s151.01x
💻 LocalNitro1.510s (-3.6%)2.006s (~)0.495s151.19x
💻 LocalExpress1.516s (-1.6%)2.006s (~)0.490s151.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.523s (-9.4% 🟢)4.474s (+15.1% 🔺)1.951s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.331s (~)3.011s (~)0.679s101.00x
🐘 PostgresNitro2.359s (+1.4%)3.012s (~)0.654s101.01x
💻 LocalNitro2.961s (-5.1% 🟢)3.208s (-17.4% 🟢)0.247s101.27x
💻 LocalExpress3.123s (~)3.759s (-6.2% 🟢)0.637s81.34x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.413s (+9.7% 🔺)5.619s (+24.1% 🔺)2.207s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.454s (~)4.010s (~)0.556s81.00x
🐘 PostgresNitro3.502s (+0.8%)4.011s (~)0.509s81.01x
💻 LocalNitro8.370s (~)8.771s (-2.8%)0.401s42.42x
💻 LocalExpress8.371s (+2.7%)9.021s (~)0.650s42.42x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.363s (-18.8% 🟢)5.338s (-7.0% 🟢)1.975s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.265s (+0.6%)2.009s (~)0.744s151.00x
🐘 PostgresExpress1.266s (~)2.009s (~)0.743s151.00x
💻 LocalNitro1.536s (-1.9%)2.006s (~)0.469s151.21x
💻 LocalExpress1.552s (+0.6%)2.006s (~)0.453s151.23x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.483s (+10.6% 🔺)4.162s (+15.6% 🔺)1.679s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.348s (~)3.010s (~)0.661s101.00x
🐘 PostgresNitro2.349s (+1.1%)3.012s (~)0.664s101.00x
💻 LocalExpress2.907s (-6.5% 🟢)3.454s (-11.1% 🟢)0.547s91.24x
💻 LocalNitro3.122s (-2.9%)3.885s (~)0.763s81.33x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.541s (-12.8% 🟢)4.115s (+3.0%)1.574s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.486s (~)4.012s (~)0.526s81.00x
🐘 PostgresNitro3.488s (+0.8%)4.012s (~)0.524s81.00x
💻 LocalExpress8.474s (-5.9% 🟢)9.023s (-5.3% 🟢)0.549s42.43x
💻 LocalNitro8.716s (-2.6%)9.024s (-2.7%)0.308s42.50x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.123s (-15.1% 🟢)5.054s (-1.5%)1.931s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.823s (-3.3%)1.024s (+1.6%)0.201s591.00x
🐘 PostgresNitro0.870s (+5.2% 🔺)1.008s (~)0.138s601.06x
💻 LocalExpress0.966s (-3.3%)1.076s (-24.4% 🟢)0.110s561.17x
💻 LocalNitro0.983s (-4.1%)1.096s (-42.7% 🟢)0.112s551.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)10.067s (-1.8%)12.179s (+2.7%)2.112s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.990s (-1.7%)2.469s (-8.1% 🟢)0.479s371.00x
🐘 PostgresNitro2.110s (+7.5% 🔺)3.012s (+40.0% 🔺)0.902s301.06x
💻 LocalExpress2.980s (-1.1%)3.293s (-8.7% 🟢)0.313s281.50x
💻 LocalNitro3.018s (-2.3%)3.547s (-11.6% 🟢)0.529s261.52x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)33.137s (+10.2% 🔺)34.857s (+10.1% 🔺)1.720s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.980s (-1.9%)4.404s (-7.9% 🟢)0.424s281.00x
🐘 PostgresNitro4.305s (+7.1% 🔺)5.012s (+10.7% 🔺)0.707s241.08x
💻 LocalExpress9.017s (-1.4%)9.401s (-2.4%)0.384s132.27x
💻 LocalNitro9.211s (-2.2%)9.864s (-1.6%)0.653s132.31x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)83.803s (~)85.733s (~)1.930s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.282s (+1.4%)1.008s (~)0.726s601.00x
🐘 PostgresNitro0.299s (+9.6% 🔺)1.008s (~)0.709s601.06x
💻 LocalExpress0.591s (+1.7%)1.004s (~)0.413s602.10x
💻 LocalNitro0.602s (-11.9% 🟢)1.005s (-3.4%)0.403s602.13x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.982s (-0.6%)3.554s (-7.2% 🟢)1.572s181.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.493s (-1.0%)1.008s (~)0.515s901.00x
🐘 PostgresNitro0.517s (+5.7% 🔺)1.008s (~)0.491s901.05x
💻 LocalExpress2.507s (-1.8%)3.008s (~)0.502s305.09x
💻 LocalNitro2.541s (~)3.009s (~)0.468s305.16x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.745s (-17.5% 🟢)5.390s (-11.7% 🟢)1.645s171.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.800s (+1.1%)1.009s (~)0.208s1191.00x
🐘 PostgresNitro0.813s (+5.1% 🔺)1.019s (+1.1%)0.206s1181.02x
💻 LocalExpress11.134s (-0.6%)11.755s (-1.5%)0.621s1113.91x
💻 LocalNitro11.277s (-0.6%)11.938s (~)0.660s1114.09x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)31.620s (+281.9% 🔺)33.851s (+247.7% 🔺)2.231s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.201s (-7.9% 🟢)1.004s (~)0.012s (+5.4% 🔺)1.018s (~)0.818s101.00x
💻 LocalExpress0.201s (-0.9%)1.003s (~)0.011s (-5.0%)1.018s (~)0.817s101.00x
🐘 PostgresExpress0.203s (-0.6%)0.997s (~)0.002s (+7.1% 🔺)1.010s (~)0.807s101.01x
🐘 PostgresNitro0.229s (+9.8% 🔺)0.993s (~)0.002s (+33.3% 🔺)1.011s (~)0.782s101.14x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.584s (-20.9% 🟢)2.641s (-11.4% 🟢)0.679s (+0.9%)4.048s (-3.5%)2.463s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.641s (+6.2% 🔺)1.005s (~)0.003s (-20.0% 🟢)1.022s (~)0.381s591.00x
🐘 PostgresExpress0.673s (+9.2% 🔺)1.021s (+1.9%)0.006s (+53.2% 🔺)1.042s (+1.7%)0.369s591.05x
💻 LocalExpress0.719s (-0.7%)1.010s (~)0.009s (+6.7% 🔺)1.023s (~)0.304s591.12x
💻 LocalNitro0.723s (-4.9%)1.010s (~)0.008s (-14.7% 🟢)1.022s (~)0.299s591.13x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)5.245s (-10.7% 🟢)6.441s (-7.1% 🟢)0.237s (-44.1% 🟢)7.975s (+0.6%)2.730s81.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.960s (-1.7%)1.295s (+8.1% 🔺)0.000s (+Infinity% 🔺)1.313s (+6.2% 🔺)0.353s461.00x
🐘 PostgresNitro0.996s (+2.1%)1.271s (+9.1% 🔺)0.000s (+10.6% 🔺)1.286s (+8.3% 🔺)0.291s471.04x
💻 LocalExpress1.218s (-2.4%)2.019s (~)0.000s (+12.5% 🔺)2.022s (~)0.804s301.27x
💻 LocalNitro1.230s (-5.0% 🟢)2.021s (~)0.000s (-27.3% 🟢)2.023s (~)0.792s301.28x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.606s (+10.6% 🔺)5.067s (+22.9% 🔺)0.001s (+Infinity% 🔺)5.771s (+23.2% 🔺)2.165s121.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.764s (+0.8%)2.212s (+7.1% 🔺)0.000s (NaN%)2.225s (+5.8% 🔺)0.462s281.00x
🐘 PostgresNitro1.816s (+5.9% 🔺)2.137s (+1.8%)0.000s (+3.6%)2.173s (+2.9%)0.357s281.03x
💻 LocalExpress3.362s (-7.2% 🟢)4.036s (-1.5%)0.001s (+14.3% 🔺)4.039s (-1.5%)0.676s151.91x
💻 LocalNitro3.539s (-5.2% 🟢)4.100s (-3.2%)0.001s (-9.1% 🟢)4.103s (-3.2%)0.564s152.01x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)4.404s (-16.4% 🟢)5.573s (-10.4% 🟢)0.000s (NaN%)6.275s (-7.3% 🟢)1.872s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress15/21
🐘 PostgresExpress18/21
▲ VercelNext.js (Turbopack)21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 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 Apr 3, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
❌ ▲ Vercel Production856167924
✅ 💻 Local Development83001781008
✅ 📦 Local Production83001781008
✅ 🐘 Local Postgres83001781008
✅ 🪟 Windows760884
❌ 🌍 Community Worlds1326024216
✅ 📋 Other210042252
Total3764616754500

❌ Failed Tests

▲ Vercel Production (1 failed)

hono (1 failed):

🌍 Community Worlds (60 failed)

mongodb (3 failed):

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

redis (2 failed):

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

turso (55 failed):

  • addTenWorkflow | wrun_01KNADVMY2ADZDEFCAVK9GFP2A
  • addTenWorkflow | wrun_01KNADVMY2ADZDEFCAVK9GFP2A
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNADX14H32WY5D5CJ2CADA8M
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNADVVFJDNRM6X12EVWJSV8G
  • promiseRaceWorkflow | wrun_01KNADW1BC32ANVV4Q8D4ECZTN
  • promiseAnyWorkflow | wrun_01KNADW3NPZRBFYXVTAHQCB5CK
  • importedStepOnlyWorkflow | wrun_01KNADXC2W2SCG0JHBXK06KFJJ
  • hookWorkflow | wrun_01KNADWG9G090YSY7JQS01N5ZF
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNADWVHN163V38QHQKKWK0B1
  • webhookWorkflow | wrun_01KNADX4QB33YSPJDEND7JPJW6
  • sleepingWorkflow | wrun_01KNADXB43JBBDAC0R7H9954N4
  • parallelSleepWorkflow | wrun_01KNADXQYZ818ND9BCMQC1A6NV
  • nullByteWorkflow | wrun_01KNADXWFWP8HE86ZW6ZXXS82G
  • workflowAndStepMetadataWorkflow | wrun_01KNADXYQ1XAS5SFY8Y25NYCZR
  • fetchWorkflow | wrun_01KNAE0TSX9BEVE2TE3K8QN55W
  • promiseRaceStressTestWorkflow | wrun_01KNAE0YCQ9MHYK43W5W3YEPYM
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KNAE4DVCJGA7HBPA25N75BV7
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNAE53PD7WR0WEGJ3YGT1EED
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNAE5S7D1Y8R5JRR70BXM4CB
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNAE6CSNSZK568AD2W8FKQ07
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNAE6N9JKR3TTQ0H9KK9V4MA
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNAE6TNYJM1DW39VF128S7YC
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNAE6Y4M4MJMXV7WJ2VRGQZ3
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNAE7CZGEFBRCGNHRE54DZGT
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNAE7K3T10S1KWGHV2NJ0GPE
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNAE7RET49171P9BT30MBVBC
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNAE7Z5E3PBDFP4ADJN4BGS5
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNAE86ZC0DHK1BK2QFWPH010
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNAE8E8EQE2HHH8Z9X2PGQ0M
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNAE8NY2R31SYCR73JMRP3ES
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNAE91M28SWD0HC9K10WQ8A1
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNAE996QWR9JY6091FN739Z7
  • cancelRun - cancelling a running workflow | wrun_01KNAE9HQ1J0D1N9BHASS0VBR8
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNAE9TST5H50RKTH96V9VYC6
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNAEA6FJK5ECGCXTBPSVVP75
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNAEAXNWSV64N9SP0ZBVG87M
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNAEB806AYWDH4W1JBDM55YF
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNAEBEG302FHKPZA4W9QV5HG

Details by Category

❌ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro7707
✅ example7707
✅ express7707
✅ fastify7707
❌ hono7617
✅ nextjs-turbopack8202
✅ nextjs-webpack8202
✅ nitro7707
✅ nuxt7707
✅ sveltekit7707
✅ vite7707
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack7608
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev500
❌ mongodb5638
✅ redis-dev500
❌ redis5728
✅ turso-dev500
❌ turso4558
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable70014
✅ e2e-local-postgres-nest-stable70014
✅ e2e-local-prod-nest-stable70014

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

Use 24h past / 5min future instead of symmetric 5min threshold. This
supports resilient start where queue retry delays (up to 24h via VQS)
can cause run_created timestamps to be far in the past, while keeping
future timestamps tight to prevent abuse.
Extracted from #1537.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>

@TooTallNateTooTallNate left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Clean extraction from #1537. The asymmetric threshold logic is correct, the backwards-compat alias is properly deprecated, all three callers use default args so the signature change is safe, and the tests cover the boundary conditions well.

One trivial nit (non-blocking): DEFAULT_TIMESTAMP_THRESHOLD_MS is imported but unused in storage.test.ts (line 7). The tests now use hardcoded values (25h, 10min, 4min) instead of referencing the constant. You could either remove the dead import or use the new constants in the test assertions for self-documenting tests.

LGTM.

@VaguelySerious
VaguelySerious merged commit b30b0dc into mainApr 3, 2026
99 of 103 checks passed
@VaguelySerious
VaguelySerious deleted the peter/asymmetric-ulid-thresholds branch April 3, 2026 19:54
This was referenced Apr 3, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

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

[world] Asymmetric ULID timestamp validation thresholds - #1605

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/asymmetric-ulid-thresholds
Apr 3, 2026
Merged

[world] Asymmetric ULID timestamp validation thresholds#1605
VaguelySerious merged 1 commit into
mainfrom
peter/asymmetric-ulid-thresholds

Conversation

@VaguelySerious

@VaguelySeriousVaguelySerious commented Apr 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Extracted from [core] [world] Lazy run creation on start #1537
  • Changes ULID timestamp validation from a symmetric 5-minute threshold to asymmetric thresholds: 24 hours in the past and 5 minutes in the future
  • The past threshold supports resilient start where VQS delayed messages (up to 24h) can cause run_created timestamps to lag significantly
  • The future threshold stays tight to prevent abuse from client-generated ULIDs with manipulated timestamps while tolerating clock skew

Test plan

  • custom runId validation tests pass in world-local (8/8 passing)
  • CI checks pass

🤖 Generated with Claude Code

@VaguelySerious
VaguelySerious requested a review from a team as a code ownerApril 3, 2026 19:28
@vercel

vercelBot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

changeset-botBot commented Apr 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6fe7f08

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

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

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

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

@github-actions

github-actionsBot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.042s (-3.5%)1.005s (~)0.963s101.00x
💻 LocalNitro0.043s (-15.9% 🟢)1.005s (~)0.962s101.05x
🐘 PostgresExpress0.060s (-9.8% 🟢)1.010s (~)0.950s101.45x
🐘 PostgresNitro0.063s (+9.9% 🔺)1.011s (~)0.948s101.52x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.548s (-14.7% 🟢)2.778s (+13.8% 🔺)2.230s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.131s (-1.0%)2.005s (~)0.875s101.00x
💻 LocalExpress1.134s (~)2.006s (~)0.873s101.00x
🐘 PostgresExpress1.149s (+0.5%)2.011s (~)0.863s101.02x
🐘 PostgresNitro1.153s (~)2.012s (~)0.860s101.02x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.333s (+2.9%)3.883s (+8.4% 🔺)1.550s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.888s (~)11.022s (~)0.134s31.00x
💻 LocalExpress10.911s (~)11.023s (~)0.112s31.00x
🐘 PostgresNitro10.921s (~)11.026s (~)0.105s31.00x
💻 LocalNitro10.936s (-0.7%)11.023s (-2.9%)0.088s31.00x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)17.453s (-4.9%)19.447s (-3.2%)1.994s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express14.547s (-0.5%)15.023s (~)0.476s41.00x
🐘 PostgresNitro14.666s (+1.1%)15.025s (~)0.359s41.01x
💻 LocalExpress14.869s (-0.6%)15.028s (~)0.159s41.02x
💻 LocalNitro15.015s (-1.3%)15.281s (-4.7%)0.265s41.03x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)33.276s (-1.4%)35.166s (-0.6%)1.890s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.993s (~)14.450s (~)0.457s71.00x
🐘 PostgresNitro14.178s (+1.2%)15.026s (+2.9%)0.848s61.01x
💻 LocalExpress16.490s (-1.2%)17.031s (~)0.541s61.18x
💻 LocalNitro16.755s (-2.4%)17.031s (-5.6% 🟢)0.277s61.20x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)53.480s (-1.8%)56.144s (+1.3%)2.665s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.269s (+0.7%)2.013s (~)0.744s151.00x
🐘 PostgresExpress1.282s (+1.1%)2.011s (~)0.730s151.01x
💻 LocalNitro1.510s (-3.6%)2.006s (~)0.495s151.19x
💻 LocalExpress1.516s (-1.6%)2.006s (~)0.490s151.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.523s (-9.4% 🟢)4.474s (+15.1% 🔺)1.951s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.331s (~)3.011s (~)0.679s101.00x
🐘 PostgresNitro2.359s (+1.4%)3.012s (~)0.654s101.01x
💻 LocalNitro2.961s (-5.1% 🟢)3.208s (-17.4% 🟢)0.247s101.27x
💻 LocalExpress3.123s (~)3.759s (-6.2% 🟢)0.637s81.34x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.413s (+9.7% 🔺)5.619s (+24.1% 🔺)2.207s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.454s (~)4.010s (~)0.556s81.00x
🐘 PostgresNitro3.502s (+0.8%)4.011s (~)0.509s81.01x
💻 LocalNitro8.370s (~)8.771s (-2.8%)0.401s42.42x
💻 LocalExpress8.371s (+2.7%)9.021s (~)0.650s42.42x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.363s (-18.8% 🟢)5.338s (-7.0% 🟢)1.975s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.265s (+0.6%)2.009s (~)0.744s151.00x
🐘 PostgresExpress1.266s (~)2.009s (~)0.743s151.00x
💻 LocalNitro1.536s (-1.9%)2.006s (~)0.469s151.21x
💻 LocalExpress1.552s (+0.6%)2.006s (~)0.453s151.23x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.483s (+10.6% 🔺)4.162s (+15.6% 🔺)1.679s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.348s (~)3.010s (~)0.661s101.00x
🐘 PostgresNitro2.349s (+1.1%)3.012s (~)0.664s101.00x
💻 LocalExpress2.907s (-6.5% 🟢)3.454s (-11.1% 🟢)0.547s91.24x
💻 LocalNitro3.122s (-2.9%)3.885s (~)0.763s81.33x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.541s (-12.8% 🟢)4.115s (+3.0%)1.574s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.486s (~)4.012s (~)0.526s81.00x
🐘 PostgresNitro3.488s (+0.8%)4.012s (~)0.524s81.00x
💻 LocalExpress8.474s (-5.9% 🟢)9.023s (-5.3% 🟢)0.549s42.43x
💻 LocalNitro8.716s (-2.6%)9.024s (-2.7%)0.308s42.50x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.123s (-15.1% 🟢)5.054s (-1.5%)1.931s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.823s (-3.3%)1.024s (+1.6%)0.201s591.00x
🐘 PostgresNitro0.870s (+5.2% 🔺)1.008s (~)0.138s601.06x
💻 LocalExpress0.966s (-3.3%)1.076s (-24.4% 🟢)0.110s561.17x
💻 LocalNitro0.983s (-4.1%)1.096s (-42.7% 🟢)0.112s551.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)10.067s (-1.8%)12.179s (+2.7%)2.112s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.990s (-1.7%)2.469s (-8.1% 🟢)0.479s371.00x
🐘 PostgresNitro2.110s (+7.5% 🔺)3.012s (+40.0% 🔺)0.902s301.06x
💻 LocalExpress2.980s (-1.1%)3.293s (-8.7% 🟢)0.313s281.50x
💻 LocalNitro3.018s (-2.3%)3.547s (-11.6% 🟢)0.529s261.52x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)33.137s (+10.2% 🔺)34.857s (+10.1% 🔺)1.720s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.980s (-1.9%)4.404s (-7.9% 🟢)0.424s281.00x
🐘 PostgresNitro4.305s (+7.1% 🔺)5.012s (+10.7% 🔺)0.707s241.08x
💻 LocalExpress9.017s (-1.4%)9.401s (-2.4%)0.384s132.27x
💻 LocalNitro9.211s (-2.2%)9.864s (-1.6%)0.653s132.31x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)83.803s (~)85.733s (~)1.930s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.282s (+1.4%)1.008s (~)0.726s601.00x
🐘 PostgresNitro0.299s (+9.6% 🔺)1.008s (~)0.709s601.06x
💻 LocalExpress0.591s (+1.7%)1.004s (~)0.413s602.10x
💻 LocalNitro0.602s (-11.9% 🟢)1.005s (-3.4%)0.403s602.13x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.982s (-0.6%)3.554s (-7.2% 🟢)1.572s181.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.493s (-1.0%)1.008s (~)0.515s901.00x
🐘 PostgresNitro0.517s (+5.7% 🔺)1.008s (~)0.491s901.05x
💻 LocalExpress2.507s (-1.8%)3.008s (~)0.502s305.09x
💻 LocalNitro2.541s (~)3.009s (~)0.468s305.16x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.745s (-17.5% 🟢)5.390s (-11.7% 🟢)1.645s171.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.800s (+1.1%)1.009s (~)0.208s1191.00x
🐘 PostgresNitro0.813s (+5.1% 🔺)1.019s (+1.1%)0.206s1181.02x
💻 LocalExpress11.134s (-0.6%)11.755s (-1.5%)0.621s1113.91x
💻 LocalNitro11.277s (-0.6%)11.938s (~)0.660s1114.09x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)31.620s (+281.9% 🔺)33.851s (+247.7% 🔺)2.231s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.201s (-7.9% 🟢)1.004s (~)0.012s (+5.4% 🔺)1.018s (~)0.818s101.00x
💻 LocalExpress0.201s (-0.9%)1.003s (~)0.011s (-5.0%)1.018s (~)0.817s101.00x
🐘 PostgresExpress0.203s (-0.6%)0.997s (~)0.002s (+7.1% 🔺)1.010s (~)0.807s101.01x
🐘 PostgresNitro0.229s (+9.8% 🔺)0.993s (~)0.002s (+33.3% 🔺)1.011s (~)0.782s101.14x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.584s (-20.9% 🟢)2.641s (-11.4% 🟢)0.679s (+0.9%)4.048s (-3.5%)2.463s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.641s (+6.2% 🔺)1.005s (~)0.003s (-20.0% 🟢)1.022s (~)0.381s591.00x
🐘 PostgresExpress0.673s (+9.2% 🔺)1.021s (+1.9%)0.006s (+53.2% 🔺)1.042s (+1.7%)0.369s591.05x
💻 LocalExpress0.719s (-0.7%)1.010s (~)0.009s (+6.7% 🔺)1.023s (~)0.304s591.12x
💻 LocalNitro0.723s (-4.9%)1.010s (~)0.008s (-14.7% 🟢)1.022s (~)0.299s591.13x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)5.245s (-10.7% 🟢)6.441s (-7.1% 🟢)0.237s (-44.1% 🟢)7.975s (+0.6%)2.730s81.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.960s (-1.7%)1.295s (+8.1% 🔺)0.000s (+Infinity% 🔺)1.313s (+6.2% 🔺)0.353s461.00x
🐘 PostgresNitro0.996s (+2.1%)1.271s (+9.1% 🔺)0.000s (+10.6% 🔺)1.286s (+8.3% 🔺)0.291s471.04x
💻 LocalExpress1.218s (-2.4%)2.019s (~)0.000s (+12.5% 🔺)2.022s (~)0.804s301.27x
💻 LocalNitro1.230s (-5.0% 🟢)2.021s (~)0.000s (-27.3% 🟢)2.023s (~)0.792s301.28x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.606s (+10.6% 🔺)5.067s (+22.9% 🔺)0.001s (+Infinity% 🔺)5.771s (+23.2% 🔺)2.165s121.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.764s (+0.8%)2.212s (+7.1% 🔺)0.000s (NaN%)2.225s (+5.8% 🔺)0.462s281.00x
🐘 PostgresNitro1.816s (+5.9% 🔺)2.137s (+1.8%)0.000s (+3.6%)2.173s (+2.9%)0.357s281.03x
💻 LocalExpress3.362s (-7.2% 🟢)4.036s (-1.5%)0.001s (+14.3% 🔺)4.039s (-1.5%)0.676s151.91x
💻 LocalNitro3.539s (-5.2% 🟢)4.100s (-3.2%)0.001s (-9.1% 🟢)4.103s (-3.2%)0.564s152.01x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)4.404s (-16.4% 🟢)5.573s (-10.4% 🟢)0.000s (NaN%)6.275s (-7.3% 🟢)1.872s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress15/21
🐘 PostgresExpress18/21
▲ VercelNext.js (Turbopack)21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 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 Apr 3, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
❌ ▲ Vercel Production856167924
✅ 💻 Local Development83001781008
✅ 📦 Local Production83001781008
✅ 🐘 Local Postgres83001781008
✅ 🪟 Windows760884
❌ 🌍 Community Worlds1326024216
✅ 📋 Other210042252
Total3764616754500

❌ Failed Tests

▲ Vercel Production (1 failed)

hono (1 failed):

🌍 Community Worlds (60 failed)

mongodb (3 failed):

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

redis (2 failed):

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

turso (55 failed):

  • addTenWorkflow | wrun_01KNADVMY2ADZDEFCAVK9GFP2A
  • addTenWorkflow | wrun_01KNADVMY2ADZDEFCAVK9GFP2A
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNADX14H32WY5D5CJ2CADA8M
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNADVVFJDNRM6X12EVWJSV8G
  • promiseRaceWorkflow | wrun_01KNADW1BC32ANVV4Q8D4ECZTN
  • promiseAnyWorkflow | wrun_01KNADW3NPZRBFYXVTAHQCB5CK
  • importedStepOnlyWorkflow | wrun_01KNADXC2W2SCG0JHBXK06KFJJ
  • hookWorkflow | wrun_01KNADWG9G090YSY7JQS01N5ZF
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNADWVHN163V38QHQKKWK0B1
  • webhookWorkflow | wrun_01KNADX4QB33YSPJDEND7JPJW6
  • sleepingWorkflow | wrun_01KNADXB43JBBDAC0R7H9954N4
  • parallelSleepWorkflow | wrun_01KNADXQYZ818ND9BCMQC1A6NV
  • nullByteWorkflow | wrun_01KNADXWFWP8HE86ZW6ZXXS82G
  • workflowAndStepMetadataWorkflow | wrun_01KNADXYQ1XAS5SFY8Y25NYCZR
  • fetchWorkflow | wrun_01KNAE0TSX9BEVE2TE3K8QN55W
  • promiseRaceStressTestWorkflow | wrun_01KNAE0YCQ9MHYK43W5W3YEPYM
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KNAE4DVCJGA7HBPA25N75BV7
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNAE53PD7WR0WEGJ3YGT1EED
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNAE5S7D1Y8R5JRR70BXM4CB
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNAE6CSNSZK568AD2W8FKQ07
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNAE6N9JKR3TTQ0H9KK9V4MA
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNAE6TNYJM1DW39VF128S7YC
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNAE6Y4M4MJMXV7WJ2VRGQZ3
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNAE7CZGEFBRCGNHRE54DZGT
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNAE7K3T10S1KWGHV2NJ0GPE
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNAE7RET49171P9BT30MBVBC
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNAE7Z5E3PBDFP4ADJN4BGS5
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNAE86ZC0DHK1BK2QFWPH010
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNAE8E8EQE2HHH8Z9X2PGQ0M
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNAE8NY2R31SYCR73JMRP3ES
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNAE91M28SWD0HC9K10WQ8A1
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNAE996QWR9JY6091FN739Z7
  • cancelRun - cancelling a running workflow | wrun_01KNAE9HQ1J0D1N9BHASS0VBR8
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNAE9TST5H50RKTH96V9VYC6
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNAEA6FJK5ECGCXTBPSVVP75
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNAEAXNWSV64N9SP0ZBVG87M
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNAEB806AYWDH4W1JBDM55YF
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNAEBEG302FHKPZA4W9QV5HG

Details by Category

❌ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro7707
✅ example7707
✅ express7707
✅ fastify7707
❌ hono7617
✅ nextjs-turbopack8202
✅ nextjs-webpack8202
✅ nitro7707
✅ nuxt7707
✅ sveltekit7707
✅ vite7707
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack7608
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev500
❌ mongodb5638
✅ redis-dev500
❌ redis5728
✅ turso-dev500
❌ turso4558
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable70014
✅ e2e-local-postgres-nest-stable70014
✅ e2e-local-prod-nest-stable70014

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

Use 24h past / 5min future instead of symmetric 5min threshold. This
supports resilient start where queue retry delays (up to 24h via VQS)
can cause run_created timestamps to be far in the past, while keeping
future timestamps tight to prevent abuse.
Extracted from #1537.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>

@TooTallNateTooTallNate left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Clean extraction from #1537. The asymmetric threshold logic is correct, the backwards-compat alias is properly deprecated, all three callers use default args so the signature change is safe, and the tests cover the boundary conditions well.

One trivial nit (non-blocking): DEFAULT_TIMESTAMP_THRESHOLD_MS is imported but unused in storage.test.ts (line 7). The tests now use hardcoded values (25h, 10min, 4min) instead of referencing the constant. You could either remove the dead import or use the new constants in the test assertions for self-documenting tests.

LGTM.

@VaguelySerious
VaguelySerious merged commit b30b0dc into mainApr 3, 2026
99 of 103 checks passed
@VaguelySerious
VaguelySerious deleted the peter/asymmetric-ulid-thresholds branch April 3, 2026 19:54
This was referenced Apr 3, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

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

[world] Asymmetric ULID timestamp validation thresholds - #1605

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/asymmetric-ulid-thresholds
Apr 3, 2026
Merged

[world] Asymmetric ULID timestamp validation thresholds#1605
VaguelySerious merged 1 commit into
mainfrom
peter/asymmetric-ulid-thresholds

Conversation

@VaguelySerious

@VaguelySeriousVaguelySerious commented Apr 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Extracted from [core] [world] Lazy run creation on start #1537
  • Changes ULID timestamp validation from a symmetric 5-minute threshold to asymmetric thresholds: 24 hours in the past and 5 minutes in the future
  • The past threshold supports resilient start where VQS delayed messages (up to 24h) can cause run_created timestamps to lag significantly
  • The future threshold stays tight to prevent abuse from client-generated ULIDs with manipulated timestamps while tolerating clock skew

Test plan

  • custom runId validation tests pass in world-local (8/8 passing)
  • CI checks pass

🤖 Generated with Claude Code

@VaguelySerious
VaguelySerious requested a review from a team as a code ownerApril 3, 2026 19:28
@vercel

vercelBot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

changeset-botBot commented Apr 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6fe7f08

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

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

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

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

@github-actions

github-actionsBot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.042s (-3.5%)1.005s (~)0.963s101.00x
💻 LocalNitro0.043s (-15.9% 🟢)1.005s (~)0.962s101.05x
🐘 PostgresExpress0.060s (-9.8% 🟢)1.010s (~)0.950s101.45x
🐘 PostgresNitro0.063s (+9.9% 🔺)1.011s (~)0.948s101.52x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.548s (-14.7% 🟢)2.778s (+13.8% 🔺)2.230s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.131s (-1.0%)2.005s (~)0.875s101.00x
💻 LocalExpress1.134s (~)2.006s (~)0.873s101.00x
🐘 PostgresExpress1.149s (+0.5%)2.011s (~)0.863s101.02x
🐘 PostgresNitro1.153s (~)2.012s (~)0.860s101.02x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.333s (+2.9%)3.883s (+8.4% 🔺)1.550s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.888s (~)11.022s (~)0.134s31.00x
💻 LocalExpress10.911s (~)11.023s (~)0.112s31.00x
🐘 PostgresNitro10.921s (~)11.026s (~)0.105s31.00x
💻 LocalNitro10.936s (-0.7%)11.023s (-2.9%)0.088s31.00x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)17.453s (-4.9%)19.447s (-3.2%)1.994s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express14.547s (-0.5%)15.023s (~)0.476s41.00x
🐘 PostgresNitro14.666s (+1.1%)15.025s (~)0.359s41.01x
💻 LocalExpress14.869s (-0.6%)15.028s (~)0.159s41.02x
💻 LocalNitro15.015s (-1.3%)15.281s (-4.7%)0.265s41.03x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)33.276s (-1.4%)35.166s (-0.6%)1.890s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.993s (~)14.450s (~)0.457s71.00x
🐘 PostgresNitro14.178s (+1.2%)15.026s (+2.9%)0.848s61.01x
💻 LocalExpress16.490s (-1.2%)17.031s (~)0.541s61.18x
💻 LocalNitro16.755s (-2.4%)17.031s (-5.6% 🟢)0.277s61.20x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)53.480s (-1.8%)56.144s (+1.3%)2.665s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.269s (+0.7%)2.013s (~)0.744s151.00x
🐘 PostgresExpress1.282s (+1.1%)2.011s (~)0.730s151.01x
💻 LocalNitro1.510s (-3.6%)2.006s (~)0.495s151.19x
💻 LocalExpress1.516s (-1.6%)2.006s (~)0.490s151.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.523s (-9.4% 🟢)4.474s (+15.1% 🔺)1.951s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.331s (~)3.011s (~)0.679s101.00x
🐘 PostgresNitro2.359s (+1.4%)3.012s (~)0.654s101.01x
💻 LocalNitro2.961s (-5.1% 🟢)3.208s (-17.4% 🟢)0.247s101.27x
💻 LocalExpress3.123s (~)3.759s (-6.2% 🟢)0.637s81.34x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.413s (+9.7% 🔺)5.619s (+24.1% 🔺)2.207s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.454s (~)4.010s (~)0.556s81.00x
🐘 PostgresNitro3.502s (+0.8%)4.011s (~)0.509s81.01x
💻 LocalNitro8.370s (~)8.771s (-2.8%)0.401s42.42x
💻 LocalExpress8.371s (+2.7%)9.021s (~)0.650s42.42x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.363s (-18.8% 🟢)5.338s (-7.0% 🟢)1.975s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.265s (+0.6%)2.009s (~)0.744s151.00x
🐘 PostgresExpress1.266s (~)2.009s (~)0.743s151.00x
💻 LocalNitro1.536s (-1.9%)2.006s (~)0.469s151.21x
💻 LocalExpress1.552s (+0.6%)2.006s (~)0.453s151.23x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.483s (+10.6% 🔺)4.162s (+15.6% 🔺)1.679s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.348s (~)3.010s (~)0.661s101.00x
🐘 PostgresNitro2.349s (+1.1%)3.012s (~)0.664s101.00x
💻 LocalExpress2.907s (-6.5% 🟢)3.454s (-11.1% 🟢)0.547s91.24x
💻 LocalNitro3.122s (-2.9%)3.885s (~)0.763s81.33x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.541s (-12.8% 🟢)4.115s (+3.0%)1.574s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.486s (~)4.012s (~)0.526s81.00x
🐘 PostgresNitro3.488s (+0.8%)4.012s (~)0.524s81.00x
💻 LocalExpress8.474s (-5.9% 🟢)9.023s (-5.3% 🟢)0.549s42.43x
💻 LocalNitro8.716s (-2.6%)9.024s (-2.7%)0.308s42.50x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.123s (-15.1% 🟢)5.054s (-1.5%)1.931s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.823s (-3.3%)1.024s (+1.6%)0.201s591.00x
🐘 PostgresNitro0.870s (+5.2% 🔺)1.008s (~)0.138s601.06x
💻 LocalExpress0.966s (-3.3%)1.076s (-24.4% 🟢)0.110s561.17x
💻 LocalNitro0.983s (-4.1%)1.096s (-42.7% 🟢)0.112s551.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)10.067s (-1.8%)12.179s (+2.7%)2.112s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.990s (-1.7%)2.469s (-8.1% 🟢)0.479s371.00x
🐘 PostgresNitro2.110s (+7.5% 🔺)3.012s (+40.0% 🔺)0.902s301.06x
💻 LocalExpress2.980s (-1.1%)3.293s (-8.7% 🟢)0.313s281.50x
💻 LocalNitro3.018s (-2.3%)3.547s (-11.6% 🟢)0.529s261.52x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)33.137s (+10.2% 🔺)34.857s (+10.1% 🔺)1.720s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.980s (-1.9%)4.404s (-7.9% 🟢)0.424s281.00x
🐘 PostgresNitro4.305s (+7.1% 🔺)5.012s (+10.7% 🔺)0.707s241.08x
💻 LocalExpress9.017s (-1.4%)9.401s (-2.4%)0.384s132.27x
💻 LocalNitro9.211s (-2.2%)9.864s (-1.6%)0.653s132.31x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)83.803s (~)85.733s (~)1.930s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.282s (+1.4%)1.008s (~)0.726s601.00x
🐘 PostgresNitro0.299s (+9.6% 🔺)1.008s (~)0.709s601.06x
💻 LocalExpress0.591s (+1.7%)1.004s (~)0.413s602.10x
💻 LocalNitro0.602s (-11.9% 🟢)1.005s (-3.4%)0.403s602.13x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.982s (-0.6%)3.554s (-7.2% 🟢)1.572s181.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.493s (-1.0%)1.008s (~)0.515s901.00x
🐘 PostgresNitro0.517s (+5.7% 🔺)1.008s (~)0.491s901.05x
💻 LocalExpress2.507s (-1.8%)3.008s (~)0.502s305.09x
💻 LocalNitro2.541s (~)3.009s (~)0.468s305.16x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.745s (-17.5% 🟢)5.390s (-11.7% 🟢)1.645s171.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.800s (+1.1%)1.009s (~)0.208s1191.00x
🐘 PostgresNitro0.813s (+5.1% 🔺)1.019s (+1.1%)0.206s1181.02x
💻 LocalExpress11.134s (-0.6%)11.755s (-1.5%)0.621s1113.91x
💻 LocalNitro11.277s (-0.6%)11.938s (~)0.660s1114.09x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)31.620s (+281.9% 🔺)33.851s (+247.7% 🔺)2.231s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.201s (-7.9% 🟢)1.004s (~)0.012s (+5.4% 🔺)1.018s (~)0.818s101.00x
💻 LocalExpress0.201s (-0.9%)1.003s (~)0.011s (-5.0%)1.018s (~)0.817s101.00x
🐘 PostgresExpress0.203s (-0.6%)0.997s (~)0.002s (+7.1% 🔺)1.010s (~)0.807s101.01x
🐘 PostgresNitro0.229s (+9.8% 🔺)0.993s (~)0.002s (+33.3% 🔺)1.011s (~)0.782s101.14x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.584s (-20.9% 🟢)2.641s (-11.4% 🟢)0.679s (+0.9%)4.048s (-3.5%)2.463s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.641s (+6.2% 🔺)1.005s (~)0.003s (-20.0% 🟢)1.022s (~)0.381s591.00x
🐘 PostgresExpress0.673s (+9.2% 🔺)1.021s (+1.9%)0.006s (+53.2% 🔺)1.042s (+1.7%)0.369s591.05x
💻 LocalExpress0.719s (-0.7%)1.010s (~)0.009s (+6.7% 🔺)1.023s (~)0.304s591.12x
💻 LocalNitro0.723s (-4.9%)1.010s (~)0.008s (-14.7% 🟢)1.022s (~)0.299s591.13x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)5.245s (-10.7% 🟢)6.441s (-7.1% 🟢)0.237s (-44.1% 🟢)7.975s (+0.6%)2.730s81.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.960s (-1.7%)1.295s (+8.1% 🔺)0.000s (+Infinity% 🔺)1.313s (+6.2% 🔺)0.353s461.00x
🐘 PostgresNitro0.996s (+2.1%)1.271s (+9.1% 🔺)0.000s (+10.6% 🔺)1.286s (+8.3% 🔺)0.291s471.04x
💻 LocalExpress1.218s (-2.4%)2.019s (~)0.000s (+12.5% 🔺)2.022s (~)0.804s301.27x
💻 LocalNitro1.230s (-5.0% 🟢)2.021s (~)0.000s (-27.3% 🟢)2.023s (~)0.792s301.28x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.606s (+10.6% 🔺)5.067s (+22.9% 🔺)0.001s (+Infinity% 🔺)5.771s (+23.2% 🔺)2.165s121.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.764s (+0.8%)2.212s (+7.1% 🔺)0.000s (NaN%)2.225s (+5.8% 🔺)0.462s281.00x
🐘 PostgresNitro1.816s (+5.9% 🔺)2.137s (+1.8%)0.000s (+3.6%)2.173s (+2.9%)0.357s281.03x
💻 LocalExpress3.362s (-7.2% 🟢)4.036s (-1.5%)0.001s (+14.3% 🔺)4.039s (-1.5%)0.676s151.91x
💻 LocalNitro3.539s (-5.2% 🟢)4.100s (-3.2%)0.001s (-9.1% 🟢)4.103s (-3.2%)0.564s152.01x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)4.404s (-16.4% 🟢)5.573s (-10.4% 🟢)0.000s (NaN%)6.275s (-7.3% 🟢)1.872s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress15/21
🐘 PostgresExpress18/21
▲ VercelNext.js (Turbopack)21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 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 Apr 3, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
❌ ▲ Vercel Production856167924
✅ 💻 Local Development83001781008
✅ 📦 Local Production83001781008
✅ 🐘 Local Postgres83001781008
✅ 🪟 Windows760884
❌ 🌍 Community Worlds1326024216
✅ 📋 Other210042252
Total3764616754500

❌ Failed Tests

▲ Vercel Production (1 failed)

hono (1 failed):

🌍 Community Worlds (60 failed)

mongodb (3 failed):

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

redis (2 failed):

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

turso (55 failed):

  • addTenWorkflow | wrun_01KNADVMY2ADZDEFCAVK9GFP2A
  • addTenWorkflow | wrun_01KNADVMY2ADZDEFCAVK9GFP2A
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNADX14H32WY5D5CJ2CADA8M
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNADVVFJDNRM6X12EVWJSV8G
  • promiseRaceWorkflow | wrun_01KNADW1BC32ANVV4Q8D4ECZTN
  • promiseAnyWorkflow | wrun_01KNADW3NPZRBFYXVTAHQCB5CK
  • importedStepOnlyWorkflow | wrun_01KNADXC2W2SCG0JHBXK06KFJJ
  • hookWorkflow | wrun_01KNADWG9G090YSY7JQS01N5ZF
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNADWVHN163V38QHQKKWK0B1
  • webhookWorkflow | wrun_01KNADX4QB33YSPJDEND7JPJW6
  • sleepingWorkflow | wrun_01KNADXB43JBBDAC0R7H9954N4
  • parallelSleepWorkflow | wrun_01KNADXQYZ818ND9BCMQC1A6NV
  • nullByteWorkflow | wrun_01KNADXWFWP8HE86ZW6ZXXS82G
  • workflowAndStepMetadataWorkflow | wrun_01KNADXYQ1XAS5SFY8Y25NYCZR
  • fetchWorkflow | wrun_01KNAE0TSX9BEVE2TE3K8QN55W
  • promiseRaceStressTestWorkflow | wrun_01KNAE0YCQ9MHYK43W5W3YEPYM
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KNAE4DVCJGA7HBPA25N75BV7
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNAE53PD7WR0WEGJ3YGT1EED
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNAE5S7D1Y8R5JRR70BXM4CB
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNAE6CSNSZK568AD2W8FKQ07
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNAE6N9JKR3TTQ0H9KK9V4MA
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNAE6TNYJM1DW39VF128S7YC
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNAE6Y4M4MJMXV7WJ2VRGQZ3
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNAE7CZGEFBRCGNHRE54DZGT
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNAE7K3T10S1KWGHV2NJ0GPE
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNAE7RET49171P9BT30MBVBC
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNAE7Z5E3PBDFP4ADJN4BGS5
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNAE86ZC0DHK1BK2QFWPH010
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNAE8E8EQE2HHH8Z9X2PGQ0M
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNAE8NY2R31SYCR73JMRP3ES
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNAE91M28SWD0HC9K10WQ8A1
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNAE996QWR9JY6091FN739Z7
  • cancelRun - cancelling a running workflow | wrun_01KNAE9HQ1J0D1N9BHASS0VBR8
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNAE9TST5H50RKTH96V9VYC6
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNAEA6FJK5ECGCXTBPSVVP75
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNAEAXNWSV64N9SP0ZBVG87M
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNAEB806AYWDH4W1JBDM55YF
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNAEBEG302FHKPZA4W9QV5HG

Details by Category

❌ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro7707
✅ example7707
✅ express7707
✅ fastify7707
❌ hono7617
✅ nextjs-turbopack8202
✅ nextjs-webpack8202
✅ nitro7707
✅ nuxt7707
✅ sveltekit7707
✅ vite7707
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack7608
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev500
❌ mongodb5638
✅ redis-dev500
❌ redis5728
✅ turso-dev500
❌ turso4558
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable70014
✅ e2e-local-postgres-nest-stable70014
✅ e2e-local-prod-nest-stable70014

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

Use 24h past / 5min future instead of symmetric 5min threshold. This
supports resilient start where queue retry delays (up to 24h via VQS)
can cause run_created timestamps to be far in the past, while keeping
future timestamps tight to prevent abuse.
Extracted from #1537.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>

@TooTallNateTooTallNate left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Clean extraction from #1537. The asymmetric threshold logic is correct, the backwards-compat alias is properly deprecated, all three callers use default args so the signature change is safe, and the tests cover the boundary conditions well.

One trivial nit (non-blocking): DEFAULT_TIMESTAMP_THRESHOLD_MS is imported but unused in storage.test.ts (line 7). The tests now use hardcoded values (25h, 10min, 4min) instead of referencing the constant. You could either remove the dead import or use the new constants in the test assertions for self-documenting tests.

LGTM.

@VaguelySerious
VaguelySerious merged commit b30b0dc into mainApr 3, 2026
99 of 103 checks passed
@VaguelySerious
VaguelySerious deleted the peter/asymmetric-ulid-thresholds branch April 3, 2026 19:54
This was referenced Apr 3, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

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

[world] Asymmetric ULID timestamp validation thresholds - #1605

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/asymmetric-ulid-thresholds
Apr 3, 2026
Merged

[world] Asymmetric ULID timestamp validation thresholds#1605
VaguelySerious merged 1 commit into
mainfrom
peter/asymmetric-ulid-thresholds

Conversation

@VaguelySerious

@VaguelySeriousVaguelySerious commented Apr 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Extracted from [core] [world] Lazy run creation on start #1537
  • Changes ULID timestamp validation from a symmetric 5-minute threshold to asymmetric thresholds: 24 hours in the past and 5 minutes in the future
  • The past threshold supports resilient start where VQS delayed messages (up to 24h) can cause run_created timestamps to lag significantly
  • The future threshold stays tight to prevent abuse from client-generated ULIDs with manipulated timestamps while tolerating clock skew

Test plan

  • custom runId validation tests pass in world-local (8/8 passing)
  • CI checks pass

🤖 Generated with Claude Code

@VaguelySerious
VaguelySerious requested a review from a team as a code ownerApril 3, 2026 19:28
@vercel

vercelBot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

changeset-botBot commented Apr 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6fe7f08

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

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

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

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

@github-actions

github-actionsBot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.042s (-3.5%)1.005s (~)0.963s101.00x
💻 LocalNitro0.043s (-15.9% 🟢)1.005s (~)0.962s101.05x
🐘 PostgresExpress0.060s (-9.8% 🟢)1.010s (~)0.950s101.45x
🐘 PostgresNitro0.063s (+9.9% 🔺)1.011s (~)0.948s101.52x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.548s (-14.7% 🟢)2.778s (+13.8% 🔺)2.230s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.131s (-1.0%)2.005s (~)0.875s101.00x
💻 LocalExpress1.134s (~)2.006s (~)0.873s101.00x
🐘 PostgresExpress1.149s (+0.5%)2.011s (~)0.863s101.02x
🐘 PostgresNitro1.153s (~)2.012s (~)0.860s101.02x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.333s (+2.9%)3.883s (+8.4% 🔺)1.550s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.888s (~)11.022s (~)0.134s31.00x
💻 LocalExpress10.911s (~)11.023s (~)0.112s31.00x
🐘 PostgresNitro10.921s (~)11.026s (~)0.105s31.00x
💻 LocalNitro10.936s (-0.7%)11.023s (-2.9%)0.088s31.00x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)17.453s (-4.9%)19.447s (-3.2%)1.994s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express14.547s (-0.5%)15.023s (~)0.476s41.00x
🐘 PostgresNitro14.666s (+1.1%)15.025s (~)0.359s41.01x
💻 LocalExpress14.869s (-0.6%)15.028s (~)0.159s41.02x
💻 LocalNitro15.015s (-1.3%)15.281s (-4.7%)0.265s41.03x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)33.276s (-1.4%)35.166s (-0.6%)1.890s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.993s (~)14.450s (~)0.457s71.00x
🐘 PostgresNitro14.178s (+1.2%)15.026s (+2.9%)0.848s61.01x
💻 LocalExpress16.490s (-1.2%)17.031s (~)0.541s61.18x
💻 LocalNitro16.755s (-2.4%)17.031s (-5.6% 🟢)0.277s61.20x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)53.480s (-1.8%)56.144s (+1.3%)2.665s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.269s (+0.7%)2.013s (~)0.744s151.00x
🐘 PostgresExpress1.282s (+1.1%)2.011s (~)0.730s151.01x
💻 LocalNitro1.510s (-3.6%)2.006s (~)0.495s151.19x
💻 LocalExpress1.516s (-1.6%)2.006s (~)0.490s151.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.523s (-9.4% 🟢)4.474s (+15.1% 🔺)1.951s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.331s (~)3.011s (~)0.679s101.00x
🐘 PostgresNitro2.359s (+1.4%)3.012s (~)0.654s101.01x
💻 LocalNitro2.961s (-5.1% 🟢)3.208s (-17.4% 🟢)0.247s101.27x
💻 LocalExpress3.123s (~)3.759s (-6.2% 🟢)0.637s81.34x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.413s (+9.7% 🔺)5.619s (+24.1% 🔺)2.207s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.454s (~)4.010s (~)0.556s81.00x
🐘 PostgresNitro3.502s (+0.8%)4.011s (~)0.509s81.01x
💻 LocalNitro8.370s (~)8.771s (-2.8%)0.401s42.42x
💻 LocalExpress8.371s (+2.7%)9.021s (~)0.650s42.42x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.363s (-18.8% 🟢)5.338s (-7.0% 🟢)1.975s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.265s (+0.6%)2.009s (~)0.744s151.00x
🐘 PostgresExpress1.266s (~)2.009s (~)0.743s151.00x
💻 LocalNitro1.536s (-1.9%)2.006s (~)0.469s151.21x
💻 LocalExpress1.552s (+0.6%)2.006s (~)0.453s151.23x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.483s (+10.6% 🔺)4.162s (+15.6% 🔺)1.679s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.348s (~)3.010s (~)0.661s101.00x
🐘 PostgresNitro2.349s (+1.1%)3.012s (~)0.664s101.00x
💻 LocalExpress2.907s (-6.5% 🟢)3.454s (-11.1% 🟢)0.547s91.24x
💻 LocalNitro3.122s (-2.9%)3.885s (~)0.763s81.33x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.541s (-12.8% 🟢)4.115s (+3.0%)1.574s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.486s (~)4.012s (~)0.526s81.00x
🐘 PostgresNitro3.488s (+0.8%)4.012s (~)0.524s81.00x
💻 LocalExpress8.474s (-5.9% 🟢)9.023s (-5.3% 🟢)0.549s42.43x
💻 LocalNitro8.716s (-2.6%)9.024s (-2.7%)0.308s42.50x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.123s (-15.1% 🟢)5.054s (-1.5%)1.931s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.823s (-3.3%)1.024s (+1.6%)0.201s591.00x
🐘 PostgresNitro0.870s (+5.2% 🔺)1.008s (~)0.138s601.06x
💻 LocalExpress0.966s (-3.3%)1.076s (-24.4% 🟢)0.110s561.17x
💻 LocalNitro0.983s (-4.1%)1.096s (-42.7% 🟢)0.112s551.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)10.067s (-1.8%)12.179s (+2.7%)2.112s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.990s (-1.7%)2.469s (-8.1% 🟢)0.479s371.00x
🐘 PostgresNitro2.110s (+7.5% 🔺)3.012s (+40.0% 🔺)0.902s301.06x
💻 LocalExpress2.980s (-1.1%)3.293s (-8.7% 🟢)0.313s281.50x
💻 LocalNitro3.018s (-2.3%)3.547s (-11.6% 🟢)0.529s261.52x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)33.137s (+10.2% 🔺)34.857s (+10.1% 🔺)1.720s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.980s (-1.9%)4.404s (-7.9% 🟢)0.424s281.00x
🐘 PostgresNitro4.305s (+7.1% 🔺)5.012s (+10.7% 🔺)0.707s241.08x
💻 LocalExpress9.017s (-1.4%)9.401s (-2.4%)0.384s132.27x
💻 LocalNitro9.211s (-2.2%)9.864s (-1.6%)0.653s132.31x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)83.803s (~)85.733s (~)1.930s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.282s (+1.4%)1.008s (~)0.726s601.00x
🐘 PostgresNitro0.299s (+9.6% 🔺)1.008s (~)0.709s601.06x
💻 LocalExpress0.591s (+1.7%)1.004s (~)0.413s602.10x
💻 LocalNitro0.602s (-11.9% 🟢)1.005s (-3.4%)0.403s602.13x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.982s (-0.6%)3.554s (-7.2% 🟢)1.572s181.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.493s (-1.0%)1.008s (~)0.515s901.00x
🐘 PostgresNitro0.517s (+5.7% 🔺)1.008s (~)0.491s901.05x
💻 LocalExpress2.507s (-1.8%)3.008s (~)0.502s305.09x
💻 LocalNitro2.541s (~)3.009s (~)0.468s305.16x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.745s (-17.5% 🟢)5.390s (-11.7% 🟢)1.645s171.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.800s (+1.1%)1.009s (~)0.208s1191.00x
🐘 PostgresNitro0.813s (+5.1% 🔺)1.019s (+1.1%)0.206s1181.02x
💻 LocalExpress11.134s (-0.6%)11.755s (-1.5%)0.621s1113.91x
💻 LocalNitro11.277s (-0.6%)11.938s (~)0.660s1114.09x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)31.620s (+281.9% 🔺)33.851s (+247.7% 🔺)2.231s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.201s (-7.9% 🟢)1.004s (~)0.012s (+5.4% 🔺)1.018s (~)0.818s101.00x
💻 LocalExpress0.201s (-0.9%)1.003s (~)0.011s (-5.0%)1.018s (~)0.817s101.00x
🐘 PostgresExpress0.203s (-0.6%)0.997s (~)0.002s (+7.1% 🔺)1.010s (~)0.807s101.01x
🐘 PostgresNitro0.229s (+9.8% 🔺)0.993s (~)0.002s (+33.3% 🔺)1.011s (~)0.782s101.14x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.584s (-20.9% 🟢)2.641s (-11.4% 🟢)0.679s (+0.9%)4.048s (-3.5%)2.463s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.641s (+6.2% 🔺)1.005s (~)0.003s (-20.0% 🟢)1.022s (~)0.381s591.00x
🐘 PostgresExpress0.673s (+9.2% 🔺)1.021s (+1.9%)0.006s (+53.2% 🔺)1.042s (+1.7%)0.369s591.05x
💻 LocalExpress0.719s (-0.7%)1.010s (~)0.009s (+6.7% 🔺)1.023s (~)0.304s591.12x
💻 LocalNitro0.723s (-4.9%)1.010s (~)0.008s (-14.7% 🟢)1.022s (~)0.299s591.13x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)5.245s (-10.7% 🟢)6.441s (-7.1% 🟢)0.237s (-44.1% 🟢)7.975s (+0.6%)2.730s81.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.960s (-1.7%)1.295s (+8.1% 🔺)0.000s (+Infinity% 🔺)1.313s (+6.2% 🔺)0.353s461.00x
🐘 PostgresNitro0.996s (+2.1%)1.271s (+9.1% 🔺)0.000s (+10.6% 🔺)1.286s (+8.3% 🔺)0.291s471.04x
💻 LocalExpress1.218s (-2.4%)2.019s (~)0.000s (+12.5% 🔺)2.022s (~)0.804s301.27x
💻 LocalNitro1.230s (-5.0% 🟢)2.021s (~)0.000s (-27.3% 🟢)2.023s (~)0.792s301.28x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.606s (+10.6% 🔺)5.067s (+22.9% 🔺)0.001s (+Infinity% 🔺)5.771s (+23.2% 🔺)2.165s121.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.764s (+0.8%)2.212s (+7.1% 🔺)0.000s (NaN%)2.225s (+5.8% 🔺)0.462s281.00x
🐘 PostgresNitro1.816s (+5.9% 🔺)2.137s (+1.8%)0.000s (+3.6%)2.173s (+2.9%)0.357s281.03x
💻 LocalExpress3.362s (-7.2% 🟢)4.036s (-1.5%)0.001s (+14.3% 🔺)4.039s (-1.5%)0.676s151.91x
💻 LocalNitro3.539s (-5.2% 🟢)4.100s (-3.2%)0.001s (-9.1% 🟢)4.103s (-3.2%)0.564s152.01x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)4.404s (-16.4% 🟢)5.573s (-10.4% 🟢)0.000s (NaN%)6.275s (-7.3% 🟢)1.872s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress15/21
🐘 PostgresExpress18/21
▲ VercelNext.js (Turbopack)21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 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 Apr 3, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
❌ ▲ Vercel Production856167924
✅ 💻 Local Development83001781008
✅ 📦 Local Production83001781008
✅ 🐘 Local Postgres83001781008
✅ 🪟 Windows760884
❌ 🌍 Community Worlds1326024216
✅ 📋 Other210042252
Total3764616754500

❌ Failed Tests

▲ Vercel Production (1 failed)

hono (1 failed):

🌍 Community Worlds (60 failed)

mongodb (3 failed):

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

redis (2 failed):

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

turso (55 failed):

  • addTenWorkflow | wrun_01KNADVMY2ADZDEFCAVK9GFP2A
  • addTenWorkflow | wrun_01KNADVMY2ADZDEFCAVK9GFP2A
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNADX14H32WY5D5CJ2CADA8M
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNADVVFJDNRM6X12EVWJSV8G
  • promiseRaceWorkflow | wrun_01KNADW1BC32ANVV4Q8D4ECZTN
  • promiseAnyWorkflow | wrun_01KNADW3NPZRBFYXVTAHQCB5CK
  • importedStepOnlyWorkflow | wrun_01KNADXC2W2SCG0JHBXK06KFJJ
  • hookWorkflow | wrun_01KNADWG9G090YSY7JQS01N5ZF
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNADWVHN163V38QHQKKWK0B1
  • webhookWorkflow | wrun_01KNADX4QB33YSPJDEND7JPJW6
  • sleepingWorkflow | wrun_01KNADXB43JBBDAC0R7H9954N4
  • parallelSleepWorkflow | wrun_01KNADXQYZ818ND9BCMQC1A6NV
  • nullByteWorkflow | wrun_01KNADXWFWP8HE86ZW6ZXXS82G
  • workflowAndStepMetadataWorkflow | wrun_01KNADXYQ1XAS5SFY8Y25NYCZR
  • fetchWorkflow | wrun_01KNAE0TSX9BEVE2TE3K8QN55W
  • promiseRaceStressTestWorkflow | wrun_01KNAE0YCQ9MHYK43W5W3YEPYM
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KNAE4DVCJGA7HBPA25N75BV7
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNAE53PD7WR0WEGJ3YGT1EED
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNAE5S7D1Y8R5JRR70BXM4CB
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNAE6CSNSZK568AD2W8FKQ07
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNAE6N9JKR3TTQ0H9KK9V4MA
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNAE6TNYJM1DW39VF128S7YC
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNAE6Y4M4MJMXV7WJ2VRGQZ3
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNAE7CZGEFBRCGNHRE54DZGT
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNAE7K3T10S1KWGHV2NJ0GPE
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNAE7RET49171P9BT30MBVBC
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNAE7Z5E3PBDFP4ADJN4BGS5
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNAE86ZC0DHK1BK2QFWPH010
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNAE8E8EQE2HHH8Z9X2PGQ0M
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNAE8NY2R31SYCR73JMRP3ES
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNAE91M28SWD0HC9K10WQ8A1
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNAE996QWR9JY6091FN739Z7
  • cancelRun - cancelling a running workflow | wrun_01KNAE9HQ1J0D1N9BHASS0VBR8
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNAE9TST5H50RKTH96V9VYC6
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNAEA6FJK5ECGCXTBPSVVP75
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNAEAXNWSV64N9SP0ZBVG87M
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNAEB806AYWDH4W1JBDM55YF
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNAEBEG302FHKPZA4W9QV5HG

Details by Category

❌ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro7707
✅ example7707
✅ express7707
✅ fastify7707
❌ hono7617
✅ nextjs-turbopack8202
✅ nextjs-webpack8202
✅ nitro7707
✅ nuxt7707
✅ sveltekit7707
✅ vite7707
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack7608
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev500
❌ mongodb5638
✅ redis-dev500
❌ redis5728
✅ turso-dev500
❌ turso4558
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable70014
✅ e2e-local-postgres-nest-stable70014
✅ e2e-local-prod-nest-stable70014

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

Use 24h past / 5min future instead of symmetric 5min threshold. This
supports resilient start where queue retry delays (up to 24h via VQS)
can cause run_created timestamps to be far in the past, while keeping
future timestamps tight to prevent abuse.
Extracted from #1537.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>

@TooTallNateTooTallNate left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Clean extraction from #1537. The asymmetric threshold logic is correct, the backwards-compat alias is properly deprecated, all three callers use default args so the signature change is safe, and the tests cover the boundary conditions well.

One trivial nit (non-blocking): DEFAULT_TIMESTAMP_THRESHOLD_MS is imported but unused in storage.test.ts (line 7). The tests now use hardcoded values (25h, 10min, 4min) instead of referencing the constant. You could either remove the dead import or use the new constants in the test assertions for self-documenting tests.

LGTM.

@VaguelySerious
VaguelySerious merged commit b30b0dc into mainApr 3, 2026
99 of 103 checks passed
@VaguelySerious
VaguelySerious deleted the peter/asymmetric-ulid-thresholds branch April 3, 2026 19:54
This was referenced Apr 3, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

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

[world] Asymmetric ULID timestamp validation thresholds - #1605

Merged
VaguelySerious merged 1 commit into
mainfrom
peter/asymmetric-ulid-thresholds
Apr 3, 2026
Merged

[world] Asymmetric ULID timestamp validation thresholds#1605
VaguelySerious merged 1 commit into
mainfrom
peter/asymmetric-ulid-thresholds

Conversation

@VaguelySerious

@VaguelySeriousVaguelySerious commented Apr 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Extracted from [core] [world] Lazy run creation on start #1537
  • Changes ULID timestamp validation from a symmetric 5-minute threshold to asymmetric thresholds: 24 hours in the past and 5 minutes in the future
  • The past threshold supports resilient start where VQS delayed messages (up to 24h) can cause run_created timestamps to lag significantly
  • The future threshold stays tight to prevent abuse from client-generated ULIDs with manipulated timestamps while tolerating clock skew

Test plan

  • custom runId validation tests pass in world-local (8/8 passing)
  • CI checks pass

🤖 Generated with Claude Code

@VaguelySerious
VaguelySerious requested a review from a team as a code ownerApril 3, 2026 19:28
@vercel

vercelBot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

@changeset-bot

changeset-botBot commented Apr 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6fe7f08

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

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

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

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

@github-actions

github-actionsBot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.042s (-3.5%)1.005s (~)0.963s101.00x
💻 LocalNitro0.043s (-15.9% 🟢)1.005s (~)0.962s101.05x
🐘 PostgresExpress0.060s (-9.8% 🟢)1.010s (~)0.950s101.45x
🐘 PostgresNitro0.063s (+9.9% 🔺)1.011s (~)0.948s101.52x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)0.548s (-14.7% 🟢)2.778s (+13.8% 🔺)2.230s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.131s (-1.0%)2.005s (~)0.875s101.00x
💻 LocalExpress1.134s (~)2.006s (~)0.873s101.00x
🐘 PostgresExpress1.149s (+0.5%)2.011s (~)0.863s101.02x
🐘 PostgresNitro1.153s (~)2.012s (~)0.860s101.02x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.333s (+2.9%)3.883s (+8.4% 🔺)1.550s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.888s (~)11.022s (~)0.134s31.00x
💻 LocalExpress10.911s (~)11.023s (~)0.112s31.00x
🐘 PostgresNitro10.921s (~)11.026s (~)0.105s31.00x
💻 LocalNitro10.936s (-0.7%)11.023s (-2.9%)0.088s31.00x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)17.453s (-4.9%)19.447s (-3.2%)1.994s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express14.547s (-0.5%)15.023s (~)0.476s41.00x
🐘 PostgresNitro14.666s (+1.1%)15.025s (~)0.359s41.01x
💻 LocalExpress14.869s (-0.6%)15.028s (~)0.159s41.02x
💻 LocalNitro15.015s (-1.3%)15.281s (-4.7%)0.265s41.03x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)33.276s (-1.4%)35.166s (-0.6%)1.890s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.993s (~)14.450s (~)0.457s71.00x
🐘 PostgresNitro14.178s (+1.2%)15.026s (+2.9%)0.848s61.01x
💻 LocalExpress16.490s (-1.2%)17.031s (~)0.541s61.18x
💻 LocalNitro16.755s (-2.4%)17.031s (-5.6% 🟢)0.277s61.20x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)53.480s (-1.8%)56.144s (+1.3%)2.665s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.269s (+0.7%)2.013s (~)0.744s151.00x
🐘 PostgresExpress1.282s (+1.1%)2.011s (~)0.730s151.01x
💻 LocalNitro1.510s (-3.6%)2.006s (~)0.495s151.19x
💻 LocalExpress1.516s (-1.6%)2.006s (~)0.490s151.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.523s (-9.4% 🟢)4.474s (+15.1% 🔺)1.951s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.331s (~)3.011s (~)0.679s101.00x
🐘 PostgresNitro2.359s (+1.4%)3.012s (~)0.654s101.01x
💻 LocalNitro2.961s (-5.1% 🟢)3.208s (-17.4% 🟢)0.247s101.27x
💻 LocalExpress3.123s (~)3.759s (-6.2% 🟢)0.637s81.34x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.413s (+9.7% 🔺)5.619s (+24.1% 🔺)2.207s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.454s (~)4.010s (~)0.556s81.00x
🐘 PostgresNitro3.502s (+0.8%)4.011s (~)0.509s81.01x
💻 LocalNitro8.370s (~)8.771s (-2.8%)0.401s42.42x
💻 LocalExpress8.371s (+2.7%)9.021s (~)0.650s42.42x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.363s (-18.8% 🟢)5.338s (-7.0% 🟢)1.975s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.265s (+0.6%)2.009s (~)0.744s151.00x
🐘 PostgresExpress1.266s (~)2.009s (~)0.743s151.00x
💻 LocalNitro1.536s (-1.9%)2.006s (~)0.469s151.21x
💻 LocalExpress1.552s (+0.6%)2.006s (~)0.453s151.23x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.483s (+10.6% 🔺)4.162s (+15.6% 🔺)1.679s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.348s (~)3.010s (~)0.661s101.00x
🐘 PostgresNitro2.349s (+1.1%)3.012s (~)0.664s101.00x
💻 LocalExpress2.907s (-6.5% 🟢)3.454s (-11.1% 🟢)0.547s91.24x
💻 LocalNitro3.122s (-2.9%)3.885s (~)0.763s81.33x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.541s (-12.8% 🟢)4.115s (+3.0%)1.574s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.486s (~)4.012s (~)0.526s81.00x
🐘 PostgresNitro3.488s (+0.8%)4.012s (~)0.524s81.00x
💻 LocalExpress8.474s (-5.9% 🟢)9.023s (-5.3% 🟢)0.549s42.43x
💻 LocalNitro8.716s (-2.6%)9.024s (-2.7%)0.308s42.50x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.123s (-15.1% 🟢)5.054s (-1.5%)1.931s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.823s (-3.3%)1.024s (+1.6%)0.201s591.00x
🐘 PostgresNitro0.870s (+5.2% 🔺)1.008s (~)0.138s601.06x
💻 LocalExpress0.966s (-3.3%)1.076s (-24.4% 🟢)0.110s561.17x
💻 LocalNitro0.983s (-4.1%)1.096s (-42.7% 🟢)0.112s551.19x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)10.067s (-1.8%)12.179s (+2.7%)2.112s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.990s (-1.7%)2.469s (-8.1% 🟢)0.479s371.00x
🐘 PostgresNitro2.110s (+7.5% 🔺)3.012s (+40.0% 🔺)0.902s301.06x
💻 LocalExpress2.980s (-1.1%)3.293s (-8.7% 🟢)0.313s281.50x
💻 LocalNitro3.018s (-2.3%)3.547s (-11.6% 🟢)0.529s261.52x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)33.137s (+10.2% 🔺)34.857s (+10.1% 🔺)1.720s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.980s (-1.9%)4.404s (-7.9% 🟢)0.424s281.00x
🐘 PostgresNitro4.305s (+7.1% 🔺)5.012s (+10.7% 🔺)0.707s241.08x
💻 LocalExpress9.017s (-1.4%)9.401s (-2.4%)0.384s132.27x
💻 LocalNitro9.211s (-2.2%)9.864s (-1.6%)0.653s132.31x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)83.803s (~)85.733s (~)1.930s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.282s (+1.4%)1.008s (~)0.726s601.00x
🐘 PostgresNitro0.299s (+9.6% 🔺)1.008s (~)0.709s601.06x
💻 LocalExpress0.591s (+1.7%)1.004s (~)0.413s602.10x
💻 LocalNitro0.602s (-11.9% 🟢)1.005s (-3.4%)0.403s602.13x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.982s (-0.6%)3.554s (-7.2% 🟢)1.572s181.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.493s (-1.0%)1.008s (~)0.515s901.00x
🐘 PostgresNitro0.517s (+5.7% 🔺)1.008s (~)0.491s901.05x
💻 LocalExpress2.507s (-1.8%)3.008s (~)0.502s305.09x
💻 LocalNitro2.541s (~)3.009s (~)0.468s305.16x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.745s (-17.5% 🟢)5.390s (-11.7% 🟢)1.645s171.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.800s (+1.1%)1.009s (~)0.208s1191.00x
🐘 PostgresNitro0.813s (+5.1% 🔺)1.019s (+1.1%)0.206s1181.02x
💻 LocalExpress11.134s (-0.6%)11.755s (-1.5%)0.621s1113.91x
💻 LocalNitro11.277s (-0.6%)11.938s (~)0.660s1114.09x
💻 LocalNext.js (Turbopack)⚠️missing----
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)31.620s (+281.9% 🔺)33.851s (+247.7% 🔺)2.231s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNitro⚠️missing----

🔍 Observability: Next.js (Turbopack)

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.201s (-7.9% 🟢)1.004s (~)0.012s (+5.4% 🔺)1.018s (~)0.818s101.00x
💻 LocalExpress0.201s (-0.9%)1.003s (~)0.011s (-5.0%)1.018s (~)0.817s101.00x
🐘 PostgresExpress0.203s (-0.6%)0.997s (~)0.002s (+7.1% 🔺)1.010s (~)0.807s101.01x
🐘 PostgresNitro0.229s (+9.8% 🔺)0.993s (~)0.002s (+33.3% 🔺)1.011s (~)0.782s101.14x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.584s (-20.9% 🟢)2.641s (-11.4% 🟢)0.679s (+0.9%)4.048s (-3.5%)2.463s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.641s (+6.2% 🔺)1.005s (~)0.003s (-20.0% 🟢)1.022s (~)0.381s591.00x
🐘 PostgresExpress0.673s (+9.2% 🔺)1.021s (+1.9%)0.006s (+53.2% 🔺)1.042s (+1.7%)0.369s591.05x
💻 LocalExpress0.719s (-0.7%)1.010s (~)0.009s (+6.7% 🔺)1.023s (~)0.304s591.12x
💻 LocalNitro0.723s (-4.9%)1.010s (~)0.008s (-14.7% 🟢)1.022s (~)0.299s591.13x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)5.245s (-10.7% 🟢)6.441s (-7.1% 🟢)0.237s (-44.1% 🟢)7.975s (+0.6%)2.730s81.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.960s (-1.7%)1.295s (+8.1% 🔺)0.000s (+Infinity% 🔺)1.313s (+6.2% 🔺)0.353s461.00x
🐘 PostgresNitro0.996s (+2.1%)1.271s (+9.1% 🔺)0.000s (+10.6% 🔺)1.286s (+8.3% 🔺)0.291s471.04x
💻 LocalExpress1.218s (-2.4%)2.019s (~)0.000s (+12.5% 🔺)2.022s (~)0.804s301.27x
💻 LocalNitro1.230s (-5.0% 🟢)2.021s (~)0.000s (-27.3% 🟢)2.023s (~)0.792s301.28x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)3.606s (+10.6% 🔺)5.067s (+22.9% 🔺)0.001s (+Infinity% 🔺)5.771s (+23.2% 🔺)2.165s121.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.764s (+0.8%)2.212s (+7.1% 🔺)0.000s (NaN%)2.225s (+5.8% 🔺)0.462s281.00x
🐘 PostgresNitro1.816s (+5.9% 🔺)2.137s (+1.8%)0.000s (+3.6%)2.173s (+2.9%)0.357s281.03x
💻 LocalExpress3.362s (-7.2% 🟢)4.036s (-1.5%)0.001s (+14.3% 🔺)4.039s (-1.5%)0.676s151.91x
💻 LocalNitro3.539s (-5.2% 🟢)4.100s (-3.2%)0.001s (-9.1% 🟢)4.103s (-3.2%)0.564s152.01x
💻 LocalNext.js (Turbopack)⚠️missing-----
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)4.404s (-16.4% 🟢)5.573s (-10.4% 🟢)0.000s (NaN%)6.275s (-7.3% 🟢)1.872s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNitro⚠️missing-----

🔍 Observability: Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress15/21
🐘 PostgresExpress18/21
▲ VercelNext.js (Turbopack)21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 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 Apr 3, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
❌ ▲ Vercel Production856167924
✅ 💻 Local Development83001781008
✅ 📦 Local Production83001781008
✅ 🐘 Local Postgres83001781008
✅ 🪟 Windows760884
❌ 🌍 Community Worlds1326024216
✅ 📋 Other210042252
Total3764616754500

❌ Failed Tests

▲ Vercel Production (1 failed)

hono (1 failed):

🌍 Community Worlds (60 failed)

mongodb (3 failed):

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

redis (2 failed):

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

turso (55 failed):

  • addTenWorkflow | wrun_01KNADVMY2ADZDEFCAVK9GFP2A
  • addTenWorkflow | wrun_01KNADVMY2ADZDEFCAVK9GFP2A
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNADX14H32WY5D5CJ2CADA8M
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNADVVFJDNRM6X12EVWJSV8G
  • promiseRaceWorkflow | wrun_01KNADW1BC32ANVV4Q8D4ECZTN
  • promiseAnyWorkflow | wrun_01KNADW3NPZRBFYXVTAHQCB5CK
  • importedStepOnlyWorkflow | wrun_01KNADXC2W2SCG0JHBXK06KFJJ
  • hookWorkflow | wrun_01KNADWG9G090YSY7JQS01N5ZF
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNADWVHN163V38QHQKKWK0B1
  • webhookWorkflow | wrun_01KNADX4QB33YSPJDEND7JPJW6
  • sleepingWorkflow | wrun_01KNADXB43JBBDAC0R7H9954N4
  • parallelSleepWorkflow | wrun_01KNADXQYZ818ND9BCMQC1A6NV
  • nullByteWorkflow | wrun_01KNADXWFWP8HE86ZW6ZXXS82G
  • workflowAndStepMetadataWorkflow | wrun_01KNADXYQ1XAS5SFY8Y25NYCZR
  • fetchWorkflow | wrun_01KNAE0TSX9BEVE2TE3K8QN55W
  • promiseRaceStressTestWorkflow | wrun_01KNAE0YCQ9MHYK43W5W3YEPYM
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KNAE4DVCJGA7HBPA25N75BV7
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNAE53PD7WR0WEGJ3YGT1EED
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNAE5S7D1Y8R5JRR70BXM4CB
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNAE6CSNSZK568AD2W8FKQ07
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNAE6N9JKR3TTQ0H9KK9V4MA
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNAE6TNYJM1DW39VF128S7YC
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNAE6Y4M4MJMXV7WJ2VRGQZ3
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNAE7CZGEFBRCGNHRE54DZGT
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNAE7K3T10S1KWGHV2NJ0GPE
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNAE7RET49171P9BT30MBVBC
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNAE7Z5E3PBDFP4ADJN4BGS5
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNAE86ZC0DHK1BK2QFWPH010
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNAE8E8EQE2HHH8Z9X2PGQ0M
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNAE8NY2R31SYCR73JMRP3ES
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNAE91M28SWD0HC9K10WQ8A1
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNAE996QWR9JY6091FN739Z7
  • cancelRun - cancelling a running workflow | wrun_01KNAE9HQ1J0D1N9BHASS0VBR8
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNAE9TST5H50RKTH96V9VYC6
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNAEA6FJK5ECGCXTBPSVVP75
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNAEAXNWSV64N9SP0ZBVG87M
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNAEB806AYWDH4W1JBDM55YF
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNAEBEG302FHKPZA4W9QV5HG

Details by Category

❌ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro7707
✅ example7707
✅ express7707
✅ fastify7707
❌ hono7617
✅ nextjs-turbopack8202
✅ nextjs-webpack8202
✅ nitro7707
✅ nuxt7707
✅ sveltekit7707
✅ vite7707
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable70014
✅ express-stable70014
✅ fastify-stable70014
✅ hono-stable70014
✅ nextjs-turbopack-canary59025
✅ nextjs-turbopack-stable7608
✅ nextjs-webpack-canary59025
✅ nextjs-webpack-stable7608
✅ nitro-stable70014
✅ nuxt-stable70014
✅ sveltekit-stable70014
✅ vite-stable70014
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack7608
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev500
❌ mongodb5638
✅ redis-dev500
❌ redis5728
✅ turso-dev500
❌ turso4558
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable70014
✅ e2e-local-postgres-nest-stable70014
✅ e2e-local-prod-nest-stable70014

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

Use 24h past / 5min future instead of symmetric 5min threshold. This
supports resilient start where queue retry delays (up to 24h via VQS)
can cause run_created timestamps to be far in the past, while keeping
future timestamps tight to prevent abuse.
Extracted from #1537.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Peter Wielander <mittgfu@gmail.com>

@TooTallNateTooTallNate left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Clean extraction from #1537. The asymmetric threshold logic is correct, the backwards-compat alias is properly deprecated, all three callers use default args so the signature change is safe, and the tests cover the boundary conditions well.

One trivial nit (non-blocking): DEFAULT_TIMESTAMP_THRESHOLD_MS is imported but unused in storage.test.ts (line 7). The tests now use hardcoded values (25h, 10min, 4min) instead of referencing the constant. You could either remove the dead import or use the new constants in the test assertions for self-documenting tests.

LGTM.

@VaguelySerious
VaguelySerious merged commit b30b0dc into mainApr 3, 2026
99 of 103 checks passed
@VaguelySerious
VaguelySerious deleted the peter/asymmetric-ulid-thresholds branch April 3, 2026 19:54
This was referenced Apr 3, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@VaguelySerious@TooTallNate