Skip to content

Fix flaky webhookWorkflow e2e test by polling instead of fixed sleep#1328

Merged
TooTallNate merged 2 commits intomainfrom
fix/webhook-e2e-flaky-sleep
Mar 11, 2026
Merged

Fix flaky webhookWorkflow e2e test by polling instead of fixed sleep#1328
TooTallNate merged 2 commits intomainfrom
fix/webhook-e2e-flaky-sleep

Conversation

@TooTallNate
Copy link
Member

Summary

  • Replace the hardcoded 5-second setTimeout in the webhookWorkflow e2e test with a polling loop that checks world.hooks.list() every 500ms until all 3 webhooks are registered (30s timeout)
  • This fixes CI flakiness where 5 seconds was sometimes not enough for webhook registration on slower/loaded machines
  • Also improves local test speed from ~6.4s to ~1.9s by eliminating the unnecessary wait

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

vercel bot commented Mar 11, 2026

@github-actions
Copy link
Contributor

github-actions bot commented Mar 11, 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.033s (~) 1.006s (~) 0.973s 10 1.00x
💻 Local Express 0.033s (-0.9%) 1.006s (~) 0.973s 10 1.00x
💻 Local Next.js (Turbopack) 0.042s 1.005s 0.963s 10 1.29x
🌐 Redis Next.js (Turbopack) 0.046s 1.005s 0.959s 10 1.40x
🐘 Postgres Next.js (Turbopack) 0.053s 1.011s 0.959s 10 1.61x
🐘 Postgres Nitro 0.055s (~) 1.012s (~) 0.957s 10 1.68x
🐘 Postgres Express 0.055s (+3.8%) 1.011s (~) 0.956s 10 1.68x
🌐 MongoDB Next.js (Turbopack) 0.101s 1.009s 0.908s 10 3.10x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 0.540s (-11.1% 🟢) 3.456s (-30.3% 🟢) 2.917s 10 1.00x
▲ Vercel Next.js (Turbopack) 0.544s (-0.7%) 2.458s (-48.9% 🟢) 1.914s 10 1.01x
▲ Vercel Nitro 0.546s (-18.4% 🟢) 3.161s (-37.1% 🟢) 2.615s 10 1.01x

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

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 1.099s 2.007s 0.907s 10 1.00x
💻 Local Nitro 1.103s (~) 2.006s (~) 0.903s 10 1.00x
💻 Local Express 1.104s (~) 2.006s (~) 0.902s 10 1.00x
💻 Local Next.js (Turbopack) 1.106s 2.006s 0.900s 10 1.01x
🐘 Postgres Nitro 1.125s (-0.9%) 2.013s (~) 0.888s 10 1.02x
🐘 Postgres Next.js (Turbopack) 1.128s 2.011s 0.883s 10 1.03x
🐘 Postgres Express 1.135s (+0.8%) 2.014s (~) 0.879s 10 1.03x
🌐 MongoDB Next.js (Turbopack) 1.312s 2.010s 0.698s 10 1.19x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.001s (-16.7% 🟢) 3.143s (-52.2% 🟢) 1.142s 10 1.00x
▲ Vercel Next.js (Turbopack) 2.047s (-4.9%) 3.572s (-45.9% 🟢) 1.526s 10 1.02x
▲ Vercel Express 2.080s (-5.0% 🟢) 3.607s (-41.5% 🟢) 1.527s 10 1.04x

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

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 10.648s 11.023s 0.375s 3 1.00x
💻 Local Next.js (Turbopack) 10.675s 11.023s 0.348s 3 1.00x
🐘 Postgres Next.js (Turbopack) 10.752s 11.040s 0.287s 3 1.01x
💻 Local Nitro 10.778s (~) 11.023s (~) 0.245s 3 1.01x
💻 Local Express 10.782s (~) 11.023s (~) 0.240s 3 1.01x
🐘 Postgres Express 10.800s (~) 11.040s (~) 0.240s 3 1.01x
🐘 Postgres Nitro 10.849s (~) 11.041s (~) 0.192s 3 1.02x
🌐 MongoDB Next.js (Turbopack) 12.241s 13.022s 0.781s 3 1.15x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 16.501s (-4.6%) 17.390s (-7.8% 🟢) 0.889s 2 1.00x
▲ Vercel Express 16.927s (-0.7%) 18.588s (+1.3%) 1.661s 2 1.03x
▲ Vercel Next.js (Turbopack) 17.682s (+2.5%) 19.313s (+5.1% 🔺) 1.631s 2 1.07x

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

workflow with 25 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 26.545s 27.049s 0.504s 3 1.00x
🐘 Postgres Next.js (Turbopack) 26.803s 27.057s 0.254s 3 1.01x
🐘 Postgres Nitro 26.895s (~) 27.062s (~) 0.167s 3 1.01x
💻 Local Next.js (Turbopack) 26.907s 27.051s 0.145s 3 1.01x
🐘 Postgres Express 27.026s (~) 27.400s (+1.2%) 0.374s 3 1.02x
💻 Local Nitro 27.202s (~) 28.052s (~) 0.850s 3 1.02x
💻 Local Express 27.215s (~) 28.053s (~) 0.838s 3 1.03x
🌐 MongoDB Next.js (Turbopack) 30.530s 31.045s 0.515s 2 1.15x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 46.505s (+2.4%) 48.261s (+2.2%) 1.757s 2 1.00x
▲ Vercel Next.js (Turbopack) 46.589s (+2.2%) 48.162s (+1.2%) 1.573s 2 1.00x
▲ Vercel Nitro 197.598s (+339.8% 🔺) 199.173s (+322.9% 🔺) 1.575s 2 4.25x

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

workflow with 50 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 53.087s 53.593s 0.506s 2 1.00x
🐘 Postgres Next.js (Turbopack) 53.606s 54.087s 0.481s 2 1.01x
🐘 Postgres Nitro 53.822s (~) 54.090s (~) 0.268s 2 1.01x
🐘 Postgres Express 54.063s (+0.5%) 54.104s (~) 0.041s 2 1.02x
💻 Local Next.js (Turbopack) 55.459s 56.099s 0.640s 2 1.04x
💻 Local Nitro 56.057s (~) 56.599s (+0.9%) 0.542s 2 1.06x
💻 Local Express 56.075s (~) 56.099s (~) 0.024s 2 1.06x
🌐 MongoDB Next.js (Turbopack) 60.919s 61.083s 0.163s 2 1.15x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 94.079s (-7.3% 🟢) 95.708s (-12.5% 🟢) 1.629s 1 1.00x
▲ Vercel Next.js (Turbopack) 94.707s (-3.8%) 96.321s (-3.3%) 1.614s 1 1.01x
▲ Vercel Express 98.101s (~) 100.769s (+1.6%) 2.668s 1 1.04x

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

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Redis 🥇 Next.js (Turbopack) 1.248s 2.006s 0.759s 15 1.00x
🐘 Postgres Express 1.365s (-0.9%) 2.012s (~) 0.648s 15 1.09x
🐘 Postgres Nitro 1.365s (~) 2.011s (~) 0.645s 15 1.09x
🐘 Postgres Next.js (Turbopack) 1.369s 2.011s 0.642s 15 1.10x
💻 Local Express 1.419s (+2.5%) 2.006s (~) 0.587s 15 1.14x
💻 Local Next.js (Turbopack) 1.420s 2.006s 0.586s 15 1.14x
💻 Local Nitro 1.429s (+1.6%) 2.006s (~) 0.577s 15 1.15x
🌐 MongoDB Next.js (Turbopack) 2.152s 3.009s 0.857s 10 1.72x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.224s (-5.7% 🟢) 3.577s (-55.9% 🟢) 1.353s 9 1.00x
▲ Vercel Next.js (Turbopack) 2.663s (+5.5% 🔺) 3.865s (+0.8%) 1.202s 8 1.20x
▲ Vercel Nitro 3.382s (+20.1% 🔺) 4.581s (-59.0% 🟢) 1.200s 8 1.52x

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

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.950s (-6.1% 🟢) 2.597s (~) 0.647s 12 1.00x
🐘 Postgres Nitro 2.042s (+2.2%) 2.602s (+3.4%) 0.561s 12 1.05x
🐘 Postgres Next.js (Turbopack) 2.082s 2.679s 0.597s 12 1.07x
🌐 Redis Next.js (Turbopack) 2.500s 3.008s 0.509s 10 1.28x
💻 Local Express 2.606s (+1.5%) 3.008s (~) 0.402s 10 1.34x
💻 Local Next.js (Turbopack) 2.626s 3.008s 0.381s 10 1.35x
💻 Local Nitro 2.678s (+3.3%) 3.008s (~) 0.330s 10 1.37x
🌐 MongoDB Next.js (Turbopack) 4.702s 5.179s 0.477s 6 2.41x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.628s (-0.6%) 3.935s (+3.4%) 1.307s 8 1.00x
▲ Vercel Next.js (Turbopack) 2.698s (-1.4%) 4.075s (-9.0% 🟢) 1.377s 8 1.03x
▲ Vercel Nitro 3.583s (+40.2% 🔺) 4.694s (+21.4% 🔺) 1.111s 7 1.36x

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

