Skip to content

fix(next): skip eager workflow discovery in deferred mode with explicit dirs#1585

Draft
ijjk wants to merge 23 commits intomainfrom
cursor/workflow-discovery-deferred-build-2820
Draft

fix(next): skip eager workflow discovery in deferred mode with explicit dirs#1585
ijjk wants to merge 23 commits intomainfrom
cursor/workflow-discovery-deferred-build-2820

Conversation

@ijjk
Copy link
Copy Markdown
Member

@ijjk ijjk commented Apr 1, 2026

Problem

Workflow discovery was happening on every build in deferred mode, even in dev mode with an existing cache. This defeats the optimization purpose of deferred mode.

Root Cause

The deferred builder was calling loadDiscoveredEntriesFromInputGraph() unconditionally during initialization, performing eager discovery on every build regardless of context.

Solution

Made discovery conditional based on build context:

Skip discovery when:

  • Dev mode (watch: true) AND cache exists
  • Socket notifications handle discovery in this case

Perform discovery when:

  • Production builds (always) - socket notifications don't trigger rebuilds in production
  • First dev build (no cache) - needed to bootstrap the system

Additional fixes:

  • Allow @workflow/* packages in tracked dependency discovery (both extractBundleSourceFiles and shouldSkipTransitiveStepFile)
  • Add @workflow/ai to transpilePackages so loader processes it (optional dependency, Next.js handles gracefully if not installed)
  • Add "workflow" export condition to @workflow/ai/agent (points to same dist file as default - forward compatibility for potential future workflow-specific builds)

Changes

  • packages/next/src/builder-deferred.ts: Conditional discovery based on watch mode and cache, consistent @workflow package filtering
  • packages/next/src/index.ts: Add @workflow/ai to transpilePackages with explanatory comment
  • packages/ai/package.json: Added workflow export condition
  • packages/next/src/builder-deferred.test.ts: Mocked tests avoiding dynamic import issues
  • Updated comments explaining the behavior

Impact

This provides the optimization for the common dev workflow:

  • ✅ First dev build: Discovery runs once to bootstrap
  • ✅ Subsequent dev builds: No discovery, uses cache + socket notifications
  • ✅ Production builds: Discovery runs (required because socket rebuilds don't work)
  • ✅ Significantly reduces discovery overhead in dev mode after first build

Related

  • Optimizes deferred mode for development workflow
  • Maintains compatibility with production builds
  • Fixes DurableAgent E2E tests

Slack Thread

Open in Web Open in Cursor 

…re explicit

In deferred build mode, workflow discovery should only happen through:
1. Cache from previous builds
2. Loader socket notifications when Next.js loads files

When users specify explicit workflow directories (workflows.dirs option),
the dirsAreEntrypoints flag is false, indicating these are actual workflow
directories, not entrypoints to trace from.

Previously, loadDiscoveredEntriesFromInputGraph() was always called during
initialization, performing eager discovery that defeats the purpose of both:
- Deferred mode (which should discover on-demand)
- The workflows.dirs optimization (which avoids scanning the entire app)

This fix conditionally skips eager discovery when dirsAreEntrypoints is false,
allowing deferred mode to work as intended with explicit workflow directories.
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 1, 2026

🦋 Changeset detected

Latest commit: 9e7015b

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

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

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 1, 2026

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

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment Apr 3, 2026 10:19pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment Apr 3, 2026 10:19pm
example-workflow Ready Ready Preview, Comment Apr 3, 2026 10:19pm
workbench-astro-workflow Ready Ready Preview, Comment Apr 3, 2026 10:19pm
workbench-express-workflow Ready Ready Preview, Comment Apr 3, 2026 10:19pm
workbench-fastify-workflow Ready Ready Preview, Comment Apr 3, 2026 10:19pm
workbench-hono-workflow Ready Ready Preview, Comment Apr 3, 2026 10:19pm
workbench-nitro-workflow Ready Ready Preview, Comment Apr 3, 2026 10:19pm
workbench-nuxt-workflow Ready Ready Preview, Comment Apr 3, 2026 10:19pm
workbench-sveltekit-workflow Ready Ready Preview, Comment Apr 3, 2026 10:19pm
workbench-vite-workflow Ready Ready Preview, Comment Apr 3, 2026 10:19pm
workflow-docs Ready Ready Preview, Comment, Open in v0 Apr 3, 2026 10:19pm
workflow-swc-playground Ready Ready Preview, Comment Apr 3, 2026 10:19pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 0.043s (-17.2% 🟢) 1.006s (~) 0.963s 10 1.00x
💻 Local Express 0.044s (+1.4%) 1.006s (~) 0.963s 10 1.02x
💻 Local Next.js (Turbopack) 0.051s 1.006s 0.955s 10 1.19x
🐘 Postgres Next.js (Turbopack) 0.053s 1.012s 0.959s 10 1.23x
🌐 Redis Next.js (Turbopack) 0.054s 1.005s 0.951s 10 1.27x
🐘 Postgres Express 0.060s (-9.3% 🟢) 1.012s (~) 0.952s 10 1.41x
🐘 Postgres Nitro 0.061s (+5.6% 🔺) 1.011s (~) 0.951s 10 1.42x
🌐 MongoDB Next.js (Turbopack) 0.103s 1.008s 0.905s 10 2.41x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 0.395s (-22.9% 🟢) 2.053s (-26.4% 🟢) 1.658s 10 1.00x
▲ Vercel Next.js (Turbopack) 0.523s (-18.6% 🟢) 2.416s (-1.0%) 1.893s 10 1.32x
▲ Vercel Express ⚠️ missing - - - -

🔍 Observability: Nitro | Next.js (Turbopack)

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 1.127s (-1.3%) 2.006s (~) 0.879s 10 1.00x
💻 Local Express 1.133s (~) 2.006s (~) 0.873s 10 1.01x
🐘 Postgres Express 1.141s (~) 2.011s (~) 0.870s 10 1.01x
🐘 Postgres Nitro 1.158s (+0.6%) 2.012s (~) 0.855s 10 1.03x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.030s (-3.3%) 3.400s (-12.8% 🟢) 1.370s 10 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 10.828s (~) 11.021s (~) 0.193s 3 1.00x
💻 Local Express 10.927s (~) 11.023s (~) 0.096s 3 1.01x
🐘 Postgres Nitro 10.931s (~) 11.025s (~) 0.094s 3 1.01x
💻 Local Nitro 10.934s (-0.7%) 11.023s (-2.9%) 0.090s 3 1.01x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 16.773s (-9.3% 🟢) 18.047s (-10.8% 🟢) 1.274s 2 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 14.563s (~) 15.023s (~) 0.460s 4 1.00x
🐘 Postgres Nitro 14.595s (+0.6%) 15.024s (~) 0.429s 4 1.00x
💻 Local Nitro 14.920s (-1.9%) 15.030s (-6.3% 🟢) 0.110s 4 1.02x
💻 Local Express 14.976s (~) 15.030s (~) 0.054s 4 1.03x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 30.794s (-11.9% 🟢) 31.794s (-14.2% 🟢) 1.000s 2 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 13.905s (-0.9%) 14.165s (-2.0%) 0.260s 7 1.00x
🐘 Postgres Nitro 14.094s (+0.6%) 14.453s (-1.0%) 0.359s 7 1.01x
💻 Local Express 16.629s (~) 17.030s (~) 0.401s 6 1.20x
💻 Local Nitro 16.668s (-2.9%) 17.031s (-5.6% 🟢) 0.363s 6 1.20x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 50.371s (-10.8% 🟢) 51.922s (-11.3% 🟢) 1.550s 2 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.264s (~) 2.009s (~) 0.745s 15 1.00x
🐘 Postgres Nitro 1.270s (+0.8%) 2.010s (~) 0.740s 15 1.00x
💻 Local Express 1.528s (-0.8%) 2.006s (~) 0.478s 15 1.21x
💻 Local Nitro 1.531s (-2.3%) 2.006s (~) 0.475s 15 1.21x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.666s (+4.6%) 3.997s (-5.0%) 1.331s 8 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 2.334s (~) 3.011s (~) 0.676s 10 1.00x
🐘 Postgres Nitro 2.360s (+1.5%) 3.012s (~) 0.652s 10 1.01x
💻 Local Nitro 2.953s (-5.3% 🟢) 3.676s (-5.4% 🟢) 0.723s 9 1.26x
💻 Local Express 3.077s (-1.1%) 3.885s (-3.1%) 0.809s 8 1.32x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.075s (+7.7% 🔺) 4.478s (+1.5%) 1.402s 8 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 3.491s (+0.6%) 4.011s (~) 0.520s 8 1.00x
🐘 Postgres Nitro 3.532s (+1.7%) 4.013s (~) 0.481s 8 1.01x
💻 Local Express 8.235s (+1.1%) 9.023s (~) 0.788s 4 2.36x
💻 Local Nitro 8.252s (-1.5%) 9.023s (~) 0.770s 4 2.36x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.362s (-2.0%) 4.938s (-5.0%) 1.576s 7 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.277s (+1.1%) 2.009s (~) 0.732s 15 1.00x
🐘 Postgres Nitro 1.283s (+2.0%) 2.009s (~) 0.726s 15 1.00x
💻 Local Nitro 1.517s (-3.1%) 2.006s (~) 0.489s 15 1.19x
💻 Local Express 1.547s (~) 2.007s (~) 0.460s 15 1.21x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.227s (-12.0% 🟢) 3.654s (-15.8% 🟢) 1.428s 9 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 2.350s (+1.1%) 3.012s (~) 0.662s 10 1.00x
🐘 Postgres Express 2.354s (~) 3.012s (~) 0.658s 10 1.00x
💻 Local Nitro 2.965s (-7.7% 🟢) 3.677s (-5.4% 🟢) 0.711s 9 1.26x
💻 Local Express 3.036s (-2.4%) 3.885s (~) 0.848s 8 1.29x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.339s (-37.5% 🟢) 3.518s (-35.0% 🟢) 1.178s 9 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 3.476s (~) 4.013s (~) 0.537s 8 1.00x
🐘 Postgres Nitro 3.501s (+1.2%) 4.013s (~) 0.512s 8 1.01x
💻 Local Express 8.774s (-2.6%) 9.026s (-5.3% 🟢) 0.251s 4 2.52x
💻 Local Nitro 8.783s (-1.8%) 9.270s (~) 0.487s 4 2.53x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.970s (-7.5% 🟢) 4.510s (-8.3% 🟢) 1.540s 7 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 0.841s (-1.2%) 1.007s (~) 0.166s 60 1.00x
🐘 Postgres Nitro 0.847s (+2.4%) 1.007s (~) 0.161s 60 1.01x
💻 Local Nitro 0.972s (-5.2% 🟢) 1.039s (-45.7% 🟢) 0.067s 58 1.16x
💻 Local Express 0.990s (-0.9%) 1.201s (-15.7% 🟢) 0.211s 51 1.18x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 9.068s (-6.4% 🟢) 10.610s (-6.4% 🟢) 1.543s 6 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 2.042s (+0.9%) 2.913s (+8.5% 🔺) 0.872s 31 1.00x
🐘 Postgres Nitro 2.071s (+5.5% 🔺) 2.913s (+35.4% 🔺) 0.842s 31 1.01x
💻 Local Express 3.018s (~) 3.453s (-4.3%) 0.434s 27 1.48x
💻 Local Nitro 3.021s (-2.2%) 3.609s (-10.0% 🟢) 0.589s 25 1.48x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 26.849s (-11.2% 🟢) 28.219s (-11.7% 🟢) 1.371s 4 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 4.169s (+2.8%) 4.973s (+4.0%) 0.803s 25 1.00x
🐘 Postgres Nitro 4.209s (+4.7%) 5.013s (+10.7% 🔺) 0.803s 24 1.01x
💻 Local Express 9.149s (~) 9.788s (+1.6%) 0.639s 13 2.19x
💻 Local Nitro 9.199s (-2.3%) 9.942s (-0.8%) 0.743s 13 2.21x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 71.114s (-11.5% 🟢) 72.197s (-12.2% 🟢) 1.084s 2 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 0.287s (+3.1%) 1.008s (~) 0.721s 60 1.00x
🐘 Postgres Nitro 0.290s (+6.2% 🔺) 1.008s (~) 0.718s 60 1.01x
💻 Local Express 0.591s (+1.7%) 1.005s (~) 0.414s 60 2.06x
💻 Local Nitro 0.595s (-12.8% 🟢) 1.005s (-3.4%) 0.409s 60 2.07x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 1.638s (-7.2% 🟢) 2.904s (-22.6% 🟢) 1.267s 21 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 0.492s (-1.2%) 1.008s (~) 0.516s 90 1.00x
🐘 Postgres Nitro 0.512s (+4.7%) 1.008s (~) 0.496s 90 1.04x
💻 Local Nitro 2.544s (~) 3.009s (~) 0.465s 30 5.17x
💻 Local Express 2.574s (+0.8%) 3.009s (~) 0.435s 30 5.23x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.114s (-7.1% 🟢) 4.539s (-10.3% 🟢) 1.426s 20 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 0.800s (+1.0%) 1.009s (~) 0.209s 119 1.00x
🐘 Postgres Nitro 0.815s (+5.4% 🔺) 1.010s (~) 0.195s 119 1.02x
💻 Local Nitro 11.177s (-1.5%) 11.846s (-0.8%) 0.669s 11 13.97x
💻 Local Express 11.198s (~) 11.848s (-0.8%) 0.650s 11 14.00x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 6.480s (-29.3% 🟢) 7.667s (-29.3% 🟢) 1.187s 16 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 0.201s (-7.7% 🟢) 1.003s (~) 0.012s (+7.2% 🔺) 1.018s (~) 0.817s 10 1.00x
🐘 Postgres Express 0.202s (-1.0%) 0.994s (~) 0.002s (+21.4% 🔺) 1.011s (~) 0.809s 10 1.01x
🐘 Postgres Nitro 0.205s (-1.7%) 0.996s (~) 0.001s (-13.3% 🟢) 1.010s (~) 0.805s 10 1.02x
💻 Local Express 0.207s (+1.8%) 1.003s (~) 0.012s (-1.7%) 1.018s (~) 0.811s 10 1.03x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 1.574s (-11.6% 🟢) 2.474s (-15.1% 🟢) 0.739s (+38.3% 🔺) 3.701s (-10.2% 🟢) 2.127s 10 1.00x
▲ Vercel Express ⚠️ missing - - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - - -

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 0.624s (+1.2%) 1.004s (~) 0.004s (-3.0%) 1.023s (~) 0.399s 59 1.00x
🐘 Postgres Nitro 0.638s (+5.6% 🔺) 1.004s (~) 0.004s (+1.7%) 1.024s (~) 0.387s 59 1.02x
💻 Local Nitro 0.727s (-4.4%) 1.010s (~) 0.008s (-20.2% 🟢) 1.021s (~) 0.295s 59 1.16x
💻 Local Express 0.735s (+1.5%) 1.010s (~) 0.010s (+20.4% 🔺) 1.024s (~) 0.289s 59 1.18x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.978s (-25.2% 🟢) 5.041s (-23.7% 🟢) 0.203s (-65.1% 🟢) 5.686s (-27.6% 🟢) 1.708s 11 1.00x
▲ Vercel Express ⚠️ missing - - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - - -

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.948s (-2.8%) 1.125s (-3.3%) 0.000s (+145.3% 🔺) 1.145s (-3.6%) 0.197s 53 1.00x
🐘 Postgres Express 0.954s (-2.4%) 1.170s (-2.3%) 0.000s (+Infinity% 🔺) 1.195s (-3.4%) 0.241s 51 1.01x
💻 Local Nitro 1.251s (-3.4%) 2.021s (~) 0.000s (+27.3% 🔺) 2.023s (~) 0.772s 30 1.32x
💻 Local Express 1.253s (~) 2.022s (~) 0.000s (+50.0% 🔺) 2.025s (~) 0.772s 30 1.32x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.643s (-8.4% 🟢) 3.479s (-12.3% 🟢) 0.000s (-59.4% 🟢) 4.010s (-13.3% 🟢) 1.367s 16 1.00x
▲ Vercel Express ⚠️ missing - - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - - -

🔍 Observability: Nitro

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

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.812s (+3.5%) 2.057s (~) 0.000s (NaN%) 2.133s (+1.4%) 0.321s 29 1.00x
🐘 Postgres Nitro 1.882s (+9.8% 🔺) 2.257s (+7.5% 🔺) 0.000s (-100.0% 🟢) 2.271s (+7.5% 🔺) 0.389s 27 1.04x
💻 Local Nitro 3.404s (-8.9% 🟢) 4.031s (-4.9%) 0.001s (-27.3% 🟢) 4.034s (-4.9%) 0.631s 15 1.88x
💻 Local Express 3.586s (-1.0%) 4.166s (+1.7%) 0.000s (-14.3% 🟢) 4.169s (+1.6%) 0.583s 15 1.98x
🌐 MongoDB Next.js (Turbopack) ⚠️ missing - - - - -
🌐 Redis Next.js (Turbopack) ⚠️ missing - - - - -
💻 Local Next.js (Turbopack) ⚠️ missing - - - - -
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.459s (-17.2% 🟢) 4.291s (-20.2% 🟢) 0.000s (+Infinity% 🔺) 4.748s (-21.3% 🟢) 1.289s 13 1.00x
▲ Vercel Express ⚠️ missing - - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - - -

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World 🥇 Fastest Framework Wins
💻 Local Nitro 13/21
🐘 Postgres Express 18/21
▲ Vercel Nitro 21/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework 🥇 Fastest World Wins
Express 🐘 Postgres 19/21
Next.js (Turbopack) 💻 Local 1/1
Nitro 🐘 Postgres 15/21
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run


Some benchmark jobs failed:

  • Local: success
  • Postgres: success
  • Vercel: failure

Check the workflow run for details.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
❌ ▲ Vercel Production 791 66 67 924
✅ 💻 Local Development 695 0 145 840
❌ 📦 Local Production 737 93 178 1008
❌ 🐘 Local Postgres 737 93 178 1008
❌ 🪟 Windows 21 55 8 84
❌ 🌍 Community Worlds 54 141 24 219
✅ 📋 Other 210 0 42 252
Total 3245 448 642 4335

❌ Failed Tests

▲ Vercel Production (66 failed)

astro (1 failed):

express (1 failed):

  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream

fastify (1 failed):

  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KNAQ0FVDGH6P7401M8XCZW64 | 🔍 observability

hono (1 failed):

  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KNAQ0FVDGH6P7401M8XCZW64 | 🔍 observability

nextjs-turbopack (61 failed):

  • DurableAgent e2e core basic text response
  • DurableAgent e2e core single tool call
  • DurableAgent e2e core multiple sequential tool calls
  • DurableAgent e2e core tool error recovery
  • DurableAgent e2e onStepFinish fires constructor + stream callbacks in order with step data
  • DurableAgent e2e onFinish fires constructor + stream callbacks in order with event data
  • DurableAgent e2e instructions string instructions are passed to the model
  • DurableAgent e2e timeout completes within timeout
  • DurableAgent e2e experimental_onStart (GAP) completes but callbacks are not called (GAP)
  • DurableAgent e2e experimental_onStepStart (GAP) completes but callbacks are not called (GAP)
  • DurableAgent e2e experimental_onToolCallStart (GAP) completes but callbacks are not called (GAP)
  • DurableAgent e2e experimental_onToolCallFinish (GAP) completes but callbacks are not called (GAP)
  • DurableAgent e2e prepareCall (GAP) completes but prepareCall is not applied (GAP)
  • DurableAgent e2e prepareStep on constructor agent-level prepareStep is called for each LLM step
  • DurableAgent e2e prepareStep on constructor stream-level prepareStep overrides constructor-level
  • DurableAgent e2e multimodal tool results passes through LanguageModelV3ToolResultOutput from tools
  • DurableAgent e2e tool approval (GAP) completes but needsApproval is not checked (GAP)
  • addTenWorkflow | wrun_01KNAPW159NPDAKBXDHSDZPDX1 | 🔍 observability
  • addTenWorkflow | wrun_01KNAPW159NPDAKBXDHSDZPDX1 | 🔍 observability
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNAPXFGM0SR8DCVF7ZJW4GBT | 🔍 observability
  • promiseAllWorkflow | wrun_01KNAPW85BDF1HJZN19MBC3VNZ | 🔍 observability
  • promiseRaceWorkflow | wrun_01KNAPWBSXFJM2CM0W8JEDY900 | 🔍 observability
  • promiseAnyWorkflow | wrun_01KNAPWE84PHQPWPSQPC7DD99M | 🔍 observability
  • importedStepOnlyWorkflow | wrun_01KNAPXS510T3CQMZ2PD5VPJ90 | 🔍 observability
  • readableStreamWorkflow | wrun_01KNAPWGGZ8Q6RVJWGN40YHAKT | 🔍 observability
  • webhookWorkflow | wrun_01KNAPXET3PQQKNR87Y2TWN0BC | 🔍 observability
  • nullByteWorkflow | wrun_01KNAPY634ZCXMDZK8ATSM2DA6 | 🔍 observability
  • workflowAndStepMetadataWorkflow | wrun_01KNAPY8KBNRBDW8TYS9SSX3D2 | 🔍 observability
  • outputStreamWorkflow no startIndex (reads all chunks)
  • outputStreamWorkflow positive startIndex (skips first chunk)
  • outputStreamWorkflow negative startIndex (reads from end)
  • outputStreamWorkflow - getTailIndex and getStreamChunks getTailIndex returns correct index after stream completes
  • outputStreamWorkflow - getTailIndex and getStreamChunks getStreamChunks returns same content as reading the stream
  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KNAQ0FVDGH6P7401M8XCZW64 | 🔍 observability
  • fetchWorkflow | wrun_01KNAQ0W3NHJYG7CW293Q2BSH9 | 🔍 observability
  • promiseRaceStressTestWorkflow | wrun_01KNAQ0ZZZPP5Y5J05VPSAJ5J9 | 🔍 observability
  • 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
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNAQ6KVXFSZCTTRAE840G59S | 🔍 observability
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNAQ6X35GMK6DECR38WE3H4H | 🔍 observability
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNAQ734D638E24Y32F57DMHA | 🔍 observability
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNAQ75D75VVXWB5B1R5QBVGW | 🔍 observability
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNAQ7NQYYP3RJ82XMC6958HD | 🔍 observability
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNAQ7VHABD3P22ANPJN3WTBV | 🔍 observability
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNAQ82WPX871W4HYZ0BVY1KX | 🔍 observability
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNAQ8A1C3MZW57AHPAPDN534 | 🔍 observability
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNAQ8GZC69YBBFEFGFQ2FRD8 | 🔍 observability
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNAQ8QTAE49QFMK25K6NVSQG | 🔍 observability
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNAQ8ZX6NXQTK9NHG3BK4T12 | 🔍 observability
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNAQ9DNA5YJNB3BM2J8XMACF | 🔍 observability
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNAQ9NE1J9WD86TTZSS1KCPN | 🔍 observability
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNAQAJ7E6DFE5AE1KGG45PFR | 🔍 observability
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNAQB7E62Z18J324QYHQVGVA | 🔍 observability
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNAQBJDFDCQ9KDNHPZS5Y23R | 🔍 observability
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNAQBSBVVS3KH43RVDPR6X96 | 🔍 observability

sveltekit (1 failed):

  • outputStreamInsideStepWorkflow - getWritable() called inside step functions | wrun_01KNAQ0FVDGH6P7401M8XCZW64 | 🔍 observability
📦 Local Production (93 failed)

nextjs-turbopack-canary (38 failed):

  • addTenWorkflow | wrun_01KNAPW159NPDAKBXDHSDZPDX1
  • addTenWorkflow | wrun_01KNAPW159NPDAKBXDHSDZPDX1
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNAPXFGM0SR8DCVF7ZJW4GBT
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNAPW85BDF1HJZN19MBC3VNZ
  • promiseRaceWorkflow | wrun_01KNAPWBSXFJM2CM0W8JEDY900
  • promiseAnyWorkflow | wrun_01KNAPWE84PHQPWPSQPC7DD99M
  • importedStepOnlyWorkflow | wrun_01KNAPXS510T3CQMZ2PD5VPJ90
  • webhookWorkflow | wrun_01KNAPXET3PQQKNR87Y2TWN0BC
  • nullByteWorkflow | wrun_01KNAPY634ZCXMDZK8ATSM2DA6
  • workflowAndStepMetadataWorkflow | wrun_01KNAPY8KBNRBDW8TYS9SSX3D2
  • fetchWorkflow | wrun_01KNAQ0W3NHJYG7CW293Q2BSH9
  • promiseRaceStressTestWorkflow | wrun_01KNAQ0ZZZPP5Y5J05VPSAJ5J9
  • 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
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNAQ6KVXFSZCTTRAE840G59S
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNAQ6X35GMK6DECR38WE3H4H
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNAQ734D638E24Y32F57DMHA
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNAQ75D75VVXWB5B1R5QBVGW
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNAQ7NQYYP3RJ82XMC6958HD
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNAQ7VHABD3P22ANPJN3WTBV
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNAQ82WPX871W4HYZ0BVY1KX
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNAQ8A1C3MZW57AHPAPDN534
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNAQ8GZC69YBBFEFGFQ2FRD8
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNAQ8QTAE49QFMK25K6NVSQG
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNAQ8ZX6NXQTK9NHG3BK4T12
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNAQ9DNA5YJNB3BM2J8XMACF
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNAQ9NE1J9WD86TTZSS1KCPN
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNAQAJ7E6DFE5AE1KGG45PFR
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNAQB7E62Z18J324QYHQVGVA
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNAQBJDFDCQ9KDNHPZS5Y23R
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNAQBSBVVS3KH43RVDPR6X96

nextjs-turbopack-stable (55 failed):

  • DurableAgent e2e core basic text response
  • DurableAgent e2e core single tool call
  • DurableAgent e2e core multiple sequential tool calls
  • DurableAgent e2e core tool error recovery
  • DurableAgent e2e onStepFinish fires constructor + stream callbacks in order with step data
  • DurableAgent e2e onFinish fires constructor + stream callbacks in order with event data
  • DurableAgent e2e instructions string instructions are passed to the model
  • DurableAgent e2e timeout completes within timeout
  • DurableAgent e2e experimental_onStart (GAP) completes but callbacks are not called (GAP)
  • DurableAgent e2e experimental_onStepStart (GAP) completes but callbacks are not called (GAP)
  • DurableAgent e2e experimental_onToolCallStart (GAP) completes but callbacks are not called (GAP)
  • DurableAgent e2e experimental_onToolCallFinish (GAP) completes but callbacks are not called (GAP)
  • DurableAgent e2e prepareCall (GAP) completes but prepareCall is not applied (GAP)
  • DurableAgent e2e prepareStep on constructor agent-level prepareStep is called for each LLM step
  • DurableAgent e2e prepareStep on constructor stream-level prepareStep overrides constructor-level
  • DurableAgent e2e multimodal tool results passes through LanguageModelV3ToolResultOutput from tools
  • DurableAgent e2e tool approval (GAP) completes but needsApproval is not checked (GAP)
  • addTenWorkflow | wrun_01KNAPW159NPDAKBXDHSDZPDX1
  • addTenWorkflow | wrun_01KNAPW159NPDAKBXDHSDZPDX1
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNAPXFGM0SR8DCVF7ZJW4GBT
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNAPW85BDF1HJZN19MBC3VNZ
  • promiseRaceWorkflow | wrun_01KNAPWBSXFJM2CM0W8JEDY900
  • promiseAnyWorkflow | wrun_01KNAPWE84PHQPWPSQPC7DD99M
  • importedStepOnlyWorkflow | wrun_01KNAPXS510T3CQMZ2PD5VPJ90
  • webhookWorkflow | wrun_01KNAPXET3PQQKNR87Y2TWN0BC
  • nullByteWorkflow | wrun_01KNAPY634ZCXMDZK8ATSM2DA6
  • workflowAndStepMetadataWorkflow | wrun_01KNAPY8KBNRBDW8TYS9SSX3D2
  • fetchWorkflow | wrun_01KNAQ0W3NHJYG7CW293Q2BSH9
  • promiseRaceStressTestWorkflow | wrun_01KNAQ0ZZZPP5Y5J05VPSAJ5J9
  • 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
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNAQ6KVXFSZCTTRAE840G59S
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNAQ6X35GMK6DECR38WE3H4H
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNAQ734D638E24Y32F57DMHA
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNAQ75D75VVXWB5B1R5QBVGW
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNAQ7NQYYP3RJ82XMC6958HD
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNAQ7VHABD3P22ANPJN3WTBV
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNAQ82WPX871W4HYZ0BVY1KX
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNAQ8A1C3MZW57AHPAPDN534
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNAQ8GZC69YBBFEFGFQ2FRD8
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNAQ8QTAE49QFMK25K6NVSQG
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNAQ8ZX6NXQTK9NHG3BK4T12
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNAQ9DNA5YJNB3BM2J8XMACF
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNAQ9NE1J9WD86TTZSS1KCPN
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNAQAJ7E6DFE5AE1KGG45PFR
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNAQB7E62Z18J324QYHQVGVA
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNAQBJDFDCQ9KDNHPZS5Y23R
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNAQBSBVVS3KH43RVDPR6X96
🐘 Local Postgres (93 failed)

nextjs-turbopack-canary (38 failed):

  • addTenWorkflow | wrun_01KNAPW159NPDAKBXDHSDZPDX1
  • addTenWorkflow | wrun_01KNAPW159NPDAKBXDHSDZPDX1
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNAPXFGM0SR8DCVF7ZJW4GBT
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNAPW85BDF1HJZN19MBC3VNZ
  • promiseRaceWorkflow | wrun_01KNAPWBSXFJM2CM0W8JEDY900
  • promiseAnyWorkflow | wrun_01KNAPWE84PHQPWPSQPC7DD99M
  • importedStepOnlyWorkflow | wrun_01KNAPXS510T3CQMZ2PD5VPJ90
  • webhookWorkflow | wrun_01KNAPXET3PQQKNR87Y2TWN0BC
  • nullByteWorkflow | wrun_01KNAPY634ZCXMDZK8ATSM2DA6
  • workflowAndStepMetadataWorkflow | wrun_01KNAPY8KBNRBDW8TYS9SSX3D2
  • fetchWorkflow | wrun_01KNAQ0W3NHJYG7CW293Q2BSH9
  • promiseRaceStressTestWorkflow | wrun_01KNAQ0ZZZPP5Y5J05VPSAJ5J9
  • 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
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNAQ6KVXFSZCTTRAE840G59S
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNAQ6X35GMK6DECR38WE3H4H
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNAQ734D638E24Y32F57DMHA
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNAQ75D75VVXWB5B1R5QBVGW
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNAQ7NQYYP3RJ82XMC6958HD
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNAQ7VHABD3P22ANPJN3WTBV
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNAQ82WPX871W4HYZ0BVY1KX
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNAQ8A1C3MZW57AHPAPDN534
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNAQ8GZC69YBBFEFGFQ2FRD8
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNAQ8QTAE49QFMK25K6NVSQG
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNAQ8ZX6NXQTK9NHG3BK4T12
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNAQ9DNA5YJNB3BM2J8XMACF
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNAQ9NE1J9WD86TTZSS1KCPN
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNAQAJ7E6DFE5AE1KGG45PFR
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNAQB7E62Z18J324QYHQVGVA
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNAQBJDFDCQ9KDNHPZS5Y23R
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNAQBSBVVS3KH43RVDPR6X96

nextjs-turbopack-stable (55 failed):

  • DurableAgent e2e core basic text response
  • DurableAgent e2e core single tool call
  • DurableAgent e2e core multiple sequential tool calls
  • DurableAgent e2e core tool error recovery
  • DurableAgent e2e onStepFinish fires constructor + stream callbacks in order with step data
  • DurableAgent e2e onFinish fires constructor + stream callbacks in order with event data
  • DurableAgent e2e instructions string instructions are passed to the model
  • DurableAgent e2e timeout completes within timeout
  • DurableAgent e2e experimental_onStart (GAP) completes but callbacks are not called (GAP)
  • DurableAgent e2e experimental_onStepStart (GAP) completes but callbacks are not called (GAP)
  • DurableAgent e2e experimental_onToolCallStart (GAP) completes but callbacks are not called (GAP)
  • DurableAgent e2e experimental_onToolCallFinish (GAP) completes but callbacks are not called (GAP)
  • DurableAgent e2e prepareCall (GAP) completes but prepareCall is not applied (GAP)
  • DurableAgent e2e prepareStep on constructor agent-level prepareStep is called for each LLM step
  • DurableAgent e2e prepareStep on constructor stream-level prepareStep overrides constructor-level
  • DurableAgent e2e multimodal tool results passes through LanguageModelV3ToolResultOutput from tools
  • DurableAgent e2e tool approval (GAP) completes but needsApproval is not checked (GAP)
  • addTenWorkflow | wrun_01KNAPW159NPDAKBXDHSDZPDX1
  • addTenWorkflow | wrun_01KNAPW159NPDAKBXDHSDZPDX1
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNAPXFGM0SR8DCVF7ZJW4GBT
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNAPW85BDF1HJZN19MBC3VNZ
  • promiseRaceWorkflow | wrun_01KNAPWBSXFJM2CM0W8JEDY900
  • promiseAnyWorkflow | wrun_01KNAPWE84PHQPWPSQPC7DD99M
  • importedStepOnlyWorkflow | wrun_01KNAPXS510T3CQMZ2PD5VPJ90
  • webhookWorkflow | wrun_01KNAPXET3PQQKNR87Y2TWN0BC
  • nullByteWorkflow | wrun_01KNAPY634ZCXMDZK8ATSM2DA6
  • workflowAndStepMetadataWorkflow | wrun_01KNAPY8KBNRBDW8TYS9SSX3D2
  • fetchWorkflow | wrun_01KNAQ0W3NHJYG7CW293Q2BSH9
  • promiseRaceStressTestWorkflow | wrun_01KNAQ0ZZZPP5Y5J05VPSAJ5J9
  • 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
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNAQ6KVXFSZCTTRAE840G59S
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNAQ6X35GMK6DECR38WE3H4H
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNAQ734D638E24Y32F57DMHA
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNAQ75D75VVXWB5B1R5QBVGW
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNAQ7NQYYP3RJ82XMC6958HD
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNAQ7VHABD3P22ANPJN3WTBV
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNAQ82WPX871W4HYZ0BVY1KX
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNAQ8A1C3MZW57AHPAPDN534
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNAQ8GZC69YBBFEFGFQ2FRD8
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNAQ8QTAE49QFMK25K6NVSQG
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNAQ8ZX6NXQTK9NHG3BK4T12
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNAQ9DNA5YJNB3BM2J8XMACF
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNAQ9NE1J9WD86TTZSS1KCPN
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNAQAJ7E6DFE5AE1KGG45PFR
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNAQB7E62Z18J324QYHQVGVA
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNAQBJDFDCQ9KDNHPZS5Y23R
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNAQBSBVVS3KH43RVDPR6X96
🪟 Windows (55 failed)

nextjs-turbopack (55 failed):

  • DurableAgent e2e core basic text response
  • DurableAgent e2e core single tool call
  • DurableAgent e2e core multiple sequential tool calls
  • DurableAgent e2e core tool error recovery
  • DurableAgent e2e onStepFinish fires constructor + stream callbacks in order with step data
  • DurableAgent e2e onFinish fires constructor + stream callbacks in order with event data
  • DurableAgent e2e instructions string instructions are passed to the model
  • DurableAgent e2e timeout completes within timeout
  • DurableAgent e2e experimental_onStart (GAP) completes but callbacks are not called (GAP)
  • DurableAgent e2e experimental_onStepStart (GAP) completes but callbacks are not called (GAP)
  • DurableAgent e2e experimental_onToolCallStart (GAP) completes but callbacks are not called (GAP)
  • DurableAgent e2e experimental_onToolCallFinish (GAP) completes but callbacks are not called (GAP)
  • DurableAgent e2e prepareCall (GAP) completes but prepareCall is not applied (GAP)
  • DurableAgent e2e prepareStep on constructor agent-level prepareStep is called for each LLM step
  • DurableAgent e2e prepareStep on constructor stream-level prepareStep overrides constructor-level
  • DurableAgent e2e multimodal tool results passes through LanguageModelV3ToolResultOutput from tools
  • DurableAgent e2e tool approval (GAP) completes but needsApproval is not checked (GAP)
  • addTenWorkflow | wrun_01KNAPW159NPDAKBXDHSDZPDX1
  • addTenWorkflow | wrun_01KNAPW159NPDAKBXDHSDZPDX1
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNAPXFGM0SR8DCVF7ZJW4GBT
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNAPW85BDF1HJZN19MBC3VNZ
  • promiseRaceWorkflow | wrun_01KNAPWBSXFJM2CM0W8JEDY900
  • promiseAnyWorkflow | wrun_01KNAPWE84PHQPWPSQPC7DD99M
  • importedStepOnlyWorkflow | wrun_01KNAPXS510T3CQMZ2PD5VPJ90
  • webhookWorkflow | wrun_01KNAPXET3PQQKNR87Y2TWN0BC
  • nullByteWorkflow | wrun_01KNAPY634ZCXMDZK8ATSM2DA6
  • workflowAndStepMetadataWorkflow | wrun_01KNAPY8KBNRBDW8TYS9SSX3D2
  • fetchWorkflow | wrun_01KNAQ0W3NHJYG7CW293Q2BSH9
  • promiseRaceStressTestWorkflow | wrun_01KNAQ0ZZZPP5Y5J05VPSAJ5J9
  • 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
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNAQ6KVXFSZCTTRAE840G59S
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNAQ6X35GMK6DECR38WE3H4H
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNAQ734D638E24Y32F57DMHA
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNAQ75D75VVXWB5B1R5QBVGW
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNAQ7NQYYP3RJ82XMC6958HD
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNAQ7VHABD3P22ANPJN3WTBV
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNAQ82WPX871W4HYZ0BVY1KX
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNAQ8A1C3MZW57AHPAPDN534
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNAQ8GZC69YBBFEFGFQ2FRD8
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNAQ8QTAE49QFMK25K6NVSQG
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNAQ8ZX6NXQTK9NHG3BK4T12
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNAQ9DNA5YJNB3BM2J8XMACF
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNAQ9NE1J9WD86TTZSS1KCPN
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNAQAJ7E6DFE5AE1KGG45PFR
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNAQB7E62Z18J324QYHQVGVA
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNAQBJDFDCQ9KDNHPZS5Y23R
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNAQBSBVVS3KH43RVDPR6X96
🌍 Community Worlds (141 failed)

mongodb-dev (1 failed):

  • dev e2e should rebuild on imported step dependency change

mongodb (41 failed):

  • addTenWorkflow | wrun_01KNAPW159NPDAKBXDHSDZPDX1
  • addTenWorkflow | wrun_01KNAPW159NPDAKBXDHSDZPDX1
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNAPXFGM0SR8DCVF7ZJW4GBT
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNAPW85BDF1HJZN19MBC3VNZ
  • promiseRaceWorkflow | wrun_01KNAPWBSXFJM2CM0W8JEDY900
  • promiseAnyWorkflow | wrun_01KNAPWE84PHQPWPSQPC7DD99M
  • importedStepOnlyWorkflow | wrun_01KNAPXS510T3CQMZ2PD5VPJ90
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNAPX5Y3CR67SWEAM456EQXZ
  • webhookWorkflow | wrun_01KNAPXET3PQQKNR87Y2TWN0BC
  • nullByteWorkflow | wrun_01KNAPY634ZCXMDZK8ATSM2DA6
  • workflowAndStepMetadataWorkflow | wrun_01KNAPY8KBNRBDW8TYS9SSX3D2
  • fetchWorkflow | wrun_01KNAQ0W3NHJYG7CW293Q2BSH9
  • promiseRaceStressTestWorkflow | wrun_01KNAQ0ZZZPP5Y5J05VPSAJ5J9
  • 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
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNAQ59WTYEAH5GBVDZDPHBVG
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNAQ6KVXFSZCTTRAE840G59S
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNAQ6X35GMK6DECR38WE3H4H
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNAQ734D638E24Y32F57DMHA
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNAQ75D75VVXWB5B1R5QBVGW
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNAQ7NQYYP3RJ82XMC6958HD
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNAQ7VHABD3P22ANPJN3WTBV
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNAQ82WPX871W4HYZ0BVY1KX
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNAQ8A1C3MZW57AHPAPDN534
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNAQ8GZC69YBBFEFGFQ2FRD8
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNAQ8QTAE49QFMK25K6NVSQG
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNAQ8ZX6NXQTK9NHG3BK4T12
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNAQ9DNA5YJNB3BM2J8XMACF
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNAQ9NE1J9WD86TTZSS1KCPN
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNAQAJ7E6DFE5AE1KGG45PFR
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNAQB7E62Z18J324QYHQVGVA
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNAQBJDFDCQ9KDNHPZS5Y23R
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNAQBSBVVS3KH43RVDPR6X96
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577)

redis-dev (1 failed):

  • dev e2e should rebuild on imported step dependency change

redis (41 failed):

  • addTenWorkflow | wrun_01KNAPW159NPDAKBXDHSDZPDX1
  • addTenWorkflow | wrun_01KNAPW159NPDAKBXDHSDZPDX1
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNAPXFGM0SR8DCVF7ZJW4GBT
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNAPW85BDF1HJZN19MBC3VNZ
  • promiseRaceWorkflow | wrun_01KNAPWBSXFJM2CM0W8JEDY900
  • promiseAnyWorkflow | wrun_01KNAPWE84PHQPWPSQPC7DD99M
  • importedStepOnlyWorkflow | wrun_01KNAPXS510T3CQMZ2PD5VPJ90
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNAPX5Y3CR67SWEAM456EQXZ
  • webhookWorkflow | wrun_01KNAPXET3PQQKNR87Y2TWN0BC
  • nullByteWorkflow | wrun_01KNAPY634ZCXMDZK8ATSM2DA6
  • workflowAndStepMetadataWorkflow | wrun_01KNAPY8KBNRBDW8TYS9SSX3D2
  • fetchWorkflow | wrun_01KNAQ0W3NHJYG7CW293Q2BSH9
  • promiseRaceStressTestWorkflow | wrun_01KNAQ0ZZZPP5Y5J05VPSAJ5J9
  • 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
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNAQ59WTYEAH5GBVDZDPHBVG
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNAQ6KVXFSZCTTRAE840G59S
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNAQ6X35GMK6DECR38WE3H4H
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNAQ734D638E24Y32F57DMHA
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNAQ75D75VVXWB5B1R5QBVGW
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNAQ7NQYYP3RJ82XMC6958HD
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNAQ7VHABD3P22ANPJN3WTBV
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNAQ82WPX871W4HYZ0BVY1KX
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNAQ8A1C3MZW57AHPAPDN534
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNAQ8GZC69YBBFEFGFQ2FRD8
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNAQ8QTAE49QFMK25K6NVSQG
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNAQ8ZX6NXQTK9NHG3BK4T12
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNAQ9DNA5YJNB3BM2J8XMACF
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNAQ9NE1J9WD86TTZSS1KCPN
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNAQAJ7E6DFE5AE1KGG45PFR
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNAQB7E62Z18J324QYHQVGVA
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNAQBJDFDCQ9KDNHPZS5Y23R
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNAQBSBVVS3KH43RVDPR6X96
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577)

turso-dev (1 failed):

  • dev e2e should rebuild on imported step dependency change

turso (56 failed):

  • addTenWorkflow | wrun_01KNAPW159NPDAKBXDHSDZPDX1
  • addTenWorkflow | wrun_01KNAPW159NPDAKBXDHSDZPDX1
  • wellKnownAgentWorkflow (.well-known/agent) | wrun_01KNAPXFGM0SR8DCVF7ZJW4GBT
  • should work with react rendering in step
  • promiseAllWorkflow | wrun_01KNAPW85BDF1HJZN19MBC3VNZ
  • promiseRaceWorkflow | wrun_01KNAPWBSXFJM2CM0W8JEDY900
  • promiseAnyWorkflow | wrun_01KNAPWE84PHQPWPSQPC7DD99M
  • importedStepOnlyWorkflow | wrun_01KNAPXS510T3CQMZ2PD5VPJ90
  • hookWorkflow | wrun_01KNAPWTE0H6WJT915PQX36M1Z
  • hookWorkflow is not resumable via public webhook endpoint | wrun_01KNAPX5Y3CR67SWEAM456EQXZ
  • webhookWorkflow | wrun_01KNAPXET3PQQKNR87Y2TWN0BC
  • sleepingWorkflow | wrun_01KNAPXNFCS5F2PFC1HTS93238
  • parallelSleepWorkflow | wrun_01KNAPY1EV7GJC29X0AR5WW35D
  • nullByteWorkflow | wrun_01KNAPY634ZCXMDZK8ATSM2DA6
  • workflowAndStepMetadataWorkflow | wrun_01KNAPY8KBNRBDW8TYS9SSX3D2
  • fetchWorkflow | wrun_01KNAQ0W3NHJYG7CW293Q2BSH9
  • promiseRaceStressTestWorkflow | wrun_01KNAQ0ZZZPP5Y5J05VPSAJ5J9
  • error handling error propagation workflow errors nested function calls preserve message and stack trace
  • error handling error propagation workflow errors cross-file imports preserve message and stack trace
  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack
  • error handling retry behavior regular Error retries until success
  • error handling retry behavior FatalError fails immediately without retries
  • error handling retry behavior RetryableError respects custom retryAfter delay
  • error handling retry behavior maxRetries=0 disables retries
  • error handling catchability FatalError can be caught and detected with FatalError.is()
  • error handling not registered WorkflowNotRegisteredError fails the run when workflow does not exist
  • error handling not registered StepNotRegisteredError fails the step but workflow can catch it
  • error handling not registered StepNotRegisteredError fails the run when not caught in workflow
  • hookCleanupTestWorkflow - hook token reuse after workflow completion | wrun_01KNAQ4MXT1309GCHR048007VW
  • concurrent hook token conflict - two workflows cannot use the same hook token simultaneously | wrun_01KNAQ59WTYEAH5GBVDZDPHBVG
  • hookDisposeTestWorkflow - hook token reuse after explicit disposal while workflow still running | wrun_01KNAQ5ZDRWTGYR5QPRGH9BAC7
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars) | wrun_01KNAQ6KVXFSZCTTRAE840G59S
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument | wrun_01KNAQ6X35GMK6DECR38WE3H4H
  • closureVariableWorkflow - nested step functions with closure variables | wrun_01KNAQ734D638E24Y32F57DMHA
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step | wrun_01KNAQ75D75VVXWB5B1R5QBVGW
  • health check (queue-based) - workflow and step endpoints respond to health check messages
  • pathsAliasWorkflow - TypeScript path aliases resolve correctly | wrun_01KNAQ7NQYYP3RJ82XMC6958HD
  • Calculator.calculate - static workflow method using static step methods from another class | wrun_01KNAQ7VHABD3P22ANPJN3WTBV
  • AllInOneService.processNumber - static workflow method using sibling static step methods | wrun_01KNAQ82WPX871W4HYZ0BVY1KX
  • ChainableService.processWithThis - static step methods using this to reference the class | wrun_01KNAQ8A1C3MZW57AHPAPDN534
  • thisSerializationWorkflow - step function invoked with .call() and .apply() | wrun_01KNAQ8GZC69YBBFEFGFQ2FRD8
  • customSerializationWorkflow - custom class serialization with WORKFLOW_SERIALIZE/WORKFLOW_DESERIALIZE | wrun_01KNAQ8QTAE49QFMK25K6NVSQG
  • instanceMethodStepWorkflow - instance methods with "use step" directive | wrun_01KNAQ8ZX6NXQTK9NHG3BK4T12
  • crossContextSerdeWorkflow - classes defined in step code are deserializable in workflow context | wrun_01KNAQ9DNA5YJNB3BM2J8XMACF
  • stepFunctionAsStartArgWorkflow - step function reference passed as start() argument | wrun_01KNAQ9NE1J9WD86TTZSS1KCPN
  • cancelRun - cancelling a running workflow | wrun_01KNAQ9W8FPFJ8J3JY6GGBPCRK
  • cancelRun via CLI - cancelling a running workflow | wrun_01KNAQA5NZ4KRTD8FN484CTZZR
  • pages router addTenWorkflow via pages router
  • pages router promiseAllWorkflow via pages router
  • pages router sleepingWorkflow via pages router
  • hookWithSleepWorkflow - hook payloads delivered correctly with concurrent sleep | wrun_01KNAQAJ7E6DFE5AE1KGG45PFR
  • sleepInLoopWorkflow - sleep inside loop with steps actually delays each iteration | wrun_01KNAQB7E62Z18J324QYHQVGVA
  • sleepWithSequentialStepsWorkflow - sequential steps work with concurrent sleep (control) | wrun_01KNAQBJDFDCQ9KDNHPZS5Y23R
  • importMetaUrlWorkflow - import.meta.url is available in step bundles | wrun_01KNAQBSBVVS3KH43RVDPR6X96
  • metadataFromHelperWorkflow - getWorkflowMetadata/getStepMetadata work from module-level helper (#1577)

Details by Category

❌ ▲ Vercel Production
App Passed Failed Skipped
❌ astro 76 1 7
✅ example 77 0 7
❌ express 76 1 7
❌ fastify 76 1 7
❌ hono 76 1 7
❌ nextjs-turbopack 21 61 2
✅ nextjs-webpack 82 0 2
✅ nitro 77 0 7
✅ nuxt 77 0 7
❌ sveltekit 76 1 7
✅ vite 77 0 7
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 70 0 14
✅ express-stable 70 0 14
✅ fastify-stable 70 0 14
✅ hono-stable 70 0 14
✅ nextjs-webpack-canary 59 0 25
✅ nextjs-webpack-stable 76 0 8
✅ nitro-stable 70 0 14
✅ nuxt-stable 70 0 14
✅ sveltekit-stable 70 0 14
✅ vite-stable 70 0 14
❌ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 70 0 14
✅ express-stable 70 0 14
✅ fastify-stable 70 0 14
✅ hono-stable 70 0 14
❌ nextjs-turbopack-canary 21 38 25
❌ nextjs-turbopack-stable 21 55 8
✅ nextjs-webpack-canary 59 0 25
✅ nextjs-webpack-stable 76 0 8
✅ nitro-stable 70 0 14
✅ nuxt-stable 70 0 14
✅ sveltekit-stable 70 0 14
✅ vite-stable 70 0 14
❌ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 70 0 14
✅ express-stable 70 0 14
✅ fastify-stable 70 0 14
✅ hono-stable 70 0 14
❌ nextjs-turbopack-canary 21 38 25
❌ nextjs-turbopack-stable 21 55 8
✅ nextjs-webpack-canary 59 0 25
✅ nextjs-webpack-stable 76 0 8
✅ nitro-stable 70 0 14
✅ nuxt-stable 70 0 14
✅ sveltekit-stable 70 0 14
✅ vite-stable 70 0 14
❌ 🪟 Windows
App Passed Failed Skipped
❌ nextjs-turbopack 21 55 8
❌ 🌍 Community Worlds
App Passed Failed Skipped
❌ mongodb-dev 4 1 0
❌ mongodb 19 41 8
❌ redis-dev 4 1 0
❌ redis 19 41 8
❌ turso-dev 4 1 0
❌ turso 4 56 8
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 70 0 14
✅ e2e-local-postgres-nest-stable 70 0 14
✅ e2e-local-prod-nest-stable 70 0 14

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

ijjk and others added 9 commits April 1, 2026 11:36
The @workflow/ai package was exporting compiled JS which strips 'use step'
directives. This caused internal step functions like closeStream to not be
registered in deferred mode.

Solution: Add 'workflow' export condition that points to the TypeScript source,
similar to how @workflow/core and workflow packages work. This ensures the
workflow bundler processes the source with directives intact.
The src folder is not published with the package, so pointing the workflow
export to src/agent/durable-agent.ts causes resolution errors.

The compiled JS preserves 'use step' directives, so we can safely point the
workflow export to the dist file. This matches the pattern where workflow
and default exports are the same (unlike @workflow/core which has separate
workflow-specific builds).
The extractBundleSourceFiles method was excluding ALL node_modules files from
tracked dependency discovery. This prevented step functions in @workflow/ai
from being discovered after bundling.

Solution: Allow @workflow/* scoped packages to be tracked as dependencies,
while still excluding other node_modules. This ensures internal step functions
in workflow SDK packages are properly discovered and registered.
Next.js doesn't process node_modules files with custom loaders by default.
Adding @workflow/ai to transpilePackages ensures our loader processes it,
allowing step functions like closeStream to be discovered via socket notifications.
In production builds, socket notifications don't trigger rebuilds because
scheduleDeferredRebuild() is a no-op when watch is false. Without initial
discovery, there are no files to bundle, so the system can't bootstrap.

Solution: Perform discovery in two cases:
1. Production builds (always, because socket rebuilds don't work)
2. First dev build when cache is empty (to bootstrap)

In dev mode with cache, skip discovery and rely on socket notifications.

This provides the optimization for the common case (dev with cache) while
ensuring production builds and first builds work correctly.
Copy link
Copy Markdown
Member

@VaguelySerious VaguelySerious left a comment

Choose a reason for hiding this comment

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

AI review: blocking issues found

1. Fix test to use mocking instead of dynamic import (avoids VM error)
2. Include discoveredSerdeFiles in cache check
3. Apply @workflow package allowlist to shouldSkipTransitiveStepFile
4. Add comment about @workflow/ai being optional dependency
5. Make changeset more concise
cursoragent and others added 7 commits April 2, 2026 21:55
The previous test mocked the entire module and re-implemented
initializeDiscoveryState in the mock, so it tested mock behavior rather
than production code.

New approach: Spy on BaseBuilder.discoverEntries to verify when discovery
is called, while testing the real initializeDiscoveryState implementation.
This ensures tests will fail if the production code changes incorrectly.
…b.com:vercel/workflow into cursor/workflow-discovery-deferred-build-2820
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants