Skip to content

Send occurredAt with workflow events - #2580

Merged
karthikscale3 merged 3 commits into
mainfrom
kk/send-event-occurred-at
Jun 23, 2026
Merged

Send occurredAt with workflow events#2580
karthikscale3 merged 3 commits into
mainfrom
kk/send-event-occurred-at

Conversation

@karthikscale3

Copy link
Copy Markdown
Contributor

Summary

  • add optional occurredAt metadata to the shared world event creation contract and event schema
  • send occurredAt through world-vercel v4 event frame metadata, defaulting to the client-side post time
  • preserve occurredAt on returned v4 events and keep world-postgres schema typing compatible until it persists the field

Validation

  • pnpm --filter @workflow/world build
  • pnpm --filter @workflow/world-vercel test -- events.test.ts
  • pnpm --filter @workflow/world-vercel typecheck
  • pnpm --filter @workflow/world-postgres typecheck
  • pnpm biome check .changeset/send-event-occurred-at.md packages/world/src/events.ts packages/world-vercel/src/events-v4.ts packages/world-vercel/src/events.ts packages/world-vercel/src/events.test.ts packages/world-postgres/src/drizzle/schema.ts
  • pnpm changeset status --since=origin/main

@changeset-bot

changeset-botBot commented Jun 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c8dd67e

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-vercelPatch
@workflow/world-postgresPatch
@workflow/cliPatch
@workflow/corePatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
@workflow/world-localPatch
@workflow/world-testingPatch
workflowPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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

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

@vercel

vercelBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.046s (-2.1%)1.006s (~)0.960s101.00x
💻 LocalExpress0.046s (-3.7%)1.006s (-0.7%)0.960s101.02x
💻 LocalNext.js (Turbopack)0.052s (+6.1% 🔺)1.006s (~)0.953s101.15x
🐘 PostgresNext.js (Turbopack)0.056s (-4.1%)1.012s (~)0.956s101.23x
🐘 PostgresNitro0.063s (-14.3% 🟢)1.011s (~)0.948s101.37x
🐘 PostgresExpress0.067s (+6.5% 🔺)1.012s (~)0.945s101.47x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.485s (+49.3% 🔺)2.428s (-1.9%)1.944s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.075s (~)2.007s (~)0.932s101.00x
💻 LocalNitro1.081s (~)2.006s (~)0.925s101.01x
💻 LocalNext.js (Turbopack)1.082s (~)2.006s (~)0.924s101.01x
🐘 PostgresNitro1.089s (-0.7%)2.009s (~)0.921s101.01x
🐘 PostgresNext.js (Turbopack)1.095s (~)2.010s (~)0.915s101.02x
🐘 PostgresExpress1.106s (+1.5%)2.013s (~)0.906s101.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.459s (+2.8%)3.205s (~)1.747s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.418s (~)11.022s (~)0.605s31.00x
💻 LocalNitro10.426s (~)11.022s (~)0.597s31.00x
🐘 PostgresNitro10.443s (~)11.017s (~)0.574s31.00x
💻 LocalNext.js (Turbopack)10.461s (~)11.022s (~)0.560s31.00x
🐘 PostgresNext.js (Turbopack)10.475s (~)11.017s (~)0.542s31.01x
🐘 PostgresExpress10.504s (+0.7%)11.021s (~)0.517s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro13.144s (+10.7% 🔺)14.957s (+7.3% 🔺)1.812s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.527s (~)14.028s (~)0.502s51.00x
🐘 PostgresNitro13.557s (-0.8%)14.021s (~)0.464s51.00x
💻 LocalNitro13.568s (-1.2%)14.027s (-1.4%)0.459s51.00x
🐘 PostgresNext.js (Turbopack)13.596s (-1.3%)14.021s (~)0.426s51.01x
💻 LocalNext.js (Turbopack)13.670s (+0.7%)14.027s (~)0.357s51.01x
🐘 PostgresExpress13.833s (+1.6%)14.021s (~)0.188s51.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro19.442s (-9.1% 🟢)21.407s (-10.7% 🟢)1.965s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.046s (~)12.525s (-2.0%)0.479s81.00x
💻 LocalNitro12.056s (-2.6%)13.025s (~)0.969s71.00x
🐘 PostgresNext.js (Turbopack)12.240s (~)13.018s (~)0.778s71.02x
💻 LocalNext.js (Turbopack)12.308s (+0.7%)13.025s (~)0.717s71.02x
🐘 PostgresExpress12.333s (+2.1%)13.022s (+1.1%)0.689s71.02x
🐘 PostgresNitro12.337s (+1.4%)13.021s (~)0.684s71.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro25.459s (-24.7% 🟢)27.480s (-22.4% 🟢)2.020s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.169s (-0.7%)2.008s (~)0.840s151.00x
🐘 PostgresNext.js (Turbopack)1.184s (~)2.007s (~)0.822s151.01x
🐘 PostgresExpress1.205s (+1.4%)2.009s (~)0.804s151.03x
💻 LocalExpress1.368s (-0.8%)2.006s (~)0.638s151.17x
💻 LocalNitro1.415s (~)2.006s (~)0.591s151.21x
💻 LocalNext.js (Turbopack)1.451s (+3.8%)2.007s (~)0.556s151.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.005s (+32.4% 🔺)4.893s (+22.0% 🔺)1.888s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.317s (-0.8%)3.009s (~)1.691s101.00x
🐘 PostgresNitro1.324s (-3.3%)2.675s (-5.3% 🟢)1.351s121.00x
🐘 PostgresExpress1.429s (+1.9%)2.471s (+6.6% 🔺)1.041s131.09x
💻 LocalNitro2.353s (-10.3% 🟢)2.735s (-9.1% 🟢)0.382s111.79x
💻 LocalExpress2.383s (-1.9%)2.826s (-6.1% 🟢)0.443s111.81x
💻 LocalNext.js (Turbopack)2.529s (-6.2% 🟢)3.209s (+3.3%)0.681s101.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.193s (-46.1% 🟢)6.458s (-40.3% 🟢)2.266s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.537s (-5.0% 🟢)4.011s (-3.1%)2.474s81.00x
🐘 PostgresExpress1.635s (+3.2%)4.014s (-3.0%)2.379s81.06x
🐘 PostgresNext.js (Turbopack)2.877s (+13.9% 🔺)5.846s (+6.0% 🔺)2.969s61.87x
💻 LocalNext.js (Turbopack)5.515s (+0.8%)6.181s (-0.6%)0.666s63.59x
💻 LocalExpress5.797s (-5.2% 🟢)6.614s (~)0.816s53.77x
💻 LocalNitro6.316s (+3.0%)6.817s (+3.0%)0.501s54.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.216s (+1.5%)7.692s (+12.3% 🔺)2.476s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.176s (~)2.007s (~)0.831s151.00x
🐘 PostgresNext.js (Turbopack)1.181s (~)2.008s (~)0.827s151.00x
🐘 PostgresExpress1.192s (+2.4%)2.007s (~)0.815s151.01x
💻 LocalExpress1.362s (-1.7%)2.007s (~)0.645s151.16x
💻 LocalNitro1.414s (-0.9%)2.006s (~)0.593s151.20x
💻 LocalNext.js (Turbopack)1.456s (+3.3%)2.006s (~)0.551s151.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.261s (-6.1% 🟢)5.082s (-3.8%)1.821s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.283s (-1.1%)3.008s (+3.1%)1.725s101.00x
🐘 PostgresExpress1.309s (-1.3%)2.594s (+13.0% 🔺)1.284s121.02x
🐘 PostgresNitro1.361s (+3.8%)2.592s (-3.1%)1.231s121.06x
💻 LocalNext.js (Turbopack)2.411s (-8.1% 🟢)3.211s (+6.7% 🔺)0.800s101.88x
💻 LocalNitro2.491s (-2.2%)3.009s (-3.3%)0.518s101.94x
💻 LocalExpress2.532s (+2.3%)3.009s (~)0.477s101.97x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.013s (-77.4% 🟢)5.229s (-67.1% 🟢)2.216s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.559s (-4.9%)4.010s (~)2.450s81.00x
🐘 PostgresExpress1.704s (-8.6% 🟢)4.731s (+10.1% 🔺)3.027s71.09x
🐘 PostgresNext.js (Turbopack)3.007s (-4.8%)6.020s (+6.0% 🔺)3.012s51.93x
💻 LocalExpress5.952s (-6.5% 🟢)6.814s (-5.6% 🟢)0.862s53.82x
💻 LocalNext.js (Turbopack)5.995s (+14.0% 🔺)6.615s (+13.1% 🔺)0.620s53.85x
💻 LocalNitro6.011s (-13.1% 🟢)6.819s (-12.2% 🟢)0.808s53.86x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.715s (-79.3% 🟢)6.028s (-69.5% 🟢)2.313s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.530s (~)1.007s (~)0.476s601.00x
💻 LocalExpress0.548s (-14.8% 🟢)1.005s (-3.3%)0.457s601.03x
🐘 PostgresNitro0.558s (+2.0%)1.041s (+1.7%)0.482s581.05x
💻 LocalNitro0.590s (~)1.022s (+1.6%)0.432s591.11x
💻 LocalNext.js (Turbopack)0.599s (~)1.005s (~)0.406s601.13x
🐘 PostgresExpress0.607s (+15.0% 🔺)1.024s (+1.8%)0.417s591.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.004s (+6.8% 🔺)4.958s (+8.9% 🔺)1.954s131.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.241s (-3.3%)2.007s (-1.1%)0.766s451.00x
🐘 PostgresNext.js (Turbopack)1.249s (-3.1%)2.008s (~)0.758s451.01x
🐘 PostgresExpress1.405s (+9.4% 🔺)2.053s (+2.3%)0.647s441.13x
💻 LocalExpress1.417s (~)2.005s (~)0.589s451.14x
💻 LocalNitro1.450s (-1.5%)2.006s (~)0.557s451.17x
💻 LocalNext.js (Turbopack)1.503s (+0.5%)2.007s (~)0.504s451.21x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro8.405s (-5.7% 🟢)10.459s (-4.3%)2.054s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.470s (-4.9%)3.059s (-0.9%)0.588s401.00x
🐘 PostgresNext.js (Turbopack)2.500s (-1.5%)3.008s (-0.8%)0.509s401.01x
🐘 PostgresExpress2.706s (+10.8% 🔺)3.009s (-1.6%)0.303s401.10x
💻 LocalExpress3.052s (-2.4%)3.644s (-5.4% 🟢)0.593s331.24x
💻 LocalNitro3.098s (-3.2%)3.822s (-4.7%)0.724s321.25x
💻 LocalNext.js (Turbopack)3.264s (-2.0%)4.009s (+1.6%)0.745s301.32x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.529s (+33.9% 🔺)21.148s (+33.5% 🔺)2.619s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.161s (-4.3%)1.006s (~)0.845s601.00x
🐘 PostgresNitro0.194s (-18.7% 🟢)1.006s (-1.7%)0.812s601.20x
🐘 PostgresExpress0.222s (+11.2% 🔺)1.007s (~)0.785s601.37x
💻 LocalNitro0.426s (-3.5%)1.004s (~)0.578s602.64x
💻 LocalExpress0.434s (+0.8%)1.004s (~)0.570s602.69x
💻 LocalNext.js (Turbopack)0.620s (-5.9% 🟢)1.005s (-1.7%)0.385s603.84x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.357s (+15.0% 🔺)3.100s (+16.7% 🔺)1.743s201.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.268s (~)1.018s (+1.2%)0.750s891.00x
🐘 PostgresNitro0.301s (-8.8% 🟢)1.006s (~)0.705s901.13x
🐘 PostgresExpress0.340s (+11.1% 🔺)1.007s (~)0.667s901.27x
💻 LocalExpress2.047s (-1.8%)2.714s (+1.8%)0.667s347.65x
💻 LocalNitro2.105s (-2.3%)2.736s (+1.8%)0.630s337.87x
💻 LocalNext.js (Turbopack)2.711s (~)3.112s (-5.6% 🟢)0.401s2910.13x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.287s (-18.5% 🟢)4.308s (-5.9% 🟢)2.021s221.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.444s (-13.0% 🟢)1.087s (+7.2% 🔺)0.643s1111.00x
🐘 PostgresNext.js (Turbopack)0.484s (-1.0%)3.034s (+2.5%)2.550s401.09x
🐘 PostgresExpress0.537s (+7.1% 🔺)1.051s (+1.8%)0.514s1151.21x
💻 LocalNitro9.509s (-1.6%)10.526s (-3.8%)1.017s1221.41x
💻 LocalExpress9.751s (+4.2%)10.528s (~)0.777s1221.96x
💻 LocalNext.js (Turbopack)10.253s (+1.4%)11.487s (+2.5%)1.234s1123.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.935s (-38.2% 🟢)6.376s (-22.1% 🟢)2.441s191.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.141s (-0.8%)2.000s (~)0.001s (-28.6% 🟢)2.010s (~)0.869s101.00x
💻 LocalNext.js (Turbopack)1.147s (~)1.967s (~)0.012s (+16.3% 🔺)2.020s (~)0.873s101.00x
💻 LocalExpress1.152s (~)2.004s (~)0.011s (+5.0%)2.017s (~)0.865s101.01x
🐘 PostgresNext.js (Turbopack)1.157s (~)2.001s (~)0.001s (-6.7% 🟢)2.012s (~)0.855s101.01x
💻 LocalNitro1.161s (-1.1%)2.004s (~)0.010s (-15.7% 🟢)2.018s (~)0.857s101.02x
🐘 PostgresExpress1.173s (+1.3%)1.997s (~)0.001s (+27.3% 🔺)2.010s (~)0.837s101.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.581s (+19.9% 🔺)4.044s (+21.1% 🔺)3.125s (-27.3% 🟢)7.861s (-4.6%)5.280s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.524s (-1.8%)2.010s (~)0.012s (+3.4%)2.025s (~)0.501s301.00x
🐘 PostgresNitro1.537s (-1.7%)2.005s (~)0.004s (-11.8% 🟢)2.023s (~)0.486s301.01x
💻 LocalExpress1.543s (+1.2%)2.009s (~)0.012s (+3.3%)2.024s (~)0.481s301.01x
🐘 PostgresNext.js (Turbopack)1.587s (+1.3%)2.011s (~)0.005s (+4.0%)2.027s (~)0.440s301.04x
💻 LocalNext.js (Turbopack)1.627s (+4.5%)2.000s (+1.4%)0.013s (+13.8% 🔺)2.060s (+1.8%)0.434s301.07x
🐘 PostgresExpress1.649s (+7.3% 🔺)2.041s (+1.7%)0.005s (-5.5% 🟢)2.060s (+1.7%)0.412s301.08x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.817s (+15.3% 🔺)8.515s (+17.9% 🔺)0.245s (-48.1% 🟢)9.332s (+13.4% 🔺)2.516s71.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.751s (-4.9%)1.069s (+2.2%)0.000s (NaN%)1.088s (+2.4%)0.336s571.00x
🐘 PostgresExpress0.842s (+11.2% 🔺)1.122s (+5.2% 🔺)0.000s (-46.2% 🟢)1.155s (+6.8% 🔺)0.314s521.12x
🐘 PostgresNext.js (Turbopack)0.925s (-5.1% 🟢)1.387s (+1.7%)0.000s (NaN%)1.399s (+2.0%)0.474s441.23x
💻 LocalExpress1.247s (~)1.982s (~)0.001s (+500.0% 🔺)1.984s (~)0.737s311.66x
💻 LocalNitro1.271s (-2.1%)2.014s (~)0.000s (+200.0% 🔺)2.017s (~)0.746s301.69x
💻 LocalNext.js (Turbopack)1.381s (~)1.979s (~)0.000s (~)2.016s (~)0.636s301.84x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.400s (+42.2% 🔺)5.769s (+31.5% 🔺)0.003s (+3930.0% 🔺)6.359s (+27.6% 🔺)1.960s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.639s (-3.1%)2.220s (~)0.000s (+Infinity% 🔺)2.231s (~)0.592s271.00x
🐘 PostgresExpress1.959s (+11.9% 🔺)2.384s (+3.6%)0.000s (-100.0% 🟢)2.412s (+4.0%)0.454s261.20x
🐘 PostgresNext.js (Turbopack)2.362s (+1.2%)2.905s (~)0.000s (NaN%)2.914s (~)0.552s211.44x
💻 LocalExpress3.267s (-0.6%)3.966s (~)0.001s (+6.3% 🔺)3.970s (~)0.703s161.99x
💻 LocalNitro3.605s (-4.3%)4.295s (-2.1%)0.001s (+166.7% 🔺)4.299s (-2.1%)0.694s152.20x
💻 LocalNext.js (Turbopack)3.892s (+12.5% 🔺)4.422s (+10.8% 🔺)0.001s (+20.5% 🔺)4.465s (+10.7% 🔺)0.573s142.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.823s (-23.8% 🟢)8.382s (-20.2% 🟢)0.000s (+71.4% 🔺)8.927s (-19.6% 🟢)2.104s71.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress13/21
🐘 PostgresNitro14/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run

@github-actions

github-actionsBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

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

Details by Category

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

📋 View full workflow run

@karthikscale3karthikscale3 changed the title [codex] Send occurredAt with workflow eventsSend occurredAt with workflow eventsJun 23, 2026
@karthikscale3
karthikscale3 marked this pull request as ready for review June 23, 2026 05:24
@karthikscale3
karthikscale3 requested review from a team and ijjk as code ownersJune 23, 2026 05:24

@vercelvercelBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Additional Suggestion:

TS2741 build failure: the exhaustive Record<AttributeKey, ...>attributeToDisplayFn is missing the newly-added occurredAt key from the Event type.

Fix on Vercel

…d-at
# Conflicts:
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
@karthikscale3
karthikscale3 merged commit 25c3df7 into mainJun 23, 2026
175 of 182 checks passed
@karthikscale3
karthikscale3 deleted the kk/send-event-occurred-at branch June 23, 2026 18:50
@github-actionsgithub-actionsBot mentioned this pull request Jun 23, 2026
github-actionsBot added a commit that referenced this pull request Jun 23, 2026
* Send occurredAt with workflow events
* Fix occurredAt detail typing
Signed-off-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2589. Merge conflicts were resolved by AI — please review carefully. (backport job run)