Promise.all with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 3.304s (-3.5%) 4.022s (-6.7% 🟢) 0.718s 8 1.00x
🐘 Postgres Express 3.352s (-12.9% 🟢) 4.150s (-6.9% 🟢) 0.798s 8 1.01x
🐘 Postgres Next.js (Turbopack) 3.967s 4.875s 0.907s 7 1.20x
🌐 Redis Next.js (Turbopack) 4.006s 4.439s 0.433s 7 1.21x
💻 Local Next.js (Turbopack) 6.923s 7.515s 0.592s 4 2.09x
💻 Local Express 7.324s (~) 8.018s (~) 0.694s 4 2.22x
💻 Local Nitro 7.838s (+8.3% 🔺) 8.271s (+3.2%) 0.433s 4 2.37x
🌐 MongoDB Next.js (Turbopack) 9.807s 10.350s 0.542s 3 2.97x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.804s (-0.7%) 4.022s (-24.3% 🟢) 1.218s 8 1.00x
▲ Vercel Next.js (Turbopack) 3.333s (+6.1% 🔺) 4.870s (+6.1% 🔺) 1.538s 7 1.19x
▲ Vercel Nitro 3.519s (+19.6% 🔺) 5.002s (+6.1% 🔺) 1.484s 6 1.25x

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

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.744s 15 1.00x
🐘 Postgres Nitro 1.360s (-1.4%) 2.012s (~) 0.652s 15 1.08x
🐘 Postgres Next.js (Turbopack) 1.370s 2.011s 0.641s 15 1.09x
🐘 Postgres Express 1.387s (-1.5%) 2.013s (~) 0.626s 15 1.10x
💻 Local Express 1.413s (-0.7%) 2.005s (~) 0.591s 15 1.12x
💻 Local Nitro 1.439s (+0.7%) 2.007s (~) 0.567s 15 1.14x
💻 Local Next.js (Turbopack) 1.449s 2.006s 0.556s 15 1.15x
🌐 MongoDB Next.js (Turbopack) 2.165s 3.009s 0.844s 10 1.72x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.074s (+0.9%) 3.142s (-11.8% 🟢) 1.068s 10 1.00x
▲ Vercel Express 2.326s (+3.2%) 3.712s (+10.4% 🔺) 1.387s 9 1.12x
▲ Vercel Next.js (Turbopack) 2.484s (+3.2%) 3.831s (-0.7%) 1.347s 8 1.20x

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

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Next.js (Turbopack) 1.977s 2.682s 0.705s 12 1.00x
🐘 Postgres Nitro 2.033s (+2.5%) 2.597s (~) 0.563s 12 1.03x
🐘 Postgres Express 2.083s (+3.7%) 2.519s (~) 0.437s 12 1.05x
🌐 Redis Next.js (Turbopack) 2.514s 3.008s 0.494s 10 1.27x
💻 Local Next.js (Turbopack) 2.609s 3.008s 0.400s 10 1.32x
💻 Local Express 2.751s (+0.8%) 3.008s (~) 0.257s 10 1.39x
💻 Local Nitro 2.787s (+4.8%) 3.009s (~) 0.222s 10 1.41x
🌐 MongoDB Next.js (Turbopack) 4.740s 5.178s 0.438s 6 2.40x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.255s (-11.4% 🟢) 3.539s (-4.7%) 1.284s 9 1.00x
▲ Vercel Nitro 2.423s (-3.2%) 3.360s (-10.4% 🟢) 0.937s 9 1.07x
▲ Vercel Express 2.460s (-12.9% 🟢) 3.837s (+1.0%) 1.377s 8 1.09x

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

