Skip to content

[draft] wf trace viewer#1454

Draft
mitul-s wants to merge 25 commits intomainfrom
ms/trace-viewer-2
Draft

[draft] wf trace viewer#1454
mitul-s wants to merge 25 commits intomainfrom
ms/trace-viewer-2

Conversation

@mitul-s
Copy link

@mitul-s mitul-s commented Mar 19, 2026

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Mar 19, 2026

⚠️ No Changeset found

Latest commit: 2fbdab8

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

This PR includes no changesets

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

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

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

@vercel
Copy link
Contributor

vercel bot commented Mar 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment Mar 20, 2026 10:49pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment Mar 20, 2026 10:49pm
example-workflow Ready Ready Preview, Comment Mar 20, 2026 10:49pm
workbench-astro-workflow Ready Ready Preview, Comment Mar 20, 2026 10:49pm
workbench-express-workflow Ready Ready Preview, Comment Mar 20, 2026 10:49pm
workbench-fastify-workflow Ready Ready Preview, Comment Mar 20, 2026 10:49pm
workbench-hono-workflow Ready Ready Preview, Comment Mar 20, 2026 10:49pm
workbench-nitro-workflow Ready Ready Preview, Comment Mar 20, 2026 10:49pm
workbench-nuxt-workflow Ready Ready Preview, Comment Mar 20, 2026 10:49pm
workbench-sveltekit-workflow Ready Ready Preview, Comment Mar 20, 2026 10:49pm
workbench-vite-workflow Ready Ready Preview, Comment Mar 20, 2026 10:49pm
workflow-docs Ready Ready Preview, Comment, Open in v0 Mar 20, 2026 10:49pm
workflow-nest Ready Ready Preview, Comment Mar 20, 2026 10:49pm
workflow-swc-playground Ready Ready Preview, Comment Mar 20, 2026 10:49pm

@github-actions
Copy link
Contributor

github-actions bot commented Mar 19, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 730 0 60 790
✅ 💻 Local Development 613 0 98 711
✅ 📦 Local Production 613 0 98 711
✅ 🐘 Local Postgres 613 0 98 711
✅ 🪟 Windows 74 0 5 79
❌ 🌍 Community Worlds 122 58 21 201
✅ 📋 Other 204 0 33 237
Total 2969 58 413 3440

❌ Failed Tests

🌍 Community Worlds (58 failed)

mongodb (3 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KM6Q17QK65V82RX11QQ691SQ
  • webhookWorkflow | wrun_01KM6Q1G25BPNKEX7QRRNEXR1W
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KM6Q7R2AKYE7DMACSQDY38CE

redis (2 failed):

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

turso (53 failed):

  • addTenWorkflow | wrun_01KM6Q04RHGMNTS7XK5KM1PNCM
  • addTenWorkflow | wrun_01KM6Q04RHGMNTS7XK5KM1PNCM
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KM6Q26E4ARS9MRRSQSJ2XBVY
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KM6Q0BEKPBY7253WD29DKRF5
  • promiseRaceWorkflow | wrun_01KM6Q0GQYT02KXQ7N1AXVWE5S
  • promiseAnyWorkflow | wrun_01KM6Q0JK2HD32TKX6RPT9J51G
  • importedStepOnlyWorkflow | wrun_01KM6Q2K4J93BBWF3H2F10VR0T
  • hookWorkflow | wrun_01KM6Q0Y6SDNWEMVX5BEE4TEPP
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KM6Q17QK65V82RX11QQ691SQ
  • webhookWorkflow | wrun_01KM6Q1G25BPNKEX7QRRNEXR1W
  • sleepingWorkflow | wrun_01KM6Q1NXP5C3XPEWFBDMRNKG1
  • parallelSleepWorkflow | wrun_01KM6Q23DWBCG4FAG3CAVXJQHC
  • nullByteWorkflow | wrun_01KM6Q26DX6S7YY6TEA5KCSM3P
  • workflowAndStepMetadataWorkflow | wrun_01KM6Q28BWVXF9CSNSBT6GQXFX
  • fetchWorkflow | wrun_01KM6Q471AS36S47MJ2Z3CBPWR
  • promiseRaceStressTestWorkflow | wrun_01KM6Q4ADNYS7FAQ95WCGCSDNP
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KM6Q72YHQDFJ858G11RDG9RV
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KM6Q7R2AKYE7DMACSQDY38CE
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KM6Q8BFYN31FXNX0C3YDCESA
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KM6Q8YVPSXQHD6GADRR062DG
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KM6Q96NE4M2XSJZB1XNJB693
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KM6Q9DTWBP56VMGYR8C0RWVN
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KM6Q9FQH7QXZKD6M5NM9PSAK
  • startFromWorkflow - calling start() directly inside a workflow function with hook communication | wrun_01KM6Q9TS5NF61CEC394WAYZ3K
  • fibonacciWorkflow - recursive workflow composition via start() | wrun_01KM6Q9XEA0QYJMDHDG0Z6XWBW
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KM6QAC56PT1CTGHRHDF7N1C9
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KM6QAH9TV3X5FK767XJVN27Y
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KM6QAQ9HNSHZG3B4ES90NQ8Z
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KM6QAX9QMJBCWQMMCKQ2VR5W
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KM6QB3QXFAF80HKTS2Z213KC
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KM6QBB4EJMTGFNVKMBPPBHF3
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KM6QBH37RH3FXE19APA4R93W
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KM6QBTSDJBM16PKXAHEH0JZ0
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KM6QC2YBPV07DW1381JE515J
  • cancelRun - cancelling a running workflow | wrun_01KM6QC90537C0T257BNSM3FWS
  • cancelRun via CLI - cancelling a running workflow | wrun_01KM6QCJ0GZW7Q1WK7RK1S6R6M
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KM6QCX8Y2X1C9160KXNN263A
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KM6QDGW07ENFJ139QHJWGZED
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KM6QDVVA27VXGAYFFJJJV4MZ

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 72 0 7
✅ example 72 0 7
✅ express 72 0 7
✅ fastify 72 0 7
✅ hono 72 0 7
✅ nextjs-turbopack 77 0 2
✅ nextjs-webpack 77 0 2
✅ nitro 72 0 7
✅ nuxt 72 0 7
✅ vite 72 0 7
✅ 💻 Local Development
App Passed Failed Skipped
✅ express-stable 68 0 11
✅ fastify-stable 68 0 11
✅ hono-stable 68 0 11
✅ nextjs-turbopack-stable 74 0 5
✅ nextjs-webpack-canary 57 0 22
✅ nextjs-webpack-stable 74 0 5
✅ nitro-stable 68 0 11
✅ nuxt-stable 68 0 11
✅ vite-stable 68 0 11
✅ 📦 Local Production
App Passed Failed Skipped
✅ express-stable 68 0 11
✅ fastify-stable 68 0 11
✅ hono-stable 68 0 11
✅ nextjs-turbopack-stable 74 0 5
✅ nextjs-webpack-canary 57 0 22
✅ nextjs-webpack-stable 74 0 5
✅ nitro-stable 68 0 11
✅ nuxt-stable 68 0 11
✅ vite-stable 68 0 11
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ express-stable 68 0 11
✅ fastify-stable 68 0 11
✅ hono-stable 68 0 11
✅ nextjs-turbopack-stable 74 0 5
✅ nextjs-webpack-canary 57 0 22
✅ nextjs-webpack-stable 74 0 5
✅ nitro-stable 68 0 11
✅ nuxt-stable 68 0 11
✅ vite-stable 68 0 11
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 74 0 5
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 3 0 2
❌ mongodb 54 3 5
✅ redis-dev 3 0 2
❌ redis 55 2 5
✅ turso-dev 3 0 2
❌ turso 4 53 5
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 68 0 11
✅ e2e-local-postgres-nest-stable 68 0 11
✅ e2e-local-prod-nest-stable 68 0 11

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 19, 2026

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 0.044s (-1.8%) 1.005s (~) 0.961s 10 1.00x
💻 Local Nitro 0.048s (+0.6%) 1.005s (~) 0.957s 10 1.09x
🐘 Postgres Nitro 0.061s (-12.3% 🟢) 1.012s (~) 0.951s 10 1.38x
🐘 Postgres Express 0.061s (-13.8% 🟢) 1.011s (-0.6%) 0.950s 10 1.39x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 0.535s (-7.1% 🟢) 2.581s (+1.0%) 2.046s 10 1.00x
▲ Vercel Nitro 0.701s (+41.2% 🔺) 2.538s (~) 1.837s 10 1.31x

🔍 Observability: Express | Nitro

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 1.126s (~) 2.005s (~) 0.879s 10 1.00x
💻 Local Nitro 1.128s (~) 2.006s (~) 0.878s 10 1.00x
🐘 Postgres Express 1.148s (+0.8%) 2.012s (~) 0.864s 10 1.02x
🐘 Postgres Nitro 1.149s (+0.5%) 2.013s (~) 0.864s 10 1.02x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.229s (-4.6%) 3.841s (-0.9%) 1.612s 10 1.00x
▲ Vercel Express 2.291s (+3.7%) 4.058s (+4.2%) 1.767s 10 1.03x

🔍 Observability: Nitro | Express

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 10.892s (~) 11.022s (~) 0.130s 3 1.00x
💻 Local Nitro 10.905s (~) 11.024s (~) 0.119s 3 1.00x
🐘 Postgres Express 10.932s (~) 11.047s (~) 0.115s 3 1.00x
🐘 Postgres Nitro 10.936s (~) 11.041s (~) 0.105s 3 1.00x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 17.477s (+0.6%) 20.058s (+3.6%) 2.581s 2 1.00x
▲ Vercel Nitro 20.146s (+15.8% 🔺) 22.525s (+19.4% 🔺) 2.379s 2 1.15x

🔍 Observability: Express | Nitro

workflow with 25 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 14.719s (+1.0%) 15.047s (~) 0.328s 4 1.00x
🐘 Postgres Nitro 14.752s (~) 15.044s (~) 0.293s 4 1.00x
💻 Local Express 14.878s (-0.8%) 15.030s (-3.2%) 0.151s 4 1.01x
💻 Local Nitro 14.927s (~) 15.028s (~) 0.102s 4 1.01x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 30.884s (-8.6% 🟢) 32.164s (-9.6% 🟢) 1.279s 2 1.00x
▲ Vercel Nitro 32.517s (+0.6%) 34.928s (+0.5%) 2.411s 2 1.05x

🔍 Observability: Express | Nitro

workflow with 50 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 14.207s (-1.1%) 15.041s (~) 0.833s 6 1.00x
🐘 Postgres Express 14.362s (+2.5%) 15.046s (+4.0%) 0.684s 6 1.01x
💻 Local Express 16.385s (-1.8%) 17.029s (~) 0.645s 6 1.15x
💻 Local Nitro 16.477s (~) 17.030s (~) 0.552s 6 1.16x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 56.648s (-1.8%) 58.291s (-2.0%) 1.643s 2 1.00x
▲ Vercel Nitro 57.790s (+2.8%) 59.618s (+4.1%) 1.828s 2 1.02x

🔍 Observability: Express | Nitro

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.275s (-1.4%) 2.010s (~) 0.735s 15 1.00x
🐘 Postgres Express 1.278s (+1.0%) 2.011s (~) 0.733s 15 1.00x
💻 Local Nitro 1.480s (~) 2.005s (~) 0.526s 15 1.16x
💻 Local Express 1.497s (-0.6%) 2.005s (~) 0.508s 15 1.17x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.257s (-18.2% 🟢) 3.825s (-17.1% 🟢) 1.568s 8 1.00x
▲ Vercel Nitro 2.522s (-3.7%) 4.022s (-4.2%) 1.500s 8 1.12x

🔍 Observability: Express | Nitro

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 2.442s (-0.8%) 3.013s (~) 0.571s 10 1.00x
🐘 Postgres Nitro 2.454s (-0.7%) 3.011s (~) 0.558s 10 1.00x
💻 Local Express 2.870s (-4.3%) 3.341s (-6.3% 🟢) 0.471s 9 1.18x
💻 Local Nitro 3.035s (+5.7% 🔺) 3.675s (+18.3% 🔺) 0.640s 9 1.24x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.510s (-1.1%) 3.793s (~) 1.282s 8 1.00x
▲ Vercel Express 2.644s (-7.4% 🟢) 4.087s (-8.4% 🟢) 1.444s 8 1.05x

🔍 Observability: Nitro | Express

Promise.all with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 3.579s (~) 4.013s (~) 0.435s 8 1.00x
🐘 Postgres Nitro 3.592s (-1.1%) 4.013s (~) 0.421s 8 1.00x
💻 Local Express 7.591s (-10.4% 🟢) 8.020s (-11.1% 🟢) 0.429s 4 2.12x
💻 Local Nitro 8.258s (+1.7%) 9.023s (+2.9%) 0.766s 4 2.31x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.064s (+0.7%) 4.563s (+2.1%) 1.499s 7 1.00x
▲ Vercel Express 3.086s (-6.1% 🟢) 4.353s (-6.7% 🟢) 1.267s 7 1.01x

🔍 Observability: Nitro | Express

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.263s (~) 2.011s (~) 0.748s 15 1.00x
🐘 Postgres Nitro 1.270s (-0.5%) 2.010s (~) 0.740s 15 1.01x
💻 Local Nitro 1.514s (-2.9%) 2.006s (~) 0.492s 15 1.20x
💻 Local Express 1.518s (-1.2%) 2.006s (~) 0.488s 15 1.20x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.157s (+1.5%) 4.125s (+11.7% 🔺) 1.968s 8 1.00x
▲ Vercel Express 2.579s (+16.7% 🔺) 4.191s (+8.4% 🔺) 1.612s 8 1.20x

🔍 Observability: Nitro | Express

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 2.422s (-1.1%) 3.012s (~) 0.590s 10 1.00x
🐘 Postgres Nitro 2.433s (-1.0%) 3.011s (~) 0.578s 10 1.00x
💻 Local Express 2.970s (-2.1%) 3.454s (-8.1% 🟢) 0.485s 9 1.23x
💻 Local Nitro 3.024s (~) 3.677s (~) 0.653s 9 1.25x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.668s (~) 4.071s (-11.7% 🟢) 1.403s 8 1.00x
▲ Vercel Nitro 2.702s (+4.4%) 3.967s (+2.8%) 1.266s 8 1.01x

🔍 Observability: Express | Nitro

Promise.race with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 3.581s (-1.0%) 4.014s (~) 0.433s 8 1.00x
🐘 Postgres Express 3.608s (~) 4.014s (~) 0.406s 8 1.01x
💻 Local Nitro 8.581s (-0.7%) 9.021s (~) 0.440s 4 2.40x
💻 Local Express 8.634s (-4.7%) 9.022s (-7.7% 🟢) 0.388s 4 2.41x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.218s (+4.9%) 4.923s (+8.4% 🔺) 1.704s 7 1.00x
▲ Vercel Nitro 3.498s (+23.7% 🔺) 5.033s (+13.6% 🔺) 1.535s 6 1.09x

🔍 Observability: Express | Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.854s (-4.8%) 1.025s (-1.7%) 0.171s 59 1.00x
🐘 Postgres Express 0.884s (+2.1%) 1.009s (-1.6%) 0.125s 60 1.04x
💻 Local Nitro 0.965s (+1.0%) 1.057s (+3.5%) 0.092s 57 1.13x
💻 Local Express 1.000s (+1.7%) 1.136s (+3.7%) 0.136s 53 1.17x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 9.290s (-6.5% 🟢) 10.965s (-6.2% 🟢) 1.675s 6 1.00x
▲ Vercel Nitro 9.503s (~) 11.495s (+5.1% 🔺) 1.992s 6 1.02x

🔍 Observability: Express | Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 2.086s (-3.5%) 2.979s (~) 0.894s 31 1.00x
🐘 Postgres Express 2.157s (+1.9%) 3.012s (~) 0.855s 30 1.03x
💻 Local Nitro 2.949s (~) 3.145s (+1.1%) 0.197s 29 1.41x
💻 Local Express 2.949s (-2.1%) 3.074s (-13.3% 🟢) 0.125s 30 1.41x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 28.271s (-15.0% 🟢) 30.131s (-14.3% 🟢) 1.860s 3 1.00x
▲ Vercel Nitro 29.587s (-4.6%) 31.198s (-3.9%) 1.611s 3 1.05x

🔍 Observability: Express | Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 4.180s (-3.6%) 5.013s (~) 0.833s 24 1.00x
🐘 Postgres Express 4.369s (+2.5%) 5.014s (+0.8%) 0.644s 24 1.05x
💻 Local Express 8.888s (-2.9%) 9.248s (-5.5% 🟢) 0.360s 13 2.13x
💻 Local Nitro 8.967s (-0.7%) 9.478s (~) 0.511s 13 2.15x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 80.148s (-13.2% 🟢) 81.882s (-13.1% 🟢) 1.734s 2 1.00x
▲ Vercel Express 80.385s (-8.8% 🟢) 82.154s (-8.5% 🟢) 1.769s 2 1.00x

🔍 Observability: Nitro | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.297s (+0.9%) 1.009s (~) 0.711s 60 1.00x
🐘 Postgres Express 0.299s (-1.0%) 1.009s (~) 0.710s 60 1.01x
💻 Local Express 0.598s (-0.8%) 1.021s (+1.7%) 0.423s 59 2.01x
💻 Local Nitro 0.610s (+2.1%) 1.021s (+1.7%) 0.411s 59 2.05x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 1.715s (-31.7% 🟢) 3.233s (-19.7% 🟢) 1.518s 19 1.00x
▲ Vercel Nitro 1.731s (-25.3% 🟢) 3.381s (-12.6% 🟢) 1.650s 19 1.01x

🔍 Observability: Express | Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 0.527s (~) 1.009s (~) 0.482s 90 1.00x
🐘 Postgres Nitro 0.532s (-1.2%) 1.009s (~) 0.477s 90 1.01x
💻 Local Nitro 2.486s (~) 3.009s (~) 0.522s 30 4.72x
💻 Local Express 2.512s (-2.7%) 3.008s (~) 0.497s 30 4.76x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.731s (-11.3% 🟢) 4.526s (+0.6%) 1.795s 22 1.00x
▲ Vercel Nitro 3.214s (+11.0% 🔺) 4.969s (+17.8% 🔺) 1.754s 19 1.18x

🔍 Observability: Express | Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 0.901s (~) 1.051s (+1.0%) 0.151s 115 1.00x
🐘 Postgres Nitro 0.905s (-3.6%) 1.068s (-10.4% 🟢) 0.163s 113 1.00x
💻 Local Express 10.889s (-3.5%) 11.391s (-5.3% 🟢) 0.502s 11 12.09x
💻 Local Nitro 10.892s (-2.0%) 11.298s (-3.1%) 0.406s 11 12.09x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 6.964s (-4.2%) 8.642s (-3.4%) 1.678s 14 1.00x
▲ Vercel Nitro 7.519s (-10.1% 🟢) 9.453s (-3.0%) 1.934s 13 1.08x

🔍 Observability: Express | Nitro

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 0.197s (~) 1.003s (~) 0.011s (-2.5%) 1.017s (~) 0.820s 10 1.00x
💻 Local Express 0.198s (-3.1%) 1.003s (~) 0.011s (-8.4% 🟢) 1.017s (~) 0.819s 10 1.00x
🐘 Postgres Nitro 0.210s (-12.1% 🟢) 0.995s (~) 0.001s (-7.1% 🟢) 1.013s (~) 0.802s 10 1.07x
🐘 Postgres Express 0.221s (+2.0%) 0.997s (~) 0.002s (+33.3% 🔺) 1.012s (~) 0.791s 10 1.12x

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 1.657s (~) 2.501s (-6.7% 🟢) 0.652s (+10773.3% 🔺) 3.703s (+13.1% 🔺) 2.045s 10 1.00x
▲ Vercel Express 1.700s (+0.7%) 2.852s (+8.0% 🔺) 0.385s (+6896.4% 🔺) 3.802s (+17.5% 🔺) 2.102s 10 1.03x

🔍 Observability: Nitro | Express

stream pipeline with 5 transform steps (1MB)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.668s (-7.5% 🟢) 1.005s (~) 0.006s (+62.4% 🔺) 1.027s (~) 0.359s 59 1.00x
🐘 Postgres Express 0.681s (-1.8%) 1.005s (~) 0.004s (+15.5% 🔺) 1.028s (~) 0.347s 59 1.02x
💻 Local Express 0.715s (-7.9% 🟢) 1.010s (-1.7%) 0.010s (+1.2%) 1.024s (-1.7%) 0.309s 59 1.07x
💻 Local Nitro 0.718s (-1.3%) 1.009s (~) 0.010s (+5.1% 🔺) 1.023s (~) 0.306s 59 1.07x

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 4.057s (-6.3% 🟢) 5.106s (-7.3% 🟢) 0.190s (-27.2% 🟢) 6.035s (-4.1%) 1.979s 10 1.00x
▲ Vercel Express 4.314s (-1.1%) 5.463s (-2.0%) 0.243s (-8.9% 🟢) 6.362s (-0.9%) 2.048s 10 1.06x

🔍 Observability: Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.084s (+17.7% 🔺) 1.898s (+78.6% 🔺) 0.000s (-100.0% 🟢) 1.919s (+77.5% 🔺) 0.835s 32 1.00x
🐘 Postgres Express 1.095s (+22.5% 🔺) 1.810s (+67.1% 🔺) 0.000s (-100.0% 🟢) 1.842s (+66.8% 🔺) 0.748s 33 1.01x
💻 Local Express 1.209s (-3.9%) 2.020s (~) 0.000s (-41.2% 🟢) 2.023s (~) 0.814s 30 1.11x
💻 Local Nitro 1.225s (~) 2.019s (~) 0.000s (-30.8% 🟢) 2.022s (~) 0.797s 30 1.13x

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.676s (+11.9% 🔺) 3.315s (+0.8%) 0.000s (+Infinity% 🔺) 3.930s (~) 1.254s 16 1.00x
▲ Vercel Nitro 3.163s (+24.6% 🔺) 4.046s (+25.9% 🔺) 0.000s (-100.0% 🟢) 4.703s (+25.1% 🔺) 1.540s 13 1.18x

🔍 Observability: Express | Nitro

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

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.978s (+4.6%) 2.303s (+3.8%) 0.000s (+3.8%) 2.320s (+3.5%) 0.341s 26 1.00x
🐘 Postgres Express 2.032s (+12.6% 🔺) 2.497s (+19.0% 🔺) 0.000s (+Infinity% 🔺) 2.522s (+18.9% 🔺) 0.489s 24 1.03x
💻 Local Express 3.453s (~) 4.032s (-1.6%) 0.000s (-37.5% 🟢) 4.036s (-1.6%) 0.582s 15 1.75x
💻 Local Nitro 3.471s (+4.3%) 4.100s (+3.3%) 0.001s (+156.0% 🔺) 4.104s (+3.3%) 0.633s 15 1.75x

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.869s (+17.7% 🔺) 4.881s (+6.8% 🔺) 0.000s (-63.6% 🟢) 5.466s (+6.3% 🔺) 1.598s 11 1.00x
▲ Vercel Nitro 4.137s (+22.6% 🔺) 5.107s (+12.6% 🔺) 0.000s (-100.0% 🟢) 5.678s (+11.7% 🔺) 1.541s 11 1.07x

🔍 Observability: Express | Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

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

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

vercel bot and others added 2 commits March 20, 2026 22:03
…ent` receives `undefined` (cast as `Trace`) and immediately accesses `trace.spans`, causing "Cannot read properties of undefined".

This commit fixes the issue reported at packages/web-shared/src/components/trace-viewer-new.tsx:28

**Bug Analysis:**

In `trace-viewer-new.tsx`, the `buildTrace` function returns `undefined` when `!run?.runId`. The result is stored in `trace` which has type `TraceWithMeta | undefined`. However, on line 28, `trace` is passed directly to `NewTraceViewerComponent` with a type assertion `trace as Trace`, which silences the TypeScript error but does not prevent the runtime crash.

Inside `NewTraceViewerComponent` (in `new-trace-viewer/trace-viewer.tsx` line 98), the component immediately accesses `trace.spans`:

```tsx
<ActiveSpanProvider spans={trace.spans}>
```

When `trace` is `undefined`, this produces: `TypeError: Cannot read properties of undefined (reading 'spans')`.

This happens whenever the component renders before `run.runId` is available — a normal scenario during initial loading.

The old `WorkflowTraceViewer` component (in `workflow-trace-view.tsx` line 953) correctly handles this with a `if (!trace)` guard that renders a loading skeleton. The new component lacks this guard.

**Fix:**

Added a null guard in `trace-viewer-new.tsx` that checks `if (!trace)` before rendering `NewTraceViewerComponent`. When trace is undefined, a simple loading placeholder is rendered instead. This prevents the crash and follows the same pattern as the existing `WorkflowTraceViewer`. The `as Trace` cast on line 28 is now safe because `trace` is guaranteed to be defined after the guard.


Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
Co-authored-by: mitul-s <mitulxshah@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant