Fix flaky streamer test ENOENT when chunks directory does not exist yet - #1330

Merged
TooTallNate merged 2 commits into
mainfrom
fix/streamer-test-enoent
Mar 12, 2026
Merged

Fix flaky streamer test ENOENT when chunks directory does not exist yet#1330
TooTallNate merged 2 commits into
mainfrom
fix/streamer-test-enoent

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Mar 11, 2026

Copy link
Copy Markdown
Member

Summary

Fixes two issues causing the streamer race condition test to fail on Windows CI (run):

  • ENOENT in onTestFinished debug callback: When the test fails before any chunks are written, the streams/chunks directory doesn't exist yet. The readdir call in the debug dump now catches ENOENT and falls back to an empty array instead of throwing a secondary error that masks the real failure.

  • Test timeout (20s) on slow Windows CI: The race condition test ran 10 iterations, each creating a fresh temp directory and streamer. With per-chunk I/O latency of ~100-200ms on Windows CI runners, 10 iterations took ~22s, exceeding the 20s timeout. Reduced to 3 iterations which still provides race condition coverage while fitting comfortably within the timeout.

@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 11, 2026 19:09
CopilotAI review requested due to automatic review settings March 11, 2026 19:09
@github-actions

github-actionsBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.025s (-21.6% 🟢)1.005s (~)0.980s101.00x
💻 LocalNitro0.034s (+3.4%)1.006s (~)0.973s101.33x
🐘 PostgresExpress0.040s (-21.5% 🟢)1.011s (~)0.971s101.58x
💻 LocalNext.js (Turbopack)0.042s1.006s0.964s101.63x
🌐 RedisNext.js (Turbopack)0.048s1.005s0.957s101.87x
🐘 PostgresNext.js (Turbopack)0.049s1.011s0.963s101.92x
🐘 PostgresNitro0.051s (-7.2% 🟢)1.011s (~)0.961s101.99x
🌐 MongoDBNext.js (Turbopack)0.094s1.008s0.914s103.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.392s (-39.4% 🟢)2.210s (-17.2% 🟢)1.818s101.00x
▲ VercelNext.js (Turbopack)0.471s (-19.1% 🟢)2.229s (-18.3% 🟢)1.759s101.20x
▲ VercelNitro0.487s (-20.1% 🟢)2.451s (-18.4% 🟢)1.964s101.24x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.072s (-2.9%)2.005s (~)0.933s101.00x
🐘 PostgresExpress1.092s (-2.4%)2.012s (~)0.920s101.02x
🌐 RedisNext.js (Turbopack)1.103s2.006s0.903s101.03x
💻 LocalNitro1.105s (~)2.006s (~)0.901s101.03x
💻 LocalNext.js (Turbopack)1.111s2.006s0.894s101.04x
🐘 PostgresNext.js (Turbopack)1.130s2.013s0.883s101.05x
🐘 PostgresNitro1.135s (+0.8%)2.012s (~)0.878s101.06x
🌐 MongoDBNext.js (Turbopack)1.314s2.009s0.695s101.23x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.134s (+3.9%)3.613s (-1.0%)1.479s101.00x
▲ VercelNitro2.144s (+3.3%)3.604s (-4.4%)1.460s101.00x
▲ VercelExpress2.148s (+8.6% 🔺)3.438s (-4.7%)1.291s101.01x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.509s (-2.6%)11.024s (~)0.515s31.00x
🐘 PostgresExpress10.556s (-2.3%)11.037s (~)0.481s31.00x
🌐 RedisNext.js (Turbopack)10.665s11.022s0.357s31.01x
💻 LocalNext.js (Turbopack)10.667s11.023s0.356s31.02x
💻 LocalNitro10.786s (~)11.023s (~)0.237s31.03x
🐘 PostgresNext.js (Turbopack)10.844s11.040s0.195s31.03x
🐘 PostgresNitro10.893s (+0.8%)11.041s (~)0.148s31.04x
🌐 MongoDBNext.js (Turbopack)12.184s13.018s0.834s31.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.147s (~)20.187s (-4.7%)2.040s21.00x
▲ VercelNext.js (Turbopack)22.567s (+31.9% 🔺)24.022s (+28.7% 🔺)1.454s21.24x
▲ VercelExpress23.073s (+34.0% 🔺)25.153s (+33.5% 🔺)2.080s21.27x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express26.389s (-2.2%)27.058s (-1.2%)0.668s31.00x
💻 LocalExpress26.548s (-2.5%)27.055s (-3.6%)0.507s31.01x
🌐 RedisNext.js (Turbopack)26.552s27.052s0.500s31.01x
🐘 PostgresNext.js (Turbopack)26.860s27.073s0.214s31.02x
💻 LocalNext.js (Turbopack)26.882s27.049s0.167s31.02x
🐘 PostgresNitro26.934s (~)27.060s (~)0.125s31.02x
💻 LocalNitro27.210s (~)28.051s (~)0.841s31.03x
🌐 MongoDBNext.js (Turbopack)30.514s31.042s0.528s21.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro44.405s (+2.6%)46.320s (+3.4%)1.915s21.00x
▲ VercelNext.js (Turbopack)47.063s (+9.4% 🔺)48.654s (+8.0% 🔺)1.591s21.06x
▲ VercelExpress47.258s (+7.8% 🔺)48.539s (+5.3% 🔺)1.281s21.06x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express52.764s (-2.0%)53.091s (-1.9%)0.327s21.00x
🌐 RedisNext.js (Turbopack)53.064s53.593s0.529s21.01x
🐘 PostgresNext.js (Turbopack)53.776s54.111s0.336s21.02x
🐘 PostgresNitro53.781s (~)54.106s (~)0.326s21.02x
💻 LocalExpress54.690s (-2.6%)55.102s (-3.5%)0.412s21.04x
💻 LocalNext.js (Turbopack)55.401s56.100s0.699s21.05x
💻 LocalNitro56.041s (~)56.099s (~)0.059s21.06x
🌐 MongoDBNext.js (Turbopack)60.860s61.070s0.210s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express94.711s (-3.3%)95.799s (-4.3%)1.088s11.00x
▲ VercelNext.js (Turbopack)96.584s (+2.8%)98.583s (+3.6%)1.999s11.02x
▲ VercelNitro98.906s (+3.6%)101.052s (+4.1%)2.146s11.04x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.273s (-6.1% 🟢)2.011s (~)0.737s151.00x
🌐 RedisNext.js (Turbopack)1.276s2.006s0.730s151.00x
🐘 PostgresNitro1.356s (-2.2%)2.011s (~)0.655s151.06x
💻 LocalExpress1.366s (-2.8%)2.006s (~)0.640s151.07x
🐘 PostgresNext.js (Turbopack)1.393s2.011s0.618s151.09x
💻 LocalNext.js (Turbopack)1.419s2.006s0.587s151.11x
💻 LocalNitro1.421s (~)2.005s (~)0.584s151.12x
🌐 MongoDBNext.js (Turbopack)2.181s3.009s0.828s101.71x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.225s (-6.7% 🟢)3.775s (-2.1%)1.550s81.00x
▲ VercelNext.js (Turbopack)2.415s (-9.8% 🟢)3.700s (-13.8% 🟢)1.285s91.09x
▲ VercelExpress2.701s (+17.5% 🔺)3.804s (-4.8%)1.104s81.21x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.774s (-28.0% 🟢)2.227s (-26.1% 🟢)0.453s141.00x
🐘 PostgresNext.js (Turbopack)2.072s2.599s0.527s121.17x
🐘 PostgresNitro2.119s (-14.2% 🟢)2.514s (-16.5% 🟢)0.395s121.19x
💻 LocalExpress2.327s (-11.1% 🟢)3.008s (~)0.680s101.31x
🌐 RedisNext.js (Turbopack)2.485s3.008s0.523s101.40x
💻 LocalNext.js (Turbopack)2.512s2.917s0.405s111.42x
💻 LocalNitro2.648s (+1.1%)3.008s (~)0.360s101.49x
🌐 MongoDBNext.js (Turbopack)4.685s5.176s0.491s62.64x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.276s (-18.0% 🟢)3.650s (-14.2% 🟢)1.373s91.00x
▲ VercelExpress2.479s (-14.1% 🟢)3.494s (-19.2% 🟢)1.015s91.09x
▲ VercelNext.js (Turbopack)2.950s (+22.4% 🔺)4.161s (+7.4% 🔺)1.211s81.30x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.762s (-29.7% 🟢)3.462s (-22.2% 🟢)0.700s91.00x
🐘 PostgresNext.js (Turbopack)3.670s4.451s0.781s71.33x
🐘 PostgresNitro3.713s (-7.4% 🟢)4.148s (-6.7% 🟢)0.435s81.34x
🌐 RedisNext.js (Turbopack)4.039s4.581s0.542s71.46x
💻 LocalExpress6.559s (-14.1% 🟢)7.014s (-12.6% 🟢)0.455s52.37x
💻 LocalNext.js (Turbopack)6.991s7.515s0.524s42.53x
💻 LocalNitro7.516s (+1.6%)8.020s (~)0.504s42.72x
🌐 MongoDBNext.js (Turbopack)9.759s10.350s0.591s33.53x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.026s (+3.1%)4.131s (-8.6% 🟢)1.105s81.00x
▲ VercelNext.js (Turbopack)3.045s (+3.5%)4.379s (-5.7% 🟢)1.334s71.01x
▲ VercelNitro3.181s (+5.0%)4.621s (~)1.440s71.05x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.229s2.006s0.777s151.00x
🐘 PostgresExpress1.278s (-8.0% 🟢)2.011s (~)0.733s151.04x
🐘 PostgresNitro1.363s (+3.1%)2.011s (~)0.648s151.11x
🐘 PostgresNext.js (Turbopack)1.392s2.012s0.620s151.13x
💻 LocalNitro1.413s (-1.2%)2.005s (~)0.591s151.15x
💻 LocalExpress1.429s (-0.9%)2.005s (~)0.576s151.16x
💻 LocalNext.js (Turbopack)1.457s2.006s0.549s151.19x
🌐 MongoDBNext.js (Turbopack)2.188s3.008s0.820s101.78x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.119s (-14.1% 🟢)3.308s (-18.5% 🟢)1.189s101.00x
▲ VercelNext.js (Turbopack)2.237s (+3.6%)3.598s (-1.8%)1.361s91.06x
▲ VercelNitro2.329s (+9.3% 🔺)3.918s (+3.0%)1.589s81.10x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.747s (-29.4% 🟢)2.157s (-28.4% 🟢)0.410s141.00x
🐘 PostgresNext.js (Turbopack)2.012s2.597s0.585s121.15x
🐘 PostgresNitro2.072s (-16.1% 🟢)2.600s (-13.7% 🟢)0.528s121.19x
💻 LocalExpress2.435s (-11.7% 🟢)3.008s (~)0.572s101.39x
🌐 RedisNext.js (Turbopack)2.493s3.008s0.515s101.43x
💻 LocalNitro2.712s (-1.1%)3.008s (~)0.296s101.55x
💻 LocalNext.js (Turbopack)2.743s3.008s0.265s101.57x
🌐 MongoDBNext.js (Turbopack)4.729s5.177s0.448s62.71x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.304s (-16.6% 🟢)3.755s (-16.2% 🟢)1.451s81.00x
▲ VercelExpress2.376s (+1.5%)3.392s (-15.7% 🟢)1.016s91.03x
▲ VercelNext.js (Turbopack)5.117s (+113.3% 🔺)6.437s (+71.1% 🔺)1.320s52.22x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.905s (-27.0% 🟢)3.683s (-17.1% 🟢)0.778s91.00x
🐘 PostgresNitro3.505s (-12.9% 🟢)4.307s (-6.1% 🟢)0.803s71.21x
🐘 PostgresNext.js (Turbopack)3.666s4.452s0.786s71.26x
🌐 RedisNext.js (Turbopack)4.082s4.725s0.643s71.41x
💻 LocalExpress7.037s (-15.1% 🟢)7.767s (-13.9% 🟢)0.730s42.42x
💻 LocalNext.js (Turbopack)7.053s7.516s0.463s42.43x
💻 LocalNitro8.012s (+1.2%)8.524s (~)0.512s42.76x
🌐 MongoDBNext.js (Turbopack)9.957s10.686s0.729s33.43x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.865s (-4.4%)4.189s (-5.2% 🟢)1.324s81.00x
▲ VercelNext.js (Turbopack)4.805s (+61.9% 🔺)6.199s (+47.8% 🔺)1.394s51.68x
▲ VercelExpress5.760s (+83.7% 🔺)6.911s (+52.7% 🔺)1.150s52.01x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.113s (-33.7% 🟢)1.003s (~)0.011s (-5.2% 🟢)1.017s (~)0.904s101.00x
🐘 PostgresExpress0.131s (-29.9% 🟢)1.000s (+0.6%)0.002s (+7.1% 🔺)1.012s (~)0.881s101.16x
💻 LocalNext.js (Turbopack)0.140s1.002s0.011s1.017s0.877s101.23x
🌐 RedisNext.js (Turbopack)0.142s1.000s0.002s1.007s0.865s101.26x
💻 LocalNitro0.171s (+1.2%)1.002s (~)0.012s (+2.7%)1.017s (~)0.846s101.51x
🐘 PostgresNitro0.184s (+2.2%)0.994s (~)0.002s (+6.2% 🔺)1.012s (~)0.828s101.63x
🐘 PostgresNext.js (Turbopack)0.185s1.001s0.002s1.014s0.829s101.64x
🌐 MongoDBNext.js (Turbopack)0.495s0.950s0.002s1.009s0.514s104.38x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.630s (+1.7%)2.353s (+2.8%)0.406s (+8548.9% 🔺)3.414s (+19.0% 🔺)1.784s101.00x
▲ VercelExpress1.739s (+8.9% 🔺)2.691s (+2.3%)0.005s (+4.3%)3.168s (-0.6%)1.429s101.07x
▲ VercelNext.js (Turbopack)1.739s (+5.5% 🔺)2.704s (+15.6% 🔺)0.005s (-12.7% 🟢)3.311s (+13.6% 🔺)1.572s101.07x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress11/12
🐘 PostgresExpress12/12
▲ VercelNitro7/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres8/12
Next.js (Turbopack)🌐 Redis6/12
Nitro🐘 Postgres6/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

@vercel

vercelBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1185615189
✅ 📋 Other147027174
Total2727563643147

❌ 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
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5233
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

@changeset-bot

changeset-botBot commented Mar 11, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a24fe94

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

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR hardens the streamer test failure-debugging path to avoid flaking when the chunks directory hasn’t been created yet (notably on Windows CI).

Changes:

  • Add a guarded readdir around streams/chunks in the onTestFinished failure branch.
  • Reuse a chunksPath variable when reading chunk files for debug output.

