Skip to content

feat: add clickable Run reference rendering in observability UI#1681

Merged
TooTallNate merged 4 commits intomainfrom
fix/o11y-run-ref-rendering
Apr 14, 2026
Merged

feat: add clickable Run reference rendering in observability UI#1681
TooTallNate merged 4 commits intomainfrom
fix/o11y-run-ref-rendering

Conversation

@TooTallNate
Copy link
Copy Markdown
Member

@TooTallNate TooTallNate commented Apr 10, 2026

Summary

When a serialized Run object appears in step input/output data in the observability UI, it is now rendered as a clickable purple badge showing the runId. Clicking the badge navigates to the target run's detail page.

This was extracted from PR #1491 as a standalone o11y feature.

Example: https://workflow-web-git-fix-o11y-run-ref-rendering.labs.vercel.dev/run/wrun_01KP6TB96A83ZJE5PW7Q3H6SX9

Changes

Core

  • serialization-format.ts: Add RunRef type, isRunRef(), serializedRunToRunRef(), and Run entry in observabilityRevivers

Web Shared

  • data-inspector.tsx: Add RunRefInline component (purple clickable badge), RunClickContext, makeOpaqueRef()/collapseRefs() utilities to prevent ObjectInspector from expanding ref objects
  • attribute-panel.tsx: Thread onRunClick prop, wrap content in RunClickContext.Provider, improve stepName display fallback
  • entity-detail-panel.tsx: Thread onRunClick prop
  • run-trace-view.tsx: Thread onRunClick prop
  • workflow-trace-view.tsx: Thread onRunClick prop, reset selected span when navigating to a different run
  • trace-span-construction.ts: Show step name for builtin steps instead of empty string
  • hydration.ts: Re-export RunRef, RUN_REF_TYPE, isRunRef

Web

  • run-detail-view.tsx: Add handleRunRefClick callback that navigates to /run/{targetRunId}

@TooTallNate TooTallNate requested a review from a team as a code owner April 10, 2026 00:17
Copilot AI review requested due to automatic review settings April 10, 2026 00:17
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 10, 2026

🦋 Changeset detected

Latest commit: 13b4ed3

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

This PR includes changesets to release 17 packages
Name Type
@workflow/core Patch
@workflow/web-shared Patch
@workflow/web Patch
@workflow/builders Patch
@workflow/cli Patch
@workflow/next Patch
@workflow/nitro Patch
@workflow/vitest Patch
workflow Patch
@workflow/world-testing Patch
@workflow/astro Patch
@workflow/nest Patch
@workflow/rollup Patch
@workflow/sveltekit Patch
@workflow/vite Patch
@workflow/nuxt Patch
@workflow/ai Patch

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
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 10, 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 Apr 14, 2026 8:42pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment Apr 14, 2026 8:42pm
example-workflow Ready Ready Preview, Comment Apr 14, 2026 8:42pm
workbench-astro-workflow Ready Ready Preview, Comment Apr 14, 2026 8:42pm
workbench-express-workflow Ready Ready Preview, Comment Apr 14, 2026 8:42pm
workbench-fastify-workflow Ready Ready Preview, Comment Apr 14, 2026 8:42pm
workbench-hono-workflow Ready Ready Preview, Comment Apr 14, 2026 8:42pm
workbench-nitro-workflow Ready Ready Preview, Comment Apr 14, 2026 8:42pm
workbench-nuxt-workflow Ready Ready Preview, Comment Apr 14, 2026 8:42pm
workbench-sveltekit-workflow Ready Ready Preview, Comment Apr 14, 2026 8:42pm
workbench-vite-workflow Ready Ready Preview, Comment Apr 14, 2026 8:42pm
workflow-docs Ready Ready Preview, Comment, Open in v0 Apr 14, 2026 8:42pm
workflow-swc-playground Ready Ready Preview, Comment Apr 14, 2026 8:42pm
workflow-web Ready Ready Preview, Comment Apr 14, 2026 8:42pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 10, 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.045s (+6.4% 🔺) 1.005s (~) 0.960s 10 1.00x
💻 Local Next.js (Turbopack) 0.052s 1.006s 0.954s 10 1.14x
🐘 Postgres Nitro 0.056s (+20.5% 🔺) 1.011s (~) 0.955s 10 1.23x
🐘 Postgres Express 0.059s (-16.4% 🟢) 1.010s (-0.8%) 0.951s 10 1.30x
🐘 Postgres Next.js (Turbopack) 0.064s 1.012s 0.948s 10 1.41x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 0.229s (-55.0% 🟢) 2.007s (-20.4% 🟢) 1.778s 10 1.00x
▲ Vercel Nitro 0.279s (+5.4% 🔺) 2.170s (-3.6%) 1.891s 10 1.22x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Express | Nitro

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 1.126s 2.006s 0.880s 10 1.00x
💻 Local Express 1.129s (+0.7%) 2.006s (~) 0.877s 10 1.00x
🐘 Postgres Next.js (Turbopack) 1.140s 2.011s 0.871s 10 1.01x
🐘 Postgres Express 1.145s (-0.5%) 2.011s (~) 0.865s 10 1.02x
🐘 Postgres Nitro 1.151s (+3.3%) 2.009s (~) 0.858s 10 1.02x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 1.852s (-7.2% 🟢) 3.373s (-0.7%) 1.521s 10 1.00x
▲ Vercel Express 1.862s (-11.7% 🟢) 3.315s (-6.2% 🟢) 1.453s 10 1.01x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro | Express

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 10.848s 11.023s 0.175s 3 1.00x
🐘 Postgres Next.js (Turbopack) 10.917s 11.021s 0.104s 3 1.01x
🐘 Postgres Express 10.934s (~) 11.352s (+3.0%) 0.418s 3 1.01x
🐘 Postgres Nitro 10.936s (+2.4%) 11.023s (~) 0.087s 3 1.01x
💻 Local Express 10.938s (~) 11.023s (~) 0.086s 3 1.01x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 17.330s (-5.1% 🟢) 18.611s (-9.9% 🟢) 1.281s 2 1.00x
▲ Vercel Nitro 18.219s (+5.9% 🔺) 19.461s (+2.5%) 1.242s 2 1.05x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Express | Nitro

workflow with 25 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 14.550s (~) 15.024s (~) 0.474s 4 1.00x
🐘 Postgres Next.js (Turbopack) 14.557s 15.020s 0.462s 4 1.00x
🐘 Postgres Nitro 14.581s (+4.0%) 15.023s (+2.8%) 0.442s 4 1.00x
💻 Local Next.js (Turbopack) 14.778s 15.031s 0.252s 4 1.02x
💻 Local Express 14.957s (~) 15.030s (-3.2%) 0.073s 4 1.03x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 32.940s (+1.0%) 35.462s (+3.0%) 2.522s 2 1.00x
▲ Vercel Nitro 34.892s (+6.6% 🔺) 36.902s (+6.8% 🔺) 2.010s 2 1.06x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Express | Nitro

workflow with 50 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 13.938s (+8.0% 🔺) 14.166s (+8.8% 🔺) 0.228s 7 1.00x
🐘 Postgres Next.js (Turbopack) 14.017s 14.593s 0.577s 7 1.01x
🐘 Postgres Express 14.021s (~) 14.597s (+3.0%) 0.576s 7 1.01x
💻 Local Next.js (Turbopack) 16.352s 17.032s 0.681s 6 1.17x
💻 Local Express 16.365s (-1.2%) 17.030s (~) 0.665s 6 1.17x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 61.578s (-0.7%) 62.851s (-1.5%) 1.273s 2 1.00x
▲ Vercel Nitro 61.825s (+16.1% 🔺) 63.323s (+15.1% 🔺) 1.498s 2 1.00x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Express | Nitro

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 1.237s 2.009s 0.772s 15 1.00x
🐘 Postgres Express 1.266s (-0.8%) 2.010s (~) 0.743s 15 1.02x
🐘 Postgres Nitro 1.277s (+6.8% 🔺) 2.009s (~) 0.732s 15 1.03x
💻 Local Express 1.497s (-1.0%) 2.005s (~) 0.508s 15 1.21x
💻 Local Next.js (Turbopack) 1.614s 2.073s 0.459s 15 1.30x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.276s (-20.1% 🟢) 3.625s (-23.7% 🟢) 1.349s 9 1.00x
▲ Vercel Express 2.703s (+5.9% 🔺) 4.008s (+4.0%) 1.305s 8 1.19x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro | Express

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 2.339s (+2.2%) 3.008s (~) 0.670s 10 1.00x
🐘 Postgres Express 2.384s (+2.7%) 3.008s (~) 0.624s 10 1.02x
🐘 Postgres Next.js (Turbopack) 2.409s 3.010s 0.601s 10 1.03x
💻 Local Express 2.760s (-4.5%) 3.008s (-3.2%) 0.248s 10 1.18x
💻 Local Next.js (Turbopack) 3.026s 3.760s 0.733s 8 1.29x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.332s (-3.4%) 3.765s (+2.6%) 1.433s 9 1.00x
▲ Vercel Nitro 2.353s (-7.3% 🟢) 3.781s (-2.1%) 1.428s 9 1.01x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Express | Nitro

Promise.all with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 3.452s (-1.0%) 4.010s (~) 0.558s 8 1.00x
🐘 Postgres Nitro 3.462s (+2.2%) 4.011s (~) 0.549s 8 1.00x
🐘 Postgres Next.js (Turbopack) 3.688s 4.011s 0.323s 8 1.07x
💻 Local Next.js (Turbopack) 7.211s 7.768s 0.557s 4 2.09x
💻 Local Express 7.404s (-6.6% 🟢) 8.019s (-5.9% 🟢) 0.614s 4 2.14x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.961s (+15.8% 🔺) 4.469s (+4.5%) 1.508s 8 1.00x
▲ Vercel Express 3.156s (-14.7% 🟢) 4.864s (-9.4% 🟢) 1.708s 7 1.07x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro | Express

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 1.236s 2.010s 0.773s 15 1.00x
🐘 Postgres Express 1.258s (~) 2.008s (~) 0.750s 15 1.02x
🐘 Postgres Nitro 1.260s (+4.8%) 2.009s (~) 0.749s 15 1.02x
💻 Local Express 1.511s (-20.9% 🟢) 2.006s (-16.1% 🟢) 0.494s 15 1.22x
💻 Local Next.js (Turbopack) 1.866s 2.340s 0.474s 15 1.51x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.069s (-9.5% 🟢) 3.294s (-16.6% 🟢) 1.225s 10 1.00x
▲ Vercel Nitro 2.554s (+22.3% 🔺) 4.106s (+11.5% 🔺) 1.552s 8 1.23x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Express | Nitro

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 2.333s (+2.1%) 3.009s (~) 0.676s 10 1.00x
🐘 Postgres Express 2.338s (-0.6%) 3.010s (~) 0.671s 10 1.00x
🐘 Postgres Next.js (Turbopack) 2.425s 3.011s 0.586s 10 1.04x
💻 Local Express 2.999s (-4.9%) 3.453s (-14.0% 🟢) 0.453s 9 1.29x
💻 Local Next.js (Turbopack) 3.100s 3.885s 0.785s 8 1.33x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.494s (+13.0% 🔺) 3.926s (+11.4% 🔺) 1.431s 8 1.00x
▲ Vercel Express 2.729s (+0.8%) 3.851s (~) 1.123s 8 1.09x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro | Express