karthikscale3 added a commit that referenced this pull request Jun 23, 2026
* Send occurredAt with workflow events
* Fix occurredAt detail typing
Signed-off-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
pranaygp added a commit that referenced this pull request Jun 23, 2026
…testing
* origin/main:
Trace /flow route initialization (#2592)
Version Packages (beta) (#2591)
feat(web): add trace step shortcut helper (#2582)
[web-shared] reskin json viewer (no duplicates, better colours and navigation) (#2434)
Send occurredAt with workflow events (#2580)
docs: use actual eve logo and tidy OSS nav dropdown (#2586)
Display occurredAt in trace details (#2581)
fix(next): discover root entrypoints (#2564)
[core] Turbo: skip the unused run_started event-log preload (#2569)
fix(next): prewarm SWC plugin cache (#2538)
[world-vercel] Use v3 stream endpoint (supports transparent reconnect on timeout) (#2424)
[core] Retry stream reopen against the reconnect budget (#2334)
Add Platformatic World to worlds-manifest.json (#1450)
docs: derive section landing-page cards from the page tree + lint drift (#2567)
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

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

Send occurredAt with workflow events - #2580

Merged
karthikscale3 merged 3 commits into
mainfrom
kk/send-event-occurred-at
Jun 23, 2026
Merged

Send occurredAt with workflow events#2580
karthikscale3 merged 3 commits into
mainfrom
kk/send-event-occurred-at

Conversation

@karthikscale3

Copy link
Copy Markdown
Contributor

Summary

  • add optional occurredAt metadata to the shared world event creation contract and event schema
  • send occurredAt through world-vercel v4 event frame metadata, defaulting to the client-side post time
  • preserve occurredAt on returned v4 events and keep world-postgres schema typing compatible until it persists the field

Validation

  • pnpm --filter @workflow/world build
  • pnpm --filter @workflow/world-vercel test -- events.test.ts
  • pnpm --filter @workflow/world-vercel typecheck
  • pnpm --filter @workflow/world-postgres typecheck
  • pnpm biome check .changeset/send-event-occurred-at.md packages/world/src/events.ts packages/world-vercel/src/events-v4.ts packages/world-vercel/src/events.ts packages/world-vercel/src/events.test.ts packages/world-postgres/src/drizzle/schema.ts
  • pnpm changeset status --since=origin/main

@changeset-bot

changeset-botBot commented Jun 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c8dd67e

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-vercelPatch
@workflow/world-postgresPatch
@workflow/cliPatch
@workflow/corePatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
@workflow/world-localPatch
@workflow/world-testingPatch
workflowPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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

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

@vercel

vercelBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.046s (-2.1%)1.006s (~)0.960s101.00x
💻 LocalExpress0.046s (-3.7%)1.006s (-0.7%)0.960s101.02x
💻 LocalNext.js (Turbopack)0.052s (+6.1% 🔺)1.006s (~)0.953s101.15x
🐘 PostgresNext.js (Turbopack)0.056s (-4.1%)1.012s (~)0.956s101.23x
🐘 PostgresNitro0.063s (-14.3% 🟢)1.011s (~)0.948s101.37x
🐘 PostgresExpress0.067s (+6.5% 🔺)1.012s (~)0.945s101.47x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.485s (+49.3% 🔺)2.428s (-1.9%)1.944s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.075s (~)2.007s (~)0.932s101.00x
💻 LocalNitro1.081s (~)2.006s (~)0.925s101.01x
💻 LocalNext.js (Turbopack)1.082s (~)2.006s (~)0.924s101.01x
🐘 PostgresNitro1.089s (-0.7%)2.009s (~)0.921s101.01x
🐘 PostgresNext.js (Turbopack)1.095s (~)2.010s (~)0.915s101.02x
🐘 PostgresExpress1.106s (+1.5%)2.013s (~)0.906s101.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.459s (+2.8%)3.205s (~)1.747s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.418s (~)11.022s (~)0.605s31.00x
💻 LocalNitro10.426s (~)11.022s (~)0.597s31.00x
🐘 PostgresNitro10.443s (~)11.017s (~)0.574s31.00x
💻 LocalNext.js (Turbopack)10.461s (~)11.022s (~)0.560s31.00x
🐘 PostgresNext.js (Turbopack)10.475s (~)11.017s (~)0.542s31.01x
🐘 PostgresExpress10.504s (+0.7%)11.021s (~)0.517s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro13.144s (+10.7% 🔺)14.957s (+7.3% 🔺)1.812s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.527s (~)14.028s (~)0.502s51.00x
🐘 PostgresNitro13.557s (-0.8%)14.021s (~)0.464s51.00x
💻 LocalNitro13.568s (-1.2%)14.027s (-1.4%)0.459s51.00x
🐘 PostgresNext.js (Turbopack)13.596s (-1.3%)14.021s (~)0.426s51.01x
💻 LocalNext.js (Turbopack)13.670s (+0.7%)14.027s (~)0.357s51.01x
🐘 PostgresExpress13.833s (+1.6%)14.021s (~)0.188s51.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro19.442s (-9.1% 🟢)21.407s (-10.7% 🟢)1.965s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.046s (~)12.525s (-2.0%)0.479s81.00x
💻 LocalNitro12.056s (-2.6%)13.025s (~)0.969s71.00x
🐘 PostgresNext.js (Turbopack)12.240s (~)13.018s (~)0.778s71.02x
💻 LocalNext.js (Turbopack)12.308s (+0.7%)13.025s (~)0.717s71.02x
🐘 PostgresExpress12.333s (+2.1%)13.022s (+1.1%)0.689s71.02x
🐘 PostgresNitro12.337s (+1.4%)13.021s (~)0.684s71.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro25.459s (-24.7% 🟢)27.480s (-22.4% 🟢)2.020s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.169s (-0.7%)2.008s (~)0.840s151.00x
🐘 PostgresNext.js (Turbopack)1.184s (~)2.007s (~)0.822s151.01x
🐘 PostgresExpress1.205s (+1.4%)2.009s (~)0.804s151.03x
💻 LocalExpress1.368s (-0.8%)2.006s (~)0.638s151.17x
💻 LocalNitro1.415s (~)2.006s (~)0.591s151.21x
💻 LocalNext.js (Turbopack)1.451s (+3.8%)2.007s (~)0.556s151.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.005s (+32.4% 🔺)4.893s (+22.0% 🔺)1.888s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.317s (-0.8%)3.009s (~)1.691s101.00x
🐘 PostgresNitro1.324s (-3.3%)2.675s (-5.3% 🟢)1.351s121.00x
🐘 PostgresExpress1.429s (+1.9%)2.471s (+6.6% 🔺)1.041s131.09x
💻 LocalNitro2.353s (-10.3% 🟢)2.735s (-9.1% 🟢)0.382s111.79x
💻 LocalExpress2.383s (-1.9%)2.826s (-6.1% 🟢)0.443s111.81x
💻 LocalNext.js (Turbopack)2.529s (-6.2% 🟢)3.209s (+3.3%)0.681s101.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.193s (-46.1% 🟢)6.458s (-40.3% 🟢)2.266s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.537s (-5.0% 🟢)4.011s (-3.1%)2.474s81.00x
🐘 PostgresExpress1.635s (+3.2%)4.014s (-3.0%)2.379s81.06x
🐘 PostgresNext.js (Turbopack)2.877s (+13.9% 🔺)5.846s (+6.0% 🔺)2.969s61.87x
💻 LocalNext.js (Turbopack)5.515s (+0.8%)6.181s (-0.6%)0.666s63.59x
💻 LocalExpress5.797s (-5.2% 🟢)6.614s (~)0.816s53.77x
💻 LocalNitro6.316s (+3.0%)6.817s (+3.0%)0.501s54.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.216s (+1.5%)7.692s (+12.3% 🔺)2.476s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.176s (~)2.007s (~)0.831s151.00x
🐘 PostgresNext.js (Turbopack)1.181s (~)2.008s (~)0.827s151.00x
🐘 PostgresExpress1.192s (+2.4%)2.007s (~)0.815s151.01x
💻 LocalExpress1.362s (-1.7%)2.007s (~)0.645s151.16x
💻 LocalNitro1.414s (-0.9%)2.006s (~)0.593s151.20x
💻 LocalNext.js (Turbopack)1.456s (+3.3%)2.006s (~)0.551s151.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.261s (-6.1% 🟢)5.082s (-3.8%)1.821s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.283s (-1.1%)3.008s (+3.1%)1.725s101.00x
🐘 PostgresExpress1.309s (-1.3%)2.594s (+13.0% 🔺)1.284s121.02x
🐘 PostgresNitro1.361s (+3.8%)2.592s (-3.1%)1.231s121.06x
💻 LocalNext.js (Turbopack)2.411s (-8.1% 🟢)3.211s (+6.7% 🔺)0.800s101.88x
💻 LocalNitro2.491s (-2.2%)3.009s (-3.3%)0.518s101.94x
💻 LocalExpress2.532s (+2.3%)3.009s (~)0.477s101.97x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.013s (-77.4% 🟢)5.229s (-67.1% 🟢)2.216s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.559s (-4.9%)4.010s (~)2.450s81.00x
🐘 PostgresExpress1.704s (-8.6% 🟢)4.731s (+10.1% 🔺)3.027s71.09x
🐘 PostgresNext.js (Turbopack)3.007s (-4.8%)6.020s (+6.0% 🔺)3.012s51.93x
💻 LocalExpress5.952s (-6.5% 🟢)6.814s (-5.6% 🟢)0.862s53.82x
💻 LocalNext.js (Turbopack)5.995s (+14.0% 🔺)6.615s (+13.1% 🔺)0.620s53.85x
💻 LocalNitro6.011s (-13.1% 🟢)6.819s (-12.2% 🟢)0.808s53.86x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.715s (-79.3% 🟢)6.028s (-69.5% 🟢)2.313s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.530s (~)1.007s (~)0.476s601.00x
💻 LocalExpress0.548s (-14.8% 🟢)1.005s (-3.3%)0.457s601.03x
🐘 PostgresNitro0.558s (+2.0%)1.041s (+1.7%)0.482s581.05x
💻 LocalNitro0.590s (~)1.022s (+1.6%)0.432s591.11x
💻 LocalNext.js (Turbopack)0.599s (~)1.005s (~)0.406s601.13x
🐘 PostgresExpress0.607s (+15.0% 🔺)1.024s (+1.8%)0.417s591.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.004s (+6.8% 🔺)4.958s (+8.9% 🔺)1.954s131.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.241s (-3.3%)2.007s (-1.1%)0.766s451.00x
🐘 PostgresNext.js (Turbopack)1.249s (-3.1%)2.008s (~)0.758s451.01x
🐘 PostgresExpress1.405s (+9.4% 🔺)2.053s (+2.3%)0.647s441.13x
💻 LocalExpress1.417s (~)2.005s (~)0.589s451.14x
💻 LocalNitro1.450s (-1.5%)2.006s (~)0.557s451.17x
💻 LocalNext.js (Turbopack)1.503s (+0.5%)2.007s (~)0.504s451.21x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro8.405s (-5.7% 🟢)10.459s (-4.3%)2.054s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.470s (-4.9%)3.059s (-0.9%)0.588s401.00x
🐘 PostgresNext.js (Turbopack)2.500s (-1.5%)3.008s (-0.8%)0.509s401.01x
🐘 PostgresExpress2.706s (+10.8% 🔺)3.009s (-1.6%)0.303s401.10x
💻 LocalExpress3.052s (-2.4%)3.644s (-5.4% 🟢)0.593s331.24x
💻 LocalNitro3.098s (-3.2%)3.822s (-4.7%)0.724s321.25x
💻 LocalNext.js (Turbopack)3.264s (-2.0%)4.009s (+1.6%)0.745s301.32x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.529s (+33.9% 🔺)21.148s (+33.5% 🔺)2.619s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.161s (-4.3%)1.006s (~)0.845s601.00x
🐘 PostgresNitro0.194s (-18.7% 🟢)1.006s (-1.7%)0.812s601.20x
🐘 PostgresExpress0.222s (+11.2% 🔺)1.007s (~)0.785s601.37x
💻 LocalNitro0.426s (-3.5%)1.004s (~)0.578s602.64x
💻 LocalExpress0.434s (+0.8%)1.004s (~)0.570s602.69x
💻 LocalNext.js (Turbopack)0.620s (-5.9% 🟢)1.005s (-1.7%)0.385s603.84x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.357s (+15.0% 🔺)3.100s (+16.7% 🔺)1.743s201.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.268s (~)1.018s (+1.2%)0.750s891.00x
🐘 PostgresNitro0.301s (-8.8% 🟢)1.006s (~)0.705s901.13x
🐘 PostgresExpress0.340s (+11.1% 🔺)1.007s (~)0.667s901.27x
💻 LocalExpress2.047s (-1.8%)2.714s (+1.8%)0.667s347.65x
💻 LocalNitro2.105s (-2.3%)2.736s (+1.8%)0.630s337.87x
💻 LocalNext.js (Turbopack)2.711s (~)3.112s (-5.6% 🟢)0.401s2910.13x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.287s (-18.5% 🟢)4.308s (-5.9% 🟢)2.021s221.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.444s (-13.0% 🟢)1.087s (+7.2% 🔺)0.643s1111.00x
🐘 PostgresNext.js (Turbopack)0.484s (-1.0%)3.034s (+2.5%)2.550s401.09x
🐘 PostgresExpress0.537s (+7.1% 🔺)1.051s (+1.8%)0.514s1151.21x
💻 LocalNitro9.509s (-1.6%)10.526s (-3.8%)1.017s1221.41x
💻 LocalExpress9.751s (+4.2%)10.528s (~)0.777s1221.96x
💻 LocalNext.js (Turbopack)10.253s (+1.4%)11.487s (+2.5%)1.234s1123.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.935s (-38.2% 🟢)6.376s (-22.1% 🟢)2.441s191.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.141s (-0.8%)2.000s (~)0.001s (-28.6% 🟢)2.010s (~)0.869s101.00x
💻 LocalNext.js (Turbopack)1.147s (~)1.967s (~)0.012s (+16.3% 🔺)2.020s (~)0.873s101.00x
💻 LocalExpress1.152s (~)2.004s (~)0.011s (+5.0%)2.017s (~)0.865s101.01x
🐘 PostgresNext.js (Turbopack)1.157s (~)2.001s (~)0.001s (-6.7% 🟢)2.012s (~)0.855s101.01x
💻 LocalNitro1.161s (-1.1%)2.004s (~)0.010s (-15.7% 🟢)2.018s (~)0.857s101.02x
🐘 PostgresExpress1.173s (+1.3%)1.997s (~)0.001s (+27.3% 🔺)2.010s (~)0.837s101.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.581s (+19.9% 🔺)4.044s (+21.1% 🔺)3.125s (-27.3% 🟢)7.861s (-4.6%)5.280s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.524s (-1.8%)2.010s (~)0.012s (+3.4%)2.025s (~)0.501s301.00x
🐘 PostgresNitro1.537s (-1.7%)2.005s (~)0.004s (-11.8% 🟢)2.023s (~)0.486s301.01x
💻 LocalExpress1.543s (+1.2%)2.009s (~)0.012s (+3.3%)2.024s (~)0.481s301.01x
🐘 PostgresNext.js (Turbopack)1.587s (+1.3%)2.011s (~)0.005s (+4.0%)2.027s (~)0.440s301.04x
💻 LocalNext.js (Turbopack)1.627s (+4.5%)2.000s (+1.4%)0.013s (+13.8% 🔺)2.060s (+1.8%)0.434s301.07x
🐘 PostgresExpress1.649s (+7.3% 🔺)2.041s (+1.7%)0.005s (-5.5% 🟢)2.060s (+1.7%)0.412s301.08x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.817s (+15.3% 🔺)8.515s (+17.9% 🔺)0.245s (-48.1% 🟢)9.332s (+13.4% 🔺)2.516s71.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.751s (-4.9%)1.069s (+2.2%)0.000s (NaN%)1.088s (+2.4%)0.336s571.00x
🐘 PostgresExpress0.842s (+11.2% 🔺)1.122s (+5.2% 🔺)0.000s (-46.2% 🟢)1.155s (+6.8% 🔺)0.314s521.12x
🐘 PostgresNext.js (Turbopack)0.925s (-5.1% 🟢)1.387s (+1.7%)0.000s (NaN%)1.399s (+2.0%)0.474s441.23x
💻 LocalExpress1.247s (~)1.982s (~)0.001s (+500.0% 🔺)1.984s (~)0.737s311.66x
💻 LocalNitro1.271s (-2.1%)2.014s (~)0.000s (+200.0% 🔺)2.017s (~)0.746s301.69x
💻 LocalNext.js (Turbopack)1.381s (~)1.979s (~)0.000s (~)2.016s (~)0.636s301.84x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.400s (+42.2% 🔺)5.769s (+31.5% 🔺)0.003s (+3930.0% 🔺)6.359s (+27.6% 🔺)1.960s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.639s (-3.1%)2.220s (~)0.000s (+Infinity% 🔺)2.231s (~)0.592s271.00x
🐘 PostgresExpress1.959s (+11.9% 🔺)2.384s (+3.6%)0.000s (-100.0% 🟢)2.412s (+4.0%)0.454s261.20x
🐘 PostgresNext.js (Turbopack)2.362s (+1.2%)2.905s (~)0.000s (NaN%)2.914s (~)0.552s211.44x
💻 LocalExpress3.267s (-0.6%)3.966s (~)0.001s (+6.3% 🔺)3.970s (~)0.703s161.99x
💻 LocalNitro3.605s (-4.3%)4.295s (-2.1%)0.001s (+166.7% 🔺)4.299s (-2.1%)0.694s152.20x
💻 LocalNext.js (Turbopack)3.892s (+12.5% 🔺)4.422s (+10.8% 🔺)0.001s (+20.5% 🔺)4.465s (+10.7% 🔺)0.573s142.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.823s (-23.8% 🟢)8.382s (-20.2% 🟢)0.000s (+71.4% 🔺)8.927s (-19.6% 🟢)2.104s71.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress13/21
🐘 PostgresNitro14/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run

@github-actions

github-actionsBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

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

Details by Category

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

📋 View full workflow run

@karthikscale3karthikscale3 changed the title [codex] Send occurredAt with workflow eventsSend occurredAt with workflow eventsJun 23, 2026
@karthikscale3
karthikscale3 marked this pull request as ready for review June 23, 2026 05:24
@karthikscale3
karthikscale3 requested review from a team and ijjk as code ownersJune 23, 2026 05:24

@vercelvercelBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Additional Suggestion:

TS2741 build failure: the exhaustive Record<AttributeKey, ...>attributeToDisplayFn is missing the newly-added occurredAt key from the Event type.

Fix on Vercel

…d-at
# Conflicts:
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
@karthikscale3
karthikscale3 merged commit 25c3df7 into mainJun 23, 2026
175 of 182 checks passed
@karthikscale3
karthikscale3 deleted the kk/send-event-occurred-at branch June 23, 2026 18:50
@github-actionsgithub-actionsBot mentioned this pull request Jun 23, 2026
github-actionsBot added a commit that referenced this pull request Jun 23, 2026
* Send occurredAt with workflow events
* Fix occurredAt detail typing
Signed-off-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2589. Merge conflicts were resolved by AI — please review carefully. (backport job run)

karthikscale3 added a commit that referenced this pull request Jun 23, 2026
* Send occurredAt with workflow events
* Fix occurredAt detail typing
Signed-off-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
pranaygp added a commit that referenced this pull request Jun 23, 2026
…testing
* origin/main:
Trace /flow route initialization (#2592)
Version Packages (beta) (#2591)
feat(web): add trace step shortcut helper (#2582)
[web-shared] reskin json viewer (no duplicates, better colours and navigation) (#2434)
Send occurredAt with workflow events (#2580)
docs: use actual eve logo and tidy OSS nav dropdown (#2586)
Display occurredAt in trace details (#2581)
fix(next): discover root entrypoints (#2564)
[core] Turbo: skip the unused run_started event-log preload (#2569)
fix(next): prewarm SWC plugin cache (#2538)
[world-vercel] Use v3 stream endpoint (supports transparent reconnect on timeout) (#2424)
[core] Retry stream reopen against the reconnect budget (#2334)
Add Platformatic World to worlds-manifest.json (#1450)
docs: derive section landing-page cards from the page tree + lint drift (#2567)
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

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

Send occurredAt with workflow events - #2580

Merged
karthikscale3 merged 3 commits into
mainfrom
kk/send-event-occurred-at
Jun 23, 2026
Merged

Send occurredAt with workflow events#2580
karthikscale3 merged 3 commits into
mainfrom
kk/send-event-occurred-at

Conversation

@karthikscale3

Copy link
Copy Markdown
Contributor

Summary

  • add optional occurredAt metadata to the shared world event creation contract and event schema
  • send occurredAt through world-vercel v4 event frame metadata, defaulting to the client-side post time
  • preserve occurredAt on returned v4 events and keep world-postgres schema typing compatible until it persists the field

Validation

  • pnpm --filter @workflow/world build
  • pnpm --filter @workflow/world-vercel test -- events.test.ts
  • pnpm --filter @workflow/world-vercel typecheck
  • pnpm --filter @workflow/world-postgres typecheck
  • pnpm biome check .changeset/send-event-occurred-at.md packages/world/src/events.ts packages/world-vercel/src/events-v4.ts packages/world-vercel/src/events.ts packages/world-vercel/src/events.test.ts packages/world-postgres/src/drizzle/schema.ts
  • pnpm changeset status --since=origin/main

@changeset-bot

changeset-botBot commented Jun 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c8dd67e

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-vercelPatch
@workflow/world-postgresPatch
@workflow/cliPatch
@workflow/corePatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
@workflow/world-localPatch
@workflow/world-testingPatch
workflowPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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

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

@vercel

vercelBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.046s (-2.1%)1.006s (~)0.960s101.00x
💻 LocalExpress0.046s (-3.7%)1.006s (-0.7%)0.960s101.02x
💻 LocalNext.js (Turbopack)0.052s (+6.1% 🔺)1.006s (~)0.953s101.15x
🐘 PostgresNext.js (Turbopack)0.056s (-4.1%)1.012s (~)0.956s101.23x
🐘 PostgresNitro0.063s (-14.3% 🟢)1.011s (~)0.948s101.37x
🐘 PostgresExpress0.067s (+6.5% 🔺)1.012s (~)0.945s101.47x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.485s (+49.3% 🔺)2.428s (-1.9%)1.944s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.075s (~)2.007s (~)0.932s101.00x
💻 LocalNitro1.081s (~)2.006s (~)0.925s101.01x
💻 LocalNext.js (Turbopack)1.082s (~)2.006s (~)0.924s101.01x
🐘 PostgresNitro1.089s (-0.7%)2.009s (~)0.921s101.01x
🐘 PostgresNext.js (Turbopack)1.095s (~)2.010s (~)0.915s101.02x
🐘 PostgresExpress1.106s (+1.5%)2.013s (~)0.906s101.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.459s (+2.8%)3.205s (~)1.747s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.418s (~)11.022s (~)0.605s31.00x
💻 LocalNitro10.426s (~)11.022s (~)0.597s31.00x
🐘 PostgresNitro10.443s (~)11.017s (~)0.574s31.00x
💻 LocalNext.js (Turbopack)10.461s (~)11.022s (~)0.560s31.00x
🐘 PostgresNext.js (Turbopack)10.475s (~)11.017s (~)0.542s31.01x
🐘 PostgresExpress10.504s (+0.7%)11.021s (~)0.517s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro13.144s (+10.7% 🔺)14.957s (+7.3% 🔺)1.812s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.527s (~)14.028s (~)0.502s51.00x
🐘 PostgresNitro13.557s (-0.8%)14.021s (~)0.464s51.00x
💻 LocalNitro13.568s (-1.2%)14.027s (-1.4%)0.459s51.00x
🐘 PostgresNext.js (Turbopack)13.596s (-1.3%)14.021s (~)0.426s51.01x
💻 LocalNext.js (Turbopack)13.670s (+0.7%)14.027s (~)0.357s51.01x
🐘 PostgresExpress13.833s (+1.6%)14.021s (~)0.188s51.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro19.442s (-9.1% 🟢)21.407s (-10.7% 🟢)1.965s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.046s (~)12.525s (-2.0%)0.479s81.00x
💻 LocalNitro12.056s (-2.6%)13.025s (~)0.969s71.00x
🐘 PostgresNext.js (Turbopack)12.240s (~)13.018s (~)0.778s71.02x
💻 LocalNext.js (Turbopack)12.308s (+0.7%)13.025s (~)0.717s71.02x
🐘 PostgresExpress12.333s (+2.1%)13.022s (+1.1%)0.689s71.02x
🐘 PostgresNitro12.337s (+1.4%)13.021s (~)0.684s71.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro25.459s (-24.7% 🟢)27.480s (-22.4% 🟢)2.020s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.169s (-0.7%)2.008s (~)0.840s151.00x
🐘 PostgresNext.js (Turbopack)1.184s (~)2.007s (~)0.822s151.01x
🐘 PostgresExpress1.205s (+1.4%)2.009s (~)0.804s151.03x
💻 LocalExpress1.368s (-0.8%)2.006s (~)0.638s151.17x
💻 LocalNitro1.415s (~)2.006s (~)0.591s151.21x
💻 LocalNext.js (Turbopack)1.451s (+3.8%)2.007s (~)0.556s151.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.005s (+32.4% 🔺)4.893s (+22.0% 🔺)1.888s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.317s (-0.8%)3.009s (~)1.691s101.00x
🐘 PostgresNitro1.324s (-3.3%)2.675s (-5.3% 🟢)1.351s121.00x
🐘 PostgresExpress1.429s (+1.9%)2.471s (+6.6% 🔺)1.041s131.09x
💻 LocalNitro2.353s (-10.3% 🟢)2.735s (-9.1% 🟢)0.382s111.79x
💻 LocalExpress2.383s (-1.9%)2.826s (-6.1% 🟢)0.443s111.81x
💻 LocalNext.js (Turbopack)2.529s (-6.2% 🟢)3.209s (+3.3%)0.681s101.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.193s (-46.1% 🟢)6.458s (-40.3% 🟢)2.266s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.537s (-5.0% 🟢)4.011s (-3.1%)2.474s81.00x
🐘 PostgresExpress1.635s (+3.2%)4.014s (-3.0%)2.379s81.06x
🐘 PostgresNext.js (Turbopack)2.877s (+13.9% 🔺)5.846s (+6.0% 🔺)2.969s61.87x
💻 LocalNext.js (Turbopack)5.515s (+0.8%)6.181s (-0.6%)0.666s63.59x
💻 LocalExpress5.797s (-5.2% 🟢)6.614s (~)0.816s53.77x
💻 LocalNitro6.316s (+3.0%)6.817s (+3.0%)0.501s54.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.216s (+1.5%)7.692s (+12.3% 🔺)2.476s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.176s (~)2.007s (~)0.831s151.00x
🐘 PostgresNext.js (Turbopack)1.181s (~)2.008s (~)0.827s151.00x
🐘 PostgresExpress1.192s (+2.4%)2.007s (~)0.815s151.01x
💻 LocalExpress1.362s (-1.7%)2.007s (~)0.645s151.16x
💻 LocalNitro1.414s (-0.9%)2.006s (~)0.593s151.20x
💻 LocalNext.js (Turbopack)1.456s (+3.3%)2.006s (~)0.551s151.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.261s (-6.1% 🟢)5.082s (-3.8%)1.821s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.283s (-1.1%)3.008s (+3.1%)1.725s101.00x
🐘 PostgresExpress1.309s (-1.3%)2.594s (+13.0% 🔺)1.284s121.02x
🐘 PostgresNitro1.361s (+3.8%)2.592s (-3.1%)1.231s121.06x
💻 LocalNext.js (Turbopack)2.411s (-8.1% 🟢)3.211s (+6.7% 🔺)0.800s101.88x
💻 LocalNitro2.491s (-2.2%)3.009s (-3.3%)0.518s101.94x
💻 LocalExpress2.532s (+2.3%)3.009s (~)0.477s101.97x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.013s (-77.4% 🟢)5.229s (-67.1% 🟢)2.216s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.559s (-4.9%)4.010s (~)2.450s81.00x
🐘 PostgresExpress1.704s (-8.6% 🟢)4.731s (+10.1% 🔺)3.027s71.09x
🐘 PostgresNext.js (Turbopack)3.007s (-4.8%)6.020s (+6.0% 🔺)3.012s51.93x
💻 LocalExpress5.952s (-6.5% 🟢)6.814s (-5.6% 🟢)0.862s53.82x
💻 LocalNext.js (Turbopack)5.995s (+14.0% 🔺)6.615s (+13.1% 🔺)0.620s53.85x
💻 LocalNitro6.011s (-13.1% 🟢)6.819s (-12.2% 🟢)0.808s53.86x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.715s (-79.3% 🟢)6.028s (-69.5% 🟢)2.313s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.530s (~)1.007s (~)0.476s601.00x
💻 LocalExpress0.548s (-14.8% 🟢)1.005s (-3.3%)0.457s601.03x
🐘 PostgresNitro0.558s (+2.0%)1.041s (+1.7%)0.482s581.05x
💻 LocalNitro0.590s (~)1.022s (+1.6%)0.432s591.11x
💻 LocalNext.js (Turbopack)0.599s (~)1.005s (~)0.406s601.13x
🐘 PostgresExpress0.607s (+15.0% 🔺)1.024s (+1.8%)0.417s591.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.004s (+6.8% 🔺)4.958s (+8.9% 🔺)1.954s131.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.241s (-3.3%)2.007s (-1.1%)0.766s451.00x
🐘 PostgresNext.js (Turbopack)1.249s (-3.1%)2.008s (~)0.758s451.01x
🐘 PostgresExpress1.405s (+9.4% 🔺)2.053s (+2.3%)0.647s441.13x
💻 LocalExpress1.417s (~)2.005s (~)0.589s451.14x
💻 LocalNitro1.450s (-1.5%)2.006s (~)0.557s451.17x
💻 LocalNext.js (Turbopack)1.503s (+0.5%)2.007s (~)0.504s451.21x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro8.405s (-5.7% 🟢)10.459s (-4.3%)2.054s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.470s (-4.9%)3.059s (-0.9%)0.588s401.00x
🐘 PostgresNext.js (Turbopack)2.500s (-1.5%)3.008s (-0.8%)0.509s401.01x
🐘 PostgresExpress2.706s (+10.8% 🔺)3.009s (-1.6%)0.303s401.10x
💻 LocalExpress3.052s (-2.4%)3.644s (-5.4% 🟢)0.593s331.24x
💻 LocalNitro3.098s (-3.2%)3.822s (-4.7%)0.724s321.25x
💻 LocalNext.js (Turbopack)3.264s (-2.0%)4.009s (+1.6%)0.745s301.32x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.529s (+33.9% 🔺)21.148s (+33.5% 🔺)2.619s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.161s (-4.3%)1.006s (~)0.845s601.00x
🐘 PostgresNitro0.194s (-18.7% 🟢)1.006s (-1.7%)0.812s601.20x
🐘 PostgresExpress0.222s (+11.2% 🔺)1.007s (~)0.785s601.37x
💻 LocalNitro0.426s (-3.5%)1.004s (~)0.578s602.64x
💻 LocalExpress0.434s (+0.8%)1.004s (~)0.570s602.69x
💻 LocalNext.js (Turbopack)0.620s (-5.9% 🟢)1.005s (-1.7%)0.385s603.84x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.357s (+15.0% 🔺)3.100s (+16.7% 🔺)1.743s201.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.268s (~)1.018s (+1.2%)0.750s891.00x
🐘 PostgresNitro0.301s (-8.8% 🟢)1.006s (~)0.705s901.13x
🐘 PostgresExpress0.340s (+11.1% 🔺)1.007s (~)0.667s901.27x
💻 LocalExpress2.047s (-1.8%)2.714s (+1.8%)0.667s347.65x
💻 LocalNitro2.105s (-2.3%)2.736s (+1.8%)0.630s337.87x
💻 LocalNext.js (Turbopack)2.711s (~)3.112s (-5.6% 🟢)0.401s2910.13x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.287s (-18.5% 🟢)4.308s (-5.9% 🟢)2.021s221.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.444s (-13.0% 🟢)1.087s (+7.2% 🔺)0.643s1111.00x
🐘 PostgresNext.js (Turbopack)0.484s (-1.0%)3.034s (+2.5%)2.550s401.09x
🐘 PostgresExpress0.537s (+7.1% 🔺)1.051s (+1.8%)0.514s1151.21x
💻 LocalNitro9.509s (-1.6%)10.526s (-3.8%)1.017s1221.41x
💻 LocalExpress9.751s (+4.2%)10.528s (~)0.777s1221.96x
💻 LocalNext.js (Turbopack)10.253s (+1.4%)11.487s (+2.5%)1.234s1123.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.935s (-38.2% 🟢)6.376s (-22.1% 🟢)2.441s191.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.141s (-0.8%)2.000s (~)0.001s (-28.6% 🟢)2.010s (~)0.869s101.00x
💻 LocalNext.js (Turbopack)1.147s (~)1.967s (~)0.012s (+16.3% 🔺)2.020s (~)0.873s101.00x
💻 LocalExpress1.152s (~)2.004s (~)0.011s (+5.0%)2.017s (~)0.865s101.01x
🐘 PostgresNext.js (Turbopack)1.157s (~)2.001s (~)0.001s (-6.7% 🟢)2.012s (~)0.855s101.01x
💻 LocalNitro1.161s (-1.1%)2.004s (~)0.010s (-15.7% 🟢)2.018s (~)0.857s101.02x
🐘 PostgresExpress1.173s (+1.3%)1.997s (~)0.001s (+27.3% 🔺)2.010s (~)0.837s101.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.581s (+19.9% 🔺)4.044s (+21.1% 🔺)3.125s (-27.3% 🟢)7.861s (-4.6%)5.280s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.524s (-1.8%)2.010s (~)0.012s (+3.4%)2.025s (~)0.501s301.00x
🐘 PostgresNitro1.537s (-1.7%)2.005s (~)0.004s (-11.8% 🟢)2.023s (~)0.486s301.01x
💻 LocalExpress1.543s (+1.2%)2.009s (~)0.012s (+3.3%)2.024s (~)0.481s301.01x
🐘 PostgresNext.js (Turbopack)1.587s (+1.3%)2.011s (~)0.005s (+4.0%)2.027s (~)0.440s301.04x
💻 LocalNext.js (Turbopack)1.627s (+4.5%)2.000s (+1.4%)0.013s (+13.8% 🔺)2.060s (+1.8%)0.434s301.07x
🐘 PostgresExpress1.649s (+7.3% 🔺)2.041s (+1.7%)0.005s (-5.5% 🟢)2.060s (+1.7%)0.412s301.08x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.817s (+15.3% 🔺)8.515s (+17.9% 🔺)0.245s (-48.1% 🟢)9.332s (+13.4% 🔺)2.516s71.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.751s (-4.9%)1.069s (+2.2%)0.000s (NaN%)1.088s (+2.4%)0.336s571.00x
🐘 PostgresExpress0.842s (+11.2% 🔺)1.122s (+5.2% 🔺)0.000s (-46.2% 🟢)1.155s (+6.8% 🔺)0.314s521.12x
🐘 PostgresNext.js (Turbopack)0.925s (-5.1% 🟢)1.387s (+1.7%)0.000s (NaN%)1.399s (+2.0%)0.474s441.23x
💻 LocalExpress1.247s (~)1.982s (~)0.001s (+500.0% 🔺)1.984s (~)0.737s311.66x
💻 LocalNitro1.271s (-2.1%)2.014s (~)0.000s (+200.0% 🔺)2.017s (~)0.746s301.69x
💻 LocalNext.js (Turbopack)1.381s (~)1.979s (~)0.000s (~)2.016s (~)0.636s301.84x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.400s (+42.2% 🔺)5.769s (+31.5% 🔺)0.003s (+3930.0% 🔺)6.359s (+27.6% 🔺)1.960s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.639s (-3.1%)2.220s (~)0.000s (+Infinity% 🔺)2.231s (~)0.592s271.00x
🐘 PostgresExpress1.959s (+11.9% 🔺)2.384s (+3.6%)0.000s (-100.0% 🟢)2.412s (+4.0%)0.454s261.20x
🐘 PostgresNext.js (Turbopack)2.362s (+1.2%)2.905s (~)0.000s (NaN%)2.914s (~)0.552s211.44x
💻 LocalExpress3.267s (-0.6%)3.966s (~)0.001s (+6.3% 🔺)3.970s (~)0.703s161.99x
💻 LocalNitro3.605s (-4.3%)4.295s (-2.1%)0.001s (+166.7% 🔺)4.299s (-2.1%)0.694s152.20x
💻 LocalNext.js (Turbopack)3.892s (+12.5% 🔺)4.422s (+10.8% 🔺)0.001s (+20.5% 🔺)4.465s (+10.7% 🔺)0.573s142.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.823s (-23.8% 🟢)8.382s (-20.2% 🟢)0.000s (+71.4% 🔺)8.927s (-19.6% 🟢)2.104s71.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress13/21
🐘 PostgresNitro14/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run

@github-actions

github-actionsBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

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

Details by Category

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

📋 View full workflow run

@karthikscale3karthikscale3 changed the title [codex] Send occurredAt with workflow eventsSend occurredAt with workflow eventsJun 23, 2026
@karthikscale3
karthikscale3 marked this pull request as ready for review June 23, 2026 05:24
@karthikscale3
karthikscale3 requested review from a team and ijjk as code ownersJune 23, 2026 05:24

@vercelvercelBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Additional Suggestion:

TS2741 build failure: the exhaustive Record<AttributeKey, ...>attributeToDisplayFn is missing the newly-added occurredAt key from the Event type.

Fix on Vercel

…d-at
# Conflicts:
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
@karthikscale3
karthikscale3 merged commit 25c3df7 into mainJun 23, 2026
175 of 182 checks passed
@karthikscale3
karthikscale3 deleted the kk/send-event-occurred-at branch June 23, 2026 18:50
@github-actionsgithub-actionsBot mentioned this pull request Jun 23, 2026
github-actionsBot added a commit that referenced this pull request Jun 23, 2026
* Send occurredAt with workflow events
* Fix occurredAt detail typing
Signed-off-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2589. Merge conflicts were resolved by AI — please review carefully. (backport job run)

karthikscale3 added a commit that referenced this pull request Jun 23, 2026
* Send occurredAt with workflow events
* Fix occurredAt detail typing
Signed-off-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
pranaygp added a commit that referenced this pull request Jun 23, 2026
…testing
* origin/main:
Trace /flow route initialization (#2592)
Version Packages (beta) (#2591)
feat(web): add trace step shortcut helper (#2582)
[web-shared] reskin json viewer (no duplicates, better colours and navigation) (#2434)
Send occurredAt with workflow events (#2580)
docs: use actual eve logo and tidy OSS nav dropdown (#2586)
Display occurredAt in trace details (#2581)
fix(next): discover root entrypoints (#2564)
[core] Turbo: skip the unused run_started event-log preload (#2569)
fix(next): prewarm SWC plugin cache (#2538)
[world-vercel] Use v3 stream endpoint (supports transparent reconnect on timeout) (#2424)
[core] Retry stream reopen against the reconnect budget (#2334)
Add Platformatic World to worlds-manifest.json (#1450)
docs: derive section landing-page cards from the page tree + lint drift (#2567)
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

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

Send occurredAt with workflow events - #2580

Merged
karthikscale3 merged 3 commits into
mainfrom
kk/send-event-occurred-at
Jun 23, 2026
Merged

Send occurredAt with workflow events#2580
karthikscale3 merged 3 commits into
mainfrom
kk/send-event-occurred-at

Conversation

@karthikscale3

Copy link
Copy Markdown
Contributor

Summary

  • add optional occurredAt metadata to the shared world event creation contract and event schema
  • send occurredAt through world-vercel v4 event frame metadata, defaulting to the client-side post time
  • preserve occurredAt on returned v4 events and keep world-postgres schema typing compatible until it persists the field

Validation

  • pnpm --filter @workflow/world build
  • pnpm --filter @workflow/world-vercel test -- events.test.ts
  • pnpm --filter @workflow/world-vercel typecheck
  • pnpm --filter @workflow/world-postgres typecheck
  • pnpm biome check .changeset/send-event-occurred-at.md packages/world/src/events.ts packages/world-vercel/src/events-v4.ts packages/world-vercel/src/events.ts packages/world-vercel/src/events.test.ts packages/world-postgres/src/drizzle/schema.ts
  • pnpm changeset status --since=origin/main

@changeset-bot

changeset-botBot commented Jun 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c8dd67e

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-vercelPatch
@workflow/world-postgresPatch
@workflow/cliPatch
@workflow/corePatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
@workflow/world-localPatch
@workflow/world-testingPatch
workflowPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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

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

@vercel

vercelBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.046s (-2.1%)1.006s (~)0.960s101.00x
💻 LocalExpress0.046s (-3.7%)1.006s (-0.7%)0.960s101.02x
💻 LocalNext.js (Turbopack)0.052s (+6.1% 🔺)1.006s (~)0.953s101.15x
🐘 PostgresNext.js (Turbopack)0.056s (-4.1%)1.012s (~)0.956s101.23x
🐘 PostgresNitro0.063s (-14.3% 🟢)1.011s (~)0.948s101.37x
🐘 PostgresExpress0.067s (+6.5% 🔺)1.012s (~)0.945s101.47x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.485s (+49.3% 🔺)2.428s (-1.9%)1.944s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.075s (~)2.007s (~)0.932s101.00x
💻 LocalNitro1.081s (~)2.006s (~)0.925s101.01x
💻 LocalNext.js (Turbopack)1.082s (~)2.006s (~)0.924s101.01x
🐘 PostgresNitro1.089s (-0.7%)2.009s (~)0.921s101.01x
🐘 PostgresNext.js (Turbopack)1.095s (~)2.010s (~)0.915s101.02x
🐘 PostgresExpress1.106s (+1.5%)2.013s (~)0.906s101.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.459s (+2.8%)3.205s (~)1.747s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.418s (~)11.022s (~)0.605s31.00x
💻 LocalNitro10.426s (~)11.022s (~)0.597s31.00x
🐘 PostgresNitro10.443s (~)11.017s (~)0.574s31.00x
💻 LocalNext.js (Turbopack)10.461s (~)11.022s (~)0.560s31.00x
🐘 PostgresNext.js (Turbopack)10.475s (~)11.017s (~)0.542s31.01x
🐘 PostgresExpress10.504s (+0.7%)11.021s (~)0.517s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro13.144s (+10.7% 🔺)14.957s (+7.3% 🔺)1.812s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.527s (~)14.028s (~)0.502s51.00x
🐘 PostgresNitro13.557s (-0.8%)14.021s (~)0.464s51.00x
💻 LocalNitro13.568s (-1.2%)14.027s (-1.4%)0.459s51.00x
🐘 PostgresNext.js (Turbopack)13.596s (-1.3%)14.021s (~)0.426s51.01x
💻 LocalNext.js (Turbopack)13.670s (+0.7%)14.027s (~)0.357s51.01x
🐘 PostgresExpress13.833s (+1.6%)14.021s (~)0.188s51.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro19.442s (-9.1% 🟢)21.407s (-10.7% 🟢)1.965s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.046s (~)12.525s (-2.0%)0.479s81.00x
💻 LocalNitro12.056s (-2.6%)13.025s (~)0.969s71.00x
🐘 PostgresNext.js (Turbopack)12.240s (~)13.018s (~)0.778s71.02x
💻 LocalNext.js (Turbopack)12.308s (+0.7%)13.025s (~)0.717s71.02x
🐘 PostgresExpress12.333s (+2.1%)13.022s (+1.1%)0.689s71.02x
🐘 PostgresNitro12.337s (+1.4%)13.021s (~)0.684s71.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro25.459s (-24.7% 🟢)27.480s (-22.4% 🟢)2.020s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.169s (-0.7%)2.008s (~)0.840s151.00x
🐘 PostgresNext.js (Turbopack)1.184s (~)2.007s (~)0.822s151.01x
🐘 PostgresExpress1.205s (+1.4%)2.009s (~)0.804s151.03x
💻 LocalExpress1.368s (-0.8%)2.006s (~)0.638s151.17x
💻 LocalNitro1.415s (~)2.006s (~)0.591s151.21x
💻 LocalNext.js (Turbopack)1.451s (+3.8%)2.007s (~)0.556s151.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.005s (+32.4% 🔺)4.893s (+22.0% 🔺)1.888s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.317s (-0.8%)3.009s (~)1.691s101.00x
🐘 PostgresNitro1.324s (-3.3%)2.675s (-5.3% 🟢)1.351s121.00x
🐘 PostgresExpress1.429s (+1.9%)2.471s (+6.6% 🔺)1.041s131.09x
💻 LocalNitro2.353s (-10.3% 🟢)2.735s (-9.1% 🟢)0.382s111.79x
💻 LocalExpress2.383s (-1.9%)2.826s (-6.1% 🟢)0.443s111.81x
💻 LocalNext.js (Turbopack)2.529s (-6.2% 🟢)3.209s (+3.3%)0.681s101.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.193s (-46.1% 🟢)6.458s (-40.3% 🟢)2.266s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.537s (-5.0% 🟢)4.011s (-3.1%)2.474s81.00x
🐘 PostgresExpress1.635s (+3.2%)4.014s (-3.0%)2.379s81.06x
🐘 PostgresNext.js (Turbopack)2.877s (+13.9% 🔺)5.846s (+6.0% 🔺)2.969s61.87x
💻 LocalNext.js (Turbopack)5.515s (+0.8%)6.181s (-0.6%)0.666s63.59x
💻 LocalExpress5.797s (-5.2% 🟢)6.614s (~)0.816s53.77x
💻 LocalNitro6.316s (+3.0%)6.817s (+3.0%)0.501s54.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.216s (+1.5%)7.692s (+12.3% 🔺)2.476s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.176s (~)2.007s (~)0.831s151.00x
🐘 PostgresNext.js (Turbopack)1.181s (~)2.008s (~)0.827s151.00x
🐘 PostgresExpress1.192s (+2.4%)2.007s (~)0.815s151.01x
💻 LocalExpress1.362s (-1.7%)2.007s (~)0.645s151.16x
💻 LocalNitro1.414s (-0.9%)2.006s (~)0.593s151.20x
💻 LocalNext.js (Turbopack)1.456s (+3.3%)2.006s (~)0.551s151.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.261s (-6.1% 🟢)5.082s (-3.8%)1.821s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.283s (-1.1%)3.008s (+3.1%)1.725s101.00x
🐘 PostgresExpress1.309s (-1.3%)2.594s (+13.0% 🔺)1.284s121.02x
🐘 PostgresNitro1.361s (+3.8%)2.592s (-3.1%)1.231s121.06x
💻 LocalNext.js (Turbopack)2.411s (-8.1% 🟢)3.211s (+6.7% 🔺)0.800s101.88x
💻 LocalNitro2.491s (-2.2%)3.009s (-3.3%)0.518s101.94x
💻 LocalExpress2.532s (+2.3%)3.009s (~)0.477s101.97x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.013s (-77.4% 🟢)5.229s (-67.1% 🟢)2.216s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.559s (-4.9%)4.010s (~)2.450s81.00x
🐘 PostgresExpress1.704s (-8.6% 🟢)4.731s (+10.1% 🔺)3.027s71.09x
🐘 PostgresNext.js (Turbopack)3.007s (-4.8%)6.020s (+6.0% 🔺)3.012s51.93x
💻 LocalExpress5.952s (-6.5% 🟢)6.814s (-5.6% 🟢)0.862s53.82x
💻 LocalNext.js (Turbopack)5.995s (+14.0% 🔺)6.615s (+13.1% 🔺)0.620s53.85x
💻 LocalNitro6.011s (-13.1% 🟢)6.819s (-12.2% 🟢)0.808s53.86x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.715s (-79.3% 🟢)6.028s (-69.5% 🟢)2.313s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.530s (~)1.007s (~)0.476s601.00x
💻 LocalExpress0.548s (-14.8% 🟢)1.005s (-3.3%)0.457s601.03x
🐘 PostgresNitro0.558s (+2.0%)1.041s (+1.7%)0.482s581.05x
💻 LocalNitro0.590s (~)1.022s (+1.6%)0.432s591.11x
💻 LocalNext.js (Turbopack)0.599s (~)1.005s (~)0.406s601.13x
🐘 PostgresExpress0.607s (+15.0% 🔺)1.024s (+1.8%)0.417s591.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.004s (+6.8% 🔺)4.958s (+8.9% 🔺)1.954s131.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.241s (-3.3%)2.007s (-1.1%)0.766s451.00x
🐘 PostgresNext.js (Turbopack)1.249s (-3.1%)2.008s (~)0.758s451.01x
🐘 PostgresExpress1.405s (+9.4% 🔺)2.053s (+2.3%)0.647s441.13x
💻 LocalExpress1.417s (~)2.005s (~)0.589s451.14x
💻 LocalNitro1.450s (-1.5%)2.006s (~)0.557s451.17x
💻 LocalNext.js (Turbopack)1.503s (+0.5%)2.007s (~)0.504s451.21x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro8.405s (-5.7% 🟢)10.459s (-4.3%)2.054s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.470s (-4.9%)3.059s (-0.9%)0.588s401.00x
🐘 PostgresNext.js (Turbopack)2.500s (-1.5%)3.008s (-0.8%)0.509s401.01x
🐘 PostgresExpress2.706s (+10.8% 🔺)3.009s (-1.6%)0.303s401.10x
💻 LocalExpress3.052s (-2.4%)3.644s (-5.4% 🟢)0.593s331.24x
💻 LocalNitro3.098s (-3.2%)3.822s (-4.7%)0.724s321.25x
💻 LocalNext.js (Turbopack)3.264s (-2.0%)4.009s (+1.6%)0.745s301.32x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.529s (+33.9% 🔺)21.148s (+33.5% 🔺)2.619s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.161s (-4.3%)1.006s (~)0.845s601.00x
🐘 PostgresNitro0.194s (-18.7% 🟢)1.006s (-1.7%)0.812s601.20x
🐘 PostgresExpress0.222s (+11.2% 🔺)1.007s (~)0.785s601.37x
💻 LocalNitro0.426s (-3.5%)1.004s (~)0.578s602.64x
💻 LocalExpress0.434s (+0.8%)1.004s (~)0.570s602.69x
💻 LocalNext.js (Turbopack)0.620s (-5.9% 🟢)1.005s (-1.7%)0.385s603.84x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.357s (+15.0% 🔺)3.100s (+16.7% 🔺)1.743s201.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.268s (~)1.018s (+1.2%)0.750s891.00x
🐘 PostgresNitro0.301s (-8.8% 🟢)1.006s (~)0.705s901.13x
🐘 PostgresExpress0.340s (+11.1% 🔺)1.007s (~)0.667s901.27x
💻 LocalExpress2.047s (-1.8%)2.714s (+1.8%)0.667s347.65x
💻 LocalNitro2.105s (-2.3%)2.736s (+1.8%)0.630s337.87x
💻 LocalNext.js (Turbopack)2.711s (~)3.112s (-5.6% 🟢)0.401s2910.13x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.287s (-18.5% 🟢)4.308s (-5.9% 🟢)2.021s221.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.444s (-13.0% 🟢)1.087s (+7.2% 🔺)0.643s1111.00x
🐘 PostgresNext.js (Turbopack)0.484s (-1.0%)3.034s (+2.5%)2.550s401.09x
🐘 PostgresExpress0.537s (+7.1% 🔺)1.051s (+1.8%)0.514s1151.21x
💻 LocalNitro9.509s (-1.6%)10.526s (-3.8%)1.017s1221.41x
💻 LocalExpress9.751s (+4.2%)10.528s (~)0.777s1221.96x
💻 LocalNext.js (Turbopack)10.253s (+1.4%)11.487s (+2.5%)1.234s1123.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.935s (-38.2% 🟢)6.376s (-22.1% 🟢)2.441s191.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.141s (-0.8%)2.000s (~)0.001s (-28.6% 🟢)2.010s (~)0.869s101.00x
💻 LocalNext.js (Turbopack)1.147s (~)1.967s (~)0.012s (+16.3% 🔺)2.020s (~)0.873s101.00x
💻 LocalExpress1.152s (~)2.004s (~)0.011s (+5.0%)2.017s (~)0.865s101.01x
🐘 PostgresNext.js (Turbopack)1.157s (~)2.001s (~)0.001s (-6.7% 🟢)2.012s (~)0.855s101.01x
💻 LocalNitro1.161s (-1.1%)2.004s (~)0.010s (-15.7% 🟢)2.018s (~)0.857s101.02x
🐘 PostgresExpress1.173s (+1.3%)1.997s (~)0.001s (+27.3% 🔺)2.010s (~)0.837s101.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.581s (+19.9% 🔺)4.044s (+21.1% 🔺)3.125s (-27.3% 🟢)7.861s (-4.6%)5.280s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.524s (-1.8%)2.010s (~)0.012s (+3.4%)2.025s (~)0.501s301.00x
🐘 PostgresNitro1.537s (-1.7%)2.005s (~)0.004s (-11.8% 🟢)2.023s (~)0.486s301.01x
💻 LocalExpress1.543s (+1.2%)2.009s (~)0.012s (+3.3%)2.024s (~)0.481s301.01x
🐘 PostgresNext.js (Turbopack)1.587s (+1.3%)2.011s (~)0.005s (+4.0%)2.027s (~)0.440s301.04x
💻 LocalNext.js (Turbopack)1.627s (+4.5%)2.000s (+1.4%)0.013s (+13.8% 🔺)2.060s (+1.8%)0.434s301.07x
🐘 PostgresExpress1.649s (+7.3% 🔺)2.041s (+1.7%)0.005s (-5.5% 🟢)2.060s (+1.7%)0.412s301.08x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.817s (+15.3% 🔺)8.515s (+17.9% 🔺)0.245s (-48.1% 🟢)9.332s (+13.4% 🔺)2.516s71.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.751s (-4.9%)1.069s (+2.2%)0.000s (NaN%)1.088s (+2.4%)0.336s571.00x
🐘 PostgresExpress0.842s (+11.2% 🔺)1.122s (+5.2% 🔺)0.000s (-46.2% 🟢)1.155s (+6.8% 🔺)0.314s521.12x
🐘 PostgresNext.js (Turbopack)0.925s (-5.1% 🟢)1.387s (+1.7%)0.000s (NaN%)1.399s (+2.0%)0.474s441.23x
💻 LocalExpress1.247s (~)1.982s (~)0.001s (+500.0% 🔺)1.984s (~)0.737s311.66x
💻 LocalNitro1.271s (-2.1%)2.014s (~)0.000s (+200.0% 🔺)2.017s (~)0.746s301.69x
💻 LocalNext.js (Turbopack)1.381s (~)1.979s (~)0.000s (~)2.016s (~)0.636s301.84x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.400s (+42.2% 🔺)5.769s (+31.5% 🔺)0.003s (+3930.0% 🔺)6.359s (+27.6% 🔺)1.960s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.639s (-3.1%)2.220s (~)0.000s (+Infinity% 🔺)2.231s (~)0.592s271.00x
🐘 PostgresExpress1.959s (+11.9% 🔺)2.384s (+3.6%)0.000s (-100.0% 🟢)2.412s (+4.0%)0.454s261.20x
🐘 PostgresNext.js (Turbopack)2.362s (+1.2%)2.905s (~)0.000s (NaN%)2.914s (~)0.552s211.44x
💻 LocalExpress3.267s (-0.6%)3.966s (~)0.001s (+6.3% 🔺)3.970s (~)0.703s161.99x
💻 LocalNitro3.605s (-4.3%)4.295s (-2.1%)0.001s (+166.7% 🔺)4.299s (-2.1%)0.694s152.20x
💻 LocalNext.js (Turbopack)3.892s (+12.5% 🔺)4.422s (+10.8% 🔺)0.001s (+20.5% 🔺)4.465s (+10.7% 🔺)0.573s142.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.823s (-23.8% 🟢)8.382s (-20.2% 🟢)0.000s (+71.4% 🔺)8.927s (-19.6% 🟢)2.104s71.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress13/21
🐘 PostgresNitro14/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run

@github-actions

github-actionsBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

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

Details by Category

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

📋 View full workflow run

@karthikscale3karthikscale3 changed the title [codex] Send occurredAt with workflow eventsSend occurredAt with workflow eventsJun 23, 2026
@karthikscale3
karthikscale3 marked this pull request as ready for review June 23, 2026 05:24
@karthikscale3
karthikscale3 requested review from a team and ijjk as code ownersJune 23, 2026 05:24

@vercelvercelBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Additional Suggestion:

TS2741 build failure: the exhaustive Record<AttributeKey, ...>attributeToDisplayFn is missing the newly-added occurredAt key from the Event type.

Fix on Vercel

…d-at
# Conflicts:
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
@karthikscale3
karthikscale3 merged commit 25c3df7 into mainJun 23, 2026
175 of 182 checks passed
@karthikscale3
karthikscale3 deleted the kk/send-event-occurred-at branch June 23, 2026 18:50
@github-actionsgithub-actionsBot mentioned this pull request Jun 23, 2026
github-actionsBot added a commit that referenced this pull request Jun 23, 2026
* Send occurredAt with workflow events
* Fix occurredAt detail typing
Signed-off-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2589. Merge conflicts were resolved by AI — please review carefully. (backport job run)

karthikscale3 added a commit that referenced this pull request Jun 23, 2026
* Send occurredAt with workflow events
* Fix occurredAt detail typing
Signed-off-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
pranaygp added a commit that referenced this pull request Jun 23, 2026
…testing
* origin/main:
Trace /flow route initialization (#2592)
Version Packages (beta) (#2591)
feat(web): add trace step shortcut helper (#2582)
[web-shared] reskin json viewer (no duplicates, better colours and navigation) (#2434)
Send occurredAt with workflow events (#2580)
docs: use actual eve logo and tidy OSS nav dropdown (#2586)
Display occurredAt in trace details (#2581)
fix(next): discover root entrypoints (#2564)
[core] Turbo: skip the unused run_started event-log preload (#2569)
fix(next): prewarm SWC plugin cache (#2538)
[world-vercel] Use v3 stream endpoint (supports transparent reconnect on timeout) (#2424)
[core] Retry stream reopen against the reconnect budget (#2334)
Add Platformatic World to worlds-manifest.json (#1450)
docs: derive section landing-page cards from the page tree + lint drift (#2567)
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

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

Send occurredAt with workflow events - #2580

Merged
karthikscale3 merged 3 commits into
mainfrom
kk/send-event-occurred-at
Jun 23, 2026
Merged

Send occurredAt with workflow events#2580
karthikscale3 merged 3 commits into
mainfrom
kk/send-event-occurred-at

Conversation

@karthikscale3

Copy link
Copy Markdown
Contributor

Summary

  • add optional occurredAt metadata to the shared world event creation contract and event schema
  • send occurredAt through world-vercel v4 event frame metadata, defaulting to the client-side post time
  • preserve occurredAt on returned v4 events and keep world-postgres schema typing compatible until it persists the field

Validation

  • pnpm --filter @workflow/world build
  • pnpm --filter @workflow/world-vercel test -- events.test.ts
  • pnpm --filter @workflow/world-vercel typecheck
  • pnpm --filter @workflow/world-postgres typecheck
  • pnpm biome check .changeset/send-event-occurred-at.md packages/world/src/events.ts packages/world-vercel/src/events-v4.ts packages/world-vercel/src/events.ts packages/world-vercel/src/events.test.ts packages/world-postgres/src/drizzle/schema.ts
  • pnpm changeset status --since=origin/main

@changeset-bot

changeset-botBot commented Jun 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c8dd67e

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-vercelPatch
@workflow/world-postgresPatch
@workflow/cliPatch
@workflow/corePatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
@workflow/world-localPatch
@workflow/world-testingPatch
workflowPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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

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

@vercel

vercelBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.046s (-2.1%)1.006s (~)0.960s101.00x
💻 LocalExpress0.046s (-3.7%)1.006s (-0.7%)0.960s101.02x
💻 LocalNext.js (Turbopack)0.052s (+6.1% 🔺)1.006s (~)0.953s101.15x
🐘 PostgresNext.js (Turbopack)0.056s (-4.1%)1.012s (~)0.956s101.23x
🐘 PostgresNitro0.063s (-14.3% 🟢)1.011s (~)0.948s101.37x
🐘 PostgresExpress0.067s (+6.5% 🔺)1.012s (~)0.945s101.47x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.485s (+49.3% 🔺)2.428s (-1.9%)1.944s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.075s (~)2.007s (~)0.932s101.00x
💻 LocalNitro1.081s (~)2.006s (~)0.925s101.01x
💻 LocalNext.js (Turbopack)1.082s (~)2.006s (~)0.924s101.01x
🐘 PostgresNitro1.089s (-0.7%)2.009s (~)0.921s101.01x
🐘 PostgresNext.js (Turbopack)1.095s (~)2.010s (~)0.915s101.02x
🐘 PostgresExpress1.106s (+1.5%)2.013s (~)0.906s101.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.459s (+2.8%)3.205s (~)1.747s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.418s (~)11.022s (~)0.605s31.00x
💻 LocalNitro10.426s (~)11.022s (~)0.597s31.00x
🐘 PostgresNitro10.443s (~)11.017s (~)0.574s31.00x
💻 LocalNext.js (Turbopack)10.461s (~)11.022s (~)0.560s31.00x
🐘 PostgresNext.js (Turbopack)10.475s (~)11.017s (~)0.542s31.01x
🐘 PostgresExpress10.504s (+0.7%)11.021s (~)0.517s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro13.144s (+10.7% 🔺)14.957s (+7.3% 🔺)1.812s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.527s (~)14.028s (~)0.502s51.00x
🐘 PostgresNitro13.557s (-0.8%)14.021s (~)0.464s51.00x
💻 LocalNitro13.568s (-1.2%)14.027s (-1.4%)0.459s51.00x
🐘 PostgresNext.js (Turbopack)13.596s (-1.3%)14.021s (~)0.426s51.01x
💻 LocalNext.js (Turbopack)13.670s (+0.7%)14.027s (~)0.357s51.01x
🐘 PostgresExpress13.833s (+1.6%)14.021s (~)0.188s51.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro19.442s (-9.1% 🟢)21.407s (-10.7% 🟢)1.965s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.046s (~)12.525s (-2.0%)0.479s81.00x
💻 LocalNitro12.056s (-2.6%)13.025s (~)0.969s71.00x
🐘 PostgresNext.js (Turbopack)12.240s (~)13.018s (~)0.778s71.02x
💻 LocalNext.js (Turbopack)12.308s (+0.7%)13.025s (~)0.717s71.02x
🐘 PostgresExpress12.333s (+2.1%)13.022s (+1.1%)0.689s71.02x
🐘 PostgresNitro12.337s (+1.4%)13.021s (~)0.684s71.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro25.459s (-24.7% 🟢)27.480s (-22.4% 🟢)2.020s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.169s (-0.7%)2.008s (~)0.840s151.00x
🐘 PostgresNext.js (Turbopack)1.184s (~)2.007s (~)0.822s151.01x
🐘 PostgresExpress1.205s (+1.4%)2.009s (~)0.804s151.03x
💻 LocalExpress1.368s (-0.8%)2.006s (~)0.638s151.17x
💻 LocalNitro1.415s (~)2.006s (~)0.591s151.21x
💻 LocalNext.js (Turbopack)1.451s (+3.8%)2.007s (~)0.556s151.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.005s (+32.4% 🔺)4.893s (+22.0% 🔺)1.888s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.317s (-0.8%)3.009s (~)1.691s101.00x
🐘 PostgresNitro1.324s (-3.3%)2.675s (-5.3% 🟢)1.351s121.00x
🐘 PostgresExpress1.429s (+1.9%)2.471s (+6.6% 🔺)1.041s131.09x
💻 LocalNitro2.353s (-10.3% 🟢)2.735s (-9.1% 🟢)0.382s111.79x
💻 LocalExpress2.383s (-1.9%)2.826s (-6.1% 🟢)0.443s111.81x
💻 LocalNext.js (Turbopack)2.529s (-6.2% 🟢)3.209s (+3.3%)0.681s101.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.193s (-46.1% 🟢)6.458s (-40.3% 🟢)2.266s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.537s (-5.0% 🟢)4.011s (-3.1%)2.474s81.00x
🐘 PostgresExpress1.635s (+3.2%)4.014s (-3.0%)2.379s81.06x
🐘 PostgresNext.js (Turbopack)2.877s (+13.9% 🔺)5.846s (+6.0% 🔺)2.969s61.87x
💻 LocalNext.js (Turbopack)5.515s (+0.8%)6.181s (-0.6%)0.666s63.59x
💻 LocalExpress5.797s (-5.2% 🟢)6.614s (~)0.816s53.77x
💻 LocalNitro6.316s (+3.0%)6.817s (+3.0%)0.501s54.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.216s (+1.5%)7.692s (+12.3% 🔺)2.476s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.176s (~)2.007s (~)0.831s151.00x
🐘 PostgresNext.js (Turbopack)1.181s (~)2.008s (~)0.827s151.00x
🐘 PostgresExpress1.192s (+2.4%)2.007s (~)0.815s151.01x
💻 LocalExpress1.362s (-1.7%)2.007s (~)0.645s151.16x
💻 LocalNitro1.414s (-0.9%)2.006s (~)0.593s151.20x
💻 LocalNext.js (Turbopack)1.456s (+3.3%)2.006s (~)0.551s151.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.261s (-6.1% 🟢)5.082s (-3.8%)1.821s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.283s (-1.1%)3.008s (+3.1%)1.725s101.00x
🐘 PostgresExpress1.309s (-1.3%)2.594s (+13.0% 🔺)1.284s121.02x
🐘 PostgresNitro1.361s (+3.8%)2.592s (-3.1%)1.231s121.06x
💻 LocalNext.js (Turbopack)2.411s (-8.1% 🟢)3.211s (+6.7% 🔺)0.800s101.88x
💻 LocalNitro2.491s (-2.2%)3.009s (-3.3%)0.518s101.94x
💻 LocalExpress2.532s (+2.3%)3.009s (~)0.477s101.97x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.013s (-77.4% 🟢)5.229s (-67.1% 🟢)2.216s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.559s (-4.9%)4.010s (~)2.450s81.00x
🐘 PostgresExpress1.704s (-8.6% 🟢)4.731s (+10.1% 🔺)3.027s71.09x
🐘 PostgresNext.js (Turbopack)3.007s (-4.8%)6.020s (+6.0% 🔺)3.012s51.93x
💻 LocalExpress5.952s (-6.5% 🟢)6.814s (-5.6% 🟢)0.862s53.82x
💻 LocalNext.js (Turbopack)5.995s (+14.0% 🔺)6.615s (+13.1% 🔺)0.620s53.85x
💻 LocalNitro6.011s (-13.1% 🟢)6.819s (-12.2% 🟢)0.808s53.86x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.715s (-79.3% 🟢)6.028s (-69.5% 🟢)2.313s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.530s (~)1.007s (~)0.476s601.00x
💻 LocalExpress0.548s (-14.8% 🟢)1.005s (-3.3%)0.457s601.03x
🐘 PostgresNitro0.558s (+2.0%)1.041s (+1.7%)0.482s581.05x
💻 LocalNitro0.590s (~)1.022s (+1.6%)0.432s591.11x
💻 LocalNext.js (Turbopack)0.599s (~)1.005s (~)0.406s601.13x
🐘 PostgresExpress0.607s (+15.0% 🔺)1.024s (+1.8%)0.417s591.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.004s (+6.8% 🔺)4.958s (+8.9% 🔺)1.954s131.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.241s (-3.3%)2.007s (-1.1%)0.766s451.00x
🐘 PostgresNext.js (Turbopack)1.249s (-3.1%)2.008s (~)0.758s451.01x
🐘 PostgresExpress1.405s (+9.4% 🔺)2.053s (+2.3%)0.647s441.13x
💻 LocalExpress1.417s (~)2.005s (~)0.589s451.14x
💻 LocalNitro1.450s (-1.5%)2.006s (~)0.557s451.17x
💻 LocalNext.js (Turbopack)1.503s (+0.5%)2.007s (~)0.504s451.21x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro8.405s (-5.7% 🟢)10.459s (-4.3%)2.054s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.470s (-4.9%)3.059s (-0.9%)0.588s401.00x
🐘 PostgresNext.js (Turbopack)2.500s (-1.5%)3.008s (-0.8%)0.509s401.01x
🐘 PostgresExpress2.706s (+10.8% 🔺)3.009s (-1.6%)0.303s401.10x
💻 LocalExpress3.052s (-2.4%)3.644s (-5.4% 🟢)0.593s331.24x
💻 LocalNitro3.098s (-3.2%)3.822s (-4.7%)0.724s321.25x
💻 LocalNext.js (Turbopack)3.264s (-2.0%)4.009s (+1.6%)0.745s301.32x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.529s (+33.9% 🔺)21.148s (+33.5% 🔺)2.619s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.161s (-4.3%)1.006s (~)0.845s601.00x
🐘 PostgresNitro0.194s (-18.7% 🟢)1.006s (-1.7%)0.812s601.20x
🐘 PostgresExpress0.222s (+11.2% 🔺)1.007s (~)0.785s601.37x
💻 LocalNitro0.426s (-3.5%)1.004s (~)0.578s602.64x
💻 LocalExpress0.434s (+0.8%)1.004s (~)0.570s602.69x
💻 LocalNext.js (Turbopack)0.620s (-5.9% 🟢)1.005s (-1.7%)0.385s603.84x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.357s (+15.0% 🔺)3.100s (+16.7% 🔺)1.743s201.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.268s (~)1.018s (+1.2%)0.750s891.00x
🐘 PostgresNitro0.301s (-8.8% 🟢)1.006s (~)0.705s901.13x
🐘 PostgresExpress0.340s (+11.1% 🔺)1.007s (~)0.667s901.27x
💻 LocalExpress2.047s (-1.8%)2.714s (+1.8%)0.667s347.65x
💻 LocalNitro2.105s (-2.3%)2.736s (+1.8%)0.630s337.87x
💻 LocalNext.js (Turbopack)2.711s (~)3.112s (-5.6% 🟢)0.401s2910.13x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.287s (-18.5% 🟢)4.308s (-5.9% 🟢)2.021s221.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.444s (-13.0% 🟢)1.087s (+7.2% 🔺)0.643s1111.00x
🐘 PostgresNext.js (Turbopack)0.484s (-1.0%)3.034s (+2.5%)2.550s401.09x
🐘 PostgresExpress0.537s (+7.1% 🔺)1.051s (+1.8%)0.514s1151.21x
💻 LocalNitro9.509s (-1.6%)10.526s (-3.8%)1.017s1221.41x
💻 LocalExpress9.751s (+4.2%)10.528s (~)0.777s1221.96x
💻 LocalNext.js (Turbopack)10.253s (+1.4%)11.487s (+2.5%)1.234s1123.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.935s (-38.2% 🟢)6.376s (-22.1% 🟢)2.441s191.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.141s (-0.8%)2.000s (~)0.001s (-28.6% 🟢)2.010s (~)0.869s101.00x
💻 LocalNext.js (Turbopack)1.147s (~)1.967s (~)0.012s (+16.3% 🔺)2.020s (~)0.873s101.00x
💻 LocalExpress1.152s (~)2.004s (~)0.011s (+5.0%)2.017s (~)0.865s101.01x
🐘 PostgresNext.js (Turbopack)1.157s (~)2.001s (~)0.001s (-6.7% 🟢)2.012s (~)0.855s101.01x
💻 LocalNitro1.161s (-1.1%)2.004s (~)0.010s (-15.7% 🟢)2.018s (~)0.857s101.02x
🐘 PostgresExpress1.173s (+1.3%)1.997s (~)0.001s (+27.3% 🔺)2.010s (~)0.837s101.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.581s (+19.9% 🔺)4.044s (+21.1% 🔺)3.125s (-27.3% 🟢)7.861s (-4.6%)5.280s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.524s (-1.8%)2.010s (~)0.012s (+3.4%)2.025s (~)0.501s301.00x
🐘 PostgresNitro1.537s (-1.7%)2.005s (~)0.004s (-11.8% 🟢)2.023s (~)0.486s301.01x
💻 LocalExpress1.543s (+1.2%)2.009s (~)0.012s (+3.3%)2.024s (~)0.481s301.01x
🐘 PostgresNext.js (Turbopack)1.587s (+1.3%)2.011s (~)0.005s (+4.0%)2.027s (~)0.440s301.04x
💻 LocalNext.js (Turbopack)1.627s (+4.5%)2.000s (+1.4%)0.013s (+13.8% 🔺)2.060s (+1.8%)0.434s301.07x
🐘 PostgresExpress1.649s (+7.3% 🔺)2.041s (+1.7%)0.005s (-5.5% 🟢)2.060s (+1.7%)0.412s301.08x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.817s (+15.3% 🔺)8.515s (+17.9% 🔺)0.245s (-48.1% 🟢)9.332s (+13.4% 🔺)2.516s71.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.751s (-4.9%)1.069s (+2.2%)0.000s (NaN%)1.088s (+2.4%)0.336s571.00x
🐘 PostgresExpress0.842s (+11.2% 🔺)1.122s (+5.2% 🔺)0.000s (-46.2% 🟢)1.155s (+6.8% 🔺)0.314s521.12x
🐘 PostgresNext.js (Turbopack)0.925s (-5.1% 🟢)1.387s (+1.7%)0.000s (NaN%)1.399s (+2.0%)0.474s441.23x
💻 LocalExpress1.247s (~)1.982s (~)0.001s (+500.0% 🔺)1.984s (~)0.737s311.66x
💻 LocalNitro1.271s (-2.1%)2.014s (~)0.000s (+200.0% 🔺)2.017s (~)0.746s301.69x
💻 LocalNext.js (Turbopack)1.381s (~)1.979s (~)0.000s (~)2.016s (~)0.636s301.84x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.400s (+42.2% 🔺)5.769s (+31.5% 🔺)0.003s (+3930.0% 🔺)6.359s (+27.6% 🔺)1.960s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.639s (-3.1%)2.220s (~)0.000s (+Infinity% 🔺)2.231s (~)0.592s271.00x
🐘 PostgresExpress1.959s (+11.9% 🔺)2.384s (+3.6%)0.000s (-100.0% 🟢)2.412s (+4.0%)0.454s261.20x
🐘 PostgresNext.js (Turbopack)2.362s (+1.2%)2.905s (~)0.000s (NaN%)2.914s (~)0.552s211.44x
💻 LocalExpress3.267s (-0.6%)3.966s (~)0.001s (+6.3% 🔺)3.970s (~)0.703s161.99x
💻 LocalNitro3.605s (-4.3%)4.295s (-2.1%)0.001s (+166.7% 🔺)4.299s (-2.1%)0.694s152.20x
💻 LocalNext.js (Turbopack)3.892s (+12.5% 🔺)4.422s (+10.8% 🔺)0.001s (+20.5% 🔺)4.465s (+10.7% 🔺)0.573s142.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.823s (-23.8% 🟢)8.382s (-20.2% 🟢)0.000s (+71.4% 🔺)8.927s (-19.6% 🟢)2.104s71.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress13/21
🐘 PostgresNitro14/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run

@github-actions

github-actionsBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

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

Details by Category

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

📋 View full workflow run

@karthikscale3karthikscale3 changed the title [codex] Send occurredAt with workflow eventsSend occurredAt with workflow eventsJun 23, 2026
@karthikscale3
karthikscale3 marked this pull request as ready for review June 23, 2026 05:24
@karthikscale3
karthikscale3 requested review from a team and ijjk as code ownersJune 23, 2026 05:24

@vercelvercelBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Additional Suggestion:

TS2741 build failure: the exhaustive Record<AttributeKey, ...>attributeToDisplayFn is missing the newly-added occurredAt key from the Event type.

Fix on Vercel

…d-at
# Conflicts:
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
@karthikscale3
karthikscale3 merged commit 25c3df7 into mainJun 23, 2026
175 of 182 checks passed
@karthikscale3
karthikscale3 deleted the kk/send-event-occurred-at branch June 23, 2026 18:50
@github-actionsgithub-actionsBot mentioned this pull request Jun 23, 2026
github-actionsBot added a commit that referenced this pull request Jun 23, 2026
* Send occurredAt with workflow events
* Fix occurredAt detail typing
Signed-off-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2589. Merge conflicts were resolved by AI — please review carefully. (backport job run)

karthikscale3 added a commit that referenced this pull request Jun 23, 2026
* Send occurredAt with workflow events
* Fix occurredAt detail typing
Signed-off-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
pranaygp added a commit that referenced this pull request Jun 23, 2026
…testing
* origin/main:
Trace /flow route initialization (#2592)
Version Packages (beta) (#2591)
feat(web): add trace step shortcut helper (#2582)
[web-shared] reskin json viewer (no duplicates, better colours and navigation) (#2434)
Send occurredAt with workflow events (#2580)
docs: use actual eve logo and tidy OSS nav dropdown (#2586)
Display occurredAt in trace details (#2581)
fix(next): discover root entrypoints (#2564)
[core] Turbo: skip the unused run_started event-log preload (#2569)
fix(next): prewarm SWC plugin cache (#2538)
[world-vercel] Use v3 stream endpoint (supports transparent reconnect on timeout) (#2424)
[core] Retry stream reopen against the reconnect budget (#2334)
Add Platformatic World to worlds-manifest.json (#1450)
docs: derive section landing-page cards from the page tree + lint drift (#2567)
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

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

Send occurredAt with workflow events - #2580

Merged
karthikscale3 merged 3 commits into
mainfrom
kk/send-event-occurred-at
Jun 23, 2026
Merged

Send occurredAt with workflow events#2580
karthikscale3 merged 3 commits into
mainfrom
kk/send-event-occurred-at

Conversation

@karthikscale3

Copy link
Copy Markdown
Contributor

Summary

  • add optional occurredAt metadata to the shared world event creation contract and event schema
  • send occurredAt through world-vercel v4 event frame metadata, defaulting to the client-side post time
  • preserve occurredAt on returned v4 events and keep world-postgres schema typing compatible until it persists the field

Validation

  • pnpm --filter @workflow/world build
  • pnpm --filter @workflow/world-vercel test -- events.test.ts
  • pnpm --filter @workflow/world-vercel typecheck
  • pnpm --filter @workflow/world-postgres typecheck
  • pnpm biome check .changeset/send-event-occurred-at.md packages/world/src/events.ts packages/world-vercel/src/events-v4.ts packages/world-vercel/src/events.ts packages/world-vercel/src/events.test.ts packages/world-postgres/src/drizzle/schema.ts
  • pnpm changeset status --since=origin/main

@changeset-bot

changeset-botBot commented Jun 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c8dd67e

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-vercelPatch
@workflow/world-postgresPatch
@workflow/cliPatch
@workflow/corePatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
@workflow/world-localPatch
@workflow/world-testingPatch
workflowPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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

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

@vercel

vercelBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.046s (-2.1%)1.006s (~)0.960s101.00x
💻 LocalExpress0.046s (-3.7%)1.006s (-0.7%)0.960s101.02x
💻 LocalNext.js (Turbopack)0.052s (+6.1% 🔺)1.006s (~)0.953s101.15x
🐘 PostgresNext.js (Turbopack)0.056s (-4.1%)1.012s (~)0.956s101.23x
🐘 PostgresNitro0.063s (-14.3% 🟢)1.011s (~)0.948s101.37x
🐘 PostgresExpress0.067s (+6.5% 🔺)1.012s (~)0.945s101.47x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.485s (+49.3% 🔺)2.428s (-1.9%)1.944s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.075s (~)2.007s (~)0.932s101.00x
💻 LocalNitro1.081s (~)2.006s (~)0.925s101.01x
💻 LocalNext.js (Turbopack)1.082s (~)2.006s (~)0.924s101.01x
🐘 PostgresNitro1.089s (-0.7%)2.009s (~)0.921s101.01x
🐘 PostgresNext.js (Turbopack)1.095s (~)2.010s (~)0.915s101.02x
🐘 PostgresExpress1.106s (+1.5%)2.013s (~)0.906s101.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.459s (+2.8%)3.205s (~)1.747s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.418s (~)11.022s (~)0.605s31.00x
💻 LocalNitro10.426s (~)11.022s (~)0.597s31.00x
🐘 PostgresNitro10.443s (~)11.017s (~)0.574s31.00x
💻 LocalNext.js (Turbopack)10.461s (~)11.022s (~)0.560s31.00x
🐘 PostgresNext.js (Turbopack)10.475s (~)11.017s (~)0.542s31.01x
🐘 PostgresExpress10.504s (+0.7%)11.021s (~)0.517s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro13.144s (+10.7% 🔺)14.957s (+7.3% 🔺)1.812s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.527s (~)14.028s (~)0.502s51.00x
🐘 PostgresNitro13.557s (-0.8%)14.021s (~)0.464s51.00x
💻 LocalNitro13.568s (-1.2%)14.027s (-1.4%)0.459s51.00x
🐘 PostgresNext.js (Turbopack)13.596s (-1.3%)14.021s (~)0.426s51.01x
💻 LocalNext.js (Turbopack)13.670s (+0.7%)14.027s (~)0.357s51.01x
🐘 PostgresExpress13.833s (+1.6%)14.021s (~)0.188s51.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro19.442s (-9.1% 🟢)21.407s (-10.7% 🟢)1.965s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.046s (~)12.525s (-2.0%)0.479s81.00x
💻 LocalNitro12.056s (-2.6%)13.025s (~)0.969s71.00x
🐘 PostgresNext.js (Turbopack)12.240s (~)13.018s (~)0.778s71.02x
💻 LocalNext.js (Turbopack)12.308s (+0.7%)13.025s (~)0.717s71.02x
🐘 PostgresExpress12.333s (+2.1%)13.022s (+1.1%)0.689s71.02x
🐘 PostgresNitro12.337s (+1.4%)13.021s (~)0.684s71.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro25.459s (-24.7% 🟢)27.480s (-22.4% 🟢)2.020s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.169s (-0.7%)2.008s (~)0.840s151.00x
🐘 PostgresNext.js (Turbopack)1.184s (~)2.007s (~)0.822s151.01x
🐘 PostgresExpress1.205s (+1.4%)2.009s (~)0.804s151.03x
💻 LocalExpress1.368s (-0.8%)2.006s (~)0.638s151.17x
💻 LocalNitro1.415s (~)2.006s (~)0.591s151.21x
💻 LocalNext.js (Turbopack)1.451s (+3.8%)2.007s (~)0.556s151.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.005s (+32.4% 🔺)4.893s (+22.0% 🔺)1.888s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.317s (-0.8%)3.009s (~)1.691s101.00x
🐘 PostgresNitro1.324s (-3.3%)2.675s (-5.3% 🟢)1.351s121.00x
🐘 PostgresExpress1.429s (+1.9%)2.471s (+6.6% 🔺)1.041s131.09x
💻 LocalNitro2.353s (-10.3% 🟢)2.735s (-9.1% 🟢)0.382s111.79x
💻 LocalExpress2.383s (-1.9%)2.826s (-6.1% 🟢)0.443s111.81x
💻 LocalNext.js (Turbopack)2.529s (-6.2% 🟢)3.209s (+3.3%)0.681s101.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.193s (-46.1% 🟢)6.458s (-40.3% 🟢)2.266s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.537s (-5.0% 🟢)4.011s (-3.1%)2.474s81.00x
🐘 PostgresExpress1.635s (+3.2%)4.014s (-3.0%)2.379s81.06x
🐘 PostgresNext.js (Turbopack)2.877s (+13.9% 🔺)5.846s (+6.0% 🔺)2.969s61.87x
💻 LocalNext.js (Turbopack)5.515s (+0.8%)6.181s (-0.6%)0.666s63.59x
💻 LocalExpress5.797s (-5.2% 🟢)6.614s (~)0.816s53.77x
💻 LocalNitro6.316s (+3.0%)6.817s (+3.0%)0.501s54.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.216s (+1.5%)7.692s (+12.3% 🔺)2.476s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.176s (~)2.007s (~)0.831s151.00x
🐘 PostgresNext.js (Turbopack)1.181s (~)2.008s (~)0.827s151.00x
🐘 PostgresExpress1.192s (+2.4%)2.007s (~)0.815s151.01x
💻 LocalExpress1.362s (-1.7%)2.007s (~)0.645s151.16x
💻 LocalNitro1.414s (-0.9%)2.006s (~)0.593s151.20x
💻 LocalNext.js (Turbopack)1.456s (+3.3%)2.006s (~)0.551s151.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.261s (-6.1% 🟢)5.082s (-3.8%)1.821s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.283s (-1.1%)3.008s (+3.1%)1.725s101.00x
🐘 PostgresExpress1.309s (-1.3%)2.594s (+13.0% 🔺)1.284s121.02x
🐘 PostgresNitro1.361s (+3.8%)2.592s (-3.1%)1.231s121.06x
💻 LocalNext.js (Turbopack)2.411s (-8.1% 🟢)3.211s (+6.7% 🔺)0.800s101.88x
💻 LocalNitro2.491s (-2.2%)3.009s (-3.3%)0.518s101.94x
💻 LocalExpress2.532s (+2.3%)3.009s (~)0.477s101.97x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.013s (-77.4% 🟢)5.229s (-67.1% 🟢)2.216s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.559s (-4.9%)4.010s (~)2.450s81.00x
🐘 PostgresExpress1.704s (-8.6% 🟢)4.731s (+10.1% 🔺)3.027s71.09x
🐘 PostgresNext.js (Turbopack)3.007s (-4.8%)6.020s (+6.0% 🔺)3.012s51.93x
💻 LocalExpress5.952s (-6.5% 🟢)6.814s (-5.6% 🟢)0.862s53.82x
💻 LocalNext.js (Turbopack)5.995s (+14.0% 🔺)6.615s (+13.1% 🔺)0.620s53.85x
💻 LocalNitro6.011s (-13.1% 🟢)6.819s (-12.2% 🟢)0.808s53.86x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.715s (-79.3% 🟢)6.028s (-69.5% 🟢)2.313s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.530s (~)1.007s (~)0.476s601.00x
💻 LocalExpress0.548s (-14.8% 🟢)1.005s (-3.3%)0.457s601.03x
🐘 PostgresNitro0.558s (+2.0%)1.041s (+1.7%)0.482s581.05x
💻 LocalNitro0.590s (~)1.022s (+1.6%)0.432s591.11x
💻 LocalNext.js (Turbopack)0.599s (~)1.005s (~)0.406s601.13x
🐘 PostgresExpress0.607s (+15.0% 🔺)1.024s (+1.8%)0.417s591.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.004s (+6.8% 🔺)4.958s (+8.9% 🔺)1.954s131.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.241s (-3.3%)2.007s (-1.1%)0.766s451.00x
🐘 PostgresNext.js (Turbopack)1.249s (-3.1%)2.008s (~)0.758s451.01x
🐘 PostgresExpress1.405s (+9.4% 🔺)2.053s (+2.3%)0.647s441.13x
💻 LocalExpress1.417s (~)2.005s (~)0.589s451.14x
💻 LocalNitro1.450s (-1.5%)2.006s (~)0.557s451.17x
💻 LocalNext.js (Turbopack)1.503s (+0.5%)2.007s (~)0.504s451.21x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro8.405s (-5.7% 🟢)10.459s (-4.3%)2.054s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.470s (-4.9%)3.059s (-0.9%)0.588s401.00x
🐘 PostgresNext.js (Turbopack)2.500s (-1.5%)3.008s (-0.8%)0.509s401.01x
🐘 PostgresExpress2.706s (+10.8% 🔺)3.009s (-1.6%)0.303s401.10x
💻 LocalExpress3.052s (-2.4%)3.644s (-5.4% 🟢)0.593s331.24x
💻 LocalNitro3.098s (-3.2%)3.822s (-4.7%)0.724s321.25x
💻 LocalNext.js (Turbopack)3.264s (-2.0%)4.009s (+1.6%)0.745s301.32x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.529s (+33.9% 🔺)21.148s (+33.5% 🔺)2.619s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.161s (-4.3%)1.006s (~)0.845s601.00x
🐘 PostgresNitro0.194s (-18.7% 🟢)1.006s (-1.7%)0.812s601.20x
🐘 PostgresExpress0.222s (+11.2% 🔺)1.007s (~)0.785s601.37x
💻 LocalNitro0.426s (-3.5%)1.004s (~)0.578s602.64x
💻 LocalExpress0.434s (+0.8%)1.004s (~)0.570s602.69x
💻 LocalNext.js (Turbopack)0.620s (-5.9% 🟢)1.005s (-1.7%)0.385s603.84x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.357s (+15.0% 🔺)3.100s (+16.7% 🔺)1.743s201.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.268s (~)1.018s (+1.2%)0.750s891.00x
🐘 PostgresNitro0.301s (-8.8% 🟢)1.006s (~)0.705s901.13x
🐘 PostgresExpress0.340s (+11.1% 🔺)1.007s (~)0.667s901.27x
💻 LocalExpress2.047s (-1.8%)2.714s (+1.8%)0.667s347.65x
💻 LocalNitro2.105s (-2.3%)2.736s (+1.8%)0.630s337.87x
💻 LocalNext.js (Turbopack)2.711s (~)3.112s (-5.6% 🟢)0.401s2910.13x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.287s (-18.5% 🟢)4.308s (-5.9% 🟢)2.021s221.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.444s (-13.0% 🟢)1.087s (+7.2% 🔺)0.643s1111.00x
🐘 PostgresNext.js (Turbopack)0.484s (-1.0%)3.034s (+2.5%)2.550s401.09x
🐘 PostgresExpress0.537s (+7.1% 🔺)1.051s (+1.8%)0.514s1151.21x
💻 LocalNitro9.509s (-1.6%)10.526s (-3.8%)1.017s1221.41x
💻 LocalExpress9.751s (+4.2%)10.528s (~)0.777s1221.96x
💻 LocalNext.js (Turbopack)10.253s (+1.4%)11.487s (+2.5%)1.234s1123.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.935s (-38.2% 🟢)6.376s (-22.1% 🟢)2.441s191.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.141s (-0.8%)2.000s (~)0.001s (-28.6% 🟢)2.010s (~)0.869s101.00x
💻 LocalNext.js (Turbopack)1.147s (~)1.967s (~)0.012s (+16.3% 🔺)2.020s (~)0.873s101.00x
💻 LocalExpress1.152s (~)2.004s (~)0.011s (+5.0%)2.017s (~)0.865s101.01x
🐘 PostgresNext.js (Turbopack)1.157s (~)2.001s (~)0.001s (-6.7% 🟢)2.012s (~)0.855s101.01x
💻 LocalNitro1.161s (-1.1%)2.004s (~)0.010s (-15.7% 🟢)2.018s (~)0.857s101.02x
🐘 PostgresExpress1.173s (+1.3%)1.997s (~)0.001s (+27.3% 🔺)2.010s (~)0.837s101.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.581s (+19.9% 🔺)4.044s (+21.1% 🔺)3.125s (-27.3% 🟢)7.861s (-4.6%)5.280s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.524s (-1.8%)2.010s (~)0.012s (+3.4%)2.025s (~)0.501s301.00x
🐘 PostgresNitro1.537s (-1.7%)2.005s (~)0.004s (-11.8% 🟢)2.023s (~)0.486s301.01x
💻 LocalExpress1.543s (+1.2%)2.009s (~)0.012s (+3.3%)2.024s (~)0.481s301.01x
🐘 PostgresNext.js (Turbopack)1.587s (+1.3%)2.011s (~)0.005s (+4.0%)2.027s (~)0.440s301.04x
💻 LocalNext.js (Turbopack)1.627s (+4.5%)2.000s (+1.4%)0.013s (+13.8% 🔺)2.060s (+1.8%)0.434s301.07x
🐘 PostgresExpress1.649s (+7.3% 🔺)2.041s (+1.7%)0.005s (-5.5% 🟢)2.060s (+1.7%)0.412s301.08x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.817s (+15.3% 🔺)8.515s (+17.9% 🔺)0.245s (-48.1% 🟢)9.332s (+13.4% 🔺)2.516s71.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.751s (-4.9%)1.069s (+2.2%)0.000s (NaN%)1.088s (+2.4%)0.336s571.00x
🐘 PostgresExpress0.842s (+11.2% 🔺)1.122s (+5.2% 🔺)0.000s (-46.2% 🟢)1.155s (+6.8% 🔺)0.314s521.12x
🐘 PostgresNext.js (Turbopack)0.925s (-5.1% 🟢)1.387s (+1.7%)0.000s (NaN%)1.399s (+2.0%)0.474s441.23x
💻 LocalExpress1.247s (~)1.982s (~)0.001s (+500.0% 🔺)1.984s (~)0.737s311.66x
💻 LocalNitro1.271s (-2.1%)2.014s (~)0.000s (+200.0% 🔺)2.017s (~)0.746s301.69x
💻 LocalNext.js (Turbopack)1.381s (~)1.979s (~)0.000s (~)2.016s (~)0.636s301.84x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.400s (+42.2% 🔺)5.769s (+31.5% 🔺)0.003s (+3930.0% 🔺)6.359s (+27.6% 🔺)1.960s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.639s (-3.1%)2.220s (~)0.000s (+Infinity% 🔺)2.231s (~)0.592s271.00x
🐘 PostgresExpress1.959s (+11.9% 🔺)2.384s (+3.6%)0.000s (-100.0% 🟢)2.412s (+4.0%)0.454s261.20x
🐘 PostgresNext.js (Turbopack)2.362s (+1.2%)2.905s (~)0.000s (NaN%)2.914s (~)0.552s211.44x
💻 LocalExpress3.267s (-0.6%)3.966s (~)0.001s (+6.3% 🔺)3.970s (~)0.703s161.99x
💻 LocalNitro3.605s (-4.3%)4.295s (-2.1%)0.001s (+166.7% 🔺)4.299s (-2.1%)0.694s152.20x
💻 LocalNext.js (Turbopack)3.892s (+12.5% 🔺)4.422s (+10.8% 🔺)0.001s (+20.5% 🔺)4.465s (+10.7% 🔺)0.573s142.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.823s (-23.8% 🟢)8.382s (-20.2% 🟢)0.000s (+71.4% 🔺)8.927s (-19.6% 🟢)2.104s71.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress13/21
🐘 PostgresNitro14/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run

@github-actions

github-actionsBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

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

Details by Category

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

📋 View full workflow run

@karthikscale3karthikscale3 changed the title [codex] Send occurredAt with workflow eventsSend occurredAt with workflow eventsJun 23, 2026
@karthikscale3
karthikscale3 marked this pull request as ready for review June 23, 2026 05:24
@karthikscale3
karthikscale3 requested review from a team and ijjk as code ownersJune 23, 2026 05:24

@vercelvercelBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Additional Suggestion:

TS2741 build failure: the exhaustive Record<AttributeKey, ...>attributeToDisplayFn is missing the newly-added occurredAt key from the Event type.

Fix on Vercel

…d-at
# Conflicts:
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
@karthikscale3
karthikscale3 merged commit 25c3df7 into mainJun 23, 2026
175 of 182 checks passed
@karthikscale3
karthikscale3 deleted the kk/send-event-occurred-at branch June 23, 2026 18:50
@github-actionsgithub-actionsBot mentioned this pull request Jun 23, 2026
github-actionsBot added a commit that referenced this pull request Jun 23, 2026
* Send occurredAt with workflow events
* Fix occurredAt detail typing
Signed-off-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2589. Merge conflicts were resolved by AI — please review carefully. (backport job run)

karthikscale3 added a commit that referenced this pull request Jun 23, 2026
* Send occurredAt with workflow events
* Fix occurredAt detail typing
Signed-off-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
pranaygp added a commit that referenced this pull request Jun 23, 2026
…testing
* origin/main:
Trace /flow route initialization (#2592)
Version Packages (beta) (#2591)
feat(web): add trace step shortcut helper (#2582)
[web-shared] reskin json viewer (no duplicates, better colours and navigation) (#2434)
Send occurredAt with workflow events (#2580)
docs: use actual eve logo and tidy OSS nav dropdown (#2586)
Display occurredAt in trace details (#2581)
fix(next): discover root entrypoints (#2564)
[core] Turbo: skip the unused run_started event-log preload (#2569)
fix(next): prewarm SWC plugin cache (#2538)
[world-vercel] Use v3 stream endpoint (supports transparent reconnect on timeout) (#2424)
[core] Retry stream reopen against the reconnect budget (#2334)
Add Platformatic World to worlds-manifest.json (#1450)
docs: derive section landing-page cards from the page tree + lint drift (#2567)
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

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

Send occurredAt with workflow events - #2580

Merged
karthikscale3 merged 3 commits into
mainfrom
kk/send-event-occurred-at
Jun 23, 2026
Merged

Send occurredAt with workflow events#2580
karthikscale3 merged 3 commits into
mainfrom
kk/send-event-occurred-at

Conversation

@karthikscale3

Copy link
Copy Markdown
Contributor

Summary

  • add optional occurredAt metadata to the shared world event creation contract and event schema
  • send occurredAt through world-vercel v4 event frame metadata, defaulting to the client-side post time
  • preserve occurredAt on returned v4 events and keep world-postgres schema typing compatible until it persists the field

Validation

  • pnpm --filter @workflow/world build
  • pnpm --filter @workflow/world-vercel test -- events.test.ts
  • pnpm --filter @workflow/world-vercel typecheck
  • pnpm --filter @workflow/world-postgres typecheck
  • pnpm biome check .changeset/send-event-occurred-at.md packages/world/src/events.ts packages/world-vercel/src/events-v4.ts packages/world-vercel/src/events.ts packages/world-vercel/src/events.test.ts packages/world-postgres/src/drizzle/schema.ts
  • pnpm changeset status --since=origin/main

@changeset-bot

changeset-botBot commented Jun 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c8dd67e

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-vercelPatch
@workflow/world-postgresPatch
@workflow/cliPatch
@workflow/corePatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
@workflow/world-localPatch
@workflow/world-testingPatch
workflowPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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

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

@vercel

vercelBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.046s (-2.1%)1.006s (~)0.960s101.00x
💻 LocalExpress0.046s (-3.7%)1.006s (-0.7%)0.960s101.02x
💻 LocalNext.js (Turbopack)0.052s (+6.1% 🔺)1.006s (~)0.953s101.15x
🐘 PostgresNext.js (Turbopack)0.056s (-4.1%)1.012s (~)0.956s101.23x
🐘 PostgresNitro0.063s (-14.3% 🟢)1.011s (~)0.948s101.37x
🐘 PostgresExpress0.067s (+6.5% 🔺)1.012s (~)0.945s101.47x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.485s (+49.3% 🔺)2.428s (-1.9%)1.944s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.075s (~)2.007s (~)0.932s101.00x
💻 LocalNitro1.081s (~)2.006s (~)0.925s101.01x
💻 LocalNext.js (Turbopack)1.082s (~)2.006s (~)0.924s101.01x
🐘 PostgresNitro1.089s (-0.7%)2.009s (~)0.921s101.01x
🐘 PostgresNext.js (Turbopack)1.095s (~)2.010s (~)0.915s101.02x
🐘 PostgresExpress1.106s (+1.5%)2.013s (~)0.906s101.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.459s (+2.8%)3.205s (~)1.747s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.418s (~)11.022s (~)0.605s31.00x
💻 LocalNitro10.426s (~)11.022s (~)0.597s31.00x
🐘 PostgresNitro10.443s (~)11.017s (~)0.574s31.00x
💻 LocalNext.js (Turbopack)10.461s (~)11.022s (~)0.560s31.00x
🐘 PostgresNext.js (Turbopack)10.475s (~)11.017s (~)0.542s31.01x
🐘 PostgresExpress10.504s (+0.7%)11.021s (~)0.517s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro13.144s (+10.7% 🔺)14.957s (+7.3% 🔺)1.812s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.527s (~)14.028s (~)0.502s51.00x
🐘 PostgresNitro13.557s (-0.8%)14.021s (~)0.464s51.00x
💻 LocalNitro13.568s (-1.2%)14.027s (-1.4%)0.459s51.00x
🐘 PostgresNext.js (Turbopack)13.596s (-1.3%)14.021s (~)0.426s51.01x
💻 LocalNext.js (Turbopack)13.670s (+0.7%)14.027s (~)0.357s51.01x
🐘 PostgresExpress13.833s (+1.6%)14.021s (~)0.188s51.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro19.442s (-9.1% 🟢)21.407s (-10.7% 🟢)1.965s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.046s (~)12.525s (-2.0%)0.479s81.00x
💻 LocalNitro12.056s (-2.6%)13.025s (~)0.969s71.00x
🐘 PostgresNext.js (Turbopack)12.240s (~)13.018s (~)0.778s71.02x
💻 LocalNext.js (Turbopack)12.308s (+0.7%)13.025s (~)0.717s71.02x
🐘 PostgresExpress12.333s (+2.1%)13.022s (+1.1%)0.689s71.02x
🐘 PostgresNitro12.337s (+1.4%)13.021s (~)0.684s71.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro25.459s (-24.7% 🟢)27.480s (-22.4% 🟢)2.020s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.169s (-0.7%)2.008s (~)0.840s151.00x
🐘 PostgresNext.js (Turbopack)1.184s (~)2.007s (~)0.822s151.01x
🐘 PostgresExpress1.205s (+1.4%)2.009s (~)0.804s151.03x
💻 LocalExpress1.368s (-0.8%)2.006s (~)0.638s151.17x
💻 LocalNitro1.415s (~)2.006s (~)0.591s151.21x
💻 LocalNext.js (Turbopack)1.451s (+3.8%)2.007s (~)0.556s151.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.005s (+32.4% 🔺)4.893s (+22.0% 🔺)1.888s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.317s (-0.8%)3.009s (~)1.691s101.00x
🐘 PostgresNitro1.324s (-3.3%)2.675s (-5.3% 🟢)1.351s121.00x
🐘 PostgresExpress1.429s (+1.9%)2.471s (+6.6% 🔺)1.041s131.09x
💻 LocalNitro2.353s (-10.3% 🟢)2.735s (-9.1% 🟢)0.382s111.79x
💻 LocalExpress2.383s (-1.9%)2.826s (-6.1% 🟢)0.443s111.81x
💻 LocalNext.js (Turbopack)2.529s (-6.2% 🟢)3.209s (+3.3%)0.681s101.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.193s (-46.1% 🟢)6.458s (-40.3% 🟢)2.266s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.537s (-5.0% 🟢)4.011s (-3.1%)2.474s81.00x
🐘 PostgresExpress1.635s (+3.2%)4.014s (-3.0%)2.379s81.06x
🐘 PostgresNext.js (Turbopack)2.877s (+13.9% 🔺)5.846s (+6.0% 🔺)2.969s61.87x
💻 LocalNext.js (Turbopack)5.515s (+0.8%)6.181s (-0.6%)0.666s63.59x
💻 LocalExpress5.797s (-5.2% 🟢)6.614s (~)0.816s53.77x
💻 LocalNitro6.316s (+3.0%)6.817s (+3.0%)0.501s54.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.216s (+1.5%)7.692s (+12.3% 🔺)2.476s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.176s (~)2.007s (~)0.831s151.00x
🐘 PostgresNext.js (Turbopack)1.181s (~)2.008s (~)0.827s151.00x
🐘 PostgresExpress1.192s (+2.4%)2.007s (~)0.815s151.01x
💻 LocalExpress1.362s (-1.7%)2.007s (~)0.645s151.16x
💻 LocalNitro1.414s (-0.9%)2.006s (~)0.593s151.20x
💻 LocalNext.js (Turbopack)1.456s (+3.3%)2.006s (~)0.551s151.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.261s (-6.1% 🟢)5.082s (-3.8%)1.821s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.283s (-1.1%)3.008s (+3.1%)1.725s101.00x
🐘 PostgresExpress1.309s (-1.3%)2.594s (+13.0% 🔺)1.284s121.02x
🐘 PostgresNitro1.361s (+3.8%)2.592s (-3.1%)1.231s121.06x
💻 LocalNext.js (Turbopack)2.411s (-8.1% 🟢)3.211s (+6.7% 🔺)0.800s101.88x
💻 LocalNitro2.491s (-2.2%)3.009s (-3.3%)0.518s101.94x
💻 LocalExpress2.532s (+2.3%)3.009s (~)0.477s101.97x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.013s (-77.4% 🟢)5.229s (-67.1% 🟢)2.216s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.559s (-4.9%)4.010s (~)2.450s81.00x
🐘 PostgresExpress1.704s (-8.6% 🟢)4.731s (+10.1% 🔺)3.027s71.09x
🐘 PostgresNext.js (Turbopack)3.007s (-4.8%)6.020s (+6.0% 🔺)3.012s51.93x
💻 LocalExpress5.952s (-6.5% 🟢)6.814s (-5.6% 🟢)0.862s53.82x
💻 LocalNext.js (Turbopack)5.995s (+14.0% 🔺)6.615s (+13.1% 🔺)0.620s53.85x
💻 LocalNitro6.011s (-13.1% 🟢)6.819s (-12.2% 🟢)0.808s53.86x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.715s (-79.3% 🟢)6.028s (-69.5% 🟢)2.313s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.530s (~)1.007s (~)0.476s601.00x
💻 LocalExpress0.548s (-14.8% 🟢)1.005s (-3.3%)0.457s601.03x
🐘 PostgresNitro0.558s (+2.0%)1.041s (+1.7%)0.482s581.05x
💻 LocalNitro0.590s (~)1.022s (+1.6%)0.432s591.11x
💻 LocalNext.js (Turbopack)0.599s (~)1.005s (~)0.406s601.13x
🐘 PostgresExpress0.607s (+15.0% 🔺)1.024s (+1.8%)0.417s591.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.004s (+6.8% 🔺)4.958s (+8.9% 🔺)1.954s131.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.241s (-3.3%)2.007s (-1.1%)0.766s451.00x
🐘 PostgresNext.js (Turbopack)1.249s (-3.1%)2.008s (~)0.758s451.01x
🐘 PostgresExpress1.405s (+9.4% 🔺)2.053s (+2.3%)0.647s441.13x
💻 LocalExpress1.417s (~)2.005s (~)0.589s451.14x
💻 LocalNitro1.450s (-1.5%)2.006s (~)0.557s451.17x
💻 LocalNext.js (Turbopack)1.503s (+0.5%)2.007s (~)0.504s451.21x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro8.405s (-5.7% 🟢)10.459s (-4.3%)2.054s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.470s (-4.9%)3.059s (-0.9%)0.588s401.00x
🐘 PostgresNext.js (Turbopack)2.500s (-1.5%)3.008s (-0.8%)0.509s401.01x
🐘 PostgresExpress2.706s (+10.8% 🔺)3.009s (-1.6%)0.303s401.10x
💻 LocalExpress3.052s (-2.4%)3.644s (-5.4% 🟢)0.593s331.24x
💻 LocalNitro3.098s (-3.2%)3.822s (-4.7%)0.724s321.25x
💻 LocalNext.js (Turbopack)3.264s (-2.0%)4.009s (+1.6%)0.745s301.32x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.529s (+33.9% 🔺)21.148s (+33.5% 🔺)2.619s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.161s (-4.3%)1.006s (~)0.845s601.00x
🐘 PostgresNitro0.194s (-18.7% 🟢)1.006s (-1.7%)0.812s601.20x
🐘 PostgresExpress0.222s (+11.2% 🔺)1.007s (~)0.785s601.37x
💻 LocalNitro0.426s (-3.5%)1.004s (~)0.578s602.64x
💻 LocalExpress0.434s (+0.8%)1.004s (~)0.570s602.69x
💻 LocalNext.js (Turbopack)0.620s (-5.9% 🟢)1.005s (-1.7%)0.385s603.84x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.357s (+15.0% 🔺)3.100s (+16.7% 🔺)1.743s201.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.268s (~)1.018s (+1.2%)0.750s891.00x
🐘 PostgresNitro0.301s (-8.8% 🟢)1.006s (~)0.705s901.13x
🐘 PostgresExpress0.340s (+11.1% 🔺)1.007s (~)0.667s901.27x
💻 LocalExpress2.047s (-1.8%)2.714s (+1.8%)0.667s347.65x
💻 LocalNitro2.105s (-2.3%)2.736s (+1.8%)0.630s337.87x
💻 LocalNext.js (Turbopack)2.711s (~)3.112s (-5.6% 🟢)0.401s2910.13x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.287s (-18.5% 🟢)4.308s (-5.9% 🟢)2.021s221.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.444s (-13.0% 🟢)1.087s (+7.2% 🔺)0.643s1111.00x
🐘 PostgresNext.js (Turbopack)0.484s (-1.0%)3.034s (+2.5%)2.550s401.09x
🐘 PostgresExpress0.537s (+7.1% 🔺)1.051s (+1.8%)0.514s1151.21x
💻 LocalNitro9.509s (-1.6%)10.526s (-3.8%)1.017s1221.41x
💻 LocalExpress9.751s (+4.2%)10.528s (~)0.777s1221.96x
💻 LocalNext.js (Turbopack)10.253s (+1.4%)11.487s (+2.5%)1.234s1123.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.935s (-38.2% 🟢)6.376s (-22.1% 🟢)2.441s191.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.141s (-0.8%)2.000s (~)0.001s (-28.6% 🟢)2.010s (~)0.869s101.00x
💻 LocalNext.js (Turbopack)1.147s (~)1.967s (~)0.012s (+16.3% 🔺)2.020s (~)0.873s101.00x
💻 LocalExpress1.152s (~)2.004s (~)0.011s (+5.0%)2.017s (~)0.865s101.01x
🐘 PostgresNext.js (Turbopack)1.157s (~)2.001s (~)0.001s (-6.7% 🟢)2.012s (~)0.855s101.01x
💻 LocalNitro1.161s (-1.1%)2.004s (~)0.010s (-15.7% 🟢)2.018s (~)0.857s101.02x
🐘 PostgresExpress1.173s (+1.3%)1.997s (~)0.001s (+27.3% 🔺)2.010s (~)0.837s101.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.581s (+19.9% 🔺)4.044s (+21.1% 🔺)3.125s (-27.3% 🟢)7.861s (-4.6%)5.280s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.524s (-1.8%)2.010s (~)0.012s (+3.4%)2.025s (~)0.501s301.00x
🐘 PostgresNitro1.537s (-1.7%)2.005s (~)0.004s (-11.8% 🟢)2.023s (~)0.486s301.01x
💻 LocalExpress1.543s (+1.2%)2.009s (~)0.012s (+3.3%)2.024s (~)0.481s301.01x
🐘 PostgresNext.js (Turbopack)1.587s (+1.3%)2.011s (~)0.005s (+4.0%)2.027s (~)0.440s301.04x
💻 LocalNext.js (Turbopack)1.627s (+4.5%)2.000s (+1.4%)0.013s (+13.8% 🔺)2.060s (+1.8%)0.434s301.07x
🐘 PostgresExpress1.649s (+7.3% 🔺)2.041s (+1.7%)0.005s (-5.5% 🟢)2.060s (+1.7%)0.412s301.08x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.817s (+15.3% 🔺)8.515s (+17.9% 🔺)0.245s (-48.1% 🟢)9.332s (+13.4% 🔺)2.516s71.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.751s (-4.9%)1.069s (+2.2%)0.000s (NaN%)1.088s (+2.4%)0.336s571.00x
🐘 PostgresExpress0.842s (+11.2% 🔺)1.122s (+5.2% 🔺)0.000s (-46.2% 🟢)1.155s (+6.8% 🔺)0.314s521.12x
🐘 PostgresNext.js (Turbopack)0.925s (-5.1% 🟢)1.387s (+1.7%)0.000s (NaN%)1.399s (+2.0%)0.474s441.23x
💻 LocalExpress1.247s (~)1.982s (~)0.001s (+500.0% 🔺)1.984s (~)0.737s311.66x
💻 LocalNitro1.271s (-2.1%)2.014s (~)0.000s (+200.0% 🔺)2.017s (~)0.746s301.69x
💻 LocalNext.js (Turbopack)1.381s (~)1.979s (~)0.000s (~)2.016s (~)0.636s301.84x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.400s (+42.2% 🔺)5.769s (+31.5% 🔺)0.003s (+3930.0% 🔺)6.359s (+27.6% 🔺)1.960s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.639s (-3.1%)2.220s (~)0.000s (+Infinity% 🔺)2.231s (~)0.592s271.00x
🐘 PostgresExpress1.959s (+11.9% 🔺)2.384s (+3.6%)0.000s (-100.0% 🟢)2.412s (+4.0%)0.454s261.20x
🐘 PostgresNext.js (Turbopack)2.362s (+1.2%)2.905s (~)0.000s (NaN%)2.914s (~)0.552s211.44x
💻 LocalExpress3.267s (-0.6%)3.966s (~)0.001s (+6.3% 🔺)3.970s (~)0.703s161.99x
💻 LocalNitro3.605s (-4.3%)4.295s (-2.1%)0.001s (+166.7% 🔺)4.299s (-2.1%)0.694s152.20x
💻 LocalNext.js (Turbopack)3.892s (+12.5% 🔺)4.422s (+10.8% 🔺)0.001s (+20.5% 🔺)4.465s (+10.7% 🔺)0.573s142.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.823s (-23.8% 🟢)8.382s (-20.2% 🟢)0.000s (+71.4% 🔺)8.927s (-19.6% 🟢)2.104s71.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress13/21
🐘 PostgresNitro14/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run

@github-actions

github-actionsBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

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

Details by Category

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

📋 View full workflow run

@karthikscale3karthikscale3 changed the title [codex] Send occurredAt with workflow eventsSend occurredAt with workflow eventsJun 23, 2026
@karthikscale3
karthikscale3 marked this pull request as ready for review June 23, 2026 05:24
@karthikscale3
karthikscale3 requested review from a team and ijjk as code ownersJune 23, 2026 05:24

@vercelvercelBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Additional Suggestion:

TS2741 build failure: the exhaustive Record<AttributeKey, ...>attributeToDisplayFn is missing the newly-added occurredAt key from the Event type.

Fix on Vercel

…d-at
# Conflicts:
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
@karthikscale3
karthikscale3 merged commit 25c3df7 into mainJun 23, 2026
175 of 182 checks passed
@karthikscale3
karthikscale3 deleted the kk/send-event-occurred-at branch June 23, 2026 18:50
@github-actionsgithub-actionsBot mentioned this pull request Jun 23, 2026
github-actionsBot added a commit that referenced this pull request Jun 23, 2026
* Send occurredAt with workflow events
* Fix occurredAt detail typing
Signed-off-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2589. Merge conflicts were resolved by AI — please review carefully. (backport job run)

karthikscale3 added a commit that referenced this pull request Jun 23, 2026
* Send occurredAt with workflow events
* Fix occurredAt detail typing
Signed-off-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
pranaygp added a commit that referenced this pull request Jun 23, 2026
…testing
* origin/main:
Trace /flow route initialization (#2592)
Version Packages (beta) (#2591)
feat(web): add trace step shortcut helper (#2582)
[web-shared] reskin json viewer (no duplicates, better colours and navigation) (#2434)
Send occurredAt with workflow events (#2580)
docs: use actual eve logo and tidy OSS nav dropdown (#2586)
Display occurredAt in trace details (#2581)
fix(next): discover root entrypoints (#2564)
[core] Turbo: skip the unused run_started event-log preload (#2569)
fix(next): prewarm SWC plugin cache (#2538)
[world-vercel] Use v3 stream endpoint (supports transparent reconnect on timeout) (#2424)
[core] Retry stream reopen against the reconnect budget (#2334)
Add Platformatic World to worlds-manifest.json (#1450)
docs: derive section landing-page cards from the page tree + lint drift (#2567)
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

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

Send occurredAt with workflow events - #2580

Merged
karthikscale3 merged 3 commits into
mainfrom
kk/send-event-occurred-at
Jun 23, 2026
Merged

Send occurredAt with workflow events#2580
karthikscale3 merged 3 commits into
mainfrom
kk/send-event-occurred-at

Conversation

@karthikscale3

Copy link
Copy Markdown
Contributor

Summary

  • add optional occurredAt metadata to the shared world event creation contract and event schema
  • send occurredAt through world-vercel v4 event frame metadata, defaulting to the client-side post time
  • preserve occurredAt on returned v4 events and keep world-postgres schema typing compatible until it persists the field

Validation

  • pnpm --filter @workflow/world build
  • pnpm --filter @workflow/world-vercel test -- events.test.ts
  • pnpm --filter @workflow/world-vercel typecheck
  • pnpm --filter @workflow/world-postgres typecheck
  • pnpm biome check .changeset/send-event-occurred-at.md packages/world/src/events.ts packages/world-vercel/src/events-v4.ts packages/world-vercel/src/events.ts packages/world-vercel/src/events.test.ts packages/world-postgres/src/drizzle/schema.ts
  • pnpm changeset status --since=origin/main

@changeset-bot

changeset-botBot commented Jun 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c8dd67e

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-vercelPatch
@workflow/world-postgresPatch
@workflow/cliPatch
@workflow/corePatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
@workflow/world-localPatch
@workflow/world-testingPatch
workflowPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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

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

@vercel

vercelBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.046s (-2.1%)1.006s (~)0.960s101.00x
💻 LocalExpress0.046s (-3.7%)1.006s (-0.7%)0.960s101.02x
💻 LocalNext.js (Turbopack)0.052s (+6.1% 🔺)1.006s (~)0.953s101.15x
🐘 PostgresNext.js (Turbopack)0.056s (-4.1%)1.012s (~)0.956s101.23x
🐘 PostgresNitro0.063s (-14.3% 🟢)1.011s (~)0.948s101.37x
🐘 PostgresExpress0.067s (+6.5% 🔺)1.012s (~)0.945s101.47x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.485s (+49.3% 🔺)2.428s (-1.9%)1.944s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.075s (~)2.007s (~)0.932s101.00x
💻 LocalNitro1.081s (~)2.006s (~)0.925s101.01x
💻 LocalNext.js (Turbopack)1.082s (~)2.006s (~)0.924s101.01x
🐘 PostgresNitro1.089s (-0.7%)2.009s (~)0.921s101.01x
🐘 PostgresNext.js (Turbopack)1.095s (~)2.010s (~)0.915s101.02x
🐘 PostgresExpress1.106s (+1.5%)2.013s (~)0.906s101.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.459s (+2.8%)3.205s (~)1.747s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.418s (~)11.022s (~)0.605s31.00x
💻 LocalNitro10.426s (~)11.022s (~)0.597s31.00x
🐘 PostgresNitro10.443s (~)11.017s (~)0.574s31.00x
💻 LocalNext.js (Turbopack)10.461s (~)11.022s (~)0.560s31.00x
🐘 PostgresNext.js (Turbopack)10.475s (~)11.017s (~)0.542s31.01x
🐘 PostgresExpress10.504s (+0.7%)11.021s (~)0.517s31.01x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro13.144s (+10.7% 🔺)14.957s (+7.3% 🔺)1.812s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express13.527s (~)14.028s (~)0.502s51.00x
🐘 PostgresNitro13.557s (-0.8%)14.021s (~)0.464s51.00x
💻 LocalNitro13.568s (-1.2%)14.027s (-1.4%)0.459s51.00x
🐘 PostgresNext.js (Turbopack)13.596s (-1.3%)14.021s (~)0.426s51.01x
💻 LocalNext.js (Turbopack)13.670s (+0.7%)14.027s (~)0.357s51.01x
🐘 PostgresExpress13.833s (+1.6%)14.021s (~)0.188s51.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro19.442s (-9.1% 🟢)21.407s (-10.7% 🟢)1.965s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express12.046s (~)12.525s (-2.0%)0.479s81.00x
💻 LocalNitro12.056s (-2.6%)13.025s (~)0.969s71.00x
🐘 PostgresNext.js (Turbopack)12.240s (~)13.018s (~)0.778s71.02x
💻 LocalNext.js (Turbopack)12.308s (+0.7%)13.025s (~)0.717s71.02x
🐘 PostgresExpress12.333s (+2.1%)13.022s (+1.1%)0.689s71.02x
🐘 PostgresNitro12.337s (+1.4%)13.021s (~)0.684s71.02x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro25.459s (-24.7% 🟢)27.480s (-22.4% 🟢)2.020s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.169s (-0.7%)2.008s (~)0.840s151.00x
🐘 PostgresNext.js (Turbopack)1.184s (~)2.007s (~)0.822s151.01x
🐘 PostgresExpress1.205s (+1.4%)2.009s (~)0.804s151.03x
💻 LocalExpress1.368s (-0.8%)2.006s (~)0.638s151.17x
💻 LocalNitro1.415s (~)2.006s (~)0.591s151.21x
💻 LocalNext.js (Turbopack)1.451s (+3.8%)2.007s (~)0.556s151.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.005s (+32.4% 🔺)4.893s (+22.0% 🔺)1.888s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.317s (-0.8%)3.009s (~)1.691s101.00x
🐘 PostgresNitro1.324s (-3.3%)2.675s (-5.3% 🟢)1.351s121.00x
🐘 PostgresExpress1.429s (+1.9%)2.471s (+6.6% 🔺)1.041s131.09x
💻 LocalNitro2.353s (-10.3% 🟢)2.735s (-9.1% 🟢)0.382s111.79x
💻 LocalExpress2.383s (-1.9%)2.826s (-6.1% 🟢)0.443s111.81x
💻 LocalNext.js (Turbopack)2.529s (-6.2% 🟢)3.209s (+3.3%)0.681s101.92x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.193s (-46.1% 🟢)6.458s (-40.3% 🟢)2.266s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.537s (-5.0% 🟢)4.011s (-3.1%)2.474s81.00x
🐘 PostgresExpress1.635s (+3.2%)4.014s (-3.0%)2.379s81.06x
🐘 PostgresNext.js (Turbopack)2.877s (+13.9% 🔺)5.846s (+6.0% 🔺)2.969s61.87x
💻 LocalNext.js (Turbopack)5.515s (+0.8%)6.181s (-0.6%)0.666s63.59x
💻 LocalExpress5.797s (-5.2% 🟢)6.614s (~)0.816s53.77x
💻 LocalNitro6.316s (+3.0%)6.817s (+3.0%)0.501s54.11x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.216s (+1.5%)7.692s (+12.3% 🔺)2.476s41.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.176s (~)2.007s (~)0.831s151.00x
🐘 PostgresNext.js (Turbopack)1.181s (~)2.008s (~)0.827s151.00x
🐘 PostgresExpress1.192s (+2.4%)2.007s (~)0.815s151.01x
💻 LocalExpress1.362s (-1.7%)2.007s (~)0.645s151.16x
💻 LocalNitro1.414s (-0.9%)2.006s (~)0.593s151.20x
💻 LocalNext.js (Turbopack)1.456s (+3.3%)2.006s (~)0.551s151.24x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.261s (-6.1% 🟢)5.082s (-3.8%)1.821s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.283s (-1.1%)3.008s (+3.1%)1.725s101.00x
🐘 PostgresExpress1.309s (-1.3%)2.594s (+13.0% 🔺)1.284s121.02x
🐘 PostgresNitro1.361s (+3.8%)2.592s (-3.1%)1.231s121.06x
💻 LocalNext.js (Turbopack)2.411s (-8.1% 🟢)3.211s (+6.7% 🔺)0.800s101.88x
💻 LocalNitro2.491s (-2.2%)3.009s (-3.3%)0.518s101.94x
💻 LocalExpress2.532s (+2.3%)3.009s (~)0.477s101.97x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.013s (-77.4% 🟢)5.229s (-67.1% 🟢)2.216s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.559s (-4.9%)4.010s (~)2.450s81.00x
🐘 PostgresExpress1.704s (-8.6% 🟢)4.731s (+10.1% 🔺)3.027s71.09x
🐘 PostgresNext.js (Turbopack)3.007s (-4.8%)6.020s (+6.0% 🔺)3.012s51.93x
💻 LocalExpress5.952s (-6.5% 🟢)6.814s (-5.6% 🟢)0.862s53.82x
💻 LocalNext.js (Turbopack)5.995s (+14.0% 🔺)6.615s (+13.1% 🔺)0.620s53.85x
💻 LocalNitro6.011s (-13.1% 🟢)6.819s (-12.2% 🟢)0.808s53.86x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.715s (-79.3% 🟢)6.028s (-69.5% 🟢)2.313s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.530s (~)1.007s (~)0.476s601.00x
💻 LocalExpress0.548s (-14.8% 🟢)1.005s (-3.3%)0.457s601.03x
🐘 PostgresNitro0.558s (+2.0%)1.041s (+1.7%)0.482s581.05x
💻 LocalNitro0.590s (~)1.022s (+1.6%)0.432s591.11x
💻 LocalNext.js (Turbopack)0.599s (~)1.005s (~)0.406s601.13x
🐘 PostgresExpress0.607s (+15.0% 🔺)1.024s (+1.8%)0.417s591.14x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.004s (+6.8% 🔺)4.958s (+8.9% 🔺)1.954s131.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.241s (-3.3%)2.007s (-1.1%)0.766s451.00x
🐘 PostgresNext.js (Turbopack)1.249s (-3.1%)2.008s (~)0.758s451.01x
🐘 PostgresExpress1.405s (+9.4% 🔺)2.053s (+2.3%)0.647s441.13x
💻 LocalExpress1.417s (~)2.005s (~)0.589s451.14x
💻 LocalNitro1.450s (-1.5%)2.006s (~)0.557s451.17x
💻 LocalNext.js (Turbopack)1.503s (+0.5%)2.007s (~)0.504s451.21x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro8.405s (-5.7% 🟢)10.459s (-4.3%)2.054s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.470s (-4.9%)3.059s (-0.9%)0.588s401.00x
🐘 PostgresNext.js (Turbopack)2.500s (-1.5%)3.008s (-0.8%)0.509s401.01x
🐘 PostgresExpress2.706s (+10.8% 🔺)3.009s (-1.6%)0.303s401.10x
💻 LocalExpress3.052s (-2.4%)3.644s (-5.4% 🟢)0.593s331.24x
💻 LocalNitro3.098s (-3.2%)3.822s (-4.7%)0.724s321.25x
💻 LocalNext.js (Turbopack)3.264s (-2.0%)4.009s (+1.6%)0.745s301.32x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.529s (+33.9% 🔺)21.148s (+33.5% 🔺)2.619s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.161s (-4.3%)1.006s (~)0.845s601.00x
🐘 PostgresNitro0.194s (-18.7% 🟢)1.006s (-1.7%)0.812s601.20x
🐘 PostgresExpress0.222s (+11.2% 🔺)1.007s (~)0.785s601.37x
💻 LocalNitro0.426s (-3.5%)1.004s (~)0.578s602.64x
💻 LocalExpress0.434s (+0.8%)1.004s (~)0.570s602.69x
💻 LocalNext.js (Turbopack)0.620s (-5.9% 🟢)1.005s (-1.7%)0.385s603.84x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.357s (+15.0% 🔺)3.100s (+16.7% 🔺)1.743s201.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.268s (~)1.018s (+1.2%)0.750s891.00x
🐘 PostgresNitro0.301s (-8.8% 🟢)1.006s (~)0.705s901.13x
🐘 PostgresExpress0.340s (+11.1% 🔺)1.007s (~)0.667s901.27x
💻 LocalExpress2.047s (-1.8%)2.714s (+1.8%)0.667s347.65x
💻 LocalNitro2.105s (-2.3%)2.736s (+1.8%)0.630s337.87x
💻 LocalNext.js (Turbopack)2.711s (~)3.112s (-5.6% 🟢)0.401s2910.13x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.287s (-18.5% 🟢)4.308s (-5.9% 🟢)2.021s221.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.444s (-13.0% 🟢)1.087s (+7.2% 🔺)0.643s1111.00x
🐘 PostgresNext.js (Turbopack)0.484s (-1.0%)3.034s (+2.5%)2.550s401.09x
🐘 PostgresExpress0.537s (+7.1% 🔺)1.051s (+1.8%)0.514s1151.21x
💻 LocalNitro9.509s (-1.6%)10.526s (-3.8%)1.017s1221.41x
💻 LocalExpress9.751s (+4.2%)10.528s (~)0.777s1221.96x
💻 LocalNext.js (Turbopack)10.253s (+1.4%)11.487s (+2.5%)1.234s1123.09x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.935s (-38.2% 🟢)6.376s (-22.1% 🟢)2.441s191.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.141s (-0.8%)2.000s (~)0.001s (-28.6% 🟢)2.010s (~)0.869s101.00x
💻 LocalNext.js (Turbopack)1.147s (~)1.967s (~)0.012s (+16.3% 🔺)2.020s (~)0.873s101.00x
💻 LocalExpress1.152s (~)2.004s (~)0.011s (+5.0%)2.017s (~)0.865s101.01x
🐘 PostgresNext.js (Turbopack)1.157s (~)2.001s (~)0.001s (-6.7% 🟢)2.012s (~)0.855s101.01x
💻 LocalNitro1.161s (-1.1%)2.004s (~)0.010s (-15.7% 🟢)2.018s (~)0.857s101.02x
🐘 PostgresExpress1.173s (+1.3%)1.997s (~)0.001s (+27.3% 🔺)2.010s (~)0.837s101.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.581s (+19.9% 🔺)4.044s (+21.1% 🔺)3.125s (-27.3% 🟢)7.861s (-4.6%)5.280s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.524s (-1.8%)2.010s (~)0.012s (+3.4%)2.025s (~)0.501s301.00x
🐘 PostgresNitro1.537s (-1.7%)2.005s (~)0.004s (-11.8% 🟢)2.023s (~)0.486s301.01x
💻 LocalExpress1.543s (+1.2%)2.009s (~)0.012s (+3.3%)2.024s (~)0.481s301.01x
🐘 PostgresNext.js (Turbopack)1.587s (+1.3%)2.011s (~)0.005s (+4.0%)2.027s (~)0.440s301.04x
💻 LocalNext.js (Turbopack)1.627s (+4.5%)2.000s (+1.4%)0.013s (+13.8% 🔺)2.060s (+1.8%)0.434s301.07x
🐘 PostgresExpress1.649s (+7.3% 🔺)2.041s (+1.7%)0.005s (-5.5% 🟢)2.060s (+1.7%)0.412s301.08x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.817s (+15.3% 🔺)8.515s (+17.9% 🔺)0.245s (-48.1% 🟢)9.332s (+13.4% 🔺)2.516s71.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.751s (-4.9%)1.069s (+2.2%)0.000s (NaN%)1.088s (+2.4%)0.336s571.00x
🐘 PostgresExpress0.842s (+11.2% 🔺)1.122s (+5.2% 🔺)0.000s (-46.2% 🟢)1.155s (+6.8% 🔺)0.314s521.12x
🐘 PostgresNext.js (Turbopack)0.925s (-5.1% 🟢)1.387s (+1.7%)0.000s (NaN%)1.399s (+2.0%)0.474s441.23x
💻 LocalExpress1.247s (~)1.982s (~)0.001s (+500.0% 🔺)1.984s (~)0.737s311.66x
💻 LocalNitro1.271s (-2.1%)2.014s (~)0.000s (+200.0% 🔺)2.017s (~)0.746s301.69x
💻 LocalNext.js (Turbopack)1.381s (~)1.979s (~)0.000s (~)2.016s (~)0.636s301.84x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.400s (+42.2% 🔺)5.769s (+31.5% 🔺)0.003s (+3930.0% 🔺)6.359s (+27.6% 🔺)1.960s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.639s (-3.1%)2.220s (~)0.000s (+Infinity% 🔺)2.231s (~)0.592s271.00x
🐘 PostgresExpress1.959s (+11.9% 🔺)2.384s (+3.6%)0.000s (-100.0% 🟢)2.412s (+4.0%)0.454s261.20x
🐘 PostgresNext.js (Turbopack)2.362s (+1.2%)2.905s (~)0.000s (NaN%)2.914s (~)0.552s211.44x
💻 LocalExpress3.267s (-0.6%)3.966s (~)0.001s (+6.3% 🔺)3.970s (~)0.703s161.99x
💻 LocalNitro3.605s (-4.3%)4.295s (-2.1%)0.001s (+166.7% 🔺)4.299s (-2.1%)0.694s152.20x
💻 LocalNext.js (Turbopack)3.892s (+12.5% 🔺)4.422s (+10.8% 🔺)0.001s (+20.5% 🔺)4.465s (+10.7% 🔺)0.573s142.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro6.823s (-23.8% 🟢)8.382s (-20.2% 🟢)0.000s (+71.4% 🔺)8.927s (-19.6% 🟢)2.104s71.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress13/21
🐘 PostgresNitro14/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run

@github-actions

github-actionsBot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

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

Details by Category

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

📋 View full workflow run

@karthikscale3karthikscale3 changed the title [codex] Send occurredAt with workflow eventsSend occurredAt with workflow eventsJun 23, 2026
@karthikscale3
karthikscale3 marked this pull request as ready for review June 23, 2026 05:24
@karthikscale3
karthikscale3 requested review from a team and ijjk as code ownersJune 23, 2026 05:24

@vercelvercelBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Additional Suggestion:

TS2741 build failure: the exhaustive Record<AttributeKey, ...>attributeToDisplayFn is missing the newly-added occurredAt key from the Event type.

Fix on Vercel

…d-at
# Conflicts:
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
@karthikscale3
karthikscale3 merged commit 25c3df7 into mainJun 23, 2026
175 of 182 checks passed
@karthikscale3
karthikscale3 deleted the kk/send-event-occurred-at branch June 23, 2026 18:50
@github-actionsgithub-actionsBot mentioned this pull request Jun 23, 2026
github-actionsBot added a commit that referenced this pull request Jun 23, 2026
* Send occurredAt with workflow events
* Fix occurredAt detail typing
Signed-off-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #2589. Merge conflicts were resolved by AI — please review carefully. (backport job run)

karthikscale3 added a commit that referenced this pull request Jun 23, 2026
* Send occurredAt with workflow events
* Fix occurredAt detail typing
Signed-off-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Karthik Kalyan <105607645+karthikscale3@users.noreply.github.com>
pranaygp added a commit that referenced this pull request Jun 23, 2026
…testing
* origin/main:
Trace /flow route initialization (#2592)
Version Packages (beta) (#2591)
feat(web): add trace step shortcut helper (#2582)
[web-shared] reskin json viewer (no duplicates, better colours and navigation) (#2434)
Send occurredAt with workflow events (#2580)
docs: use actual eve logo and tidy OSS nav dropdown (#2586)
Display occurredAt in trace details (#2581)
fix(next): discover root entrypoints (#2564)
[core] Turbo: skip the unused run_started event-log preload (#2569)
fix(next): prewarm SWC plugin cache (#2538)
[world-vercel] Use v3 stream endpoint (supports transparent reconnect on timeout) (#2424)
[core] Retry stream reopen against the reconnect budget (#2334)
Add Platformatic World to worlds-manifest.json (#1450)
docs: derive section landing-page cards from the page tree + lint drift (#2567)
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

@karthikscale3@VaguelySerious