Promise.race with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 3.470s (-10.6% 🟢) 4.314s (-6.2% 🟢) 0.844s 7 1.00x
🐘 Postgres Express 3.755s (+15.2% 🔺) 4.598s (+14.3% 🔺) 0.843s 7 1.08x
🐘 Postgres Next.js (Turbopack) 3.888s 4.733s 0.846s 7 1.12x
🌐 Redis Next.js (Turbopack) 4.007s 4.581s 0.574s 7 1.15x
💻 Local Next.js (Turbopack) 7.561s 8.018s 0.457s 4 2.18x
💻 Local Express 7.999s (+3.1%) 8.521s (+6.3% 🔺) 0.523s 4 2.31x
💻 Local Nitro 8.179s (+4.9%) 9.025s (+12.5% 🔺) 0.846s 4 2.36x
🌐 MongoDB Next.js (Turbopack) 10.185s 10.688s 0.503s 3 2.94x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.852s (-1.0%) 4.320s (+8.1% 🔺) 1.468s 7 1.00x
▲ Vercel Nitro 2.868s (+1.9%) 4.015s (~) 1.147s 8 1.01x
▲ Vercel Express 2.916s (+2.9%) 5.810s (+37.2% 🔺) 2.894s 7 1.02x

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

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.142s 1.002s 0.012s 1.018s 0.875s 10 1.00x
🌐 Redis Next.js (Turbopack) 0.145s 1.000s 0.001s 1.007s 0.863s 10 1.02x
💻 Local Express 0.171s (+1.5%) 1.003s (~) 0.011s (+0.9%) 1.017s (~) 0.847s 10 1.20x
🐘 Postgres Next.js (Turbopack) 0.174s 1.001s 0.002s 1.012s 0.838s 10 1.22x
💻 Local Nitro 0.178s (+4.0%) 1.003s (~) 0.011s (+5.6% 🔺) 1.017s (~) 0.839s 10 1.25x
🐘 Postgres Nitro 0.186s (-5.9% 🟢) 0.993s (~) 0.001s (-18.8% 🟢) 1.013s (~) 0.827s 10 1.31x
🐘 Postgres Express 0.213s (+13.4% 🔺) 0.995s (~) 0.002s (+23.1% 🔺) 1.013s (~) 0.801s 10 1.50x
🌐 MongoDB Next.js (Turbopack) 0.511s 0.934s 0.002s 1.010s 0.499s 10 3.60x

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 1.550s (-2.7%) 2.482s (+9.1% 🔺) 0.005s (-24.3% 🟢) 2.905s (+1.6%) 1.355s 10 1.00x
▲ Vercel Next.js (Turbopack) 1.616s (-7.5% 🟢) 2.474s (-44.2% 🟢) 0.005s (-12.3% 🟢) 2.979s (-40.6% 🟢) 1.364s 10 1.04x
▲ Vercel Express 1.788s (+8.1% 🔺) 2.699s (-13.4% 🟢) 0.005s (-23.1% 🟢) 3.237s (-12.0% 🟢) 1.449s 10 1.15x

🔍 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) 7/12
🐘 Postgres Next.js (Turbopack) 6/12
▲ Vercel Express 5/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 7/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 11, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 571 0 67 638
✅ 💻 Local Development 612 0 84 696
✅ 📦 Local Production 612 0 84 696
✅ 🐘 Local Postgres 612 0 84 696
✅ 🪟 Windows 55 0 3 58
❌ 🌍 Community Worlds 118 56 15 189
✅ 📋 Other 147 0 27 174
Total 2727 56 364 3147

❌ Failed Tests