Promise.race with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 3.476s (~) 4.011s (~) 0.535s 8 1.00x
🐘 Postgres Nitro 3.493s (+3.0%) 4.011s (~) 0.518s 8 1.01x
🐘 Postgres Next.js (Turbopack) 3.693s 4.010s 0.316s 8 1.06x
💻 Local Express 7.735s (-12.9% 🟢) 8.020s (-13.5% 🟢) 0.285s 4 2.23x
💻 Local Next.js (Turbopack) 8.640s 9.273s 0.633s 4 2.49x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.620s (-15.1% 🟢) 4.384s (-6.8% 🟢) 1.764s 7 1.00x
▲ Vercel Express 2.855s (+5.8% 🔺) 4.573s (+7.3% 🔺) 1.718s 7 1.09x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro | Express

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 0.784s 1.007s 0.223s 60 1.00x
🐘 Postgres Nitro 0.823s (+41.3% 🔺) 1.006s (~) 0.183s 60 1.05x
🐘 Postgres Express 0.841s (~) 1.040s (~) 0.199s 58 1.07x
💻 Local Next.js (Turbopack) 0.857s 1.022s 0.165s 59 1.09x
💻 Local Express 1.010s (+2.1%) 1.493s (+31.3% 🔺) 0.483s 41 1.29x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 9.080s (-12.7% 🟢) 10.700s (-9.7% 🟢) 1.620s 6 1.00x
▲ Vercel Express 9.287s (-5.9% 🟢) 11.145s (+0.9%) 1.858s 6 1.02x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro | Express

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.908s (+35.0% 🔺) 2.053s (+2.3%) 0.145s 44 1.00x
🐘 Postgres Next.js (Turbopack) 1.925s 2.101s 0.177s 43 1.01x
🐘 Postgres Express 1.963s (~) 2.258s (-1.1%) 0.295s 40 1.03x
💻 Local Next.js (Turbopack) 2.748s 3.041s 0.293s 30 1.44x
💻 Local Express 3.018s (-0.5%) 3.509s (~) 0.490s 26 1.58x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 27.239s (-9.8% 🟢) 28.660s (-9.2% 🟢) 1.421s 4 1.00x
▲ Vercel Nitro 27.581s (-5.7% 🟢) 28.955s (-5.1% 🟢) 1.374s 4 1.01x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Express | Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 3.894s 4.182s 0.288s 29 1.00x
🐘 Postgres Nitro 3.914s (+33.7% 🔺) 4.109s (+27.7% 🔺) 0.195s 30 1.01x
🐘 Postgres Express 3.964s (-1.0%) 4.251s (-6.9% 🟢) 0.287s 29 1.02x
💻 Local Next.js (Turbopack) 8.783s 9.018s 0.236s 14 2.26x
💻 Local Express 8.946s (-2.7%) 9.478s (-5.4% 🟢) 0.533s 13 2.30x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 72.077s (-7.0% 🟢) 73.509s (-7.2% 🟢) 1.432s 2 1.00x
▲ Vercel Express 73.139s (-3.3%) 74.570s (-3.3%) 1.431s 2 1.01x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro | Express

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 0.261s 1.007s 0.746s 60 1.00x
🐘 Postgres Express 0.280s (-3.3%) 1.007s (~) 0.727s 60 1.07x
🐘 Postgres Nitro 0.281s (+31.2% 🔺) 1.006s (~) 0.725s 60 1.08x
💻 Local Express 0.544s (-6.5% 🟢) 1.004s (~) 0.460s 60 2.08x
💻 Local Next.js (Turbopack) 0.580s 1.005s 0.425s 60 2.22x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 1.763s (+28.7% 🔺) 3.393s (+20.3% 🔺) 1.630s 18 1.00x
▲ Vercel Nitro 1.794s (+11.8% 🔺) 3.519s (+16.9% 🔺) 1.725s 18 1.02x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 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.481s (-2.0%) 1.006s (~) 0.525s 90 1.00x
🐘 Postgres Next.js (Turbopack) 0.494s 1.006s 0.513s 90 1.03x
🐘 Postgres Nitro 0.498s (+40.0% 🔺) 1.006s (~) 0.509s 90 1.03x
💻 Local Express 2.327s (-10.8% 🟢) 3.008s (~) 0.682s 30 4.83x
💻 Local Next.js (Turbopack) 2.543s 3.009s 0.465s 30 5.28x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.842s (-10.1% 🟢) 4.502s (-1.7%) 1.659s 20 1.00x
▲ Vercel Express 3.036s (+12.2% 🔺) 4.437s (+3.5%) 1.402s 21 1.07x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro | Express

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 0.787s (-0.6%) 1.008s (-0.8%) 0.221s 120 1.00x
🐘 Postgres Next.js (Turbopack) 0.794s 1.007s 0.212s 120 1.01x
🐘 Postgres Nitro 0.800s (+40.8% 🔺) 1.016s (+1.0%) 0.217s 119 1.02x
💻 Local Express 10.361s (-8.5% 🟢) 11.028s (-6.9% 🟢) 0.667s 11 13.17x
💻 Local Next.js (Turbopack) 10.702s 11.299s 0.596s 11 13.60x
💻 Local Nitro ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 7.528s (-6.6% 🟢) 9.226s (-4.4%) 1.698s 14 1.00x
▲ Vercel Nitro 7.780s (+5.1% 🔺) 9.367s (+5.8% 🔺) 1.587s 13 1.03x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 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 🥇 Next.js (Turbopack) 0.180s 1.003s 0.012s 1.019s 0.839s 10 1.00x
🐘 Postgres Next.js (Turbopack) 0.201s 1.000s 0.001s 1.011s 0.809s 10 1.12x
💻 Local Express 0.208s (+2.8%) 1.004s (~) 0.010s (-12.8% 🟢) 1.016s (~) 0.808s 10 1.15x
🐘 Postgres Express 0.211s (+2.2%) 0.994s (~) 0.001s (-13.3% 🟢) 1.012s (~) 0.801s 10 1.17x
🐘 Postgres Nitro 0.221s (+39.9% 🔺) 0.995s (~) 0.002s (+12.5% 🔺) 1.011s (~) 0.790s 10 1.22x
💻 Local Nitro ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 1.541s (+5.8% 🔺) 2.830s (-8.1% 🟢) 0.939s (-0.9%) 4.099s (-5.8% 🟢) 2.558s 10 1.00x
▲ Vercel Nitro 1.891s (+20.2% 🔺) 3.189s (+9.7% 🔺) 0.902s (-7.8% 🟢) 4.510s (+4.8%) 2.619s 10 1.23x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - - -

🔍 Observability: Express | Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 0.604s (-2.4%) 1.005s (~) 0.004s (+7.3% 🔺) 1.023s (~) 0.419s 59 1.00x
🐘 Postgres Nitro 0.616s (+23.7% 🔺) 1.005s (~) 0.004s (+11.6% 🔺) 1.022s (~) 0.406s 59 1.02x
🐘 Postgres Next.js (Turbopack) 0.645s 1.026s 0.004s 1.040s 0.394s 58 1.07x
💻 Local Express 0.740s (-1.1%) 1.011s (~) 0.010s (+1.2%) 1.023s (~) 0.282s 59 1.23x
💻 Local Next.js (Turbopack) 0.871s 1.010s 0.010s 1.228s 0.357s 49 1.44x
💻 Local Nitro ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 4.333s (+2.6%) 5.370s (+1.4%) 0.231s (-4.1%) 6.004s (+1.6%) 1.672s 10 1.00x
▲ Vercel Express 4.441s (+12.9% 🔺) 5.513s (+6.1% 🔺) 0.200s (-37.2% 🟢) 6.077s (+2.0%) 1.636s 11 1.03x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - - -

🔍 Observability: Nitro | Express

10 parallel streams (1MB each)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 0.940s (-2.2%) 1.150s (-9.1% 🟢) 0.000s (-7.7% 🟢) 1.162s (-9.4% 🟢) 0.222s 52 1.00x
🐘 Postgres Nitro 0.946s (+4.9%) 1.169s (+9.3% 🔺) 0.000s (+339.2% 🔺) 1.184s (+7.9% 🔺) 0.239s 51 1.01x
🐘 Postgres Next.js (Turbopack) 0.950s 1.335s 0.000s 1.347s 0.396s 45 1.01x
💻 Local Express 1.206s (-5.5% 🟢) 2.020s (~) 0.000s (-31.3% 🟢) 2.022s (~) 0.816s 30 1.28x
💻 Local Next.js (Turbopack) 1.260s 2.018s 0.000s 2.021s 0.761s 30 1.34x
💻 Local Nitro ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.758s (-1.2%) 4.005s (-1.0%) 0.000s (+Infinity% 🔺) 4.354s (-1.4%) 1.595s 14 1.00x
▲ Vercel Express 2.825s (+2.6%) 3.881s (~) 0.000s (+50.0% 🔺) 4.213s (~) 1.388s 15 1.02x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - - -

🔍 Observability: Nitro | Express

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

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.728s (+1.3%) 2.101s (+1.6%) 0.000s (~) 2.117s (+1.8%) 0.390s 29 1.00x
🐘 Postgres Nitro 1.785s (+10.3% 🔺) 2.102s (+1.6%) 0.000s (-100.0% 🟢) 2.113s (+1.7%) 0.328s 29 1.03x
🐘 Postgres Next.js (Turbopack) 1.885s 2.181s 0.000s 2.188s 0.303s 28 1.09x
💻 Local Express 3.306s (-9.1% 🟢) 4.101s (~) 0.000s (+150.0% 🔺) 4.103s (~) 0.797s 15 1.91x
💻 Local Next.js (Turbopack) 3.804s 4.165s 0.001s 4.169s 0.366s 15 2.20x
💻 Local Nitro ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.762s (-20.7% 🟢) 4.887s (-18.3% 🟢) 0.000s (-72.2% 🟢) 5.243s (-16.9% 🟢) 1.481s 12 1.00x
▲ Vercel Nitro 4.195s (-11.0% 🟢) 5.750s (-2.5%) 0.000s (-100.0% 🟢) 6.126s (-2.5%) 1.931s 10 1.12x
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - - -

🔍 Observability: Express | Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World 🥇 Fastest Framework Wins
💻 Local Express 12/21
🐘 Postgres Next.js (Turbopack) 8/21
▲ Vercel Express 11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework 🥇 Fastest World Wins
Express 🐘 Postgres 15/21
Next.js (Turbopack) 🐘 Postgres 17/21
Nitro 🐘 Postgres 19/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: cancelled
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 10, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 923 0 67 990
✅ 💻 Local Development 898 0 182 1080
✅ 📦 Local Production 898 0 182 1080
✅ 🐘 Local Postgres 898 0 182 1080
✅ 🪟 Windows 82 0 8 90
❌ 🌍 Community Worlds 133 74 24 231
✅ 📋 Other 228 0 42 270
Total 4060 74 687 4821

❌ Failed Tests

🌍 Community Worlds (74 failed)

mongodb (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP6VKBM2KGN0HQVZ4YXAMC42
  • webhookWorkflow | wrun_01KP6VKMNF4E46YFF0CCQWTW0N
  • fetchWorkflow | wrun_01KP6VQ764RN98NRQ2PYR9KMSJ
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP6VVDS6W4ZXSB5KETPAV9EH
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KP6W24VNGDXSF4X8137ZSBZ5

redis (7 failed):

  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP6VKBM2KGN0HQVZ4YXAMC42
  • webhookWorkflow | wrun_01KP6VKMNF4E46YFF0CCQWTW0N
  • fetchWorkflow | wrun_01KP6VQ764RN98NRQ2PYR9KMSJ
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP6VVDS6W4ZXSB5KETPAV9EH
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KP6W24VNGDXSF4X8137ZSBZ5

turso (60 failed):

  • addTenWorkflow | wrun_01KP6VJ3KKXQDE4GWCW6HZCNJN
  • addTenWorkflow | wrun_01KP6VJ3KKXQDE4GWCW6HZCNJN
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KP6VKT7YXMA7VBSYHVSFQGBY
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KP6VJBEX3VP0XCV047J1VG3X
  • promiseRaceWorkflow | wrun_01KP6VJHG6CP8F45AXBBRWS3DQ
  • promiseAnyWorkflow | wrun_01KP6VJKJG4FE311NQ50QDJJM6
  • importedStepOnlyWorkflow | wrun_01KP6VM6DJYN76JMF8B2W2BVTA
  • hookWorkflow | wrun_01KP6VK0JQGZ2AZBR8VZBS9GA3
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KP6VKBM2KGN0HQVZ4YXAMC42
  • webhookWorkflow | wrun_01KP6VKMNF4E46YFF0CCQWTW0N
  • sleepingWorkflow | wrun_01KP6VKVBEKPVAYHCMFQ8QBEH2
  • parallelSleepWorkflow | wrun_01KP6VM7QHBFSGH05Y3RHXTDAQ
  • nullByteWorkflow | wrun_01KP6VMAX3R9KVE1P295Q6BJJ6
  • workflowAndStepMetadataWorkflow | wrun_01KP6VMCWKG6ZF9WKQJK59AEJ4
  • fetchWorkflow | wrun_01KP6VQ764RN98NRQ2PYR9KMSJ
  • promiseRaceStressTestWorkflow | wrun_01KP6VQ9TXXWZQJ9VYHQWP48NM
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KP6VTSCJGXDPJK7Q82TEQW8X
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KP6VVDS6W4ZXSB5KETPAV9EH
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KP6VW4C074AAEFBVEYZRNY5E
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KP6VWQTMXWKSXB2WNJV3VDS3
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KP6VX1G05ES36PD3AZTEHRQJ
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KP6VX6QAVF9YTZR1G59N5TD0
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KP6VX8R1EF22R2DQ6CHF4AFF
  • runClassSerializationWorkflow - Run instances serialize across workflow/step boundaries | wrun_01KP6VXKQN09R362Z0H3ECE3PP
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • health check (CLI) - workflow health command reports healthy endpoints
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KP6VY31QN1MYBYC89RPTFNQ7
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KP6VY99WH0NB5F6EDQFFX51A
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KP6VYFRH86M9HNG0ZS7AJB4T
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KP6VYPMGVZND8JW6X6YEH4HA
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KP6VYX5FA7RJKPWZ69B57F3B
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KP6VZ3X095J0X0848H6A4FBH
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KP6VZAPV5C4PYPNAP2W8C5BD
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KP6VZQ0HXJX590H5X7H31ZWF
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KP6VZYMA9V7SE6QTEDHD3H2E
  • cancelRun - cancelling a running workflow | wrun_01KP6W054AE2Q2MJA2F8XP4765
  • cancelRun via CLI - cancelling a running workflow | wrun_01KP6W0EJ1TASVX6BKFFDBAFTQ
  • 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_01KP6W0TNET68PHHNJPD3D2181
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KP6W1FQR0SXVEZV53TWG060D
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KP6W1SRHAMMSE8X8ADD06MHS
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KP6W20DS58CA8PCCN2CSYZJX
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577) | wrun_01KP6W22MR3GYF0FFK9XCBFNPD
  • resilient start: addTenWorkflow completes when run_created returns 500 | wrun_01KP6W24VNGDXSF4X8137ZSBZ5
  • getterStepWorkflow - getter functions with "use step" directive | wrun_01KP6W2836A9VHWE3RBF18MM4Z

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 83 0 7
✅ example 83 0 7
✅ express 83 0 7
✅ fastify 83 0 7
✅ hono 83 0 7
✅ nextjs-turbopack 88 0 2
✅ nextjs-webpack 88 0 2
✅ nitro 83 0 7
✅ nuxt 83 0 7
✅ sveltekit 83 0 7
✅ vite 83 0 7
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 76 0 14
✅ express-stable 76 0 14
✅ fastify-stable 76 0 14
✅ hono-stable 76 0 14
✅ nextjs-turbopack-canary 63 0 27
✅ nextjs-turbopack-stable 82 0 8
✅ nextjs-webpack-canary 63 0 27
✅ nextjs-webpack-stable 82 0 8
✅ nitro-stable 76 0 14
✅ nuxt-stable 76 0 14
✅ sveltekit-stable 76 0 14
✅ vite-stable 76 0 14
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 76 0 14
✅ express-stable 76 0 14
✅ fastify-stable 76 0 14
✅ hono-stable 76 0 14
✅ nextjs-turbopack-canary 63 0 27
✅ nextjs-turbopack-stable 82 0 8
✅ nextjs-webpack-canary 63 0 27
✅ nextjs-webpack-stable 82 0 8
✅ nitro-stable 76 0 14
✅ nuxt-stable 76 0 14
✅ sveltekit-stable 76 0 14
✅ vite-stable 76 0 14
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 76 0 14
✅ express-stable 76 0 14
✅ fastify-stable 76 0 14
✅ hono-stable 76 0 14
✅ nextjs-turbopack-canary 63 0 27
✅ nextjs-turbopack-stable 82 0 8
✅ nextjs-webpack-canary 63 0 27
✅ nextjs-webpack-stable 82 0 8
✅ nitro-stable 76 0 14
✅ nuxt-stable 76 0 14
✅ sveltekit-stable 76 0 14
✅ vite-stable 76 0 14
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 82 0 8
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 6 0 0
❌ mongodb 56 7 8
✅ redis-dev 6 0 0
❌ redis 56 7 8
✅ turso-dev 6 0 0
❌ turso 3 60 8
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 76 0 14
✅ e2e-local-postgres-nest-stable 76 0 14
✅ e2e-local-prod-nest-stable 76 0 14