💡 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 +98 to +102
const chunksPath = `${testDir}/streams/chunks`;
let files: string[];
try {
files = await fs.readdir(chunksPath);
} catch {

CopilotAIMar 11, 2026

Copy link

Choose a reason for hiding this comment

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

The broad catch { files = [] } will also hide unexpected errors (e.g., EACCES/corrupted temp dir) and can make failures harder to diagnose. Consider catching the error, only treating ENOENT as an empty directory, and rethrowing anything else. Also, since this is Windows-flake related and the rest of the file uses path.join, building chunksPath via path.join(testDir, 'streams', 'chunks') would be more consistent and robust.

Copilot uses AI. Check for mistakes.
@TooTallNate
TooTallNate enabled auto-merge (squash) March 12, 2026 09:38
@TooTallNate
TooTallNate merged commit 7f26695 into mainMar 12, 2026
178 of 183 checks passed
@TooTallNate
TooTallNate deleted the fix/streamer-test-enoent branch March 12, 2026 09:46
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 freeto 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

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { // Add copy buttons to all
 blocks
(function() {
function addCopyButtons() {
document.querySelectorAll('pre code').forEach(function(codeBlock) {
if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;
codeBlock.parentElement.setAttribute('data-copy-added', 'true');
var btn = document.createElement('button');
btn.textContent = 'Copy';
btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';
btn.onmouseover = function() { this.style.opacity = '1'; };
btn.onmouseout = function() { this.style.opacity = '0.7'; };
btn.onclick = function() {
navigator.clipboard.writeText(codeBlock.textContent).then(function() {
btn.textContent = 'Copied!';
setTimeout(function() { btn.textContent = 'Copy'; }, 1500);
});
};
codeBlock.parentElement.style.position = 'relative';
codeBlock.parentElement.appendChild(btn);
});
}
addCopyButtons();
// Re-run on dynamic content
var observer = new MutationObserver(addCopyButtons);
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

Fix flaky streamer test ENOENT when chunks directory does not exist yet - #1330

Merged
TooTallNate merged 2 commits into
mainfrom
fix/streamer-test-enoent
Mar 12, 2026
Merged

Fix flaky streamer test ENOENT when chunks directory does not exist yet#1330
TooTallNate merged 2 commits into
mainfrom
fix/streamer-test-enoent

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Mar 11, 2026

Copy link
Copy Markdown
Member

Summary

Fixes two issues causing the streamer race condition test to fail on Windows CI (run):

  • ENOENT in onTestFinished debug callback: When the test fails before any chunks are written, the streams/chunks directory doesn't exist yet. The readdir call in the debug dump now catches ENOENT and falls back to an empty array instead of throwing a secondary error that masks the real failure.

  • Test timeout (20s) on slow Windows CI: The race condition test ran 10 iterations, each creating a fresh temp directory and streamer. With per-chunk I/O latency of ~100-200ms on Windows CI runners, 10 iterations took ~22s, exceeding the 20s timeout. Reduced to 3 iterations which still provides race condition coverage while fitting comfortably within the timeout.

@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 11, 2026 19:09
CopilotAI review requested due to automatic review settings March 11, 2026 19:09
@github-actions

github-actionsBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.025s (-21.6% 🟢)1.005s (~)0.980s101.00x
💻 LocalNitro0.034s (+3.4%)1.006s (~)0.973s101.33x
🐘 PostgresExpress0.040s (-21.5% 🟢)1.011s (~)0.971s101.58x
💻 LocalNext.js (Turbopack)0.042s1.006s0.964s101.63x
🌐 RedisNext.js (Turbopack)0.048s1.005s0.957s101.87x
🐘 PostgresNext.js (Turbopack)0.049s1.011s0.963s101.92x
🐘 PostgresNitro0.051s (-7.2% 🟢)1.011s (~)0.961s101.99x
🌐 MongoDBNext.js (Turbopack)0.094s1.008s0.914s103.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.392s (-39.4% 🟢)2.210s (-17.2% 🟢)1.818s101.00x
▲ VercelNext.js (Turbopack)0.471s (-19.1% 🟢)2.229s (-18.3% 🟢)1.759s101.20x
▲ VercelNitro0.487s (-20.1% 🟢)2.451s (-18.4% 🟢)1.964s101.24x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.072s (-2.9%)2.005s (~)0.933s101.00x
🐘 PostgresExpress1.092s (-2.4%)2.012s (~)0.920s101.02x
🌐 RedisNext.js (Turbopack)1.103s2.006s0.903s101.03x
💻 LocalNitro1.105s (~)2.006s (~)0.901s101.03x
💻 LocalNext.js (Turbopack)1.111s2.006s0.894s101.04x
🐘 PostgresNext.js (Turbopack)1.130s2.013s0.883s101.05x
🐘 PostgresNitro1.135s (+0.8%)2.012s (~)0.878s101.06x
🌐 MongoDBNext.js (Turbopack)1.314s2.009s0.695s101.23x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.134s (+3.9%)3.613s (-1.0%)1.479s101.00x
▲ VercelNitro2.144s (+3.3%)3.604s (-4.4%)1.460s101.00x
▲ VercelExpress2.148s (+8.6% 🔺)3.438s (-4.7%)1.291s101.01x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.509s (-2.6%)11.024s (~)0.515s31.00x
🐘 PostgresExpress10.556s (-2.3%)11.037s (~)0.481s31.00x
🌐 RedisNext.js (Turbopack)10.665s11.022s0.357s31.01x
💻 LocalNext.js (Turbopack)10.667s11.023s0.356s31.02x
💻 LocalNitro10.786s (~)11.023s (~)0.237s31.03x
🐘 PostgresNext.js (Turbopack)10.844s11.040s0.195s31.03x
🐘 PostgresNitro10.893s (+0.8%)11.041s (~)0.148s31.04x
🌐 MongoDBNext.js (Turbopack)12.184s13.018s0.834s31.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.147s (~)20.187s (-4.7%)2.040s21.00x
▲ VercelNext.js (Turbopack)22.567s (+31.9% 🔺)24.022s (+28.7% 🔺)1.454s21.24x
▲ VercelExpress23.073s (+34.0% 🔺)25.153s (+33.5% 🔺)2.080s21.27x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express26.389s (-2.2%)27.058s (-1.2%)0.668s31.00x
💻 LocalExpress26.548s (-2.5%)27.055s (-3.6%)0.507s31.01x
🌐 RedisNext.js (Turbopack)26.552s27.052s0.500s31.01x
🐘 PostgresNext.js (Turbopack)26.860s27.073s0.214s31.02x
💻 LocalNext.js (Turbopack)26.882s27.049s0.167s31.02x
🐘 PostgresNitro26.934s (~)27.060s (~)0.125s31.02x
💻 LocalNitro27.210s (~)28.051s (~)0.841s31.03x
🌐 MongoDBNext.js (Turbopack)30.514s31.042s0.528s21.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro44.405s (+2.6%)46.320s (+3.4%)1.915s21.00x
▲ VercelNext.js (Turbopack)47.063s (+9.4% 🔺)48.654s (+8.0% 🔺)1.591s21.06x
▲ VercelExpress47.258s (+7.8% 🔺)48.539s (+5.3% 🔺)1.281s21.06x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express52.764s (-2.0%)53.091s (-1.9%)0.327s21.00x
🌐 RedisNext.js (Turbopack)53.064s53.593s0.529s21.01x
🐘 PostgresNext.js (Turbopack)53.776s54.111s0.336s21.02x
🐘 PostgresNitro53.781s (~)54.106s (~)0.326s21.02x
💻 LocalExpress54.690s (-2.6%)55.102s (-3.5%)0.412s21.04x
💻 LocalNext.js (Turbopack)55.401s56.100s0.699s21.05x
💻 LocalNitro56.041s (~)56.099s (~)0.059s21.06x
🌐 MongoDBNext.js (Turbopack)60.860s61.070s0.210s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express94.711s (-3.3%)95.799s (-4.3%)1.088s11.00x
▲ VercelNext.js (Turbopack)96.584s (+2.8%)98.583s (+3.6%)1.999s11.02x
▲ VercelNitro98.906s (+3.6%)101.052s (+4.1%)2.146s11.04x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.273s (-6.1% 🟢)2.011s (~)0.737s151.00x
🌐 RedisNext.js (Turbopack)1.276s2.006s0.730s151.00x
🐘 PostgresNitro1.356s (-2.2%)2.011s (~)0.655s151.06x
💻 LocalExpress1.366s (-2.8%)2.006s (~)0.640s151.07x
🐘 PostgresNext.js (Turbopack)1.393s2.011s0.618s151.09x
💻 LocalNext.js (Turbopack)1.419s2.006s0.587s151.11x
💻 LocalNitro1.421s (~)2.005s (~)0.584s151.12x
🌐 MongoDBNext.js (Turbopack)2.181s3.009s0.828s101.71x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.225s (-6.7% 🟢)3.775s (-2.1%)1.550s81.00x
▲ VercelNext.js (Turbopack)2.415s (-9.8% 🟢)3.700s (-13.8% 🟢)1.285s91.09x
▲ VercelExpress2.701s (+17.5% 🔺)3.804s (-4.8%)1.104s81.21x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.774s (-28.0% 🟢)2.227s (-26.1% 🟢)0.453s141.00x
🐘 PostgresNext.js (Turbopack)2.072s2.599s0.527s121.17x
🐘 PostgresNitro2.119s (-14.2% 🟢)2.514s (-16.5% 🟢)0.395s121.19x
💻 LocalExpress2.327s (-11.1% 🟢)3.008s (~)0.680s101.31x
🌐 RedisNext.js (Turbopack)2.485s3.008s0.523s101.40x
💻 LocalNext.js (Turbopack)2.512s2.917s0.405s111.42x
💻 LocalNitro2.648s (+1.1%)3.008s (~)0.360s101.49x
🌐 MongoDBNext.js (Turbopack)4.685s5.176s0.491s62.64x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.276s (-18.0% 🟢)3.650s (-14.2% 🟢)1.373s91.00x
▲ VercelExpress2.479s (-14.1% 🟢)3.494s (-19.2% 🟢)1.015s91.09x
▲ VercelNext.js (Turbopack)2.950s (+22.4% 🔺)4.161s (+7.4% 🔺)1.211s81.30x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.762s (-29.7% 🟢)3.462s (-22.2% 🟢)0.700s91.00x
🐘 PostgresNext.js (Turbopack)3.670s4.451s0.781s71.33x
🐘 PostgresNitro3.713s (-7.4% 🟢)4.148s (-6.7% 🟢)0.435s81.34x
🌐 RedisNext.js (Turbopack)4.039s4.581s0.542s71.46x
💻 LocalExpress6.559s (-14.1% 🟢)7.014s (-12.6% 🟢)0.455s52.37x
💻 LocalNext.js (Turbopack)6.991s7.515s0.524s42.53x
💻 LocalNitro7.516s (+1.6%)8.020s (~)0.504s42.72x
🌐 MongoDBNext.js (Turbopack)9.759s10.350s0.591s33.53x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.026s (+3.1%)4.131s (-8.6% 🟢)1.105s81.00x
▲ VercelNext.js (Turbopack)3.045s (+3.5%)4.379s (-5.7% 🟢)1.334s71.01x
▲ VercelNitro3.181s (+5.0%)4.621s (~)1.440s71.05x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.229s2.006s0.777s151.00x
🐘 PostgresExpress1.278s (-8.0% 🟢)2.011s (~)0.733s151.04x
🐘 PostgresNitro1.363s (+3.1%)2.011s (~)0.648s151.11x
🐘 PostgresNext.js (Turbopack)1.392s2.012s0.620s151.13x
💻 LocalNitro1.413s (-1.2%)2.005s (~)0.591s151.15x
💻 LocalExpress1.429s (-0.9%)2.005s (~)0.576s151.16x
💻 LocalNext.js (Turbopack)1.457s2.006s0.549s151.19x
🌐 MongoDBNext.js (Turbopack)2.188s3.008s0.820s101.78x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.119s (-14.1% 🟢)3.308s (-18.5% 🟢)1.189s101.00x
▲ VercelNext.js (Turbopack)2.237s (+3.6%)3.598s (-1.8%)1.361s91.06x
▲ VercelNitro2.329s (+9.3% 🔺)3.918s (+3.0%)1.589s81.10x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.747s (-29.4% 🟢)2.157s (-28.4% 🟢)0.410s141.00x
🐘 PostgresNext.js (Turbopack)2.012s2.597s0.585s121.15x
🐘 PostgresNitro2.072s (-16.1% 🟢)2.600s (-13.7% 🟢)0.528s121.19x
💻 LocalExpress2.435s (-11.7% 🟢)3.008s (~)0.572s101.39x
🌐 RedisNext.js (Turbopack)2.493s3.008s0.515s101.43x
💻 LocalNitro2.712s (-1.1%)3.008s (~)0.296s101.55x
💻 LocalNext.js (Turbopack)2.743s3.008s0.265s101.57x
🌐 MongoDBNext.js (Turbopack)4.729s5.177s0.448s62.71x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.304s (-16.6% 🟢)3.755s (-16.2% 🟢)1.451s81.00x
▲ VercelExpress2.376s (+1.5%)3.392s (-15.7% 🟢)1.016s91.03x
▲ VercelNext.js (Turbopack)5.117s (+113.3% 🔺)6.437s (+71.1% 🔺)1.320s52.22x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.905s (-27.0% 🟢)3.683s (-17.1% 🟢)0.778s91.00x
🐘 PostgresNitro3.505s (-12.9% 🟢)4.307s (-6.1% 🟢)0.803s71.21x
🐘 PostgresNext.js (Turbopack)3.666s4.452s0.786s71.26x
🌐 RedisNext.js (Turbopack)4.082s4.725s0.643s71.41x
💻 LocalExpress7.037s (-15.1% 🟢)7.767s (-13.9% 🟢)0.730s42.42x
💻 LocalNext.js (Turbopack)7.053s7.516s0.463s42.43x
💻 LocalNitro8.012s (+1.2%)8.524s (~)0.512s42.76x
🌐 MongoDBNext.js (Turbopack)9.957s10.686s0.729s33.43x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.865s (-4.4%)4.189s (-5.2% 🟢)1.324s81.00x
▲ VercelNext.js (Turbopack)4.805s (+61.9% 🔺)6.199s (+47.8% 🔺)1.394s51.68x
▲ VercelExpress5.760s (+83.7% 🔺)6.911s (+52.7% 🔺)1.150s52.01x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.113s (-33.7% 🟢)1.003s (~)0.011s (-5.2% 🟢)1.017s (~)0.904s101.00x
🐘 PostgresExpress0.131s (-29.9% 🟢)1.000s (+0.6%)0.002s (+7.1% 🔺)1.012s (~)0.881s101.16x
💻 LocalNext.js (Turbopack)0.140s1.002s0.011s1.017s0.877s101.23x
🌐 RedisNext.js (Turbopack)0.142s1.000s0.002s1.007s0.865s101.26x
💻 LocalNitro0.171s (+1.2%)1.002s (~)0.012s (+2.7%)1.017s (~)0.846s101.51x
🐘 PostgresNitro0.184s (+2.2%)0.994s (~)0.002s (+6.2% 🔺)1.012s (~)0.828s101.63x
🐘 PostgresNext.js (Turbopack)0.185s1.001s0.002s1.014s0.829s101.64x
🌐 MongoDBNext.js (Turbopack)0.495s0.950s0.002s1.009s0.514s104.38x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.630s (+1.7%)2.353s (+2.8%)0.406s (+8548.9% 🔺)3.414s (+19.0% 🔺)1.784s101.00x
▲ VercelExpress1.739s (+8.9% 🔺)2.691s (+2.3%)0.005s (+4.3%)3.168s (-0.6%)1.429s101.07x
▲ VercelNext.js (Turbopack)1.739s (+5.5% 🔺)2.704s (+15.6% 🔺)0.005s (-12.7% 🟢)3.311s (+13.6% 🔺)1.572s101.07x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress11/12
🐘 PostgresExpress12/12
▲ VercelNitro7/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres8/12
Next.js (Turbopack)🌐 Redis6/12
Nitro🐘 Postgres6/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

@vercel

vercelBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1185615189
✅ 📋 Other147027174
Total2727563643147

❌ 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
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5233
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

@changeset-bot

changeset-botBot commented Mar 11, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a24fe94

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

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR hardens the streamer test failure-debugging path to avoid flaking when the chunks directory hasn’t been created yet (notably on Windows CI).

Changes:

  • Add a guarded readdir around streams/chunks in the onTestFinished failure branch.
  • Reuse a chunksPath variable when reading chunk files for debug output.

💡 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 +98 to +102
const chunksPath = `${testDir}/streams/chunks`;
let files: string[];
try {
files = await fs.readdir(chunksPath);
} catch {

CopilotAIMar 11, 2026

Copy link

Choose a reason for hiding this comment

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

The broad catch { files = [] } will also hide unexpected errors (e.g., EACCES/corrupted temp dir) and can make failures harder to diagnose. Consider catching the error, only treating ENOENT as an empty directory, and rethrowing anything else. Also, since this is Windows-flake related and the rest of the file uses path.join, building chunksPath via path.join(testDir, 'streams', 'chunks') would be more consistent and robust.

Copilot uses AI. Check for mistakes.
@TooTallNate
TooTallNate enabled auto-merge (squash) March 12, 2026 09:38
@TooTallNate
TooTallNate merged commit 7f26695 into mainMar 12, 2026
178 of 183 checks passed
@TooTallNate
TooTallNate deleted the fix/streamer-test-enoent branch March 12, 2026 09:46
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 freeto 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

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { // Force GitHub README to respect dark mode (function() { var style = document.createElement('style'); style.textContent = ' .markdown-body { color-scheme: dark light; } .markdown-body pre { background: #161b22 !important; } .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; } .markdown-body table th, .markdown-body table td { border-color: #30363d !important; } .markdown-body img { background: #0d1117; } .markdown-body blockquote { border-left-color: #8b949e; } .markdown-body hr { border-color: #30363d; } '; document.head.appendChild(style); })(); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Fix flaky streamer test ENOENT when chunks directory does not exist yet - #1330

Merged
TooTallNate merged 2 commits into
mainfrom
fix/streamer-test-enoent
Mar 12, 2026
Merged

Fix flaky streamer test ENOENT when chunks directory does not exist yet#1330
TooTallNate merged 2 commits into
mainfrom
fix/streamer-test-enoent

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Mar 11, 2026

Copy link
Copy Markdown
Member

Summary

Fixes two issues causing the streamer race condition test to fail on Windows CI (run):

  • ENOENT in onTestFinished debug callback: When the test fails before any chunks are written, the streams/chunks directory doesn't exist yet. The readdir call in the debug dump now catches ENOENT and falls back to an empty array instead of throwing a secondary error that masks the real failure.

  • Test timeout (20s) on slow Windows CI: The race condition test ran 10 iterations, each creating a fresh temp directory and streamer. With per-chunk I/O latency of ~100-200ms on Windows CI runners, 10 iterations took ~22s, exceeding the 20s timeout. Reduced to 3 iterations which still provides race condition coverage while fitting comfortably within the timeout.

@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 11, 2026 19:09
CopilotAI review requested due to automatic review settings March 11, 2026 19:09
@github-actions

github-actionsBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.025s (-21.6% 🟢)1.005s (~)0.980s101.00x
💻 LocalNitro0.034s (+3.4%)1.006s (~)0.973s101.33x
🐘 PostgresExpress0.040s (-21.5% 🟢)1.011s (~)0.971s101.58x
💻 LocalNext.js (Turbopack)0.042s1.006s0.964s101.63x
🌐 RedisNext.js (Turbopack)0.048s1.005s0.957s101.87x
🐘 PostgresNext.js (Turbopack)0.049s1.011s0.963s101.92x
🐘 PostgresNitro0.051s (-7.2% 🟢)1.011s (~)0.961s101.99x
🌐 MongoDBNext.js (Turbopack)0.094s1.008s0.914s103.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.392s (-39.4% 🟢)2.210s (-17.2% 🟢)1.818s101.00x
▲ VercelNext.js (Turbopack)0.471s (-19.1% 🟢)2.229s (-18.3% 🟢)1.759s101.20x
▲ VercelNitro0.487s (-20.1% 🟢)2.451s (-18.4% 🟢)1.964s101.24x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.072s (-2.9%)2.005s (~)0.933s101.00x
🐘 PostgresExpress1.092s (-2.4%)2.012s (~)0.920s101.02x
🌐 RedisNext.js (Turbopack)1.103s2.006s0.903s101.03x
💻 LocalNitro1.105s (~)2.006s (~)0.901s101.03x
💻 LocalNext.js (Turbopack)1.111s2.006s0.894s101.04x
🐘 PostgresNext.js (Turbopack)1.130s2.013s0.883s101.05x
🐘 PostgresNitro1.135s (+0.8%)2.012s (~)0.878s101.06x
🌐 MongoDBNext.js (Turbopack)1.314s2.009s0.695s101.23x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.134s (+3.9%)3.613s (-1.0%)1.479s101.00x
▲ VercelNitro2.144s (+3.3%)3.604s (-4.4%)1.460s101.00x
▲ VercelExpress2.148s (+8.6% 🔺)3.438s (-4.7%)1.291s101.01x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.509s (-2.6%)11.024s (~)0.515s31.00x
🐘 PostgresExpress10.556s (-2.3%)11.037s (~)0.481s31.00x
🌐 RedisNext.js (Turbopack)10.665s11.022s0.357s31.01x
💻 LocalNext.js (Turbopack)10.667s11.023s0.356s31.02x
💻 LocalNitro10.786s (~)11.023s (~)0.237s31.03x
🐘 PostgresNext.js (Turbopack)10.844s11.040s0.195s31.03x
🐘 PostgresNitro10.893s (+0.8%)11.041s (~)0.148s31.04x
🌐 MongoDBNext.js (Turbopack)12.184s13.018s0.834s31.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.147s (~)20.187s (-4.7%)2.040s21.00x
▲ VercelNext.js (Turbopack)22.567s (+31.9% 🔺)24.022s (+28.7% 🔺)1.454s21.24x
▲ VercelExpress23.073s (+34.0% 🔺)25.153s (+33.5% 🔺)2.080s21.27x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express26.389s (-2.2%)27.058s (-1.2%)0.668s31.00x
💻 LocalExpress26.548s (-2.5%)27.055s (-3.6%)0.507s31.01x
🌐 RedisNext.js (Turbopack)26.552s27.052s0.500s31.01x
🐘 PostgresNext.js (Turbopack)26.860s27.073s0.214s31.02x
💻 LocalNext.js (Turbopack)26.882s27.049s0.167s31.02x
🐘 PostgresNitro26.934s (~)27.060s (~)0.125s31.02x
💻 LocalNitro27.210s (~)28.051s (~)0.841s31.03x
🌐 MongoDBNext.js (Turbopack)30.514s31.042s0.528s21.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro44.405s (+2.6%)46.320s (+3.4%)1.915s21.00x
▲ VercelNext.js (Turbopack)47.063s (+9.4% 🔺)48.654s (+8.0% 🔺)1.591s21.06x
▲ VercelExpress47.258s (+7.8% 🔺)48.539s (+5.3% 🔺)1.281s21.06x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express52.764s (-2.0%)53.091s (-1.9%)0.327s21.00x
🌐 RedisNext.js (Turbopack)53.064s53.593s0.529s21.01x
🐘 PostgresNext.js (Turbopack)53.776s54.111s0.336s21.02x
🐘 PostgresNitro53.781s (~)54.106s (~)0.326s21.02x
💻 LocalExpress54.690s (-2.6%)55.102s (-3.5%)0.412s21.04x
💻 LocalNext.js (Turbopack)55.401s56.100s0.699s21.05x
💻 LocalNitro56.041s (~)56.099s (~)0.059s21.06x
🌐 MongoDBNext.js (Turbopack)60.860s61.070s0.210s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express94.711s (-3.3%)95.799s (-4.3%)1.088s11.00x
▲ VercelNext.js (Turbopack)96.584s (+2.8%)98.583s (+3.6%)1.999s11.02x
▲ VercelNitro98.906s (+3.6%)101.052s (+4.1%)2.146s11.04x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.273s (-6.1% 🟢)2.011s (~)0.737s151.00x
🌐 RedisNext.js (Turbopack)1.276s2.006s0.730s151.00x
🐘 PostgresNitro1.356s (-2.2%)2.011s (~)0.655s151.06x
💻 LocalExpress1.366s (-2.8%)2.006s (~)0.640s151.07x
🐘 PostgresNext.js (Turbopack)1.393s2.011s0.618s151.09x
💻 LocalNext.js (Turbopack)1.419s2.006s0.587s151.11x
💻 LocalNitro1.421s (~)2.005s (~)0.584s151.12x
🌐 MongoDBNext.js (Turbopack)2.181s3.009s0.828s101.71x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.225s (-6.7% 🟢)3.775s (-2.1%)1.550s81.00x
▲ VercelNext.js (Turbopack)2.415s (-9.8% 🟢)3.700s (-13.8% 🟢)1.285s91.09x
▲ VercelExpress2.701s (+17.5% 🔺)3.804s (-4.8%)1.104s81.21x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.774s (-28.0% 🟢)2.227s (-26.1% 🟢)0.453s141.00x
🐘 PostgresNext.js (Turbopack)2.072s2.599s0.527s121.17x
🐘 PostgresNitro2.119s (-14.2% 🟢)2.514s (-16.5% 🟢)0.395s121.19x
💻 LocalExpress2.327s (-11.1% 🟢)3.008s (~)0.680s101.31x
🌐 RedisNext.js (Turbopack)2.485s3.008s0.523s101.40x
💻 LocalNext.js (Turbopack)2.512s2.917s0.405s111.42x
💻 LocalNitro2.648s (+1.1%)3.008s (~)0.360s101.49x
🌐 MongoDBNext.js (Turbopack)4.685s5.176s0.491s62.64x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.276s (-18.0% 🟢)3.650s (-14.2% 🟢)1.373s91.00x
▲ VercelExpress2.479s (-14.1% 🟢)3.494s (-19.2% 🟢)1.015s91.09x
▲ VercelNext.js (Turbopack)2.950s (+22.4% 🔺)4.161s (+7.4% 🔺)1.211s81.30x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.762s (-29.7% 🟢)3.462s (-22.2% 🟢)0.700s91.00x
🐘 PostgresNext.js (Turbopack)3.670s4.451s0.781s71.33x
🐘 PostgresNitro3.713s (-7.4% 🟢)4.148s (-6.7% 🟢)0.435s81.34x
🌐 RedisNext.js (Turbopack)4.039s4.581s0.542s71.46x
💻 LocalExpress6.559s (-14.1% 🟢)7.014s (-12.6% 🟢)0.455s52.37x
💻 LocalNext.js (Turbopack)6.991s7.515s0.524s42.53x
💻 LocalNitro7.516s (+1.6%)8.020s (~)0.504s42.72x
🌐 MongoDBNext.js (Turbopack)9.759s10.350s0.591s33.53x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.026s (+3.1%)4.131s (-8.6% 🟢)1.105s81.00x
▲ VercelNext.js (Turbopack)3.045s (+3.5%)4.379s (-5.7% 🟢)1.334s71.01x
▲ VercelNitro3.181s (+5.0%)4.621s (~)1.440s71.05x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.229s2.006s0.777s151.00x
🐘 PostgresExpress1.278s (-8.0% 🟢)2.011s (~)0.733s151.04x
🐘 PostgresNitro1.363s (+3.1%)2.011s (~)0.648s151.11x
🐘 PostgresNext.js (Turbopack)1.392s2.012s0.620s151.13x
💻 LocalNitro1.413s (-1.2%)2.005s (~)0.591s151.15x
💻 LocalExpress1.429s (-0.9%)2.005s (~)0.576s151.16x
💻 LocalNext.js (Turbopack)1.457s2.006s0.549s151.19x
🌐 MongoDBNext.js (Turbopack)2.188s3.008s0.820s101.78x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.119s (-14.1% 🟢)3.308s (-18.5% 🟢)1.189s101.00x
▲ VercelNext.js (Turbopack)2.237s (+3.6%)3.598s (-1.8%)1.361s91.06x
▲ VercelNitro2.329s (+9.3% 🔺)3.918s (+3.0%)1.589s81.10x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.747s (-29.4% 🟢)2.157s (-28.4% 🟢)0.410s141.00x
🐘 PostgresNext.js (Turbopack)2.012s2.597s0.585s121.15x
🐘 PostgresNitro2.072s (-16.1% 🟢)2.600s (-13.7% 🟢)0.528s121.19x
💻 LocalExpress2.435s (-11.7% 🟢)3.008s (~)0.572s101.39x
🌐 RedisNext.js (Turbopack)2.493s3.008s0.515s101.43x
💻 LocalNitro2.712s (-1.1%)3.008s (~)0.296s101.55x
💻 LocalNext.js (Turbopack)2.743s3.008s0.265s101.57x
🌐 MongoDBNext.js (Turbopack)4.729s5.177s0.448s62.71x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.304s (-16.6% 🟢)3.755s (-16.2% 🟢)1.451s81.00x
▲ VercelExpress2.376s (+1.5%)3.392s (-15.7% 🟢)1.016s91.03x
▲ VercelNext.js (Turbopack)5.117s (+113.3% 🔺)6.437s (+71.1% 🔺)1.320s52.22x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.905s (-27.0% 🟢)3.683s (-17.1% 🟢)0.778s91.00x
🐘 PostgresNitro3.505s (-12.9% 🟢)4.307s (-6.1% 🟢)0.803s71.21x
🐘 PostgresNext.js (Turbopack)3.666s4.452s0.786s71.26x
🌐 RedisNext.js (Turbopack)4.082s4.725s0.643s71.41x
💻 LocalExpress7.037s (-15.1% 🟢)7.767s (-13.9% 🟢)0.730s42.42x
💻 LocalNext.js (Turbopack)7.053s7.516s0.463s42.43x
💻 LocalNitro8.012s (+1.2%)8.524s (~)0.512s42.76x
🌐 MongoDBNext.js (Turbopack)9.957s10.686s0.729s33.43x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.865s (-4.4%)4.189s (-5.2% 🟢)1.324s81.00x
▲ VercelNext.js (Turbopack)4.805s (+61.9% 🔺)6.199s (+47.8% 🔺)1.394s51.68x
▲ VercelExpress5.760s (+83.7% 🔺)6.911s (+52.7% 🔺)1.150s52.01x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.113s (-33.7% 🟢)1.003s (~)0.011s (-5.2% 🟢)1.017s (~)0.904s101.00x
🐘 PostgresExpress0.131s (-29.9% 🟢)1.000s (+0.6%)0.002s (+7.1% 🔺)1.012s (~)0.881s101.16x
💻 LocalNext.js (Turbopack)0.140s1.002s0.011s1.017s0.877s101.23x
🌐 RedisNext.js (Turbopack)0.142s1.000s0.002s1.007s0.865s101.26x
💻 LocalNitro0.171s (+1.2%)1.002s (~)0.012s (+2.7%)1.017s (~)0.846s101.51x
🐘 PostgresNitro0.184s (+2.2%)0.994s (~)0.002s (+6.2% 🔺)1.012s (~)0.828s101.63x
🐘 PostgresNext.js (Turbopack)0.185s1.001s0.002s1.014s0.829s101.64x
🌐 MongoDBNext.js (Turbopack)0.495s0.950s0.002s1.009s0.514s104.38x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.630s (+1.7%)2.353s (+2.8%)0.406s (+8548.9% 🔺)3.414s (+19.0% 🔺)1.784s101.00x
▲ VercelExpress1.739s (+8.9% 🔺)2.691s (+2.3%)0.005s (+4.3%)3.168s (-0.6%)1.429s101.07x
▲ VercelNext.js (Turbopack)1.739s (+5.5% 🔺)2.704s (+15.6% 🔺)0.005s (-12.7% 🟢)3.311s (+13.6% 🔺)1.572s101.07x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress11/12
🐘 PostgresExpress12/12
▲ VercelNitro7/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres8/12
Next.js (Turbopack)🌐 Redis6/12
Nitro🐘 Postgres6/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

@vercel

vercelBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1185615189
✅ 📋 Other147027174
Total2727563643147

❌ 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
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5233
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

@changeset-bot

changeset-botBot commented Mar 11, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a24fe94

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

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR hardens the streamer test failure-debugging path to avoid flaking when the chunks directory hasn’t been created yet (notably on Windows CI).

Changes:

  • Add a guarded readdir around streams/chunks in the onTestFinished failure branch.
  • Reuse a chunksPath variable when reading chunk files for debug output.

💡 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 +98 to +102
const chunksPath = `${testDir}/streams/chunks`;
let files: string[];
try {
files = await fs.readdir(chunksPath);
} catch {

CopilotAIMar 11, 2026

Copy link

Choose a reason for hiding this comment

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

The broad catch { files = [] } will also hide unexpected errors (e.g., EACCES/corrupted temp dir) and can make failures harder to diagnose. Consider catching the error, only treating ENOENT as an empty directory, and rethrowing anything else. Also, since this is Windows-flake related and the rest of the file uses path.join, building chunksPath via path.join(testDir, 'streams', 'chunks') would be more consistent and robust.

Copilot uses AI. Check for mistakes.
@TooTallNate
TooTallNate enabled auto-merge (squash) March 12, 2026 09:38
@TooTallNate
TooTallNate merged commit 7f26695 into mainMar 12, 2026
178 of 183 checks passed
@TooTallNate
TooTallNate deleted the fix/streamer-test-enoent branch March 12, 2026 09:46
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 freeto 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

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { // Highlight search terms from Google/DuckDuckGo/Bing referrer (function() { var ref = document.referrer; var terms = []; if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) { var url = new URL(ref); var q = url.searchParams.get('q') || url.searchParams.get('p'); if (q) { terms = q.split(/\s+/).filter(function(t) { return t.length > 2; }); } } if (terms.length === 0) return; var style = document.createElement('style'); style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }'; document.head.appendChild(style); function highlight(node) { if (node.nodeType === 3) { // text node var text = node.textContent; var found = false; terms.forEach(function(term) { var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\]\\]/g, '\\') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Fix flaky streamer test ENOENT when chunks directory does not exist yet - #1330

Merged
TooTallNate merged 2 commits into
mainfrom
fix/streamer-test-enoent
Mar 12, 2026
Merged

Fix flaky streamer test ENOENT when chunks directory does not exist yet#1330
TooTallNate merged 2 commits into
mainfrom
fix/streamer-test-enoent

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Mar 11, 2026

Copy link
Copy Markdown
Member

Summary

Fixes two issues causing the streamer race condition test to fail on Windows CI (run):

  • ENOENT in onTestFinished debug callback: When the test fails before any chunks are written, the streams/chunks directory doesn't exist yet. The readdir call in the debug dump now catches ENOENT and falls back to an empty array instead of throwing a secondary error that masks the real failure.

  • Test timeout (20s) on slow Windows CI: The race condition test ran 10 iterations, each creating a fresh temp directory and streamer. With per-chunk I/O latency of ~100-200ms on Windows CI runners, 10 iterations took ~22s, exceeding the 20s timeout. Reduced to 3 iterations which still provides race condition coverage while fitting comfortably within the timeout.

@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 11, 2026 19:09
CopilotAI review requested due to automatic review settings March 11, 2026 19:09
@github-actions

github-actionsBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.025s (-21.6% 🟢)1.005s (~)0.980s101.00x
💻 LocalNitro0.034s (+3.4%)1.006s (~)0.973s101.33x
🐘 PostgresExpress0.040s (-21.5% 🟢)1.011s (~)0.971s101.58x
💻 LocalNext.js (Turbopack)0.042s1.006s0.964s101.63x
🌐 RedisNext.js (Turbopack)0.048s1.005s0.957s101.87x
🐘 PostgresNext.js (Turbopack)0.049s1.011s0.963s101.92x
🐘 PostgresNitro0.051s (-7.2% 🟢)1.011s (~)0.961s101.99x
🌐 MongoDBNext.js (Turbopack)0.094s1.008s0.914s103.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.392s (-39.4% 🟢)2.210s (-17.2% 🟢)1.818s101.00x
▲ VercelNext.js (Turbopack)0.471s (-19.1% 🟢)2.229s (-18.3% 🟢)1.759s101.20x
▲ VercelNitro0.487s (-20.1% 🟢)2.451s (-18.4% 🟢)1.964s101.24x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.072s (-2.9%)2.005s (~)0.933s101.00x
🐘 PostgresExpress1.092s (-2.4%)2.012s (~)0.920s101.02x
🌐 RedisNext.js (Turbopack)1.103s2.006s0.903s101.03x
💻 LocalNitro1.105s (~)2.006s (~)0.901s101.03x
💻 LocalNext.js (Turbopack)1.111s2.006s0.894s101.04x
🐘 PostgresNext.js (Turbopack)1.130s2.013s0.883s101.05x
🐘 PostgresNitro1.135s (+0.8%)2.012s (~)0.878s101.06x
🌐 MongoDBNext.js (Turbopack)1.314s2.009s0.695s101.23x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.134s (+3.9%)3.613s (-1.0%)1.479s101.00x
▲ VercelNitro2.144s (+3.3%)3.604s (-4.4%)1.460s101.00x
▲ VercelExpress2.148s (+8.6% 🔺)3.438s (-4.7%)1.291s101.01x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.509s (-2.6%)11.024s (~)0.515s31.00x
🐘 PostgresExpress10.556s (-2.3%)11.037s (~)0.481s31.00x
🌐 RedisNext.js (Turbopack)10.665s11.022s0.357s31.01x
💻 LocalNext.js (Turbopack)10.667s11.023s0.356s31.02x
💻 LocalNitro10.786s (~)11.023s (~)0.237s31.03x
🐘 PostgresNext.js (Turbopack)10.844s11.040s0.195s31.03x
🐘 PostgresNitro10.893s (+0.8%)11.041s (~)0.148s31.04x
🌐 MongoDBNext.js (Turbopack)12.184s13.018s0.834s31.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.147s (~)20.187s (-4.7%)2.040s21.00x
▲ VercelNext.js (Turbopack)22.567s (+31.9% 🔺)24.022s (+28.7% 🔺)1.454s21.24x
▲ VercelExpress23.073s (+34.0% 🔺)25.153s (+33.5% 🔺)2.080s21.27x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express26.389s (-2.2%)27.058s (-1.2%)0.668s31.00x
💻 LocalExpress26.548s (-2.5%)27.055s (-3.6%)0.507s31.01x
🌐 RedisNext.js (Turbopack)26.552s27.052s0.500s31.01x
🐘 PostgresNext.js (Turbopack)26.860s27.073s0.214s31.02x
💻 LocalNext.js (Turbopack)26.882s27.049s0.167s31.02x
🐘 PostgresNitro26.934s (~)27.060s (~)0.125s31.02x
💻 LocalNitro27.210s (~)28.051s (~)0.841s31.03x
🌐 MongoDBNext.js (Turbopack)30.514s31.042s0.528s21.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro44.405s (+2.6%)46.320s (+3.4%)1.915s21.00x
▲ VercelNext.js (Turbopack)47.063s (+9.4% 🔺)48.654s (+8.0% 🔺)1.591s21.06x
▲ VercelExpress47.258s (+7.8% 🔺)48.539s (+5.3% 🔺)1.281s21.06x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express52.764s (-2.0%)53.091s (-1.9%)0.327s21.00x
🌐 RedisNext.js (Turbopack)53.064s53.593s0.529s21.01x
🐘 PostgresNext.js (Turbopack)53.776s54.111s0.336s21.02x
🐘 PostgresNitro53.781s (~)54.106s (~)0.326s21.02x
💻 LocalExpress54.690s (-2.6%)55.102s (-3.5%)0.412s21.04x
💻 LocalNext.js (Turbopack)55.401s56.100s0.699s21.05x
💻 LocalNitro56.041s (~)56.099s (~)0.059s21.06x
🌐 MongoDBNext.js (Turbopack)60.860s61.070s0.210s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express94.711s (-3.3%)95.799s (-4.3%)1.088s11.00x
▲ VercelNext.js (Turbopack)96.584s (+2.8%)98.583s (+3.6%)1.999s11.02x
▲ VercelNitro98.906s (+3.6%)101.052s (+4.1%)2.146s11.04x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.273s (-6.1% 🟢)2.011s (~)0.737s151.00x
🌐 RedisNext.js (Turbopack)1.276s2.006s0.730s151.00x
🐘 PostgresNitro1.356s (-2.2%)2.011s (~)0.655s151.06x
💻 LocalExpress1.366s (-2.8%)2.006s (~)0.640s151.07x
🐘 PostgresNext.js (Turbopack)1.393s2.011s0.618s151.09x
💻 LocalNext.js (Turbopack)1.419s2.006s0.587s151.11x
💻 LocalNitro1.421s (~)2.005s (~)0.584s151.12x
🌐 MongoDBNext.js (Turbopack)2.181s3.009s0.828s101.71x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.225s (-6.7% 🟢)3.775s (-2.1%)1.550s81.00x
▲ VercelNext.js (Turbopack)2.415s (-9.8% 🟢)3.700s (-13.8% 🟢)1.285s91.09x
▲ VercelExpress2.701s (+17.5% 🔺)3.804s (-4.8%)1.104s81.21x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.774s (-28.0% 🟢)2.227s (-26.1% 🟢)0.453s141.00x
🐘 PostgresNext.js (Turbopack)2.072s2.599s0.527s121.17x
🐘 PostgresNitro2.119s (-14.2% 🟢)2.514s (-16.5% 🟢)0.395s121.19x
💻 LocalExpress2.327s (-11.1% 🟢)3.008s (~)0.680s101.31x
🌐 RedisNext.js (Turbopack)2.485s3.008s0.523s101.40x
💻 LocalNext.js (Turbopack)2.512s2.917s0.405s111.42x
💻 LocalNitro2.648s (+1.1%)3.008s (~)0.360s101.49x
🌐 MongoDBNext.js (Turbopack)4.685s5.176s0.491s62.64x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.276s (-18.0% 🟢)3.650s (-14.2% 🟢)1.373s91.00x
▲ VercelExpress2.479s (-14.1% 🟢)3.494s (-19.2% 🟢)1.015s91.09x
▲ VercelNext.js (Turbopack)2.950s (+22.4% 🔺)4.161s (+7.4% 🔺)1.211s81.30x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.762s (-29.7% 🟢)3.462s (-22.2% 🟢)0.700s91.00x
🐘 PostgresNext.js (Turbopack)3.670s4.451s0.781s71.33x
🐘 PostgresNitro3.713s (-7.4% 🟢)4.148s (-6.7% 🟢)0.435s81.34x
🌐 RedisNext.js (Turbopack)4.039s4.581s0.542s71.46x
💻 LocalExpress6.559s (-14.1% 🟢)7.014s (-12.6% 🟢)0.455s52.37x
💻 LocalNext.js (Turbopack)6.991s7.515s0.524s42.53x
💻 LocalNitro7.516s (+1.6%)8.020s (~)0.504s42.72x
🌐 MongoDBNext.js (Turbopack)9.759s10.350s0.591s33.53x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.026s (+3.1%)4.131s (-8.6% 🟢)1.105s81.00x
▲ VercelNext.js (Turbopack)3.045s (+3.5%)4.379s (-5.7% 🟢)1.334s71.01x
▲ VercelNitro3.181s (+5.0%)4.621s (~)1.440s71.05x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.229s2.006s0.777s151.00x
🐘 PostgresExpress1.278s (-8.0% 🟢)2.011s (~)0.733s151.04x
🐘 PostgresNitro1.363s (+3.1%)2.011s (~)0.648s151.11x
🐘 PostgresNext.js (Turbopack)1.392s2.012s0.620s151.13x
💻 LocalNitro1.413s (-1.2%)2.005s (~)0.591s151.15x
💻 LocalExpress1.429s (-0.9%)2.005s (~)0.576s151.16x
💻 LocalNext.js (Turbopack)1.457s2.006s0.549s151.19x
🌐 MongoDBNext.js (Turbopack)2.188s3.008s0.820s101.78x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.119s (-14.1% 🟢)3.308s (-18.5% 🟢)1.189s101.00x
▲ VercelNext.js (Turbopack)2.237s (+3.6%)3.598s (-1.8%)1.361s91.06x
▲ VercelNitro2.329s (+9.3% 🔺)3.918s (+3.0%)1.589s81.10x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.747s (-29.4% 🟢)2.157s (-28.4% 🟢)0.410s141.00x
🐘 PostgresNext.js (Turbopack)2.012s2.597s0.585s121.15x
🐘 PostgresNitro2.072s (-16.1% 🟢)2.600s (-13.7% 🟢)0.528s121.19x
💻 LocalExpress2.435s (-11.7% 🟢)3.008s (~)0.572s101.39x
🌐 RedisNext.js (Turbopack)2.493s3.008s0.515s101.43x
💻 LocalNitro2.712s (-1.1%)3.008s (~)0.296s101.55x
💻 LocalNext.js (Turbopack)2.743s3.008s0.265s101.57x
🌐 MongoDBNext.js (Turbopack)4.729s5.177s0.448s62.71x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.304s (-16.6% 🟢)3.755s (-16.2% 🟢)1.451s81.00x
▲ VercelExpress2.376s (+1.5%)3.392s (-15.7% 🟢)1.016s91.03x
▲ VercelNext.js (Turbopack)5.117s (+113.3% 🔺)6.437s (+71.1% 🔺)1.320s52.22x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.905s (-27.0% 🟢)3.683s (-17.1% 🟢)0.778s91.00x
🐘 PostgresNitro3.505s (-12.9% 🟢)4.307s (-6.1% 🟢)0.803s71.21x
🐘 PostgresNext.js (Turbopack)3.666s4.452s0.786s71.26x
🌐 RedisNext.js (Turbopack)4.082s4.725s0.643s71.41x
💻 LocalExpress7.037s (-15.1% 🟢)7.767s (-13.9% 🟢)0.730s42.42x
💻 LocalNext.js (Turbopack)7.053s7.516s0.463s42.43x
💻 LocalNitro8.012s (+1.2%)8.524s (~)0.512s42.76x
🌐 MongoDBNext.js (Turbopack)9.957s10.686s0.729s33.43x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.865s (-4.4%)4.189s (-5.2% 🟢)1.324s81.00x
▲ VercelNext.js (Turbopack)4.805s (+61.9% 🔺)6.199s (+47.8% 🔺)1.394s51.68x
▲ VercelExpress5.760s (+83.7% 🔺)6.911s (+52.7% 🔺)1.150s52.01x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.113s (-33.7% 🟢)1.003s (~)0.011s (-5.2% 🟢)1.017s (~)0.904s101.00x
🐘 PostgresExpress0.131s (-29.9% 🟢)1.000s (+0.6%)0.002s (+7.1% 🔺)1.012s (~)0.881s101.16x
💻 LocalNext.js (Turbopack)0.140s1.002s0.011s1.017s0.877s101.23x
🌐 RedisNext.js (Turbopack)0.142s1.000s0.002s1.007s0.865s101.26x
💻 LocalNitro0.171s (+1.2%)1.002s (~)0.012s (+2.7%)1.017s (~)0.846s101.51x
🐘 PostgresNitro0.184s (+2.2%)0.994s (~)0.002s (+6.2% 🔺)1.012s (~)0.828s101.63x
🐘 PostgresNext.js (Turbopack)0.185s1.001s0.002s1.014s0.829s101.64x
🌐 MongoDBNext.js (Turbopack)0.495s0.950s0.002s1.009s0.514s104.38x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.630s (+1.7%)2.353s (+2.8%)0.406s (+8548.9% 🔺)3.414s (+19.0% 🔺)1.784s101.00x
▲ VercelExpress1.739s (+8.9% 🔺)2.691s (+2.3%)0.005s (+4.3%)3.168s (-0.6%)1.429s101.07x
▲ VercelNext.js (Turbopack)1.739s (+5.5% 🔺)2.704s (+15.6% 🔺)0.005s (-12.7% 🟢)3.311s (+13.6% 🔺)1.572s101.07x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress11/12
🐘 PostgresExpress12/12
▲ VercelNitro7/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres8/12
Next.js (Turbopack)🌐 Redis6/12
Nitro🐘 Postgres6/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

@vercel

vercelBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1185615189
✅ 📋 Other147027174
Total2727563643147

❌ 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
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5233
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

@changeset-bot

changeset-botBot commented Mar 11, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a24fe94

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

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR hardens the streamer test failure-debugging path to avoid flaking when the chunks directory hasn’t been created yet (notably on Windows CI).

Changes:

  • Add a guarded readdir around streams/chunks in the onTestFinished failure branch.
  • Reuse a chunksPath variable when reading chunk files for debug output.

💡 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 +98 to +102
const chunksPath = `${testDir}/streams/chunks`;
let files: string[];
try {
files = await fs.readdir(chunksPath);
} catch {

CopilotAIMar 11, 2026

Copy link

Choose a reason for hiding this comment

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

The broad catch { files = [] } will also hide unexpected errors (e.g., EACCES/corrupted temp dir) and can make failures harder to diagnose. Consider catching the error, only treating ENOENT as an empty directory, and rethrowing anything else. Also, since this is Windows-flake related and the rest of the file uses path.join, building chunksPath via path.join(testDir, 'streams', 'chunks') would be more consistent and robust.

Copilot uses AI. Check for mistakes.
@TooTallNate
TooTallNate enabled auto-merge (squash) March 12, 2026 09:38
@TooTallNate
TooTallNate merged commit 7f26695 into mainMar 12, 2026
178 of 183 checks passed
@TooTallNate
TooTallNate deleted the fix/streamer-test-enoent branch March 12, 2026 09:46
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 freeto 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

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

Fix flaky streamer test ENOENT when chunks directory does not exist yet - #1330

Merged
TooTallNate merged 2 commits into
mainfrom
fix/streamer-test-enoent
Mar 12, 2026
Merged

Fix flaky streamer test ENOENT when chunks directory does not exist yet#1330
TooTallNate merged 2 commits into
mainfrom
fix/streamer-test-enoent

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Mar 11, 2026

Copy link
Copy Markdown
Member

Summary

Fixes two issues causing the streamer race condition test to fail on Windows CI (run):

  • ENOENT in onTestFinished debug callback: When the test fails before any chunks are written, the streams/chunks directory doesn't exist yet. The readdir call in the debug dump now catches ENOENT and falls back to an empty array instead of throwing a secondary error that masks the real failure.

  • Test timeout (20s) on slow Windows CI: The race condition test ran 10 iterations, each creating a fresh temp directory and streamer. With per-chunk I/O latency of ~100-200ms on Windows CI runners, 10 iterations took ~22s, exceeding the 20s timeout. Reduced to 3 iterations which still provides race condition coverage while fitting comfortably within the timeout.

@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 11, 2026 19:09
CopilotAI review requested due to automatic review settings March 11, 2026 19:09
@github-actions

github-actionsBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.025s (-21.6% 🟢)1.005s (~)0.980s101.00x
💻 LocalNitro0.034s (+3.4%)1.006s (~)0.973s101.33x
🐘 PostgresExpress0.040s (-21.5% 🟢)1.011s (~)0.971s101.58x
💻 LocalNext.js (Turbopack)0.042s1.006s0.964s101.63x
🌐 RedisNext.js (Turbopack)0.048s1.005s0.957s101.87x
🐘 PostgresNext.js (Turbopack)0.049s1.011s0.963s101.92x
🐘 PostgresNitro0.051s (-7.2% 🟢)1.011s (~)0.961s101.99x
🌐 MongoDBNext.js (Turbopack)0.094s1.008s0.914s103.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.392s (-39.4% 🟢)2.210s (-17.2% 🟢)1.818s101.00x
▲ VercelNext.js (Turbopack)0.471s (-19.1% 🟢)2.229s (-18.3% 🟢)1.759s101.20x
▲ VercelNitro0.487s (-20.1% 🟢)2.451s (-18.4% 🟢)1.964s101.24x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.072s (-2.9%)2.005s (~)0.933s101.00x
🐘 PostgresExpress1.092s (-2.4%)2.012s (~)0.920s101.02x
🌐 RedisNext.js (Turbopack)1.103s2.006s0.903s101.03x
💻 LocalNitro1.105s (~)2.006s (~)0.901s101.03x
💻 LocalNext.js (Turbopack)1.111s2.006s0.894s101.04x
🐘 PostgresNext.js (Turbopack)1.130s2.013s0.883s101.05x
🐘 PostgresNitro1.135s (+0.8%)2.012s (~)0.878s101.06x
🌐 MongoDBNext.js (Turbopack)1.314s2.009s0.695s101.23x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.134s (+3.9%)3.613s (-1.0%)1.479s101.00x
▲ VercelNitro2.144s (+3.3%)3.604s (-4.4%)1.460s101.00x
▲ VercelExpress2.148s (+8.6% 🔺)3.438s (-4.7%)1.291s101.01x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.509s (-2.6%)11.024s (~)0.515s31.00x
🐘 PostgresExpress10.556s (-2.3%)11.037s (~)0.481s31.00x
🌐 RedisNext.js (Turbopack)10.665s11.022s0.357s31.01x
💻 LocalNext.js (Turbopack)10.667s11.023s0.356s31.02x
💻 LocalNitro10.786s (~)11.023s (~)0.237s31.03x
🐘 PostgresNext.js (Turbopack)10.844s11.040s0.195s31.03x
🐘 PostgresNitro10.893s (+0.8%)11.041s (~)0.148s31.04x
🌐 MongoDBNext.js (Turbopack)12.184s13.018s0.834s31.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.147s (~)20.187s (-4.7%)2.040s21.00x
▲ VercelNext.js (Turbopack)22.567s (+31.9% 🔺)24.022s (+28.7% 🔺)1.454s21.24x
▲ VercelExpress23.073s (+34.0% 🔺)25.153s (+33.5% 🔺)2.080s21.27x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express26.389s (-2.2%)27.058s (-1.2%)0.668s31.00x
💻 LocalExpress26.548s (-2.5%)27.055s (-3.6%)0.507s31.01x
🌐 RedisNext.js (Turbopack)26.552s27.052s0.500s31.01x
🐘 PostgresNext.js (Turbopack)26.860s27.073s0.214s31.02x
💻 LocalNext.js (Turbopack)26.882s27.049s0.167s31.02x
🐘 PostgresNitro26.934s (~)27.060s (~)0.125s31.02x
💻 LocalNitro27.210s (~)28.051s (~)0.841s31.03x
🌐 MongoDBNext.js (Turbopack)30.514s31.042s0.528s21.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro44.405s (+2.6%)46.320s (+3.4%)1.915s21.00x
▲ VercelNext.js (Turbopack)47.063s (+9.4% 🔺)48.654s (+8.0% 🔺)1.591s21.06x
▲ VercelExpress47.258s (+7.8% 🔺)48.539s (+5.3% 🔺)1.281s21.06x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express52.764s (-2.0%)53.091s (-1.9%)0.327s21.00x
🌐 RedisNext.js (Turbopack)53.064s53.593s0.529s21.01x
🐘 PostgresNext.js (Turbopack)53.776s54.111s0.336s21.02x
🐘 PostgresNitro53.781s (~)54.106s (~)0.326s21.02x
💻 LocalExpress54.690s (-2.6%)55.102s (-3.5%)0.412s21.04x
💻 LocalNext.js (Turbopack)55.401s56.100s0.699s21.05x
💻 LocalNitro56.041s (~)56.099s (~)0.059s21.06x
🌐 MongoDBNext.js (Turbopack)60.860s61.070s0.210s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express94.711s (-3.3%)95.799s (-4.3%)1.088s11.00x
▲ VercelNext.js (Turbopack)96.584s (+2.8%)98.583s (+3.6%)1.999s11.02x
▲ VercelNitro98.906s (+3.6%)101.052s (+4.1%)2.146s11.04x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.273s (-6.1% 🟢)2.011s (~)0.737s151.00x
🌐 RedisNext.js (Turbopack)1.276s2.006s0.730s151.00x
🐘 PostgresNitro1.356s (-2.2%)2.011s (~)0.655s151.06x
💻 LocalExpress1.366s (-2.8%)2.006s (~)0.640s151.07x
🐘 PostgresNext.js (Turbopack)1.393s2.011s0.618s151.09x
💻 LocalNext.js (Turbopack)1.419s2.006s0.587s151.11x
💻 LocalNitro1.421s (~)2.005s (~)0.584s151.12x
🌐 MongoDBNext.js (Turbopack)2.181s3.009s0.828s101.71x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.225s (-6.7% 🟢)3.775s (-2.1%)1.550s81.00x
▲ VercelNext.js (Turbopack)2.415s (-9.8% 🟢)3.700s (-13.8% 🟢)1.285s91.09x
▲ VercelExpress2.701s (+17.5% 🔺)3.804s (-4.8%)1.104s81.21x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.774s (-28.0% 🟢)2.227s (-26.1% 🟢)0.453s141.00x
🐘 PostgresNext.js (Turbopack)2.072s2.599s0.527s121.17x
🐘 PostgresNitro2.119s (-14.2% 🟢)2.514s (-16.5% 🟢)0.395s121.19x
💻 LocalExpress2.327s (-11.1% 🟢)3.008s (~)0.680s101.31x
🌐 RedisNext.js (Turbopack)2.485s3.008s0.523s101.40x
💻 LocalNext.js (Turbopack)2.512s2.917s0.405s111.42x
💻 LocalNitro2.648s (+1.1%)3.008s (~)0.360s101.49x
🌐 MongoDBNext.js (Turbopack)4.685s5.176s0.491s62.64x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.276s (-18.0% 🟢)3.650s (-14.2% 🟢)1.373s91.00x
▲ VercelExpress2.479s (-14.1% 🟢)3.494s (-19.2% 🟢)1.015s91.09x
▲ VercelNext.js (Turbopack)2.950s (+22.4% 🔺)4.161s (+7.4% 🔺)1.211s81.30x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.762s (-29.7% 🟢)3.462s (-22.2% 🟢)0.700s91.00x
🐘 PostgresNext.js (Turbopack)3.670s4.451s0.781s71.33x
🐘 PostgresNitro3.713s (-7.4% 🟢)4.148s (-6.7% 🟢)0.435s81.34x
🌐 RedisNext.js (Turbopack)4.039s4.581s0.542s71.46x
💻 LocalExpress6.559s (-14.1% 🟢)7.014s (-12.6% 🟢)0.455s52.37x
💻 LocalNext.js (Turbopack)6.991s7.515s0.524s42.53x
💻 LocalNitro7.516s (+1.6%)8.020s (~)0.504s42.72x
🌐 MongoDBNext.js (Turbopack)9.759s10.350s0.591s33.53x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.026s (+3.1%)4.131s (-8.6% 🟢)1.105s81.00x
▲ VercelNext.js (Turbopack)3.045s (+3.5%)4.379s (-5.7% 🟢)1.334s71.01x
▲ VercelNitro3.181s (+5.0%)4.621s (~)1.440s71.05x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.229s2.006s0.777s151.00x
🐘 PostgresExpress1.278s (-8.0% 🟢)2.011s (~)0.733s151.04x
🐘 PostgresNitro1.363s (+3.1%)2.011s (~)0.648s151.11x
🐘 PostgresNext.js (Turbopack)1.392s2.012s0.620s151.13x
💻 LocalNitro1.413s (-1.2%)2.005s (~)0.591s151.15x
💻 LocalExpress1.429s (-0.9%)2.005s (~)0.576s151.16x
💻 LocalNext.js (Turbopack)1.457s2.006s0.549s151.19x
🌐 MongoDBNext.js (Turbopack)2.188s3.008s0.820s101.78x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.119s (-14.1% 🟢)3.308s (-18.5% 🟢)1.189s101.00x
▲ VercelNext.js (Turbopack)2.237s (+3.6%)3.598s (-1.8%)1.361s91.06x
▲ VercelNitro2.329s (+9.3% 🔺)3.918s (+3.0%)1.589s81.10x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.747s (-29.4% 🟢)2.157s (-28.4% 🟢)0.410s141.00x
🐘 PostgresNext.js (Turbopack)2.012s2.597s0.585s121.15x
🐘 PostgresNitro2.072s (-16.1% 🟢)2.600s (-13.7% 🟢)0.528s121.19x
💻 LocalExpress2.435s (-11.7% 🟢)3.008s (~)0.572s101.39x
🌐 RedisNext.js (Turbopack)2.493s3.008s0.515s101.43x
💻 LocalNitro2.712s (-1.1%)3.008s (~)0.296s101.55x
💻 LocalNext.js (Turbopack)2.743s3.008s0.265s101.57x
🌐 MongoDBNext.js (Turbopack)4.729s5.177s0.448s62.71x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.304s (-16.6% 🟢)3.755s (-16.2% 🟢)1.451s81.00x
▲ VercelExpress2.376s (+1.5%)3.392s (-15.7% 🟢)1.016s91.03x
▲ VercelNext.js (Turbopack)5.117s (+113.3% 🔺)6.437s (+71.1% 🔺)1.320s52.22x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.905s (-27.0% 🟢)3.683s (-17.1% 🟢)0.778s91.00x
🐘 PostgresNitro3.505s (-12.9% 🟢)4.307s (-6.1% 🟢)0.803s71.21x
🐘 PostgresNext.js (Turbopack)3.666s4.452s0.786s71.26x
🌐 RedisNext.js (Turbopack)4.082s4.725s0.643s71.41x
💻 LocalExpress7.037s (-15.1% 🟢)7.767s (-13.9% 🟢)0.730s42.42x
💻 LocalNext.js (Turbopack)7.053s7.516s0.463s42.43x
💻 LocalNitro8.012s (+1.2%)8.524s (~)0.512s42.76x
🌐 MongoDBNext.js (Turbopack)9.957s10.686s0.729s33.43x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.865s (-4.4%)4.189s (-5.2% 🟢)1.324s81.00x
▲ VercelNext.js (Turbopack)4.805s (+61.9% 🔺)6.199s (+47.8% 🔺)1.394s51.68x
▲ VercelExpress5.760s (+83.7% 🔺)6.911s (+52.7% 🔺)1.150s52.01x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.113s (-33.7% 🟢)1.003s (~)0.011s (-5.2% 🟢)1.017s (~)0.904s101.00x
🐘 PostgresExpress0.131s (-29.9% 🟢)1.000s (+0.6%)0.002s (+7.1% 🔺)1.012s (~)0.881s101.16x
💻 LocalNext.js (Turbopack)0.140s1.002s0.011s1.017s0.877s101.23x
🌐 RedisNext.js (Turbopack)0.142s1.000s0.002s1.007s0.865s101.26x
💻 LocalNitro0.171s (+1.2%)1.002s (~)0.012s (+2.7%)1.017s (~)0.846s101.51x
🐘 PostgresNitro0.184s (+2.2%)0.994s (~)0.002s (+6.2% 🔺)1.012s (~)0.828s101.63x
🐘 PostgresNext.js (Turbopack)0.185s1.001s0.002s1.014s0.829s101.64x
🌐 MongoDBNext.js (Turbopack)0.495s0.950s0.002s1.009s0.514s104.38x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.630s (+1.7%)2.353s (+2.8%)0.406s (+8548.9% 🔺)3.414s (+19.0% 🔺)1.784s101.00x
▲ VercelExpress1.739s (+8.9% 🔺)2.691s (+2.3%)0.005s (+4.3%)3.168s (-0.6%)1.429s101.07x
▲ VercelNext.js (Turbopack)1.739s (+5.5% 🔺)2.704s (+15.6% 🔺)0.005s (-12.7% 🟢)3.311s (+13.6% 🔺)1.572s101.07x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress11/12
🐘 PostgresExpress12/12
▲ VercelNitro7/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres8/12
Next.js (Turbopack)🌐 Redis6/12
Nitro🐘 Postgres6/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

@vercel

vercelBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1185615189
✅ 📋 Other147027174
Total2727563643147

❌ 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
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5233
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

@changeset-bot

changeset-botBot commented Mar 11, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a24fe94

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

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR hardens the streamer test failure-debugging path to avoid flaking when the chunks directory hasn’t been created yet (notably on Windows CI).

Changes:

  • Add a guarded readdir around streams/chunks in the onTestFinished failure branch.
  • Reuse a chunksPath variable when reading chunk files for debug output.

💡 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 +98 to +102
const chunksPath = `${testDir}/streams/chunks`;
let files: string[];
try {
files = await fs.readdir(chunksPath);
} catch {

CopilotAIMar 11, 2026

Copy link

Choose a reason for hiding this comment

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

The broad catch { files = [] } will also hide unexpected errors (e.g., EACCES/corrupted temp dir) and can make failures harder to diagnose. Consider catching the error, only treating ENOENT as an empty directory, and rethrowing anything else. Also, since this is Windows-flake related and the rest of the file uses path.join, building chunksPath via path.join(testDir, 'streams', 'chunks') would be more consistent and robust.

Copilot uses AI. Check for mistakes.
@TooTallNate
TooTallNate enabled auto-merge (squash) March 12, 2026 09:38
@TooTallNate
TooTallNate merged commit 7f26695 into mainMar 12, 2026
178 of 183 checks passed
@TooTallNate
TooTallNate deleted the fix/streamer-test-enoent branch March 12, 2026 09:46
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 freeto 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

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Fix flaky streamer test ENOENT when chunks directory does not exist yet - #1330

Merged
TooTallNate merged 2 commits into
mainfrom
fix/streamer-test-enoent
Mar 12, 2026
Merged

Fix flaky streamer test ENOENT when chunks directory does not exist yet#1330
TooTallNate merged 2 commits into
mainfrom
fix/streamer-test-enoent

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Mar 11, 2026

Copy link
Copy Markdown
Member

Summary

Fixes two issues causing the streamer race condition test to fail on Windows CI (run):

  • ENOENT in onTestFinished debug callback: When the test fails before any chunks are written, the streams/chunks directory doesn't exist yet. The readdir call in the debug dump now catches ENOENT and falls back to an empty array instead of throwing a secondary error that masks the real failure.

  • Test timeout (20s) on slow Windows CI: The race condition test ran 10 iterations, each creating a fresh temp directory and streamer. With per-chunk I/O latency of ~100-200ms on Windows CI runners, 10 iterations took ~22s, exceeding the 20s timeout. Reduced to 3 iterations which still provides race condition coverage while fitting comfortably within the timeout.

@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 11, 2026 19:09
CopilotAI review requested due to automatic review settings March 11, 2026 19:09
@github-actions

github-actionsBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.025s (-21.6% 🟢)1.005s (~)0.980s101.00x
💻 LocalNitro0.034s (+3.4%)1.006s (~)0.973s101.33x
🐘 PostgresExpress0.040s (-21.5% 🟢)1.011s (~)0.971s101.58x
💻 LocalNext.js (Turbopack)0.042s1.006s0.964s101.63x
🌐 RedisNext.js (Turbopack)0.048s1.005s0.957s101.87x
🐘 PostgresNext.js (Turbopack)0.049s1.011s0.963s101.92x
🐘 PostgresNitro0.051s (-7.2% 🟢)1.011s (~)0.961s101.99x
🌐 MongoDBNext.js (Turbopack)0.094s1.008s0.914s103.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.392s (-39.4% 🟢)2.210s (-17.2% 🟢)1.818s101.00x
▲ VercelNext.js (Turbopack)0.471s (-19.1% 🟢)2.229s (-18.3% 🟢)1.759s101.20x
▲ VercelNitro0.487s (-20.1% 🟢)2.451s (-18.4% 🟢)1.964s101.24x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.072s (-2.9%)2.005s (~)0.933s101.00x
🐘 PostgresExpress1.092s (-2.4%)2.012s (~)0.920s101.02x
🌐 RedisNext.js (Turbopack)1.103s2.006s0.903s101.03x
💻 LocalNitro1.105s (~)2.006s (~)0.901s101.03x
💻 LocalNext.js (Turbopack)1.111s2.006s0.894s101.04x
🐘 PostgresNext.js (Turbopack)1.130s2.013s0.883s101.05x
🐘 PostgresNitro1.135s (+0.8%)2.012s (~)0.878s101.06x
🌐 MongoDBNext.js (Turbopack)1.314s2.009s0.695s101.23x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.134s (+3.9%)3.613s (-1.0%)1.479s101.00x
▲ VercelNitro2.144s (+3.3%)3.604s (-4.4%)1.460s101.00x
▲ VercelExpress2.148s (+8.6% 🔺)3.438s (-4.7%)1.291s101.01x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.509s (-2.6%)11.024s (~)0.515s31.00x
🐘 PostgresExpress10.556s (-2.3%)11.037s (~)0.481s31.00x
🌐 RedisNext.js (Turbopack)10.665s11.022s0.357s31.01x
💻 LocalNext.js (Turbopack)10.667s11.023s0.356s31.02x
💻 LocalNitro10.786s (~)11.023s (~)0.237s31.03x
🐘 PostgresNext.js (Turbopack)10.844s11.040s0.195s31.03x
🐘 PostgresNitro10.893s (+0.8%)11.041s (~)0.148s31.04x
🌐 MongoDBNext.js (Turbopack)12.184s13.018s0.834s31.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.147s (~)20.187s (-4.7%)2.040s21.00x
▲ VercelNext.js (Turbopack)22.567s (+31.9% 🔺)24.022s (+28.7% 🔺)1.454s21.24x
▲ VercelExpress23.073s (+34.0% 🔺)25.153s (+33.5% 🔺)2.080s21.27x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express26.389s (-2.2%)27.058s (-1.2%)0.668s31.00x
💻 LocalExpress26.548s (-2.5%)27.055s (-3.6%)0.507s31.01x
🌐 RedisNext.js (Turbopack)26.552s27.052s0.500s31.01x
🐘 PostgresNext.js (Turbopack)26.860s27.073s0.214s31.02x
💻 LocalNext.js (Turbopack)26.882s27.049s0.167s31.02x
🐘 PostgresNitro26.934s (~)27.060s (~)0.125s31.02x
💻 LocalNitro27.210s (~)28.051s (~)0.841s31.03x
🌐 MongoDBNext.js (Turbopack)30.514s31.042s0.528s21.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro44.405s (+2.6%)46.320s (+3.4%)1.915s21.00x
▲ VercelNext.js (Turbopack)47.063s (+9.4% 🔺)48.654s (+8.0% 🔺)1.591s21.06x
▲ VercelExpress47.258s (+7.8% 🔺)48.539s (+5.3% 🔺)1.281s21.06x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express52.764s (-2.0%)53.091s (-1.9%)0.327s21.00x
🌐 RedisNext.js (Turbopack)53.064s53.593s0.529s21.01x
🐘 PostgresNext.js (Turbopack)53.776s54.111s0.336s21.02x
🐘 PostgresNitro53.781s (~)54.106s (~)0.326s21.02x
💻 LocalExpress54.690s (-2.6%)55.102s (-3.5%)0.412s21.04x
💻 LocalNext.js (Turbopack)55.401s56.100s0.699s21.05x
💻 LocalNitro56.041s (~)56.099s (~)0.059s21.06x
🌐 MongoDBNext.js (Turbopack)60.860s61.070s0.210s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express94.711s (-3.3%)95.799s (-4.3%)1.088s11.00x
▲ VercelNext.js (Turbopack)96.584s (+2.8%)98.583s (+3.6%)1.999s11.02x
▲ VercelNitro98.906s (+3.6%)101.052s (+4.1%)2.146s11.04x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.273s (-6.1% 🟢)2.011s (~)0.737s151.00x
🌐 RedisNext.js (Turbopack)1.276s2.006s0.730s151.00x
🐘 PostgresNitro1.356s (-2.2%)2.011s (~)0.655s151.06x
💻 LocalExpress1.366s (-2.8%)2.006s (~)0.640s151.07x
🐘 PostgresNext.js (Turbopack)1.393s2.011s0.618s151.09x
💻 LocalNext.js (Turbopack)1.419s2.006s0.587s151.11x
💻 LocalNitro1.421s (~)2.005s (~)0.584s151.12x
🌐 MongoDBNext.js (Turbopack)2.181s3.009s0.828s101.71x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.225s (-6.7% 🟢)3.775s (-2.1%)1.550s81.00x
▲ VercelNext.js (Turbopack)2.415s (-9.8% 🟢)3.700s (-13.8% 🟢)1.285s91.09x
▲ VercelExpress2.701s (+17.5% 🔺)3.804s (-4.8%)1.104s81.21x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.774s (-28.0% 🟢)2.227s (-26.1% 🟢)0.453s141.00x
🐘 PostgresNext.js (Turbopack)2.072s2.599s0.527s121.17x
🐘 PostgresNitro2.119s (-14.2% 🟢)2.514s (-16.5% 🟢)0.395s121.19x
💻 LocalExpress2.327s (-11.1% 🟢)3.008s (~)0.680s101.31x
🌐 RedisNext.js (Turbopack)2.485s3.008s0.523s101.40x
💻 LocalNext.js (Turbopack)2.512s2.917s0.405s111.42x
💻 LocalNitro2.648s (+1.1%)3.008s (~)0.360s101.49x
🌐 MongoDBNext.js (Turbopack)4.685s5.176s0.491s62.64x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.276s (-18.0% 🟢)3.650s (-14.2% 🟢)1.373s91.00x
▲ VercelExpress2.479s (-14.1% 🟢)3.494s (-19.2% 🟢)1.015s91.09x
▲ VercelNext.js (Turbopack)2.950s (+22.4% 🔺)4.161s (+7.4% 🔺)1.211s81.30x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.762s (-29.7% 🟢)3.462s (-22.2% 🟢)0.700s91.00x
🐘 PostgresNext.js (Turbopack)3.670s4.451s0.781s71.33x
🐘 PostgresNitro3.713s (-7.4% 🟢)4.148s (-6.7% 🟢)0.435s81.34x
🌐 RedisNext.js (Turbopack)4.039s4.581s0.542s71.46x
💻 LocalExpress6.559s (-14.1% 🟢)7.014s (-12.6% 🟢)0.455s52.37x
💻 LocalNext.js (Turbopack)6.991s7.515s0.524s42.53x
💻 LocalNitro7.516s (+1.6%)8.020s (~)0.504s42.72x
🌐 MongoDBNext.js (Turbopack)9.759s10.350s0.591s33.53x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.026s (+3.1%)4.131s (-8.6% 🟢)1.105s81.00x
▲ VercelNext.js (Turbopack)3.045s (+3.5%)4.379s (-5.7% 🟢)1.334s71.01x
▲ VercelNitro3.181s (+5.0%)4.621s (~)1.440s71.05x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.229s2.006s0.777s151.00x
🐘 PostgresExpress1.278s (-8.0% 🟢)2.011s (~)0.733s151.04x
🐘 PostgresNitro1.363s (+3.1%)2.011s (~)0.648s151.11x
🐘 PostgresNext.js (Turbopack)1.392s2.012s0.620s151.13x
💻 LocalNitro1.413s (-1.2%)2.005s (~)0.591s151.15x
💻 LocalExpress1.429s (-0.9%)2.005s (~)0.576s151.16x
💻 LocalNext.js (Turbopack)1.457s2.006s0.549s151.19x
🌐 MongoDBNext.js (Turbopack)2.188s3.008s0.820s101.78x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.119s (-14.1% 🟢)3.308s (-18.5% 🟢)1.189s101.00x
▲ VercelNext.js (Turbopack)2.237s (+3.6%)3.598s (-1.8%)1.361s91.06x
▲ VercelNitro2.329s (+9.3% 🔺)3.918s (+3.0%)1.589s81.10x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.747s (-29.4% 🟢)2.157s (-28.4% 🟢)0.410s141.00x
🐘 PostgresNext.js (Turbopack)2.012s2.597s0.585s121.15x
🐘 PostgresNitro2.072s (-16.1% 🟢)2.600s (-13.7% 🟢)0.528s121.19x
💻 LocalExpress2.435s (-11.7% 🟢)3.008s (~)0.572s101.39x
🌐 RedisNext.js (Turbopack)2.493s3.008s0.515s101.43x
💻 LocalNitro2.712s (-1.1%)3.008s (~)0.296s101.55x
💻 LocalNext.js (Turbopack)2.743s3.008s0.265s101.57x
🌐 MongoDBNext.js (Turbopack)4.729s5.177s0.448s62.71x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.304s (-16.6% 🟢)3.755s (-16.2% 🟢)1.451s81.00x
▲ VercelExpress2.376s (+1.5%)3.392s (-15.7% 🟢)1.016s91.03x
▲ VercelNext.js (Turbopack)5.117s (+113.3% 🔺)6.437s (+71.1% 🔺)1.320s52.22x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.905s (-27.0% 🟢)3.683s (-17.1% 🟢)0.778s91.00x
🐘 PostgresNitro3.505s (-12.9% 🟢)4.307s (-6.1% 🟢)0.803s71.21x
🐘 PostgresNext.js (Turbopack)3.666s4.452s0.786s71.26x
🌐 RedisNext.js (Turbopack)4.082s4.725s0.643s71.41x
💻 LocalExpress7.037s (-15.1% 🟢)7.767s (-13.9% 🟢)0.730s42.42x
💻 LocalNext.js (Turbopack)7.053s7.516s0.463s42.43x
💻 LocalNitro8.012s (+1.2%)8.524s (~)0.512s42.76x
🌐 MongoDBNext.js (Turbopack)9.957s10.686s0.729s33.43x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.865s (-4.4%)4.189s (-5.2% 🟢)1.324s81.00x
▲ VercelNext.js (Turbopack)4.805s (+61.9% 🔺)6.199s (+47.8% 🔺)1.394s51.68x
▲ VercelExpress5.760s (+83.7% 🔺)6.911s (+52.7% 🔺)1.150s52.01x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.113s (-33.7% 🟢)1.003s (~)0.011s (-5.2% 🟢)1.017s (~)0.904s101.00x
🐘 PostgresExpress0.131s (-29.9% 🟢)1.000s (+0.6%)0.002s (+7.1% 🔺)1.012s (~)0.881s101.16x
💻 LocalNext.js (Turbopack)0.140s1.002s0.011s1.017s0.877s101.23x
🌐 RedisNext.js (Turbopack)0.142s1.000s0.002s1.007s0.865s101.26x
💻 LocalNitro0.171s (+1.2%)1.002s (~)0.012s (+2.7%)1.017s (~)0.846s101.51x
🐘 PostgresNitro0.184s (+2.2%)0.994s (~)0.002s (+6.2% 🔺)1.012s (~)0.828s101.63x
🐘 PostgresNext.js (Turbopack)0.185s1.001s0.002s1.014s0.829s101.64x
🌐 MongoDBNext.js (Turbopack)0.495s0.950s0.002s1.009s0.514s104.38x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.630s (+1.7%)2.353s (+2.8%)0.406s (+8548.9% 🔺)3.414s (+19.0% 🔺)1.784s101.00x
▲ VercelExpress1.739s (+8.9% 🔺)2.691s (+2.3%)0.005s (+4.3%)3.168s (-0.6%)1.429s101.07x
▲ VercelNext.js (Turbopack)1.739s (+5.5% 🔺)2.704s (+15.6% 🔺)0.005s (-12.7% 🟢)3.311s (+13.6% 🔺)1.572s101.07x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress11/12
🐘 PostgresExpress12/12
▲ VercelNitro7/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres8/12
Next.js (Turbopack)🌐 Redis6/12
Nitro🐘 Postgres6/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

@vercel

vercelBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1185615189
✅ 📋 Other147027174
Total2727563643147

❌ 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
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5233
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

@changeset-bot

changeset-botBot commented Mar 11, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a24fe94

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

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR hardens the streamer test failure-debugging path to avoid flaking when the chunks directory hasn’t been created yet (notably on Windows CI).

Changes:

  • Add a guarded readdir around streams/chunks in the onTestFinished failure branch.
  • Reuse a chunksPath variable when reading chunk files for debug output.

💡 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 +98 to +102
const chunksPath = `${testDir}/streams/chunks`;
let files: string[];
try {
files = await fs.readdir(chunksPath);
} catch {

CopilotAIMar 11, 2026

Copy link

Choose a reason for hiding this comment

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

The broad catch { files = [] } will also hide unexpected errors (e.g., EACCES/corrupted temp dir) and can make failures harder to diagnose. Consider catching the error, only treating ENOENT as an empty directory, and rethrowing anything else. Also, since this is Windows-flake related and the rest of the file uses path.join, building chunksPath via path.join(testDir, 'streams', 'chunks') would be more consistent and robust.

Copilot uses AI. Check for mistakes.
@TooTallNate
TooTallNate enabled auto-merge (squash) March 12, 2026 09:38
@TooTallNate
TooTallNate merged commit 7f26695 into mainMar 12, 2026
178 of 183 checks passed
@TooTallNate
TooTallNate deleted the fix/streamer-test-enoent branch March 12, 2026 09:46
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 freeto 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

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Fix flaky streamer test ENOENT when chunks directory does not exist yet - #1330

Merged
TooTallNate merged 2 commits into
mainfrom
fix/streamer-test-enoent
Mar 12, 2026
Merged

Fix flaky streamer test ENOENT when chunks directory does not exist yet#1330
TooTallNate merged 2 commits into
mainfrom
fix/streamer-test-enoent

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Mar 11, 2026

Copy link
Copy Markdown
Member

Summary

Fixes two issues causing the streamer race condition test to fail on Windows CI (run):

  • ENOENT in onTestFinished debug callback: When the test fails before any chunks are written, the streams/chunks directory doesn't exist yet. The readdir call in the debug dump now catches ENOENT and falls back to an empty array instead of throwing a secondary error that masks the real failure.

  • Test timeout (20s) on slow Windows CI: The race condition test ran 10 iterations, each creating a fresh temp directory and streamer. With per-chunk I/O latency of ~100-200ms on Windows CI runners, 10 iterations took ~22s, exceeding the 20s timeout. Reduced to 3 iterations which still provides race condition coverage while fitting comfortably within the timeout.

@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 11, 2026 19:09
CopilotAI review requested due to automatic review settings March 11, 2026 19:09
@github-actions

github-actionsBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.025s (-21.6% 🟢)1.005s (~)0.980s101.00x
💻 LocalNitro0.034s (+3.4%)1.006s (~)0.973s101.33x
🐘 PostgresExpress0.040s (-21.5% 🟢)1.011s (~)0.971s101.58x
💻 LocalNext.js (Turbopack)0.042s1.006s0.964s101.63x
🌐 RedisNext.js (Turbopack)0.048s1.005s0.957s101.87x
🐘 PostgresNext.js (Turbopack)0.049s1.011s0.963s101.92x
🐘 PostgresNitro0.051s (-7.2% 🟢)1.011s (~)0.961s101.99x
🌐 MongoDBNext.js (Turbopack)0.094s1.008s0.914s103.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.392s (-39.4% 🟢)2.210s (-17.2% 🟢)1.818s101.00x
▲ VercelNext.js (Turbopack)0.471s (-19.1% 🟢)2.229s (-18.3% 🟢)1.759s101.20x
▲ VercelNitro0.487s (-20.1% 🟢)2.451s (-18.4% 🟢)1.964s101.24x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.072s (-2.9%)2.005s (~)0.933s101.00x
🐘 PostgresExpress1.092s (-2.4%)2.012s (~)0.920s101.02x
🌐 RedisNext.js (Turbopack)1.103s2.006s0.903s101.03x
💻 LocalNitro1.105s (~)2.006s (~)0.901s101.03x
💻 LocalNext.js (Turbopack)1.111s2.006s0.894s101.04x
🐘 PostgresNext.js (Turbopack)1.130s2.013s0.883s101.05x
🐘 PostgresNitro1.135s (+0.8%)2.012s (~)0.878s101.06x
🌐 MongoDBNext.js (Turbopack)1.314s2.009s0.695s101.23x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.134s (+3.9%)3.613s (-1.0%)1.479s101.00x
▲ VercelNitro2.144s (+3.3%)3.604s (-4.4%)1.460s101.00x
▲ VercelExpress2.148s (+8.6% 🔺)3.438s (-4.7%)1.291s101.01x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.509s (-2.6%)11.024s (~)0.515s31.00x
🐘 PostgresExpress10.556s (-2.3%)11.037s (~)0.481s31.00x
🌐 RedisNext.js (Turbopack)10.665s11.022s0.357s31.01x
💻 LocalNext.js (Turbopack)10.667s11.023s0.356s31.02x
💻 LocalNitro10.786s (~)11.023s (~)0.237s31.03x
🐘 PostgresNext.js (Turbopack)10.844s11.040s0.195s31.03x
🐘 PostgresNitro10.893s (+0.8%)11.041s (~)0.148s31.04x
🌐 MongoDBNext.js (Turbopack)12.184s13.018s0.834s31.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.147s (~)20.187s (-4.7%)2.040s21.00x
▲ VercelNext.js (Turbopack)22.567s (+31.9% 🔺)24.022s (+28.7% 🔺)1.454s21.24x
▲ VercelExpress23.073s (+34.0% 🔺)25.153s (+33.5% 🔺)2.080s21.27x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express26.389s (-2.2%)27.058s (-1.2%)0.668s31.00x
💻 LocalExpress26.548s (-2.5%)27.055s (-3.6%)0.507s31.01x
🌐 RedisNext.js (Turbopack)26.552s27.052s0.500s31.01x
🐘 PostgresNext.js (Turbopack)26.860s27.073s0.214s31.02x
💻 LocalNext.js (Turbopack)26.882s27.049s0.167s31.02x
🐘 PostgresNitro26.934s (~)27.060s (~)0.125s31.02x
💻 LocalNitro27.210s (~)28.051s (~)0.841s31.03x
🌐 MongoDBNext.js (Turbopack)30.514s31.042s0.528s21.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro44.405s (+2.6%)46.320s (+3.4%)1.915s21.00x
▲ VercelNext.js (Turbopack)47.063s (+9.4% 🔺)48.654s (+8.0% 🔺)1.591s21.06x
▲ VercelExpress47.258s (+7.8% 🔺)48.539s (+5.3% 🔺)1.281s21.06x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express52.764s (-2.0%)53.091s (-1.9%)0.327s21.00x
🌐 RedisNext.js (Turbopack)53.064s53.593s0.529s21.01x
🐘 PostgresNext.js (Turbopack)53.776s54.111s0.336s21.02x
🐘 PostgresNitro53.781s (~)54.106s (~)0.326s21.02x
💻 LocalExpress54.690s (-2.6%)55.102s (-3.5%)0.412s21.04x
💻 LocalNext.js (Turbopack)55.401s56.100s0.699s21.05x
💻 LocalNitro56.041s (~)56.099s (~)0.059s21.06x
🌐 MongoDBNext.js (Turbopack)60.860s61.070s0.210s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express94.711s (-3.3%)95.799s (-4.3%)1.088s11.00x
▲ VercelNext.js (Turbopack)96.584s (+2.8%)98.583s (+3.6%)1.999s11.02x
▲ VercelNitro98.906s (+3.6%)101.052s (+4.1%)2.146s11.04x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.273s (-6.1% 🟢)2.011s (~)0.737s151.00x
🌐 RedisNext.js (Turbopack)1.276s2.006s0.730s151.00x
🐘 PostgresNitro1.356s (-2.2%)2.011s (~)0.655s151.06x
💻 LocalExpress1.366s (-2.8%)2.006s (~)0.640s151.07x
🐘 PostgresNext.js (Turbopack)1.393s2.011s0.618s151.09x
💻 LocalNext.js (Turbopack)1.419s2.006s0.587s151.11x
💻 LocalNitro1.421s (~)2.005s (~)0.584s151.12x
🌐 MongoDBNext.js (Turbopack)2.181s3.009s0.828s101.71x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.225s (-6.7% 🟢)3.775s (-2.1%)1.550s81.00x
▲ VercelNext.js (Turbopack)2.415s (-9.8% 🟢)3.700s (-13.8% 🟢)1.285s91.09x
▲ VercelExpress2.701s (+17.5% 🔺)3.804s (-4.8%)1.104s81.21x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.774s (-28.0% 🟢)2.227s (-26.1% 🟢)0.453s141.00x
🐘 PostgresNext.js (Turbopack)2.072s2.599s0.527s121.17x
🐘 PostgresNitro2.119s (-14.2% 🟢)2.514s (-16.5% 🟢)0.395s121.19x
💻 LocalExpress2.327s (-11.1% 🟢)3.008s (~)0.680s101.31x
🌐 RedisNext.js (Turbopack)2.485s3.008s0.523s101.40x
💻 LocalNext.js (Turbopack)2.512s2.917s0.405s111.42x
💻 LocalNitro2.648s (+1.1%)3.008s (~)0.360s101.49x
🌐 MongoDBNext.js (Turbopack)4.685s5.176s0.491s62.64x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.276s (-18.0% 🟢)3.650s (-14.2% 🟢)1.373s91.00x
▲ VercelExpress2.479s (-14.1% 🟢)3.494s (-19.2% 🟢)1.015s91.09x
▲ VercelNext.js (Turbopack)2.950s (+22.4% 🔺)4.161s (+7.4% 🔺)1.211s81.30x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.762s (-29.7% 🟢)3.462s (-22.2% 🟢)0.700s91.00x
🐘 PostgresNext.js (Turbopack)3.670s4.451s0.781s71.33x
🐘 PostgresNitro3.713s (-7.4% 🟢)4.148s (-6.7% 🟢)0.435s81.34x
🌐 RedisNext.js (Turbopack)4.039s4.581s0.542s71.46x
💻 LocalExpress6.559s (-14.1% 🟢)7.014s (-12.6% 🟢)0.455s52.37x
💻 LocalNext.js (Turbopack)6.991s7.515s0.524s42.53x
💻 LocalNitro7.516s (+1.6%)8.020s (~)0.504s42.72x
🌐 MongoDBNext.js (Turbopack)9.759s10.350s0.591s33.53x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.026s (+3.1%)4.131s (-8.6% 🟢)1.105s81.00x
▲ VercelNext.js (Turbopack)3.045s (+3.5%)4.379s (-5.7% 🟢)1.334s71.01x
▲ VercelNitro3.181s (+5.0%)4.621s (~)1.440s71.05x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.229s2.006s0.777s151.00x
🐘 PostgresExpress1.278s (-8.0% 🟢)2.011s (~)0.733s151.04x
🐘 PostgresNitro1.363s (+3.1%)2.011s (~)0.648s151.11x
🐘 PostgresNext.js (Turbopack)1.392s2.012s0.620s151.13x
💻 LocalNitro1.413s (-1.2%)2.005s (~)0.591s151.15x
💻 LocalExpress1.429s (-0.9%)2.005s (~)0.576s151.16x
💻 LocalNext.js (Turbopack)1.457s2.006s0.549s151.19x
🌐 MongoDBNext.js (Turbopack)2.188s3.008s0.820s101.78x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.119s (-14.1% 🟢)3.308s (-18.5% 🟢)1.189s101.00x
▲ VercelNext.js (Turbopack)2.237s (+3.6%)3.598s (-1.8%)1.361s91.06x
▲ VercelNitro2.329s (+9.3% 🔺)3.918s (+3.0%)1.589s81.10x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.747s (-29.4% 🟢)2.157s (-28.4% 🟢)0.410s141.00x
🐘 PostgresNext.js (Turbopack)2.012s2.597s0.585s121.15x
🐘 PostgresNitro2.072s (-16.1% 🟢)2.600s (-13.7% 🟢)0.528s121.19x
💻 LocalExpress2.435s (-11.7% 🟢)3.008s (~)0.572s101.39x
🌐 RedisNext.js (Turbopack)2.493s3.008s0.515s101.43x
💻 LocalNitro2.712s (-1.1%)3.008s (~)0.296s101.55x
💻 LocalNext.js (Turbopack)2.743s3.008s0.265s101.57x
🌐 MongoDBNext.js (Turbopack)4.729s5.177s0.448s62.71x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.304s (-16.6% 🟢)3.755s (-16.2% 🟢)1.451s81.00x
▲ VercelExpress2.376s (+1.5%)3.392s (-15.7% 🟢)1.016s91.03x
▲ VercelNext.js (Turbopack)5.117s (+113.3% 🔺)6.437s (+71.1% 🔺)1.320s52.22x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.905s (-27.0% 🟢)3.683s (-17.1% 🟢)0.778s91.00x
🐘 PostgresNitro3.505s (-12.9% 🟢)4.307s (-6.1% 🟢)0.803s71.21x
🐘 PostgresNext.js (Turbopack)3.666s4.452s0.786s71.26x
🌐 RedisNext.js (Turbopack)4.082s4.725s0.643s71.41x
💻 LocalExpress7.037s (-15.1% 🟢)7.767s (-13.9% 🟢)0.730s42.42x
💻 LocalNext.js (Turbopack)7.053s7.516s0.463s42.43x
💻 LocalNitro8.012s (+1.2%)8.524s (~)0.512s42.76x
🌐 MongoDBNext.js (Turbopack)9.957s10.686s0.729s33.43x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.865s (-4.4%)4.189s (-5.2% 🟢)1.324s81.00x
▲ VercelNext.js (Turbopack)4.805s (+61.9% 🔺)6.199s (+47.8% 🔺)1.394s51.68x
▲ VercelExpress5.760s (+83.7% 🔺)6.911s (+52.7% 🔺)1.150s52.01x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.113s (-33.7% 🟢)1.003s (~)0.011s (-5.2% 🟢)1.017s (~)0.904s101.00x
🐘 PostgresExpress0.131s (-29.9% 🟢)1.000s (+0.6%)0.002s (+7.1% 🔺)1.012s (~)0.881s101.16x
💻 LocalNext.js (Turbopack)0.140s1.002s0.011s1.017s0.877s101.23x
🌐 RedisNext.js (Turbopack)0.142s1.000s0.002s1.007s0.865s101.26x
💻 LocalNitro0.171s (+1.2%)1.002s (~)0.012s (+2.7%)1.017s (~)0.846s101.51x
🐘 PostgresNitro0.184s (+2.2%)0.994s (~)0.002s (+6.2% 🔺)1.012s (~)0.828s101.63x
🐘 PostgresNext.js (Turbopack)0.185s1.001s0.002s1.014s0.829s101.64x
🌐 MongoDBNext.js (Turbopack)0.495s0.950s0.002s1.009s0.514s104.38x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.630s (+1.7%)2.353s (+2.8%)0.406s (+8548.9% 🔺)3.414s (+19.0% 🔺)1.784s101.00x
▲ VercelExpress1.739s (+8.9% 🔺)2.691s (+2.3%)0.005s (+4.3%)3.168s (-0.6%)1.429s101.07x
▲ VercelNext.js (Turbopack)1.739s (+5.5% 🔺)2.704s (+15.6% 🔺)0.005s (-12.7% 🟢)3.311s (+13.6% 🔺)1.572s101.07x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress11/12
🐘 PostgresExpress12/12
▲ VercelNitro7/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres8/12
Next.js (Turbopack)🌐 Redis6/12
Nitro🐘 Postgres6/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

@vercel

vercelBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1185615189
✅ 📋 Other147027174
Total2727563643147

❌ 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
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5233
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

@changeset-bot

changeset-botBot commented Mar 11, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a24fe94

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

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR hardens the streamer test failure-debugging path to avoid flaking when the chunks directory hasn’t been created yet (notably on Windows CI).

Changes:

  • Add a guarded readdir around streams/chunks in the onTestFinished failure branch.
  • Reuse a chunksPath variable when reading chunk files for debug output.

💡 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 +98 to +102
const chunksPath = `${testDir}/streams/chunks`;
let files: string[];
try {
files = await fs.readdir(chunksPath);
} catch {

CopilotAIMar 11, 2026

Copy link

Choose a reason for hiding this comment

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

The broad catch { files = [] } will also hide unexpected errors (e.g., EACCES/corrupted temp dir) and can make failures harder to diagnose. Consider catching the error, only treating ENOENT as an empty directory, and rethrowing anything else. Also, since this is Windows-flake related and the rest of the file uses path.join, building chunksPath via path.join(testDir, 'streams', 'chunks') would be more consistent and robust.

Copilot uses AI. Check for mistakes.
@TooTallNate
TooTallNate enabled auto-merge (squash) March 12, 2026 09:38
@TooTallNate
TooTallNate merged commit 7f26695 into mainMar 12, 2026
178 of 183 checks passed
@TooTallNate
TooTallNate deleted the fix/streamer-test-enoent branch March 12, 2026 09:46
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 freeto 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

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { // Universal Dark Mode - works on any site (function() { var enabled = true; function applyDarkMode() { if (!enabled) return; // Create style element if it doesn't exist var style = document.getElementById('universal-dark-mode-style'); if (!style) { style = document.createElement('style'); style.id = 'universal-dark-mode-style'; document.head.appendChild(style); } // Dark mode CSS - inverts colors but preserves images/video style.textContent = ' /* Invert everything except media */ html { filter: invert(1) hue-rotate(180deg) !important; background: #1a1a2e !important; } /* Restore images, videos, iframes, canvas */ img, video, iframe, canvas, svg, picture, [style*="background-image"] { filter: invert(1) hue-rotate(180deg) !important; } /* Preserve specific elements that should not be inverted */ .no-dark-mode, .no-dark-mode *, [data-theme="light"], [data-theme="light"], .ace_editor, .ace_editor *, .CodeMirror, .CodeMirror *, .monaco-editor, .monaco-editor *, .markdown-body pre, .markdown-body pre *, .highlight, .highlight *, pre code, pre code * { filter: none !important; } /* Fix common UI elements */ .modal, .popup, .dropdown-menu, .tooltip, .popover { filter: invert(1) hue-rotate(180deg) !important; background: #2d2d44 !important; border-color: #444 !important; } /* Scrollbars */ ::-webkit-scrollbar { background: #1a1a2e !important; } ::-webkit-scrollbar-thumb { background: #444 !important; } ::-webkit-scrollbar-thumb:hover { background: #555 !important; } /* Selection */ ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; } ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; } '; } function removeDarkMode() { var style = document.getElementById('universal-dark-mode-style'); if (style) style.remove(); } // Toggle with Alt+Shift+D document.addEventListener('keydown', function(e) { if (e.altKey && e.shiftKey && e.key === 'D') { e.preventDefault(); enabled = !enabled; if (enabled) { applyDarkMode(); console.log('[Universal Dark Mode] Enabled'); } else { removeDarkMode(); console.log('[Universal Dark Mode] Disabled'); } } }); // Apply on load applyDarkMode(); // Re-apply on dynamic content var observer = new MutationObserver(function(mutations) { if (enabled && !document.getElementById('universal-dark-mode-style')) { applyDarkMode(); } }); observer.observe(document.head, { childList: true }); console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle'); })(); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

Fix flaky streamer test ENOENT when chunks directory does not exist yet - #1330

Merged
TooTallNate merged 2 commits into
mainfrom
fix/streamer-test-enoent
Mar 12, 2026
Merged

Fix flaky streamer test ENOENT when chunks directory does not exist yet#1330
TooTallNate merged 2 commits into
mainfrom
fix/streamer-test-enoent

Conversation

@TooTallNate

@TooTallNateTooTallNate commented Mar 11, 2026

Copy link
Copy Markdown
Member

Summary

Fixes two issues causing the streamer race condition test to fail on Windows CI (run):

  • ENOENT in onTestFinished debug callback: When the test fails before any chunks are written, the streams/chunks directory doesn't exist yet. The readdir call in the debug dump now catches ENOENT and falls back to an empty array instead of throwing a secondary error that masks the real failure.

  • Test timeout (20s) on slow Windows CI: The race condition test ran 10 iterations, each creating a fresh temp directory and streamer. With per-chunk I/O latency of ~100-200ms on Windows CI runners, 10 iterations took ~22s, exceeding the 20s timeout. Reduced to 3 iterations which still provides race condition coverage while fitting comfortably within the timeout.

@TooTallNate
TooTallNate requested a review from a team as a code ownerMarch 11, 2026 19:09
CopilotAI review requested due to automatic review settings March 11, 2026 19:09
@github-actions

github-actionsBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.025s (-21.6% 🟢)1.005s (~)0.980s101.00x
💻 LocalNitro0.034s (+3.4%)1.006s (~)0.973s101.33x
🐘 PostgresExpress0.040s (-21.5% 🟢)1.011s (~)0.971s101.58x
💻 LocalNext.js (Turbopack)0.042s1.006s0.964s101.63x
🌐 RedisNext.js (Turbopack)0.048s1.005s0.957s101.87x
🐘 PostgresNext.js (Turbopack)0.049s1.011s0.963s101.92x
🐘 PostgresNitro0.051s (-7.2% 🟢)1.011s (~)0.961s101.99x
🌐 MongoDBNext.js (Turbopack)0.094s1.008s0.914s103.69x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.392s (-39.4% 🟢)2.210s (-17.2% 🟢)1.818s101.00x
▲ VercelNext.js (Turbopack)0.471s (-19.1% 🟢)2.229s (-18.3% 🟢)1.759s101.20x
▲ VercelNitro0.487s (-20.1% 🟢)2.451s (-18.4% 🟢)1.964s101.24x

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

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.072s (-2.9%)2.005s (~)0.933s101.00x
🐘 PostgresExpress1.092s (-2.4%)2.012s (~)0.920s101.02x
🌐 RedisNext.js (Turbopack)1.103s2.006s0.903s101.03x
💻 LocalNitro1.105s (~)2.006s (~)0.901s101.03x
💻 LocalNext.js (Turbopack)1.111s2.006s0.894s101.04x
🐘 PostgresNext.js (Turbopack)1.130s2.013s0.883s101.05x
🐘 PostgresNitro1.135s (+0.8%)2.012s (~)0.878s101.06x
🌐 MongoDBNext.js (Turbopack)1.314s2.009s0.695s101.23x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.134s (+3.9%)3.613s (-1.0%)1.479s101.00x
▲ VercelNitro2.144s (+3.3%)3.604s (-4.4%)1.460s101.00x
▲ VercelExpress2.148s (+8.6% 🔺)3.438s (-4.7%)1.291s101.01x

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

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.509s (-2.6%)11.024s (~)0.515s31.00x
🐘 PostgresExpress10.556s (-2.3%)11.037s (~)0.481s31.00x
🌐 RedisNext.js (Turbopack)10.665s11.022s0.357s31.01x
💻 LocalNext.js (Turbopack)10.667s11.023s0.356s31.02x
💻 LocalNitro10.786s (~)11.023s (~)0.237s31.03x
🐘 PostgresNext.js (Turbopack)10.844s11.040s0.195s31.03x
🐘 PostgresNitro10.893s (+0.8%)11.041s (~)0.148s31.04x
🌐 MongoDBNext.js (Turbopack)12.184s13.018s0.834s31.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro18.147s (~)20.187s (-4.7%)2.040s21.00x
▲ VercelNext.js (Turbopack)22.567s (+31.9% 🔺)24.022s (+28.7% 🔺)1.454s21.24x
▲ VercelExpress23.073s (+34.0% 🔺)25.153s (+33.5% 🔺)2.080s21.27x

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

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express26.389s (-2.2%)27.058s (-1.2%)0.668s31.00x
💻 LocalExpress26.548s (-2.5%)27.055s (-3.6%)0.507s31.01x
🌐 RedisNext.js (Turbopack)26.552s27.052s0.500s31.01x
🐘 PostgresNext.js (Turbopack)26.860s27.073s0.214s31.02x
💻 LocalNext.js (Turbopack)26.882s27.049s0.167s31.02x
🐘 PostgresNitro26.934s (~)27.060s (~)0.125s31.02x
💻 LocalNitro27.210s (~)28.051s (~)0.841s31.03x
🌐 MongoDBNext.js (Turbopack)30.514s31.042s0.528s21.16x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro44.405s (+2.6%)46.320s (+3.4%)1.915s21.00x
▲ VercelNext.js (Turbopack)47.063s (+9.4% 🔺)48.654s (+8.0% 🔺)1.591s21.06x
▲ VercelExpress47.258s (+7.8% 🔺)48.539s (+5.3% 🔺)1.281s21.06x

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

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express52.764s (-2.0%)53.091s (-1.9%)0.327s21.00x
🌐 RedisNext.js (Turbopack)53.064s53.593s0.529s21.01x
🐘 PostgresNext.js (Turbopack)53.776s54.111s0.336s21.02x
🐘 PostgresNitro53.781s (~)54.106s (~)0.326s21.02x
💻 LocalExpress54.690s (-2.6%)55.102s (-3.5%)0.412s21.04x
💻 LocalNext.js (Turbopack)55.401s56.100s0.699s21.05x
💻 LocalNitro56.041s (~)56.099s (~)0.059s21.06x
🌐 MongoDBNext.js (Turbopack)60.860s61.070s0.210s21.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express94.711s (-3.3%)95.799s (-4.3%)1.088s11.00x
▲ VercelNext.js (Turbopack)96.584s (+2.8%)98.583s (+3.6%)1.999s11.02x
▲ VercelNitro98.906s (+3.6%)101.052s (+4.1%)2.146s11.04x

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

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.273s (-6.1% 🟢)2.011s (~)0.737s151.00x
🌐 RedisNext.js (Turbopack)1.276s2.006s0.730s151.00x
🐘 PostgresNitro1.356s (-2.2%)2.011s (~)0.655s151.06x
💻 LocalExpress1.366s (-2.8%)2.006s (~)0.640s151.07x
🐘 PostgresNext.js (Turbopack)1.393s2.011s0.618s151.09x
💻 LocalNext.js (Turbopack)1.419s2.006s0.587s151.11x
💻 LocalNitro1.421s (~)2.005s (~)0.584s151.12x
🌐 MongoDBNext.js (Turbopack)2.181s3.009s0.828s101.71x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.225s (-6.7% 🟢)3.775s (-2.1%)1.550s81.00x
▲ VercelNext.js (Turbopack)2.415s (-9.8% 🟢)3.700s (-13.8% 🟢)1.285s91.09x
▲ VercelExpress2.701s (+17.5% 🔺)3.804s (-4.8%)1.104s81.21x

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

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.774s (-28.0% 🟢)2.227s (-26.1% 🟢)0.453s141.00x
🐘 PostgresNext.js (Turbopack)2.072s2.599s0.527s121.17x
🐘 PostgresNitro2.119s (-14.2% 🟢)2.514s (-16.5% 🟢)0.395s121.19x
💻 LocalExpress2.327s (-11.1% 🟢)3.008s (~)0.680s101.31x
🌐 RedisNext.js (Turbopack)2.485s3.008s0.523s101.40x
💻 LocalNext.js (Turbopack)2.512s2.917s0.405s111.42x
💻 LocalNitro2.648s (+1.1%)3.008s (~)0.360s101.49x
🌐 MongoDBNext.js (Turbopack)4.685s5.176s0.491s62.64x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.276s (-18.0% 🟢)3.650s (-14.2% 🟢)1.373s91.00x
▲ VercelExpress2.479s (-14.1% 🟢)3.494s (-19.2% 🟢)1.015s91.09x
▲ VercelNext.js (Turbopack)2.950s (+22.4% 🔺)4.161s (+7.4% 🔺)1.211s81.30x

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

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.762s (-29.7% 🟢)3.462s (-22.2% 🟢)0.700s91.00x
🐘 PostgresNext.js (Turbopack)3.670s4.451s0.781s71.33x
🐘 PostgresNitro3.713s (-7.4% 🟢)4.148s (-6.7% 🟢)0.435s81.34x
🌐 RedisNext.js (Turbopack)4.039s4.581s0.542s71.46x
💻 LocalExpress6.559s (-14.1% 🟢)7.014s (-12.6% 🟢)0.455s52.37x
💻 LocalNext.js (Turbopack)6.991s7.515s0.524s42.53x
💻 LocalNitro7.516s (+1.6%)8.020s (~)0.504s42.72x
🌐 MongoDBNext.js (Turbopack)9.759s10.350s0.591s33.53x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express3.026s (+3.1%)4.131s (-8.6% 🟢)1.105s81.00x
▲ VercelNext.js (Turbopack)3.045s (+3.5%)4.379s (-5.7% 🟢)1.334s71.01x
▲ VercelNitro3.181s (+5.0%)4.621s (~)1.440s71.05x

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

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Redis🥇 Next.js (Turbopack)1.229s2.006s0.777s151.00x
🐘 PostgresExpress1.278s (-8.0% 🟢)2.011s (~)0.733s151.04x
🐘 PostgresNitro1.363s (+3.1%)2.011s (~)0.648s151.11x
🐘 PostgresNext.js (Turbopack)1.392s2.012s0.620s151.13x
💻 LocalNitro1.413s (-1.2%)2.005s (~)0.591s151.15x
💻 LocalExpress1.429s (-0.9%)2.005s (~)0.576s151.16x
💻 LocalNext.js (Turbopack)1.457s2.006s0.549s151.19x
🌐 MongoDBNext.js (Turbopack)2.188s3.008s0.820s101.78x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express2.119s (-14.1% 🟢)3.308s (-18.5% 🟢)1.189s101.00x
▲ VercelNext.js (Turbopack)2.237s (+3.6%)3.598s (-1.8%)1.361s91.06x
▲ VercelNitro2.329s (+9.3% 🔺)3.918s (+3.0%)1.589s81.10x

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

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.747s (-29.4% 🟢)2.157s (-28.4% 🟢)0.410s141.00x
🐘 PostgresNext.js (Turbopack)2.012s2.597s0.585s121.15x
🐘 PostgresNitro2.072s (-16.1% 🟢)2.600s (-13.7% 🟢)0.528s121.19x
💻 LocalExpress2.435s (-11.7% 🟢)3.008s (~)0.572s101.39x
🌐 RedisNext.js (Turbopack)2.493s3.008s0.515s101.43x
💻 LocalNitro2.712s (-1.1%)3.008s (~)0.296s101.55x
💻 LocalNext.js (Turbopack)2.743s3.008s0.265s101.57x
🌐 MongoDBNext.js (Turbopack)4.729s5.177s0.448s62.71x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.304s (-16.6% 🟢)3.755s (-16.2% 🟢)1.451s81.00x
▲ VercelExpress2.376s (+1.5%)3.392s (-15.7% 🟢)1.016s91.03x
▲ VercelNext.js (Turbopack)5.117s (+113.3% 🔺)6.437s (+71.1% 🔺)1.320s52.22x

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

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.905s (-27.0% 🟢)3.683s (-17.1% 🟢)0.778s91.00x
🐘 PostgresNitro3.505s (-12.9% 🟢)4.307s (-6.1% 🟢)0.803s71.21x
🐘 PostgresNext.js (Turbopack)3.666s4.452s0.786s71.26x
🌐 RedisNext.js (Turbopack)4.082s4.725s0.643s71.41x
💻 LocalExpress7.037s (-15.1% 🟢)7.767s (-13.9% 🟢)0.730s42.42x
💻 LocalNext.js (Turbopack)7.053s7.516s0.463s42.43x
💻 LocalNitro8.012s (+1.2%)8.524s (~)0.512s42.76x
🌐 MongoDBNext.js (Turbopack)9.957s10.686s0.729s33.43x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.865s (-4.4%)4.189s (-5.2% 🟢)1.324s81.00x
▲ VercelNext.js (Turbopack)4.805s (+61.9% 🔺)6.199s (+47.8% 🔺)1.394s51.68x
▲ VercelExpress5.760s (+83.7% 🔺)6.911s (+52.7% 🔺)1.150s52.01x

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

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.113s (-33.7% 🟢)1.003s (~)0.011s (-5.2% 🟢)1.017s (~)0.904s101.00x
🐘 PostgresExpress0.131s (-29.9% 🟢)1.000s (+0.6%)0.002s (+7.1% 🔺)1.012s (~)0.881s101.16x
💻 LocalNext.js (Turbopack)0.140s1.002s0.011s1.017s0.877s101.23x
🌐 RedisNext.js (Turbopack)0.142s1.000s0.002s1.007s0.865s101.26x
💻 LocalNitro0.171s (+1.2%)1.002s (~)0.012s (+2.7%)1.017s (~)0.846s101.51x
🐘 PostgresNitro0.184s (+2.2%)0.994s (~)0.002s (+6.2% 🔺)1.012s (~)0.828s101.63x
🐘 PostgresNext.js (Turbopack)0.185s1.001s0.002s1.014s0.829s101.64x
🌐 MongoDBNext.js (Turbopack)0.495s0.950s0.002s1.009s0.514s104.38x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.630s (+1.7%)2.353s (+2.8%)0.406s (+8548.9% 🔺)3.414s (+19.0% 🔺)1.784s101.00x
▲ VercelExpress1.739s (+8.9% 🔺)2.691s (+2.3%)0.005s (+4.3%)3.168s (-0.6%)1.429s101.07x
▲ VercelNext.js (Turbopack)1.739s (+5.5% 🔺)2.704s (+15.6% 🔺)0.005s (-12.7% 🟢)3.311s (+13.6% 🔺)1.572s101.07x

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

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress11/12
🐘 PostgresExpress12/12
▲ VercelNitro7/12
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres8/12
Next.js (Turbopack)🌐 Redis6/12
Nitro🐘 Postgres6/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

@vercel

vercelBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production571067638
✅ 💻 Local Development612084696
✅ 📦 Local Production612084696
✅ 🐘 Local Postgres612084696
✅ 🪟 Windows550358
❌ 🌍 Community Worlds1185615189
✅ 📋 Other147027174
Total2727563643147

❌ 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
AppPassedFailedSkipped
✅ astro5107
✅ example5107
✅ express5107
✅ fastify5107
✅ hono5107
✅ nextjs-turbopack5602
✅ nextjs-webpack5602
✅ nitro5107
✅ nuxt5107
✅ sveltekit5107
✅ vite5107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable4909
✅ express-stable4909
✅ fastify-stable4909
✅ hono-stable4909
✅ nextjs-turbopack-canary5503
✅ nextjs-turbopack-stable5503
✅ nextjs-webpack-canary5503
✅ nextjs-webpack-stable5503
✅ nitro-stable4909
✅ nuxt-stable4909
✅ sveltekit-stable4909
✅ vite-stable4909
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack5503
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev302
❌ mongodb5233
✅ redis-dev302
❌ redis5323
✅ turso-dev302
❌ turso4513
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable4909
✅ e2e-local-postgres-nest-stable4909
✅ e2e-local-prod-nest-stable4909

📋 View full workflow run

@changeset-bot

changeset-botBot commented Mar 11, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a24fe94

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

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR hardens the streamer test failure-debugging path to avoid flaking when the chunks directory hasn’t been created yet (notably on Windows CI).

Changes:

  • Add a guarded readdir around streams/chunks in the onTestFinished failure branch.
  • Reuse a chunksPath variable when reading chunk files for debug output.

💡 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 +98 to +102
const chunksPath = `${testDir}/streams/chunks`;
let files: string[];
try {
files = await fs.readdir(chunksPath);
} catch {

CopilotAIMar 11, 2026

Copy link

Choose a reason for hiding this comment

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

The broad catch { files = [] } will also hide unexpected errors (e.g., EACCES/corrupted temp dir) and can make failures harder to diagnose. Consider catching the error, only treating ENOENT as an empty directory, and rethrowing anything else. Also, since this is Windows-flake related and the rest of the file uses path.join, building chunksPath via path.join(testDir, 'streams', 'chunks') would be more consistent and robust.

Copilot uses AI. Check for mistakes.
@TooTallNate
TooTallNate enabled auto-merge (squash) March 12, 2026 09:38
@TooTallNate
TooTallNate merged commit 7f26695 into mainMar 12, 2026
178 of 183 checks passed
@TooTallNate
TooTallNate deleted the fix/streamer-test-enoent branch March 12, 2026 09:46
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 freeto 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

@TooTallNate@VaguelySerious