Skip to content

Conversation

@VaguelySerious
Copy link
Member

@VaguelySerious VaguelySerious commented Dec 22, 2025

The initial idea was that consuming web apps would add their own error boundaries around the web-shared package, but that ended up not being granular enough. For now, this isolates one of the main UI parts that could error individually and adds an ErrorBoundary.

Later, I'm planning to allow consumers of the web-shared package to define their own styling/components and pass them in, so that we don't have to pollute parent design by having local versions of error boundaries, etc.

@vercel
Copy link
Contributor

vercel bot commented Dec 22, 2025

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

Project Deployment Review Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment Dec 22, 2025 3:14pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment Dec 22, 2025 3:14pm
example-workflow Ready Ready Preview, Comment Dec 22, 2025 3:14pm
workbench-astro-workflow Ready Ready Preview, Comment Dec 22, 2025 3:14pm
workbench-express-workflow Ready Ready Preview, Comment Dec 22, 2025 3:14pm
workbench-fastify-workflow Ready Ready Preview, Comment Dec 22, 2025 3:14pm
workbench-hono-workflow Ready Ready Preview, Comment Dec 22, 2025 3:14pm
workbench-nitro-workflow Ready Ready Preview, Comment Dec 22, 2025 3:14pm
workbench-nuxt-workflow Ready Ready Preview, Comment Dec 22, 2025 3:14pm
workbench-sveltekit-workflow Ready Ready Preview, Comment Dec 22, 2025 3:14pm
workbench-vite-workflow Ready Ready Preview, Comment Dec 22, 2025 3:14pm
workflow-docs Ready Ready Preview, Comment Dec 22, 2025 3:14pm

@changeset-bot
Copy link

changeset-bot bot commented Dec 22, 2025

🦋 Changeset detected

Latest commit: 7723576

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

This PR includes changesets to release 6 packages
Name Type
@workflow/web-shared Patch
@workflow/web Patch
@workflow/cli Patch
workflow Patch
@workflow/world-testing 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

@github-actions
Copy link
Contributor

github-actions bot commented Dec 22, 2025

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 286 0 11 297
✅ 💻 Local Development 262 0 8 270
✅ 📦 Local Production 262 0 8 270
✅ 🐘 Local Postgres 262 0 8 270
✅ 🪟 Windows 27 0 0 27
❌ 🌍 Community Worlds 109 11 0 120
Total 1208 11 35 1254

❌ Failed Tests

🌍 Community Worlds (11 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (8 failed):

  • addTenWorkflow
  • addTenWorkflow
  • retryAttemptCounterWorkflow
  • crossFileErrorWorkflow - stack traces work across imported modules
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 26 0 1
✅ example 26 0 1
✅ express 26 0 1
✅ fastify 26 0 1
✅ hono 26 0 1
✅ nextjs-turbopack 26 0 1
✅ nextjs-webpack 26 0 1
✅ nitro 26 0 1
✅ nuxt 26 0 1
✅ sveltekit 26 0 1
✅ vite 26 0 1
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 26 0 1
✅ express-stable 26 0 1
✅ fastify-stable 26 0 1
✅ hono-stable 26 0 1
✅ nextjs-turbopack-stable 27 0 0
✅ nextjs-webpack-stable 27 0 0
✅ nitro-stable 26 0 1
✅ nuxt-stable 26 0 1
✅ sveltekit-stable 26 0 1
✅ vite-stable 26 0 1
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 26 0 1
✅ express-stable 26 0 1
✅ fastify-stable 26 0 1
✅ hono-stable 26 0 1
✅ nextjs-turbopack-stable 27 0 0
✅ nextjs-webpack-stable 27 0 0
✅ nitro-stable 26 0 1
✅ nuxt-stable 26 0 1
✅ sveltekit-stable 26 0 1
✅ vite-stable 26 0 1
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 26 0 1
✅ express-stable 26 0 1
✅ fastify-stable 26 0 1
✅ hono-stable 26 0 1
✅ nextjs-turbopack-stable 27 0 0
✅ nextjs-webpack-stable 27 0 0
✅ nitro-stable 26 0 1
✅ nuxt-stable 26 0 1
✅ sveltekit-stable 26 0 1
✅ vite-stable 26 0 1
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 27 0 0
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 3 0 0
❌ mongodb 26 1 0
✅ redis-dev 3 0 0
❌ redis 26 1 0
✅ starter-dev 3 0 0
❌ starter 19 8 0
✅ turso-dev 3 0 0
❌ turso 26 1 0

📋 View full workflow run

@github-actions
Copy link
Contributor

github-actions bot commented Dec 22, 2025

📊 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 🥇 Next.js (Turbopack) 0.038s (-5.3% 🟢) 1.014s (~) 0.976s 10 1.00x
🌐 Starter Next.js (Turbopack) 0.040s (~) 1.013s (~) 0.973s 10 1.07x
🌐 Redis Next.js (Turbopack) 0.041s (-1.0%) 1.017s (~) 0.976s 10 1.09x
💻 Local Nitro 0.043s (+5.1% 🔺) 1.007s (~) 0.964s 10 1.15x
💻 Local Express 0.044s (+2.8%) 1.007s (~) 0.963s 10 1.18x
🌐 MongoDB Next.js (Turbopack) 0.070s (-17.6% 🟢) 1.015s (~) 0.944s 10 1.87x
🌐 Turso Next.js (Turbopack) 0.104s (-8.3% 🟢) 1.013s (~) 0.910s 10 2.76x
🐘 Postgres Next.js (Turbopack) 0.141s (-12.6% 🟢) 1.021s (~) 0.880s 10 3.76x
🐘 Postgres Express 0.165s (-53.2% 🟢) 1.028s (+1.5%) 0.864s 10 4.38x
🐘 Postgres Nitro 0.319s (+6.3% 🔺) 1.013s (~) 0.694s 10 8.48x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 0.578s (+3.8%) 1.651s (+1.1%) 1.073s 10 1.00x
▲ Vercel Next.js (Turbopack) 0.652s (+18.1% 🔺) 1.759s (+3.9%) 1.107s 10 1.13x
▲ Vercel Nitro 0.657s (+22.2% 🔺) 2.033s (+50.2% 🔺) 1.376s 10 1.14x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 1.093s (+1.1%) 2.009s (~) 0.916s 10 1.00x
💻 Local Next.js (Turbopack) 1.098s (+0.5%) 2.010s (~) 0.912s 10 1.00x
🌐 Redis Next.js (Turbopack) 1.102s (~) 2.012s (~) 0.910s 10 1.01x
💻 Local Nitro 1.112s (~) 2.006s (~) 0.895s 10 1.02x
💻 Local Express 1.115s (~) 2.007s (~) 0.892s 10 1.02x
🌐 MongoDB Next.js (Turbopack) 1.308s (+2.1%) 2.015s (~) 0.706s 10 1.20x
🌐 Turso Next.js (Turbopack) 1.309s (+1.2%) 2.016s (~) 0.707s 10 1.20x
🐘 Postgres Next.js (Turbopack) 1.915s (~) 2.019s (~) 0.103s 10 1.75x
🐘 Postgres Nitro 2.187s (+1.4%) 3.014s (~) 0.827s 10 2.00x
🐘 Postgres Express 2.446s (+11.6% 🔺) 3.015s (~) 0.569s 10 2.24x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.775s (+14.4% 🔺) 3.709s (+5.2% 🔺) 0.934s 10 1.00x
▲ Vercel Next.js (Turbopack) 2.776s (+12.3% 🔺) 3.784s (+10.8% 🔺) 1.008s 10 1.00x
▲ Vercel Nitro 2.848s (+15.3% 🔺) 3.642s (+4.5%) 0.794s 10 1.03x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 10.589s (~) 11.011s (~) 0.422s 5 1.00x
💻 Local Next.js (Turbopack) 10.652s (~) 11.017s (~) 0.365s 5 1.01x
🌐 Redis Next.js (Turbopack) 10.671s (~) 11.019s (~) 0.348s 5 1.01x
💻 Local Nitro 10.784s (~) 11.009s (~) 0.225s 5 1.02x
💻 Local Express 10.786s (~) 11.015s (~) 0.228s 5 1.02x
🌐 Turso Next.js (Turbopack) 12.199s (~) 13.022s (~) 0.823s 5 1.15x
🌐 MongoDB Next.js (Turbopack) 12.253s (+1.0%) 13.025s (~) 0.772s 5 1.16x
🐘 Postgres Next.js (Turbopack) 14.395s (-5.5% 🟢) 15.236s (-5.0%) 0.840s 5 1.36x
🐘 Postgres Express 20.312s (~) 21.043s (~) 0.730s 5 1.92x
🐘 Postgres Nitro 20.349s (-0.8%) 21.035s (~) 0.685s 5 1.92x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 22.417s (+6.1% 🔺) 23.164s (+6.5% 🔺) 0.747s 5 1.00x
▲ Vercel Nitro 22.560s (+9.0% 🔺) 23.314s (+8.2% 🔺) 0.753s 5 1.01x
▲ Vercel Express 22.835s (+11.6% 🔺) 23.776s (+12.4% 🔺) 0.941s 5 1.02x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 1.355s (+0.8%) 2.008s (~) 0.653s 15 1.00x
🌐 Redis Next.js (Turbopack) 1.362s (-0.8%) 2.011s (~) 0.649s 15 1.01x
💻 Local Next.js (Turbopack) 1.378s (~) 2.012s (~) 0.634s 15 1.02x
💻 Local Nitro 1.398s (-0.6%) 2.005s (~) 0.607s 15 1.03x
💻 Local Express 1.412s (~) 2.006s (~) 0.594s 15 1.04x
🐘 Postgres Next.js (Turbopack) 1.808s (~) 2.012s (~) 0.203s 15 1.33x
🌐 MongoDB Next.js (Turbopack) 2.164s (+1.3%) 3.014s (~) 0.850s 10 1.60x
🌐 Turso Next.js (Turbopack) 2.218s (~) 3.014s (~) 0.796s 10 1.64x
🐘 Postgres Nitro 2.508s (+2.5%) 3.012s (~) 0.504s 10 1.85x
🐘 Postgres Express 2.640s (+5.9% 🔺) 3.013s (~) 0.373s 10 1.95x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.764s (-1.4%) 3.826s (+2.6%) 1.062s 8 1.00x
▲ Vercel Nitro 2.852s (-0.9%) 3.691s (~) 0.839s 9 1.03x
▲ Vercel Next.js (Turbopack) 3.094s (+13.0% 🔺) 4.012s (+7.6% 🔺) 0.918s 8 1.12x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 2.090s (-2.6%) 2.928s (-4.4%) 0.838s 11 1.00x
💻 Local Nitro 2.188s (-1.1%) 3.133s (-1.2%) 0.945s 10 1.05x
💻 Local Express 2.252s (+2.9%) 3.191s (+4.3%) 0.939s 10 1.08x
🌐 Starter Next.js (Turbopack) 2.466s (~) 3.009s (~) 0.543s 10 1.18x
🌐 Redis Next.js (Turbopack) 2.485s (-1.2%) 3.013s (~) 0.528s 10 1.19x
🐘 Postgres Next.js (Turbopack) 2.648s (+1.1%) 3.013s (~) 0.365s 10 1.27x
🐘 Postgres Nitro 2.927s (+1.2%) 3.012s (-3.2%) 0.085s 10 1.40x
🐘 Postgres Express 2.966s (+2.0%) 3.354s (+7.8% 🔺) 0.388s 9 1.42x
🌐 MongoDB Next.js (Turbopack) 4.646s (-1.0%) 5.183s (~) 0.537s 6 2.22x
🌐 Turso Next.js (Turbopack) 4.667s (-1.6%) 5.181s (~) 0.514s 6 2.23x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.272s (+4.7%) 3.867s (+2.1%) 0.595s 8 1.00x
▲ Vercel Nitro 3.341s (-16.6% 🟢) 4.014s (-12.5% 🟢) 0.672s 8 1.02x
▲ Vercel Next.js (Turbopack) 3.469s (+3.4%) 3.986s (-0.9%) 0.516s 8 1.06x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 1.340s (~) 2.008s (~) 0.668s 15 1.00x
🌐 Redis Next.js (Turbopack) 1.348s (-1.4%) 2.010s (~) 0.662s 15 1.01x
💻 Local Next.js (Turbopack) 1.406s (~) 2.011s (~) 0.605s 15 1.05x
💻 Local Nitro 1.413s (+0.6%) 2.005s (~) 0.592s 15 1.05x
💻 Local Express 1.420s (~) 2.006s (~) 0.586s 15 1.06x
🐘 Postgres Next.js (Turbopack) 1.662s (-0.9%) 2.013s (~) 0.352s 15 1.24x
🐘 Postgres Nitro 1.935s (-6.3% 🟢) 2.599s (-3.2%) 0.663s 12 1.44x
🐘 Postgres Express 1.999s (+22.7% 🔺) 2.521s (+25.4% 🔺) 0.523s 12 1.49x
🌐 MongoDB Next.js (Turbopack) 2.152s (+1.2%) 3.014s (~) 0.862s 10 1.61x
🌐 Turso Next.js (Turbopack) 2.218s (-0.7%) 3.012s (~) 0.794s 10 1.66x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.797s (+5.6% 🔺) 3.613s (+0.8%) 0.816s 9 1.00x
▲ Vercel Express 2.887s (+8.5% 🔺) 3.948s (+8.2% 🔺) 1.061s 8 1.03x
▲ Vercel Next.js (Turbopack) 3.010s (+3.1%) 3.919s (+1.8%) 0.909s 8 1.08x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 2.158s (-2.2%) 3.027s (-1.6%) 0.869s 10 1.00x
💻 Local Nitro 2.216s (-1.4%) 3.162s (-1.2%) 0.946s 10 1.03x
💻 Local Express 2.234s (-3.1%) 3.178s (-0.9%) 0.943s 10 1.04x
🌐 Redis Next.js (Turbopack) 2.461s (-1.6%) 3.011s (~) 0.549s 10 1.14x
🌐 Starter Next.js (Turbopack) 2.462s (~) 3.010s (~) 0.548s 10 1.14x
🐘 Postgres Next.js (Turbopack) 2.642s (-0.9%) 3.023s (~) 0.381s 10 1.22x
🐘 Postgres Express 2.698s (-4.0%) 3.014s (~) 0.315s 10 1.25x
🐘 Postgres Nitro 3.061s (+2.5%) 3.474s (+4.7%) 0.413s 9 1.42x
🌐 MongoDB Next.js (Turbopack) 4.712s (+0.5%) 5.182s (~) 0.470s 6 2.18x
🌐 Turso Next.js (Turbopack) 4.715s (~) 5.179s (~) 0.463s 6 2.19x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.182s (+6.4% 🔺) 3.735s (+3.0%) 0.553s 9 1.00x
▲ Vercel Next.js (Turbopack) 3.210s (+8.1% 🔺) 3.880s (+4.9%) 0.670s 8 1.01x
▲ Vercel Nitro 3.911s (+33.3% 🔺) 4.614s (+32.0% 🔺) 0.703s 7 1.23x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 0.128s (~) 1.005s (~) 0.000s (+Infinity% 🔺) 1.011s (~) 0.882s 10 1.00x
💻 Local Next.js (Turbopack) 0.138s (-1.2%) 1.003s (~) 0.017s (+4.9%) 1.028s (~) 0.890s 10 1.08x
🌐 Redis Next.js (Turbopack) 0.144s (-3.9%) 1.005s (~) 0.000s (+Infinity% 🔺) 1.014s (~) 0.870s 10 1.12x
💻 Local Nitro 0.174s (+0.8%) 0.993s (~) 0.018s (+18.2% 🔺) 1.024s (~) 0.850s 10 1.36x
💻 Local Express 0.176s (~) 0.992s (~) 0.015s (-1.3%) 1.022s (~) 0.846s 10 1.37x
🌐 MongoDB Next.js (Turbopack) 0.507s (+1.4%) 0.945s (~) 0.000s (-100.0% 🟢) 1.014s (~) 0.506s 10 3.96x
🌐 Turso Next.js (Turbopack) 0.519s (+10.2% 🔺) 0.930s (-4.9%) 0.000s (~) 1.015s (~) 0.495s 10 4.05x
🐘 Postgres Next.js (Turbopack) 1.238s (+6.0% 🔺) 1.689s (-4.1%) 0.000s (+Infinity% 🔺) 1.918s (~) 0.680s 10 9.66x
🐘 Postgres Express 2.220s (-7.2% 🟢) 2.826s (+6.7% 🔺) 0.000s (-100.0% 🟢) 3.017s (~) 0.797s 10 17.32x
🐘 Postgres Nitro 2.393s (+2.1%) 2.651s (-1.7%) 0.000s (~) 3.014s (~) 0.621s 10 18.67x

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.726s (+12.1% 🔺) 3.170s (+12.6% 🔺) 0.695s (-26.9% 🟢) 4.308s (+4.3%) 1.582s 10 1.00x
▲ Vercel Express 2.789s (+18.3% 🔺) 3.320s (+25.9% 🔺) 0.619s (-4.0%) 4.486s (+21.9% 🔺) 1.698s 10 1.02x
▲ Vercel Next.js (Turbopack) 2.815s (+18.0% 🔺) 3.374s (+19.3% 🔺) 0.435s (-15.6% 🟢) 4.312s (+15.1% 🔺) 1.496s 10 1.03x

🔍 Observability: Nitro | Express | Next.js (Turbopack)

Summary

Fastest Framework by World

Winner determined by most benchmark wins

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

Winner determined by most benchmark wins

Framework 🥇 Fastest World Wins
Express 💻 Local 8/8
Next.js (Turbopack) 🌐 Starter 5/8
Nitro 💻 Local 8/8
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
  • 🌐 Starter: Community world (local development)
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run

@VaguelySerious VaguelySerious merged commit 4bc98ff into main Dec 23, 2025
89 checks passed
@VaguelySerious VaguelySerious deleted the peter/web-shared-error-boundary branch December 23, 2025 13:02
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.

2 participants