Skip to content

fix: add Request and Response revivers to web and CLI hydration#1414

Open
TooTallNate wants to merge 1 commit intomainfrom
fix/hydration-request-response-revivers
Open

fix: add Request and Response revivers to web and CLI hydration#1414
TooTallNate wants to merge 1 commit intomainfrom
fix/hydration-request-response-revivers

Conversation

@TooTallNate
Copy link
Member

Summary

  • Add Request and Response revivers to the web observability UI hydration (@workflow/web-shared) so serialized Request/Response objects render correctly instead of showing "Unknown type Response"
  • Add matching revivers to CLI hydration (@workflow/cli) for parity
  • Web revivers create display-friendly named objects (with correct constructor.name for react-inspector); CLI revivers create real Request/Response instances

@TooTallNate TooTallNate requested a review from a team as a code owner March 17, 2026 00:22
Copilot AI review requested due to automatic review settings March 17, 2026 00:22
@vercel
Copy link
Contributor

vercel bot commented Mar 17, 2026

@changeset-bot
Copy link

changeset-bot bot commented Mar 17, 2026

🦋 Changeset detected

Latest commit: 80c4ae2

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

This PR includes changesets to release 16 packages
Name Type
@workflow/web-shared Patch
@workflow/cli Patch
workflow Patch
@workflow/world-testing Patch
@workflow/ai Patch
@workflow/core Patch
@workflow/builders Patch
@workflow/next Patch
@workflow/nitro Patch
@workflow/vitest Patch
@workflow/astro Patch
@workflow/nest Patch
@workflow/rollup Patch
@workflow/sveltekit Patch
@workflow/vite Patch
@workflow/nuxt 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 Mar 17, 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 🥇 Nitro 0.042s (+2.2%) 1.007s (~) 0.965s 10 1.00x
💻 Local Express 0.044s (+5.3% 🔺) 1.006s (~) 0.962s 10 1.05x
💻 Local Next.js (Turbopack) 0.049s 1.005s 0.956s 10 1.18x
🌐 Redis Next.js (Turbopack) 0.052s 1.005s 0.953s 10 1.26x
🐘 Postgres Nitro 0.061s (-9.0% 🟢) 1.011s (~) 0.950s 10 1.46x
🐘 Postgres Next.js (Turbopack) 0.063s 1.013s 0.950s 10 1.50x
🐘 Postgres Express 0.064s (-31.2% 🟢) 1.011s (~) 0.948s 10 1.52x
🌐 MongoDB Next.js (Turbopack) 0.108s 1.008s 0.899s 10 2.60x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 0.493s (-13.4% 🟢) 3.020s (+14.8% 🔺) 2.527s 10 1.00x
▲ Vercel Express 0.512s (-9.1% 🟢) 2.884s (+5.1% 🔺) 2.371s 10 1.04x
▲ Vercel Next.js (Turbopack) 0.681s (-9.6% 🟢) 2.756s (+2.0%) 2.075s 10 1.38x

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

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 1.115s 2.005s 0.890s 10 1.00x
🌐 Redis Next.js (Turbopack) 1.118s 2.007s 0.888s 10 1.00x
💻 Local Nitro 1.124s (~) 2.006s (~) 0.882s 10 1.01x
💻 Local Express 1.127s (~) 2.006s (~) 0.880s 10 1.01x
🐘 Postgres Nitro 1.143s (-1.7%) 2.012s (~) 0.870s 10 1.03x
🐘 Postgres Express 1.151s (~) 2.012s (~) 0.861s 10 1.03x
🐘 Postgres Next.js (Turbopack) 1.154s 2.013s 0.859s 10 1.04x
🌐 MongoDB Next.js (Turbopack) 1.326s 2.008s 0.682s 10 1.19x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 1.992s (-9.1% 🟢) 4.324s (+1.4%) 2.332s 10 1.00x
▲ Vercel Next.js (Turbopack) 2.017s (-8.7% 🟢) 3.696s (-4.5%) 1.680s 10 1.01x
▲ Vercel Nitro 2.046s (~) 3.630s (-11.7% 🟢) 1.585s 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
🌐 Redis 🥇 Next.js (Turbopack) 10.764s 11.023s 0.259s 3 1.00x
💻 Local Next.js (Turbopack) 10.812s 11.023s 0.211s 3 1.00x
💻 Local Nitro 10.877s (~) 11.023s (~) 0.146s 3 1.01x
🐘 Postgres Nitro 10.905s (~) 11.044s (~) 0.139s 3 1.01x
🐘 Postgres Next.js (Turbopack) 10.907s 11.042s 0.135s 3 1.01x
💻 Local Express 10.937s (~) 11.024s (~) 0.087s 3 1.02x
🐘 Postgres Express 10.943s (~) 11.045s (~) 0.102s 3 1.02x
🌐 MongoDB Next.js (Turbopack) 12.274s 13.020s 0.746s 3 1.14x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 16.839s (+1.3%) 18.396s (+1.7%) 1.557s 2 1.00x
▲ Vercel Next.js (Turbopack) 17.825s (+3.7%) 19.382s (+0.9%) 1.558s 2 1.06x
▲ Vercel Express 19.372s (+10.5% 🔺) 21.592s (+7.3% 🔺) 2.220s 2 1.15x

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

workflow with 25 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 26.734s 27.052s 0.318s 3 1.00x
💻 Local Next.js (Turbopack) 27.155s 28.051s 0.897s 3 1.02x
🐘 Postgres Express 27.160s (-0.6%) 28.066s (~) 0.906s 3 1.02x
🐘 Postgres Nitro 27.186s (~) 28.065s (~) 0.879s 3 1.02x
🐘 Postgres Next.js (Turbopack) 27.241s 28.067s 0.826s 3 1.02x
💻 Local Nitro 27.414s (~) 28.052s (~) 0.638s 3 1.03x
💻 Local Express 27.539s (~) 28.055s (~) 0.516s 3 1.03x
🌐 MongoDB Next.js (Turbopack) 30.462s 31.034s 0.572s 2 1.14x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 43.961s (~) 46.413s (+1.8%) 2.452s 2 1.00x
▲ Vercel Express 43.992s (+2.5%) 45.707s (+3.2%) 1.715s 2 1.00x
▲ Vercel Next.js (Turbopack) 44.812s (+2.6%) 46.971s (+3.4%) 2.159s 2 1.02x

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

workflow with 50 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 53.395s 54.100s 0.705s 2 1.00x
🐘 Postgres Next.js (Turbopack) 54.124s 54.607s 0.483s 2 1.01x
🐘 Postgres Express 54.203s (~) 54.605s (-0.9%) 0.402s 2 1.02x
🐘 Postgres Nitro 54.388s (~) 55.107s (~) 0.719s 2 1.02x
💻 Local Next.js (Turbopack) 55.981s 56.103s 0.122s 2 1.05x
💻 Local Nitro 56.522s (~) 57.103s (~) 0.581s 2 1.06x
💻 Local Express 56.706s (~) 57.106s (~) 0.400s 2 1.06x
🌐 MongoDB Next.js (Turbopack) 60.553s 61.051s 0.498s 2 1.13x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 95.379s (+1.2%) 96.517s (-2.7%) 1.138s 1 1.00x
▲ Vercel Express 101.230s (+6.7% 🔺) 103.511s (+7.2% 🔺) 2.281s 1 1.06x
▲ Vercel Nitro 107.051s (+14.7% 🔺) 108.540s (+13.0% 🔺) 1.489s 1 1.12x

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

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 1.278s 2.006s 0.728s 15 1.00x
🐘 Postgres Nitro 1.385s (-1.0%) 2.012s (~) 0.627s 15 1.08x
🐘 Postgres Express 1.419s (+1.3%) 2.011s (~) 0.591s 15 1.11x
🐘 Postgres Next.js (Turbopack) 1.450s 2.012s 0.562s 15 1.13x
💻 Local Express 1.471s (-4.4%) 2.006s (~) 0.535s 15 1.15x
💻 Local Nitro 1.507s (+0.5%) 2.005s (~) 0.498s 15 1.18x
💻 Local Next.js (Turbopack) 1.531s 2.005s 0.474s 15 1.20x
🌐 MongoDB Next.js (Turbopack) 2.143s 3.008s 0.864s 10 1.68x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.273s (-9.0% 🟢) 3.912s (+3.4%) 1.639s 8 1.00x
▲ Vercel Nitro 2.791s (+7.2% 🔺) 4.230s (-4.4%) 1.439s 8 1.23x
▲ Vercel Next.js (Turbopack) 2.824s (-1.0%) 4.571s (~) 1.746s 7 1.24x

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

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 2.561s 3.008s 0.447s 10 1.00x
🐘 Postgres Express 2.567s (+2.5%) 3.012s (~) 0.445s 10 1.00x
🐘 Postgres Nitro 2.629s (+4.0%) 3.013s (~) 0.383s 10 1.03x
🐘 Postgres Next.js (Turbopack) 2.652s 3.014s 0.362s 10 1.04x
💻 Local Next.js (Turbopack) 2.765s 3.109s 0.343s 10 1.08x
💻 Local Nitro 2.843s (~) 3.108s (+3.3%) 0.264s 10 1.11x
💻 Local Express 2.917s (-3.3%) 3.308s (-12.0% 🟢) 0.390s 10 1.14x
🌐 MongoDB Next.js (Turbopack) 4.669s 5.176s 0.507s 6 1.82x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.717s (-1.3%) 4.116s (+2.6%) 1.399s 8 1.00x
▲ Vercel Nitro 2.981s (+17.9% 🔺) 4.345s (-4.7%) 1.365s 8 1.10x
▲ Vercel Next.js (Turbopack) 3.126s (+18.6% 🔺) 4.625s (+17.3% 🔺) 1.500s 7 1.15x

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

Promise.all with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 3.972s (~) 4.586s (+3.1%) 0.614s 7 1.00x
🐘 Postgres Express 3.989s (-1.3%) 4.444s (-3.2%) 0.455s 7 1.00x
🌐 Redis Next.js (Turbopack) 4.184s 5.011s 0.828s 6 1.05x
🐘 Postgres Next.js (Turbopack) 4.300s 5.017s 0.717s 6 1.08x
💻 Local Express 7.465s (-13.4% 🟢) 8.019s (-11.1% 🟢) 0.554s 4 1.88x
💻 Local Next.js (Turbopack) 7.525s 8.017s 0.492s 4 1.89x
💻 Local Nitro 8.225s (+2.6%) 9.021s (+2.9%) 0.797s 4 2.07x
🌐 MongoDB Next.js (Turbopack) 9.829s 10.346s 0.517s 3 2.47x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.081s (+6.3% 🔺) 4.878s (+9.6% 🔺) 1.796s 7 1.00x
▲ Vercel Next.js (Turbopack) 3.447s (+10.8% 🔺) 5.128s (-4.9%) 1.681s 7 1.12x
▲ Vercel Express 4.558s (+64.6% 🔺) 6.003s (+55.7% 🔺) 1.445s 5 1.48x

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

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 1.262s 2.006s 0.745s 15 1.00x
🐘 Postgres Nitro 1.380s (-3.5%) 2.011s (~) 0.631s 15 1.09x
🐘 Postgres Express 1.388s (-1.8%) 2.011s (~) 0.623s 15 1.10x
🐘 Postgres Next.js (Turbopack) 1.465s 2.012s 0.547s 15 1.16x
💻 Local Nitro 1.494s (-1.4%) 2.006s (~) 0.512s 15 1.18x
💻 Local Express 1.519s (-2.3%) 2.006s (~) 0.487s 15 1.20x
💻 Local Next.js (Turbopack) 1.555s 2.006s 0.450s 15 1.23x
🌐 MongoDB Next.js (Turbopack) 2.149s 3.008s 0.859s 10 1.70x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.184s (+5.9% 🔺) 3.954s (+7.8% 🔺) 1.770s 8 1.00x
▲ Vercel Next.js (Turbopack) 2.366s (+12.6% 🔺) 3.959s (+11.5% 🔺) 1.593s 8 1.08x
▲ Vercel Nitro 2.430s (+10.6% 🔺) 4.452s (+8.1% 🔺) 2.022s 7 1.11x

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

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 2.490s (-3.3%) 3.012s (~) 0.522s 10 1.00x
🌐 Redis Next.js (Turbopack) 2.560s 3.008s 0.448s 10 1.03x
🐘 Postgres Express 2.562s (+2.3%) 3.012s (~) 0.450s 10 1.03x
🐘 Postgres Next.js (Turbopack) 2.632s 3.015s 0.383s 10 1.06x
💻 Local Nitro 2.939s (-1.6%) 3.209s (-12.7% 🟢) 0.270s 10 1.18x
💻 Local Express 3.067s (+5.9% 🔺) 3.887s (+16.3% 🔺) 0.820s 8 1.23x
💻 Local Next.js (Turbopack) 3.075s 3.761s 0.686s 8 1.24x
🌐 MongoDB Next.js (Turbopack) 4.735s 5.176s 0.441s 6 1.90x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.389s (-0.9%) 4.110s (+1.4%) 1.721s 8 1.00x
▲ Vercel Nitro 2.466s (-12.4% 🟢) 3.899s (-17.5% 🟢) 1.432s 8 1.03x
▲ Vercel Next.js (Turbopack) 2.552s (+1.9%) 4.111s (-1.3%) 1.558s 8 1.07x

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

Promise.race with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 4.006s (~) 4.446s (~) 0.440s 7 1.00x
🐘 Postgres Express 4.019s (+2.1%) 4.446s (-3.2%) 0.427s 7 1.00x
🌐 Redis Next.js (Turbopack) 4.159s 4.869s 0.709s 7 1.04x
🐘 Postgres Next.js (Turbopack) 4.473s 5.185s 0.713s 6 1.12x
💻 Local Express 8.163s (-6.3% 🟢) 9.021s (~) 0.858s 4 2.04x
💻 Local Next.js (Turbopack) 8.357s 8.766s 0.409s 4 2.09x
💻 Local Nitro 8.505s (-1.0%) 9.025s (~) 0.520s 4 2.12x
🌐 MongoDB Next.js (Turbopack) 9.834s 10.346s 0.513s 3 2.45x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.048s (+7.2% 🔺) 4.595s (+1.5%) 1.547s 7 1.00x
▲ Vercel Nitro 3.503s (+28.0% 🔺) 4.681s (+19.4% 🔺) 1.178s 7 1.15x
▲ Vercel Next.js (Turbopack) 3.981s (+1.2%) 5.637s (-2.3%) 1.656s 6 1.31x

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

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.169s 1.002s 0.012s 1.018s 0.849s 10 1.00x
🌐 Redis Next.js (Turbopack) 0.171s 0.999s 0.001s 1.007s 0.837s 10 1.01x
💻 Local Nitro 0.197s (+1.4%) 1.003s (~) 0.012s (~) 1.018s (~) 0.820s 10 1.17x
🐘 Postgres Nitro 0.209s (~) 0.997s (~) 0.002s (~) 1.013s (~) 0.804s 10 1.24x
💻 Local Express 0.210s (+2.2%) 1.002s (~) 0.011s (-10.5% 🟢) 1.017s (~) 0.807s 10 1.24x
🐘 Postgres Next.js (Turbopack) 0.210s 1.001s 0.002s 1.014s 0.804s 10 1.25x
🐘 Postgres Express 0.214s (+0.8%) 0.993s (~) 0.001s (-13.3% 🟢) 1.012s (~) 0.798s 10 1.27x
🌐 MongoDB Next.js (Turbopack) 0.509s 0.940s 0.002s 1.009s 0.499s 10 3.02x

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 1.584s (-12.2% 🟢) 2.594s (-16.2% 🟢) 0.005s (+1.9%) 3.218s (-13.1% 🟢) 1.634s 10 1.00x
▲ Vercel Next.js (Turbopack) 1.683s (+0.8%) 2.705s (-8.1% 🟢) 0.005s (-14.0% 🟢) 3.797s (+8.6% 🔺) 2.114s 10 1.06x
▲ Vercel Express 1.781s (+2.4%) 3.171s (+15.2% 🔺) 0.006s (+9.6% 🔺) 3.787s (+13.0% 🔺) 2.006s 10 1.12x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World 🥇 Fastest Framework Wins
💻 Local Next.js (Turbopack) 6/12
🐘 Postgres Nitro 9/12
▲ Vercel Express 6/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework 🥇 Fastest World Wins
Express 🐘 Postgres 6/12
Next.js (Turbopack) 🌐 Redis 6/12
Nitro 🐘 Postgres 5/12
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

@github-actions
Copy link
Contributor

github-actions bot commented Mar 17, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 560 0 67 627
✅ 💻 Local Development 546 0 81 627
✅ 📦 Local Production 600 0 84 684
✅ 🐘 Local Postgres 600 0 84 684
✅ 🪟 Windows 54 0 3 57
❌ 🌍 Community Worlds 116 55 15 186
✅ 📋 Other 144 0 27 171
Total 2620 55 361 3036

❌ Failed Tests

🌍 Community Worlds (55 failed)

mongodb (3 failed):

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

redis (2 failed):

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

turso (50 failed):

  • addTenWorkflow
  • addTenWorkflow
  • wellKnownAgentWorkflow (.well-known/agent)
  • should work with react rendering in step
  • promiseAllWorkflow
  • promiseRaceWorkflow
  • promiseAnyWorkflow
  • importedStepOnlyWorkflow
  • hookWorkflow
  • hookWorkflow is not resumable via public webhook endpoint
  • webhookWorkflow
  • sleepingWorkflow
  • parallelSleepWorkflow
  • nullByteWorkflow
  • workflowAndStepMetadataWorkflow
  • fetchWorkflow
  • promiseRaceStressTestWorkflow
  • 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
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • closureVariableWorkflow - nested step functions with closure variables
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly
  • Calculator.calculate - static workflow method using static step methods from another class
  • AllInOneService.processNumber - static workflow method using sibling static step methods
  • ChainableService.processWithThis - static step methods using this to reference the class
  • thisSerializationWorkflow - step function invoked with .call() and .apply()
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE
  • instanceMethodStepWorkflow - instance methods with "use step" directive
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument
  • cancelRun - cancelling a running workflow
  • cancelRun via CLI - cancelling a running workflow
  • 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
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control)

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 50 0 7
✅ example 50 0 7
✅ express 50 0 7
✅ fastify 50 0 7
✅ hono 50 0 7
✅ nextjs-turbopack 55 0 2
✅ nextjs-webpack 55 0 2
✅ nitro 50 0 7
✅ nuxt 50 0 7
✅ sveltekit 50 0 7
✅ vite 50 0 7
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 48 0 9
✅ express-stable 48 0 9
✅ fastify-stable 48 0 9
✅ hono-stable 48 0 9
✅ nextjs-turbopack-stable 54 0 3
✅ nextjs-webpack-canary 54 0 3
✅ nextjs-webpack-stable 54 0 3
✅ nitro-stable 48 0 9
✅ nuxt-stable 48 0 9
✅ sveltekit-stable 48 0 9
✅ vite-stable 48 0 9
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 48 0 9
✅ express-stable 48 0 9
✅ fastify-stable 48 0 9
✅ hono-stable 48 0 9
✅ nextjs-turbopack-canary 54 0 3
✅ nextjs-turbopack-stable 54 0 3
✅ nextjs-webpack-canary 54 0 3
✅ nextjs-webpack-stable 54 0 3
✅ nitro-stable 48 0 9
✅ nuxt-stable 48 0 9
✅ sveltekit-stable 48 0 9
✅ vite-stable 48 0 9
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 48 0 9
✅ express-stable 48 0 9
✅ fastify-stable 48 0 9
✅ hono-stable 48 0 9
✅ nextjs-turbopack-canary 54 0 3
✅ nextjs-turbopack-stable 54 0 3
✅ nextjs-webpack-canary 54 0 3
✅ nextjs-webpack-stable 54 0 3
✅ nitro-stable 48 0 9
✅ nuxt-stable 48 0 9
✅ sveltekit-stable 48 0 9
✅ vite-stable 48 0 9
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 54 0 3
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 3 0 2
❌ mongodb 51 3 3
✅ redis-dev 3 0 2
❌ redis 52 2 3
✅ turso-dev 3 0 2
❌ turso 4 50 3
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 48 0 9
✅ e2e-local-postgres-nest-stable 48 0 9
✅ e2e-local-prod-nest-stable 48 0 9

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

Copy link
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 missing hydration revivers for serialized Request/Response objects so observability UIs (web + CLI) can deserialize and display them instead of failing on unknown devalue types.

Changes:

  • Add web-side Request/Response revivers that create display-friendly objects with the correct constructor.name for react-inspector.
  • Add CLI-side Request/Response revivers intended to reconstruct real Request/Response instances.
  • Publish patch changesets for @workflow/web-shared and @workflow/cli.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
packages/web-shared/src/lib/hydration.ts Adds web revivers for Request/Response to improve observability UI hydration.
packages/cli/src/lib/inspect/hydration.ts Adds CLI revivers for Request/Response to improve workflow inspect hydration parity.
.changeset/puny-oranges-speak.md Patch release note for both packages.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +134 to +146
Request: (value) =>
new Request(value.url, {
method: value.method,
headers: new Headers(value.headers),
body: value.body,
duplex: value.duplex,
}),
Response: (value) =>
new Response(value.body, {
status: value.status,
statusText: value.statusText,
headers: new Headers(value.headers),
}),
Comment on lines +99 to +121
Request: (value) => {
// biome-ignore lint/complexity/useArrowFunction: arrow functions have no .prototype
const ctor = { Request: function () {} }.Request!;
const obj = Object.create(ctor.prototype);
Object.assign(obj, {
method: value.method,
url: value.url,
headers: new Headers(value.headers),
});
return obj;
},
Response: (value) => {
// biome-ignore lint/complexity/useArrowFunction: arrow functions have no .prototype
const ctor = { Response: function () {} }.Response!;
const obj = Object.create(ctor.prototype);
Object.assign(obj, {
status: value.status,
statusText: value.statusText,
url: value.url,
headers: new Headers(value.headers),
redirected: value.redirected,
type: value.type,
});
Copy link
Collaborator

@karthikscale3 karthikscale3 left a comment

Choose a reason for hiding this comment

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

Image

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.

4 participants