🌍 Community Worlds (56 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 (51 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 retry behavior workflow completes despite transient 5xx on step_completed
  • 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 51 0 7
✅ example 51 0 7
✅ express 51 0 7
✅ fastify 51 0 7
✅ hono 51 0 7
✅ nextjs-turbopack 56 0 2
✅ nextjs-webpack 56 0 2
✅ nitro 51 0 7
✅ nuxt 51 0 7
✅ sveltekit 51 0 7
✅ vite 51 0 7
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 49 0 9
✅ express-stable 49 0 9
✅ fastify-stable 49 0 9
✅ hono-stable 49 0 9
✅ nextjs-turbopack-canary 55 0 3
✅ nextjs-turbopack-stable 55 0 3
✅ nextjs-webpack-canary 55 0 3
✅ nextjs-webpack-stable 55 0 3
✅ nitro-stable 49 0 9
✅ nuxt-stable 49 0 9
✅ sveltekit-stable 49 0 9
✅ vite-stable 49 0 9
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 49 0 9
✅ express-stable 49 0 9
✅ fastify-stable 49 0 9
✅ hono-stable 49 0 9
✅ nextjs-turbopack-canary 55 0 3
✅ nextjs-turbopack-stable 55 0 3
✅ nextjs-webpack-canary 55 0 3
✅ nextjs-webpack-stable 55 0 3
✅ nitro-stable 49 0 9
✅ nuxt-stable 49 0 9
✅ sveltekit-stable 49 0 9
✅ vite-stable 49 0 9
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 49 0 9
✅ express-stable 49 0 9
✅ fastify-stable 49 0 9
✅ hono-stable 49 0 9
✅ nextjs-turbopack-canary 55 0 3
✅ nextjs-turbopack-stable 55 0 3
✅ nextjs-webpack-canary 55 0 3
✅ nextjs-webpack-stable 55 0 3
✅ nitro-stable 49 0 9
✅ nuxt-stable 49 0 9
✅ sveltekit-stable 49 0 9
✅ vite-stable 49 0 9
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 55 0 3
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 3 0 2
❌ mongodb 52 3 3
✅ redis-dev 3 0 2
❌ redis 53 2 3
✅ turso-dev 3 0 2
❌ turso 4 51 3
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 49 0 9
✅ e2e-local-postgres-nest-stable 49 0 9
✅ e2e-local-prod-nest-stable 49 0 9

📋 View full workflow run

@changeset-bot
Copy link

changeset-bot bot commented Mar 11, 2026

⚠️ No Changeset found

Latest commit: f3f32b0

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

Copy link
Member

@VaguelySerious VaguelySerious left a comment

Choose a reason for hiding this comment

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

LGTM assuming it passes in CI

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

Updates the core e2e suite to reduce flakiness by waiting for webhook registration deterministically rather than relying on a fixed delay.

Changes:

  • Replace a fixed 5s sleep in webhookWorkflow e2e test with polling world.hooks.list() until all 3 webhooks are registered (or timeout).

💡 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.

@TooTallNate TooTallNate enabled auto-merge (squash) March 11, 2026 18:36
@TooTallNate TooTallNate merged commit a10f699 into main Mar 11, 2026
222 of 232 checks passed
@TooTallNate TooTallNate deleted the fix/webhook-e2e-flaky-sleep branch March 11, 2026 19:04
pranaygp added a commit that referenced this pull request Mar 12, 2026
…ignal

* origin/main: (26 commits)
  Fix flaky streamer test ENOENT when chunks directory does not exist yet (#1330)
  Version Packages (beta) (#1325)
  [web-shared] Improve workflow observability event list UX (#1337)
  feat: add `exists` getter to `Run` class (#1336)
  Support client-side tools in DurableAgent (#1329)
  [world-postgres] [world-local] Execute Graphile jobs directly instead of defering to world-local queue (#1334)
  Merge CLAUDE.md into AGENTS.md and symlink CLAUDE.md (#1326)
  [web] Polish loading indicators (#1327)
  Fix flaky webhookWorkflow e2e test by polling instead of fixed sleep (#1328)
  feat: support `deploymentId: 'latest'` in `start()` to resolve most recent deployment (#1317)
  Fix bug where the SWC compiler bug prunes step-only imports in the client-mode transformation
  [web] [world-vercel] Ensure user-passed run IDs are URL encoded and call out self-hosted security (#1322)
  Version Packages (beta) (#1306)
  Remove hard-coded VERCEL_DEPLOYMENT_KEY from nextjs-turbopack workbench (#1319)
  fix(web): move react-router deps to devDependencies (#1265)
  fix(ai): use workspace:* for workflow peer dependency (#1320)
  fix(core): pass resolved deploymentId to getEncryptionKeyForRun in start() (#1318)
  fix: surface 429 rate-limit errors in e2e tests and CLI (#1309)
  fix(world-local): return HTTP 200 instead of 503 for queue timeout re-enqueue signals (#1307)
  [web-shared] [cli] Refactor observability data fetching (#1261)
  ...

# Conflicts:
#	packages/core/e2e/e2e.test.ts
#	packages/web-shared/src/components/sidebar/attribute-panel.tsx
#	workbench/example/workflows/99_e2e.ts
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