📋 View full workflow run

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a UI-friendly RunRef marker to hydrated observability data so serialized Run values can render as clickable run-id badges that navigate to the referenced run detail page.

Changes:

  • Introduce RunRef in core serialization format and revive serialized Run values into RunRef for o11y hydration.
  • Render RunRef inline in the shared DataInspector and thread onRunClick through trace/detail panels to enable navigation.
  • Improve fallback naming for steps (built-in steps now show a non-empty name).

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/core/src/serialization-format.ts Adds RunRef marker/type + reviver so o11y hydration converts serialized Run to display-friendly references.
packages/web-shared/src/lib/hydration.ts Re-exports RunRef utilities/types for web consumers.
packages/web-shared/src/components/ui/data-inspector.tsx Adds inline RunRef rendering + ref-collapsing utilities and click context plumbing.
packages/web-shared/src/components/sidebar/attribute-panel.tsx Provides RunClickContext to sidebar attribute rendering and improves step name fallback display.
packages/web-shared/src/components/sidebar/entity-detail-panel.tsx Threads onRunClick into the sidebar attribute panel.
packages/web-shared/src/components/workflow-trace-view.tsx Threads onRunClick to entity panel and resets selected span when run changes.
packages/web-shared/src/components/run-trace-view.tsx Threads onRunClick into WorkflowTraceViewer.
packages/web-shared/src/components/workflow-traces/trace-span-construction.ts Uses a better step name fallback for span names.
packages/web/app/components/run-detail-view.tsx Implements run-ref click handler that navigates to /run/{runId}.
.changeset/o11y-run-ref-rendering.md Publishes patch bumps for core/web-shared/web for the new o11y behavior.

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

Comment on lines +303 to +312
function collapseRefs(data: unknown): unknown {
if (data === null || typeof data !== 'object') return data;
if (isRunRef(data) || isStreamRef(data))
return makeOpaqueRef(data as unknown as Record<string, unknown>);
if (Array.isArray(data)) return data.map(collapseRefs);
const result: Record<string, unknown> = {};
for (const [key, value] of Object.entries(data)) {
result[key] = collapseRefs(value);
}
return result;
Copy link

Copilot AI Apr 10, 2026

Choose a reason for hiding this comment

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

collapseRefs() rebuilds every non-array object via Object.entries and a new {}. This will strip/flatten non-plain instances that getWebRevivers() explicitly revives (e.g. Date, Error, Map, Set, URL, Headers), often turning them into {} and breaking the existing Date/Error rendering in NodeRenderer. Consider only collapsing refs within plain objects/arrays (e.g., guard on Object.getPrototypeOf(data) being Object.prototype/null) and returning other object instances unchanged; also memoize the collapsed result so it isn’t recomputed (and deep-compared) on every render.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed. collapseRefs() now checks Object.getPrototypeOf(data) and only recurses into plain objects (Object.prototype or null prototype). Class instances like Date, Error, Map, Set, URL, Headers, etc. are returned unchanged. Also memoized the collapsed result with useMemo to avoid recomputing on every render.

@TooTallNate TooTallNate force-pushed the fix/o11y-run-ref-rendering branch from 4a71ef7 to 96f8b09 Compare April 14, 2026 20:09
Both the web and CLI hydration layers override the observabilityRevivers
Instance handler with their own implementation (for react-inspector
named constructors and CLI inspect.custom respectively), bypassing the
RunRef detection in serializedInstanceToRef. Fix by calling
serializedInstanceToRef first and returning a RunRef when detected.
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.

3 participants