Version Packages (beta) - #561

Merged
VaguelySerious merged 1 commit into
mainfrom
changeset-release/main
Dec 9, 2025
Merged

Version Packages (beta)#561
VaguelySerious merged 1 commit into
mainfrom
changeset-release/main

Conversation

@vercel-release-bot

@vercel-release-botvercel-release-bot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@workflow/ai@4.0.1-beta.29

Patch Changes

  • Updated dependencies []:
    • workflow@4.0.1-beta.29

@workflow/astro@4.0.0-beta.7

Patch Changes

  • #50319c271c Thanks @adriandlam! - Refactor request converter code in SvelteKit and Astro builder to @workflow/builders

  • #501205b395 Thanks @adriandlam! - Move Vite HMR to @workflow/vite package

  • Updated dependencies [19c271c, 205b395]:

    • @workflow/builders@4.0.1-beta.24
    • @workflow/vite@4.0.0-beta.2

@workflow/builders@4.0.1-beta.24

Patch Changes

@workflow/cli@4.0.1-beta.29

Patch Changes

@workflow/core@4.0.1-beta.25

Patch Changes

  • #575161c54c Thanks @VaguelySerious! - Add Web and CLI UI for listing and viewing streams

  • #5410bbd26f Thanks @pranaygp! - perf: use Map for invocationsQueue (O(1) lookup/delete)

    Replace array-based invocationsQueue with Map for O(1) lookup and delete operations, eliminating O(n²) complexity in high-concurrency workflows.

  • #567c35b445 Thanks @Schniz! - otel: do not treat WorkflowSuspension errors as errors in the trace, as they symbolize effects and not actual exceptions.

  • #571d3fd81d Thanks @TooTallNate! - Enhance serialization failure error reporting

  • Updated dependencies [d42a968, c82b467]:

    • @workflow/world-local@4.0.1-beta.16
    • @workflow/world-vercel@4.0.1-beta.18
    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@workflow/next@4.0.1-beta.28

Patch Changes

@workflow/nitro@4.0.1-beta.28

Patch Changes

@workflow/nuxt@4.0.1-beta.17

Patch Changes

  • Updated dependencies [205b395]:
    • @workflow/nitro@4.0.1-beta.28

@workflow/sveltekit@4.0.0-beta.22

Patch Changes

  • #50319c271c Thanks @adriandlam! - Refactor request converter code in SvelteKit and Astro builder to @workflow/builders

  • #501205b395 Thanks @adriandlam! - Move Vite HMR to @workflow/vite package

  • Updated dependencies [19c271c, 205b395]:

    • @workflow/builders@4.0.1-beta.24
    • @workflow/vite@4.0.0-beta.2

@workflow/vite@4.0.0-beta.2

Patch Changes

@workflow/web@4.0.1-beta.15

Patch Changes

@workflow/web-shared@4.0.1-beta.26

Patch Changes

workflow@4.0.1-beta.29

Patch Changes

  • Updated dependencies [19c271c, 161c54c, 0bbd26f, c35b445, d3fd81d, 205b395]:
    • @workflow/sveltekit@4.0.0-beta.22
    • @workflow/astro@4.0.0-beta.7
    • @workflow/cli@4.0.1-beta.29
    • @workflow/core@4.0.1-beta.25
    • @workflow/nitro@4.0.1-beta.28
    • @workflow/next@4.0.1-beta.28
    • @workflow/typescript-plugin@4.0.1-beta.4
    • @workflow/errors@4.0.1-beta.7
    • @workflow/nuxt@4.0.1-beta.17

@workflow/world@4.0.1-beta.10

Patch Changes

@workflow/world-local@4.0.1-beta.16

Patch Changes

@workflow/world-postgres@4.1.0-beta.18

Patch Changes

  • #574c82b467 Thanks @VaguelySerious! - Add listByRunId endpoint to Streamer interface

  • Updated dependencies [d42a968, c82b467]:

    • @workflow/world-local@4.0.1-beta.16
    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@workflow/world-testing@4.0.1-beta.30

Patch Changes

  • Updated dependencies [161c54c, c82b467]:
    • @workflow/cli@4.0.1-beta.29
    • @workflow/world@4.0.1-beta.10
    • workflow@4.0.1-beta.29

@workflow/world-vercel@4.0.1-beta.18

Patch Changes

  • #574c82b467 Thanks @VaguelySerious! - Add listByRunId endpoint to Streamer interface

  • Updated dependencies [c82b467]:

    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@vercel

vercelBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Dec 6, 2025

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
🌐 Starter🥇 Next.js (Turbopack)0.038s (+3.5%)1.013s (~)0.974s101.00x
💻 LocalNext.js (Turbopack)0.040s (-14.1% 🟢)1.017s (~)0.977s101.03x
🌐 RedisNext.js (Turbopack)0.041s (~)1.017s (~)0.976s101.07x
💻 LocalExpress0.044s (+39.8% 🔺)1.007s (~)0.963s101.14x
💻 LocalNitro0.045s (+7.6% 🔺)1.007s (~)0.962s101.18x
🌐 MongoDBNext.js (Turbopack)0.048s (-39.0% 🟢)1.015s (~)0.967s101.24x
🐘 PostgresNext.js (Turbopack)0.129s (-0.6%)1.019s (~)0.890s103.35x
🐘 PostgresExpress0.236s (-31.7% 🟢)1.014s (~)0.779s106.12x
🐘 PostgresNitro0.315s (~)1.012s (~)0.697s108.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.456s (-7.9% 🟢)1.528s (+4.6%)1.072s101.00x
▲ VercelNext.js (Turbopack)0.503s (-20.8% 🟢)1.352s (-14.2% 🟢)0.849s101.10x
▲ VercelNitro0.509s (+4.7%)1.432s (+1.6%)0.923s101.12x

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.090s (+0.8%)1.009s (~)0.919s101.00x
💻 LocalNext.js (Turbopack)0.095s (+1.9%)1.011s (~)0.915s101.06x
🌐 RedisNext.js (Turbopack)0.102s (+0.9%)1.012s (~)0.910s101.13x
💻 LocalExpress0.112s (+55.7% 🔺)1.006s (~)0.895s101.24x
💻 LocalNitro0.113s (+4.5%)1.006s (~)0.893s101.26x
🌐 MongoDBNext.js (Turbopack)0.293s (-2.9%)1.013s (~)0.720s103.25x
🐘 PostgresNitro0.692s (-41.5% 🟢)1.009s (-49.8% 🟢)0.317s107.69x
🐘 PostgresNext.js (Turbopack)0.892s (-3.9%)1.014s (~)0.122s109.91x
🐘 PostgresExpress1.131s (-6.6% 🟢)2.013s (~)0.882s1012.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.474s (-0.6%)2.396s (-0.5%)0.921s101.00x
▲ VercelNitro1.546s (+4.7%)2.503s (+1.2%)0.957s101.05x
▲ VercelExpress1.566s (+4.8%)2.644s (+5.6% 🔺)1.078s101.06x

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.553s (-4.5%)1.007s (~)0.454s51.00x
💻 LocalNext.js (Turbopack)0.614s (-3.6%)1.010s (~)0.395s51.11x
🌐 RedisNext.js (Turbopack)0.632s (-0.7%)1.011s (~)0.379s51.14x
💻 LocalExpress0.766s (+58.6% 🔺)1.006s (~)0.240s51.39x
💻 LocalNitro0.803s (+5.4% 🔺)1.006s (~)0.203s51.45x
🌐 MongoDBNext.js (Turbopack)2.167s (+0.7%)3.015s (~)0.848s53.92x
🐘 PostgresNitro5.118s (-43.6% 🟢)6.016s (-38.7% 🟢)0.898s59.26x
🐘 PostgresNext.js (Turbopack)5.275s (-1.0%)6.022s (~)0.747s59.54x
🐘 PostgresExpress10.468s (+2.6%)11.021s (~)0.553s518.94x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express10.873s (~)11.666s (+1.9%)0.793s51.00x
▲ VercelNext.js (Turbopack)11.037s (+3.9%)11.837s (+5.8% 🔺)0.800s51.02x
▲ VercelNitro12.092s (+4.4%)12.720s (+3.5%)0.628s51.11x

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.350s (-1.2%)1.008s (~)0.658s51.00x
🌐 RedisNext.js (Turbopack)0.365s (-2.9%)1.010s (~)0.645s51.04x
💻 LocalNext.js (Turbopack)0.370s (-7.0% 🟢)1.009s (~)0.639s51.06x
💻 LocalExpress0.405s (+30.4% 🔺)1.006s (~)0.601s51.16x
💻 LocalNitro0.416s (+8.4% 🔺)1.006s (~)0.590s51.19x
🐘 PostgresNitro1.053s (-25.9% 🟢)1.812s (-10.4% 🟢)0.759s53.01x
🐘 PostgresNext.js (Turbopack)1.166s (-9.6% 🟢)2.015s (~)0.849s53.33x
🐘 PostgresExpress1.594s (-7.2% 🟢)2.011s (~)0.416s54.56x
🌐 MongoDBNext.js (Turbopack)1.676s (~)2.011s (~)0.335s54.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.685s (-12.6% 🟢)3.569s (-20.9% 🟢)0.884s51.00x
▲ VercelExpress3.097s (+11.9% 🔺)3.969s (+9.7% 🔺)0.872s51.15x
▲ VercelNext.js (Turbopack)4.860s (+59.2% 🔺)5.604s (+51.4% 🔺)0.744s51.81x

stress test: Promise.all with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.728s (-5.4% 🟢)2.028s (~)0.301s151.00x
🌐 RedisNext.js (Turbopack)3.492s (~)4.186s (+0.5%)0.695s82.02x
🐘 PostgresNitro7.631s (-10.3% 🟢)7.983s (-10.6% 🟢)0.352s44.42x
🐘 PostgresNext.js (Turbopack)8.116s (~)8.389s (-1.6%)0.273s44.70x
🐘 PostgresExpress8.882s (+1.4%)9.167s (~)0.285s45.14x
💻 LocalNitro11.341s (+15.2% 🔺)11.667s (+13.9% 🔺)0.327s36.56x
💻 LocalExpress11.652s (+28.9% 🔺)11.971s (+29.9% 🔺)0.319s36.74x
💻 LocalNext.js (Turbopack)13.345s (+12.4% 🔺)13.721s (+13.6% 🔺)0.376s37.72x
🌐 MongoDBNext.js (Turbopack)20.044s (-0.7%)20.527s (~)0.483s211.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)19.537s (-1.0%)20.330s (~)0.793s21.00x
▲ VercelExpress40.571s (+148.2% 🔺)41.228s (+138.2% 🔺)0.657s12.08x
▲ VercelNitro46.347s (+110.2% 🔺)47.524s (+112.2% 🔺)1.177s12.37x

stress test: Promise.race with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.959s (-2.6%)2.074s (-0.8%)0.114s151.00x
🌐 RedisNext.js (Turbopack)3.759s (-1.7%)4.251s (+1.1%)0.492s81.92x
🐘 PostgresNitro8.622s (-4.8%)9.039s (-3.1%)0.417s44.40x
🐘 PostgresNext.js (Turbopack)8.982s (-2.7%)9.306s (-2.4%)0.324s44.58x
🐘 PostgresExpress9.701s (+4.9%)10.118s (+6.7% 🔺)0.416s34.95x
💻 LocalExpress10.652s (+27.7% 🔺)10.955s (+21.1% 🔺)0.303s35.44x
💻 LocalNitro11.741s (+2.3%)12.371s (+6.1% 🔺)0.630s35.99x
💻 LocalNext.js (Turbopack)12.103s (-4.7%)12.380s (-5.1% 🟢)0.277s36.18x
🌐 MongoDBNext.js (Turbopack)19.883s (~)20.528s (~)0.645s210.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro15.867s (+5.3% 🔺)16.624s (+6.1% 🔺)0.756s21.00x
▲ VercelExpress15.902s (-8.9% 🟢)16.845s (-8.6% 🟢)0.942s21.00x
▲ VercelNext.js (Turbopack)17.375s (-13.0% 🟢)18.143s (-12.2% 🟢)0.767s21.10x

Stream Benchmarks

Stream benchmarks include Time to First Byte (TTFB) metrics.

workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.128s (-1.4%)1.003s (~)1.008s (~)0.880s101.00x
💻 LocalNext.js (Turbopack)0.139s (-5.4% 🟢)1.002s (~)1.014s (~)0.874s101.09x
🌐 RedisNext.js (Turbopack)0.147s (+0.9%)1.004s (~)1.011s (~)0.865s101.15x
💻 LocalExpress0.178s (+67.6% 🔺)0.992s (-0.6%)1.009s (~)0.831s101.39x
💻 LocalNitro0.184s (+5.8% 🔺)0.991s (~)1.008s (~)0.824s101.44x
🌐 MongoDBNext.js (Turbopack)0.504s (-2.8%)0.944s (+1.2%)1.013s (~)0.508s103.94x
🐘 PostgresNitro1.134s (-12.4% 🟢)1.899s (+8.8% 🔺)2.011s (~)0.877s108.86x
🐘 PostgresNext.js (Turbopack)1.241s (+105.2% 🔺)1.599s (+66.5% 🔺)1.823s (+79.9% 🔺)0.582s109.69x
🐘 PostgresExpress2.245s (-5.1% 🟢)2.801s (+4.4%)3.017s (~)0.771s1017.54x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.405s (~)2.940s (+0.9%)3.326s (+1.1%)0.921s101.00x
▲ VercelNitro2.551s (+3.7%)3.059s (~)3.586s (+3.7%)1.035s101.06x
▲ VercelExpress2.751s (+8.7% 🔺)2.933s (-7.5% 🟢)3.419s (-4.3%)0.667s101.14x

Summary: Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)5/7
🐘 PostgresNitro6/7
▲ VercelNext.js (Turbopack)3/7

Summary: Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local5/7
Next.js (Turbopack)🌐 Starter7/7
Nitro💻 Local5/7
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)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

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

@github-actions

github-actionsBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
⚠️ ▲ Vercel Production250010260
✅ 🪟 Windows260026
❌ 🌍 Community Worlds82340116
⚠️ 📋 Other250126
Total3833411428

❌ Failed Tests

mongodb (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 202 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:255:24
at processTicksAndRejections (node:internal/process/tas
redis (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 200 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:285:25
at processTicksAndRejections (node:internal/process/tas
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(3) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'failed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:647:30
at processTicksAndRejections (node:internal/
starter (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:725:31
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:748:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:784:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:835:36
at processTicksAndRejections (node:intern
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pack
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F98_duplicate_case.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/wo
turso (🌍 Community Worlds): e2e should work with react rendering in step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F8_react_render.tsx&workflowFn=reactWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e promiseAllWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAllWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e promiseRaceWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow
turso (🌍 Community Worlds): e2e promiseAnyWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAnyWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e readableStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=readableStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packag
turso (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=webhookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pac
turso (🌍 Community Worlds): e2e sleepingWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=sleepingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e nullByteWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=nullByteWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e workflowAndStepMetadataWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=workflowAndStepMetadataWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e outputStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflo
turso (🌍 Community Worlds): e2e outputStreamInsideStepWorkflow - getWritable() called inside step functions

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamInsideStepWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e fetchWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=fetchWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packa
turso (🌍 Community Worlds): e2e promiseRaceStressTestWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceStressTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflo
turso (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryAttemptCounterWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e retryableAndFatalErrorWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryableAndFatalErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=crossFileErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookCleanupTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionPassingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionWithClosureWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e closureVariableWorkflow - nested step functions with closure variables

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=closureVariableWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=spawnWorkflowFromStepWorkflow 500: at triggerWorkflow (/home/runner/work/workflo

Details by Category

⚠️ ▲ Vercel Production
AppPassedFailedSkipped
⚠️ astro2501
⚠️ example2501
⚠️ express2501
⚠️ hono2501
⚠️ nextjs-turbopack2501
⚠️ nextjs-webpack2501
⚠️ nitro2501
⚠️ nuxt2501
⚠️ sveltekit2501
⚠️ vite2501
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2600
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2510
✅ redis-dev300
❌ redis2510
✅ starter-dev300
❌ starter1880
✅ turso-dev300
❌ turso2240
⚠️ 📋 Other
AppPassedFailedSkipped
⚠️ e2e-vercel-prod-fastify2501

@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 0cba37f to a011a32CompareDecember 6, 2025 00:03
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from a011a32 to f7652c6CompareDecember 6, 2025 02:19
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 8be219e to 13e1f50CompareDecember 7, 2025 02:31
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 13e1f50 to 33e5edeCompareDecember 7, 2025 02:33
Comment thread.changeset/pre.json
"@workflow/astro": "4.0.0-beta.1",
"@workflow/example-fastify": "0.0.0"
"@workflow/example-fastify": "0.0.0",
"@workflow/vite": "4.0.0-beta.1"

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.

Suggested change
"@workflow/vite": "4.0.0-beta.1"
"@workflow/vite": "4.0.0-beta.2"

The @workflow/vite package version in pre.json is incorrect - it shows 4.0.0-beta.1 but should be 4.0.0-beta.2 to match the package.json version.

View Details

Analysis

Version mismatch in .changeset/pre.json for @workflow/vite

What fails: The initialVersions section in .changeset/pre.json tracks outdated package versions, causing the changeset system to lose sync with actual package versions during pre-release cycles.

How to reproduce:

# Compare versions in the two files
grep "@workflow/vite" .changeset/pre.json
grep "\"version\"" packages/vite/package.json

Result:

  • .changeset/pre.json line 41: "@workflow/vite": "4.0.0-beta.1"
  • packages/vite/package.json line 4: "version": "4.0.0-beta.2"

Expected: Both files should show the same version. The package.json is the source of truth, and the pre.json initialVersions should match the actual current package versions as documented in packages/vite/CHANGELOG.md which confirms 4.0.0-beta.2 was released in PR #501.

@vercelvercelBot 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.

🔧 Build Fix:

The workflow package's TypeScript configuration generates separate source map files instead of embedding them inline. Since these .js.map files are excluded from git, they're missing during CI builds, causing Turbopack to fail when it tries to resolve source map references. Configuring the package to use inlineSourceMap instead fixes the issue by embedding source maps directly in the JavaScript output.

View Details
📝 Patch Details
diff --git a/packages/workflow/tsconfig.json b/packages/workflow/tsconfig.json
index a78dbf4..65f2136 100644
--- a/packages/workflow/tsconfig.json+++ b/packages/workflow/tsconfig.json@@ -1,7 +1,9 @@
{
"extends": "@workflow/tsconfig/base.json",
"compilerOptions": {
- "outDir": "dist"+ "outDir": "dist",+ "sourceMap": false,+ "inlineSourceMap": true
},
"include": ["src"],
"exclude": ["node_modules", "**/*.test.ts"]

Analysis

Missing source map file causes Turbopack build failure

What fails: Turbopack build for nextjs-turbopack fails when attempting to process JavaScript files from the workflow package that reference missing source map files.

How to reproduce:

pnpm install
pnpm exec turbo run build --filter nextjs-turbopack

Result:

ERROR failed to read input source map: failed to find input source map file "stdlib.js.map" in "packages/workflow/dist/stdlib.js" file as either "packages/workflow/dist/stdlib.js.map" or with appended .map
...
Code generation for chunk item errored
An error occurred while generating the chunk item [project]/workbench/nextjs-turbopack/app/page.tsx [app-client] (ecmascript)

Root cause: The packages/workflow/tsconfig.json was configured with sourceMap: true (inherited from base.json), which causes TypeScript to generate separate .js.map source map files. These files are:

  1. Not committed to git (.gitignore excludes /packages/*/dist)
  2. Not available during CI builds
  3. Cause Turbopack to fail when it encounters source map references it cannot resolve

Solution: Configure the workflow package to use inlineSourceMap: true and sourceMap: false, which embeds source maps directly in the JavaScript files as base64-encoded data URIs instead of separate files. This prevents the missing file issue since no separate files are referenced.

This matches the fix applied to @workflow/core in commit 2fde24e.

Fix on Vercel

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.

2 participants

@vercel-release-bot@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n 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;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} 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

Version Packages (beta) - #561

Merged
VaguelySerious merged 1 commit into
mainfrom
changeset-release/main
Dec 9, 2025
Merged

Version Packages (beta)#561
VaguelySerious merged 1 commit into
mainfrom
changeset-release/main

Conversation

@vercel-release-bot

@vercel-release-botvercel-release-bot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@workflow/ai@4.0.1-beta.29

Patch Changes

  • Updated dependencies []:
    • workflow@4.0.1-beta.29

@workflow/astro@4.0.0-beta.7

Patch Changes

  • #50319c271c Thanks @adriandlam! - Refactor request converter code in SvelteKit and Astro builder to @workflow/builders

  • #501205b395 Thanks @adriandlam! - Move Vite HMR to @workflow/vite package

  • Updated dependencies [19c271c, 205b395]:

    • @workflow/builders@4.0.1-beta.24
    • @workflow/vite@4.0.0-beta.2

@workflow/builders@4.0.1-beta.24

Patch Changes

@workflow/cli@4.0.1-beta.29

Patch Changes

@workflow/core@4.0.1-beta.25

Patch Changes

  • #575161c54c Thanks @VaguelySerious! - Add Web and CLI UI for listing and viewing streams

  • #5410bbd26f Thanks @pranaygp! - perf: use Map for invocationsQueue (O(1) lookup/delete)

    Replace array-based invocationsQueue with Map for O(1) lookup and delete operations, eliminating O(n²) complexity in high-concurrency workflows.

  • #567c35b445 Thanks @Schniz! - otel: do not treat WorkflowSuspension errors as errors in the trace, as they symbolize effects and not actual exceptions.

  • #571d3fd81d Thanks @TooTallNate! - Enhance serialization failure error reporting

  • Updated dependencies [d42a968, c82b467]:

    • @workflow/world-local@4.0.1-beta.16
    • @workflow/world-vercel@4.0.1-beta.18
    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@workflow/next@4.0.1-beta.28

Patch Changes

@workflow/nitro@4.0.1-beta.28

Patch Changes

@workflow/nuxt@4.0.1-beta.17

Patch Changes

  • Updated dependencies [205b395]:
    • @workflow/nitro@4.0.1-beta.28

@workflow/sveltekit@4.0.0-beta.22

Patch Changes

  • #50319c271c Thanks @adriandlam! - Refactor request converter code in SvelteKit and Astro builder to @workflow/builders

  • #501205b395 Thanks @adriandlam! - Move Vite HMR to @workflow/vite package

  • Updated dependencies [19c271c, 205b395]:

    • @workflow/builders@4.0.1-beta.24
    • @workflow/vite@4.0.0-beta.2

@workflow/vite@4.0.0-beta.2

Patch Changes

@workflow/web@4.0.1-beta.15

Patch Changes

@workflow/web-shared@4.0.1-beta.26

Patch Changes

workflow@4.0.1-beta.29

Patch Changes

  • Updated dependencies [19c271c, 161c54c, 0bbd26f, c35b445, d3fd81d, 205b395]:
    • @workflow/sveltekit@4.0.0-beta.22
    • @workflow/astro@4.0.0-beta.7
    • @workflow/cli@4.0.1-beta.29
    • @workflow/core@4.0.1-beta.25
    • @workflow/nitro@4.0.1-beta.28
    • @workflow/next@4.0.1-beta.28
    • @workflow/typescript-plugin@4.0.1-beta.4
    • @workflow/errors@4.0.1-beta.7
    • @workflow/nuxt@4.0.1-beta.17

@workflow/world@4.0.1-beta.10

Patch Changes

@workflow/world-local@4.0.1-beta.16

Patch Changes

@workflow/world-postgres@4.1.0-beta.18

Patch Changes

  • #574c82b467 Thanks @VaguelySerious! - Add listByRunId endpoint to Streamer interface

  • Updated dependencies [d42a968, c82b467]:

    • @workflow/world-local@4.0.1-beta.16
    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@workflow/world-testing@4.0.1-beta.30

Patch Changes

  • Updated dependencies [161c54c, c82b467]:
    • @workflow/cli@4.0.1-beta.29
    • @workflow/world@4.0.1-beta.10
    • workflow@4.0.1-beta.29

@workflow/world-vercel@4.0.1-beta.18

Patch Changes

  • #574c82b467 Thanks @VaguelySerious! - Add listByRunId endpoint to Streamer interface

  • Updated dependencies [c82b467]:

    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@vercel

vercelBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Dec 6, 2025

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
🌐 Starter🥇 Next.js (Turbopack)0.038s (+3.5%)1.013s (~)0.974s101.00x
💻 LocalNext.js (Turbopack)0.040s (-14.1% 🟢)1.017s (~)0.977s101.03x
🌐 RedisNext.js (Turbopack)0.041s (~)1.017s (~)0.976s101.07x
💻 LocalExpress0.044s (+39.8% 🔺)1.007s (~)0.963s101.14x
💻 LocalNitro0.045s (+7.6% 🔺)1.007s (~)0.962s101.18x
🌐 MongoDBNext.js (Turbopack)0.048s (-39.0% 🟢)1.015s (~)0.967s101.24x
🐘 PostgresNext.js (Turbopack)0.129s (-0.6%)1.019s (~)0.890s103.35x
🐘 PostgresExpress0.236s (-31.7% 🟢)1.014s (~)0.779s106.12x
🐘 PostgresNitro0.315s (~)1.012s (~)0.697s108.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.456s (-7.9% 🟢)1.528s (+4.6%)1.072s101.00x
▲ VercelNext.js (Turbopack)0.503s (-20.8% 🟢)1.352s (-14.2% 🟢)0.849s101.10x
▲ VercelNitro0.509s (+4.7%)1.432s (+1.6%)0.923s101.12x

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.090s (+0.8%)1.009s (~)0.919s101.00x
💻 LocalNext.js (Turbopack)0.095s (+1.9%)1.011s (~)0.915s101.06x
🌐 RedisNext.js (Turbopack)0.102s (+0.9%)1.012s (~)0.910s101.13x
💻 LocalExpress0.112s (+55.7% 🔺)1.006s (~)0.895s101.24x
💻 LocalNitro0.113s (+4.5%)1.006s (~)0.893s101.26x
🌐 MongoDBNext.js (Turbopack)0.293s (-2.9%)1.013s (~)0.720s103.25x
🐘 PostgresNitro0.692s (-41.5% 🟢)1.009s (-49.8% 🟢)0.317s107.69x
🐘 PostgresNext.js (Turbopack)0.892s (-3.9%)1.014s (~)0.122s109.91x
🐘 PostgresExpress1.131s (-6.6% 🟢)2.013s (~)0.882s1012.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.474s (-0.6%)2.396s (-0.5%)0.921s101.00x
▲ VercelNitro1.546s (+4.7%)2.503s (+1.2%)0.957s101.05x
▲ VercelExpress1.566s (+4.8%)2.644s (+5.6% 🔺)1.078s101.06x

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.553s (-4.5%)1.007s (~)0.454s51.00x
💻 LocalNext.js (Turbopack)0.614s (-3.6%)1.010s (~)0.395s51.11x
🌐 RedisNext.js (Turbopack)0.632s (-0.7%)1.011s (~)0.379s51.14x
💻 LocalExpress0.766s (+58.6% 🔺)1.006s (~)0.240s51.39x
💻 LocalNitro0.803s (+5.4% 🔺)1.006s (~)0.203s51.45x
🌐 MongoDBNext.js (Turbopack)2.167s (+0.7%)3.015s (~)0.848s53.92x
🐘 PostgresNitro5.118s (-43.6% 🟢)6.016s (-38.7% 🟢)0.898s59.26x
🐘 PostgresNext.js (Turbopack)5.275s (-1.0%)6.022s (~)0.747s59.54x
🐘 PostgresExpress10.468s (+2.6%)11.021s (~)0.553s518.94x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express10.873s (~)11.666s (+1.9%)0.793s51.00x
▲ VercelNext.js (Turbopack)11.037s (+3.9%)11.837s (+5.8% 🔺)0.800s51.02x
▲ VercelNitro12.092s (+4.4%)12.720s (+3.5%)0.628s51.11x

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.350s (-1.2%)1.008s (~)0.658s51.00x
🌐 RedisNext.js (Turbopack)0.365s (-2.9%)1.010s (~)0.645s51.04x
💻 LocalNext.js (Turbopack)0.370s (-7.0% 🟢)1.009s (~)0.639s51.06x
💻 LocalExpress0.405s (+30.4% 🔺)1.006s (~)0.601s51.16x
💻 LocalNitro0.416s (+8.4% 🔺)1.006s (~)0.590s51.19x
🐘 PostgresNitro1.053s (-25.9% 🟢)1.812s (-10.4% 🟢)0.759s53.01x
🐘 PostgresNext.js (Turbopack)1.166s (-9.6% 🟢)2.015s (~)0.849s53.33x
🐘 PostgresExpress1.594s (-7.2% 🟢)2.011s (~)0.416s54.56x
🌐 MongoDBNext.js (Turbopack)1.676s (~)2.011s (~)0.335s54.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.685s (-12.6% 🟢)3.569s (-20.9% 🟢)0.884s51.00x
▲ VercelExpress3.097s (+11.9% 🔺)3.969s (+9.7% 🔺)0.872s51.15x
▲ VercelNext.js (Turbopack)4.860s (+59.2% 🔺)5.604s (+51.4% 🔺)0.744s51.81x

stress test: Promise.all with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.728s (-5.4% 🟢)2.028s (~)0.301s151.00x
🌐 RedisNext.js (Turbopack)3.492s (~)4.186s (+0.5%)0.695s82.02x
🐘 PostgresNitro7.631s (-10.3% 🟢)7.983s (-10.6% 🟢)0.352s44.42x
🐘 PostgresNext.js (Turbopack)8.116s (~)8.389s (-1.6%)0.273s44.70x
🐘 PostgresExpress8.882s (+1.4%)9.167s (~)0.285s45.14x
💻 LocalNitro11.341s (+15.2% 🔺)11.667s (+13.9% 🔺)0.327s36.56x
💻 LocalExpress11.652s (+28.9% 🔺)11.971s (+29.9% 🔺)0.319s36.74x
💻 LocalNext.js (Turbopack)13.345s (+12.4% 🔺)13.721s (+13.6% 🔺)0.376s37.72x
🌐 MongoDBNext.js (Turbopack)20.044s (-0.7%)20.527s (~)0.483s211.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)19.537s (-1.0%)20.330s (~)0.793s21.00x
▲ VercelExpress40.571s (+148.2% 🔺)41.228s (+138.2% 🔺)0.657s12.08x
▲ VercelNitro46.347s (+110.2% 🔺)47.524s (+112.2% 🔺)1.177s12.37x

stress test: Promise.race with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.959s (-2.6%)2.074s (-0.8%)0.114s151.00x
🌐 RedisNext.js (Turbopack)3.759s (-1.7%)4.251s (+1.1%)0.492s81.92x
🐘 PostgresNitro8.622s (-4.8%)9.039s (-3.1%)0.417s44.40x
🐘 PostgresNext.js (Turbopack)8.982s (-2.7%)9.306s (-2.4%)0.324s44.58x
🐘 PostgresExpress9.701s (+4.9%)10.118s (+6.7% 🔺)0.416s34.95x
💻 LocalExpress10.652s (+27.7% 🔺)10.955s (+21.1% 🔺)0.303s35.44x
💻 LocalNitro11.741s (+2.3%)12.371s (+6.1% 🔺)0.630s35.99x
💻 LocalNext.js (Turbopack)12.103s (-4.7%)12.380s (-5.1% 🟢)0.277s36.18x
🌐 MongoDBNext.js (Turbopack)19.883s (~)20.528s (~)0.645s210.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro15.867s (+5.3% 🔺)16.624s (+6.1% 🔺)0.756s21.00x
▲ VercelExpress15.902s (-8.9% 🟢)16.845s (-8.6% 🟢)0.942s21.00x
▲ VercelNext.js (Turbopack)17.375s (-13.0% 🟢)18.143s (-12.2% 🟢)0.767s21.10x

Stream Benchmarks

Stream benchmarks include Time to First Byte (TTFB) metrics.

workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.128s (-1.4%)1.003s (~)1.008s (~)0.880s101.00x
💻 LocalNext.js (Turbopack)0.139s (-5.4% 🟢)1.002s (~)1.014s (~)0.874s101.09x
🌐 RedisNext.js (Turbopack)0.147s (+0.9%)1.004s (~)1.011s (~)0.865s101.15x
💻 LocalExpress0.178s (+67.6% 🔺)0.992s (-0.6%)1.009s (~)0.831s101.39x
💻 LocalNitro0.184s (+5.8% 🔺)0.991s (~)1.008s (~)0.824s101.44x
🌐 MongoDBNext.js (Turbopack)0.504s (-2.8%)0.944s (+1.2%)1.013s (~)0.508s103.94x
🐘 PostgresNitro1.134s (-12.4% 🟢)1.899s (+8.8% 🔺)2.011s (~)0.877s108.86x
🐘 PostgresNext.js (Turbopack)1.241s (+105.2% 🔺)1.599s (+66.5% 🔺)1.823s (+79.9% 🔺)0.582s109.69x
🐘 PostgresExpress2.245s (-5.1% 🟢)2.801s (+4.4%)3.017s (~)0.771s1017.54x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.405s (~)2.940s (+0.9%)3.326s (+1.1%)0.921s101.00x
▲ VercelNitro2.551s (+3.7%)3.059s (~)3.586s (+3.7%)1.035s101.06x
▲ VercelExpress2.751s (+8.7% 🔺)2.933s (-7.5% 🟢)3.419s (-4.3%)0.667s101.14x

Summary: Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)5/7
🐘 PostgresNitro6/7
▲ VercelNext.js (Turbopack)3/7

Summary: Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local5/7
Next.js (Turbopack)🌐 Starter7/7
Nitro💻 Local5/7
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)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

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

@github-actions

github-actionsBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
⚠️ ▲ Vercel Production250010260
✅ 🪟 Windows260026
❌ 🌍 Community Worlds82340116
⚠️ 📋 Other250126
Total3833411428

❌ Failed Tests

mongodb (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 202 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:255:24
at processTicksAndRejections (node:internal/process/tas
redis (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 200 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:285:25
at processTicksAndRejections (node:internal/process/tas
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(3) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'failed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:647:30
at processTicksAndRejections (node:internal/
starter (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:725:31
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:748:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:784:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:835:36
at processTicksAndRejections (node:intern
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pack
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F98_duplicate_case.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/wo
turso (🌍 Community Worlds): e2e should work with react rendering in step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F8_react_render.tsx&workflowFn=reactWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e promiseAllWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAllWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e promiseRaceWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow
turso (🌍 Community Worlds): e2e promiseAnyWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAnyWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e readableStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=readableStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packag
turso (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=webhookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pac
turso (🌍 Community Worlds): e2e sleepingWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=sleepingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e nullByteWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=nullByteWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e workflowAndStepMetadataWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=workflowAndStepMetadataWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e outputStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflo
turso (🌍 Community Worlds): e2e outputStreamInsideStepWorkflow - getWritable() called inside step functions

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamInsideStepWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e fetchWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=fetchWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packa
turso (🌍 Community Worlds): e2e promiseRaceStressTestWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceStressTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflo
turso (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryAttemptCounterWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e retryableAndFatalErrorWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryableAndFatalErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=crossFileErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookCleanupTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionPassingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionWithClosureWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e closureVariableWorkflow - nested step functions with closure variables

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=closureVariableWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=spawnWorkflowFromStepWorkflow 500: at triggerWorkflow (/home/runner/work/workflo

Details by Category

⚠️ ▲ Vercel Production
AppPassedFailedSkipped
⚠️ astro2501
⚠️ example2501
⚠️ express2501
⚠️ hono2501
⚠️ nextjs-turbopack2501
⚠️ nextjs-webpack2501
⚠️ nitro2501
⚠️ nuxt2501
⚠️ sveltekit2501
⚠️ vite2501
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2600
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2510
✅ redis-dev300
❌ redis2510
✅ starter-dev300
❌ starter1880
✅ turso-dev300
❌ turso2240
⚠️ 📋 Other
AppPassedFailedSkipped
⚠️ e2e-vercel-prod-fastify2501

@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 0cba37f to a011a32CompareDecember 6, 2025 00:03
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from a011a32 to f7652c6CompareDecember 6, 2025 02:19
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 8be219e to 13e1f50CompareDecember 7, 2025 02:31
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 13e1f50 to 33e5edeCompareDecember 7, 2025 02:33
Comment thread.changeset/pre.json
"@workflow/astro": "4.0.0-beta.1",
"@workflow/example-fastify": "0.0.0"
"@workflow/example-fastify": "0.0.0",
"@workflow/vite": "4.0.0-beta.1"

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.

Suggested change
"@workflow/vite": "4.0.0-beta.1"
"@workflow/vite": "4.0.0-beta.2"

The @workflow/vite package version in pre.json is incorrect - it shows 4.0.0-beta.1 but should be 4.0.0-beta.2 to match the package.json version.

View Details

Analysis

Version mismatch in .changeset/pre.json for @workflow/vite

What fails: The initialVersions section in .changeset/pre.json tracks outdated package versions, causing the changeset system to lose sync with actual package versions during pre-release cycles.

How to reproduce:

# Compare versions in the two files
grep "@workflow/vite" .changeset/pre.json
grep "\"version\"" packages/vite/package.json

Result:

  • .changeset/pre.json line 41: "@workflow/vite": "4.0.0-beta.1"
  • packages/vite/package.json line 4: "version": "4.0.0-beta.2"

Expected: Both files should show the same version. The package.json is the source of truth, and the pre.json initialVersions should match the actual current package versions as documented in packages/vite/CHANGELOG.md which confirms 4.0.0-beta.2 was released in PR #501.

@vercelvercelBot 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.

🔧 Build Fix:

The workflow package's TypeScript configuration generates separate source map files instead of embedding them inline. Since these .js.map files are excluded from git, they're missing during CI builds, causing Turbopack to fail when it tries to resolve source map references. Configuring the package to use inlineSourceMap instead fixes the issue by embedding source maps directly in the JavaScript output.

View Details
📝 Patch Details
diff --git a/packages/workflow/tsconfig.json b/packages/workflow/tsconfig.json
index a78dbf4..65f2136 100644
--- a/packages/workflow/tsconfig.json+++ b/packages/workflow/tsconfig.json@@ -1,7 +1,9 @@
{
"extends": "@workflow/tsconfig/base.json",
"compilerOptions": {
- "outDir": "dist"+ "outDir": "dist",+ "sourceMap": false,+ "inlineSourceMap": true
},
"include": ["src"],
"exclude": ["node_modules", "**/*.test.ts"]

Analysis

Missing source map file causes Turbopack build failure

What fails: Turbopack build for nextjs-turbopack fails when attempting to process JavaScript files from the workflow package that reference missing source map files.

How to reproduce:

pnpm install
pnpm exec turbo run build --filter nextjs-turbopack

Result:

ERROR failed to read input source map: failed to find input source map file "stdlib.js.map" in "packages/workflow/dist/stdlib.js" file as either "packages/workflow/dist/stdlib.js.map" or with appended .map
...
Code generation for chunk item errored
An error occurred while generating the chunk item [project]/workbench/nextjs-turbopack/app/page.tsx [app-client] (ecmascript)

Root cause: The packages/workflow/tsconfig.json was configured with sourceMap: true (inherited from base.json), which causes TypeScript to generate separate .js.map source map files. These files are:

  1. Not committed to git (.gitignore excludes /packages/*/dist)
  2. Not available during CI builds
  3. Cause Turbopack to fail when it encounters source map references it cannot resolve

Solution: Configure the workflow package to use inlineSourceMap: true and sourceMap: false, which embeds source maps directly in the JavaScript files as base64-encoded data URIs instead of separate files. This prevents the missing file issue since no separate files are referenced.

This matches the fix applied to @workflow/core in commit 2fde24e.

Fix on Vercel

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.

2 participants

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

Version Packages (beta) - #561

Merged
VaguelySerious merged 1 commit into
mainfrom
changeset-release/main
Dec 9, 2025
Merged

Version Packages (beta)#561
VaguelySerious merged 1 commit into
mainfrom
changeset-release/main

Conversation

@vercel-release-bot

@vercel-release-botvercel-release-bot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@workflow/ai@4.0.1-beta.29

Patch Changes

  • Updated dependencies []:
    • workflow@4.0.1-beta.29

@workflow/astro@4.0.0-beta.7

Patch Changes

  • #50319c271c Thanks @adriandlam! - Refactor request converter code in SvelteKit and Astro builder to @workflow/builders

  • #501205b395 Thanks @adriandlam! - Move Vite HMR to @workflow/vite package

  • Updated dependencies [19c271c, 205b395]:

    • @workflow/builders@4.0.1-beta.24
    • @workflow/vite@4.0.0-beta.2

@workflow/builders@4.0.1-beta.24

Patch Changes

@workflow/cli@4.0.1-beta.29

Patch Changes

@workflow/core@4.0.1-beta.25

Patch Changes

  • #575161c54c Thanks @VaguelySerious! - Add Web and CLI UI for listing and viewing streams

  • #5410bbd26f Thanks @pranaygp! - perf: use Map for invocationsQueue (O(1) lookup/delete)

    Replace array-based invocationsQueue with Map for O(1) lookup and delete operations, eliminating O(n²) complexity in high-concurrency workflows.

  • #567c35b445 Thanks @Schniz! - otel: do not treat WorkflowSuspension errors as errors in the trace, as they symbolize effects and not actual exceptions.

  • #571d3fd81d Thanks @TooTallNate! - Enhance serialization failure error reporting

  • Updated dependencies [d42a968, c82b467]:

    • @workflow/world-local@4.0.1-beta.16
    • @workflow/world-vercel@4.0.1-beta.18
    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@workflow/next@4.0.1-beta.28

Patch Changes

@workflow/nitro@4.0.1-beta.28

Patch Changes

@workflow/nuxt@4.0.1-beta.17

Patch Changes

  • Updated dependencies [205b395]:
    • @workflow/nitro@4.0.1-beta.28

@workflow/sveltekit@4.0.0-beta.22

Patch Changes

  • #50319c271c Thanks @adriandlam! - Refactor request converter code in SvelteKit and Astro builder to @workflow/builders

  • #501205b395 Thanks @adriandlam! - Move Vite HMR to @workflow/vite package

  • Updated dependencies [19c271c, 205b395]:

    • @workflow/builders@4.0.1-beta.24
    • @workflow/vite@4.0.0-beta.2

@workflow/vite@4.0.0-beta.2

Patch Changes

@workflow/web@4.0.1-beta.15

Patch Changes

@workflow/web-shared@4.0.1-beta.26

Patch Changes

workflow@4.0.1-beta.29

Patch Changes

  • Updated dependencies [19c271c, 161c54c, 0bbd26f, c35b445, d3fd81d, 205b395]:
    • @workflow/sveltekit@4.0.0-beta.22
    • @workflow/astro@4.0.0-beta.7
    • @workflow/cli@4.0.1-beta.29
    • @workflow/core@4.0.1-beta.25
    • @workflow/nitro@4.0.1-beta.28
    • @workflow/next@4.0.1-beta.28
    • @workflow/typescript-plugin@4.0.1-beta.4
    • @workflow/errors@4.0.1-beta.7
    • @workflow/nuxt@4.0.1-beta.17

@workflow/world@4.0.1-beta.10

Patch Changes

@workflow/world-local@4.0.1-beta.16

Patch Changes

@workflow/world-postgres@4.1.0-beta.18

Patch Changes

  • #574c82b467 Thanks @VaguelySerious! - Add listByRunId endpoint to Streamer interface

  • Updated dependencies [d42a968, c82b467]:

    • @workflow/world-local@4.0.1-beta.16
    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@workflow/world-testing@4.0.1-beta.30

Patch Changes

  • Updated dependencies [161c54c, c82b467]:
    • @workflow/cli@4.0.1-beta.29
    • @workflow/world@4.0.1-beta.10
    • workflow@4.0.1-beta.29

@workflow/world-vercel@4.0.1-beta.18

Patch Changes

  • #574c82b467 Thanks @VaguelySerious! - Add listByRunId endpoint to Streamer interface

  • Updated dependencies [c82b467]:

    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@vercel

vercelBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Dec 6, 2025

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
🌐 Starter🥇 Next.js (Turbopack)0.038s (+3.5%)1.013s (~)0.974s101.00x
💻 LocalNext.js (Turbopack)0.040s (-14.1% 🟢)1.017s (~)0.977s101.03x
🌐 RedisNext.js (Turbopack)0.041s (~)1.017s (~)0.976s101.07x
💻 LocalExpress0.044s (+39.8% 🔺)1.007s (~)0.963s101.14x
💻 LocalNitro0.045s (+7.6% 🔺)1.007s (~)0.962s101.18x
🌐 MongoDBNext.js (Turbopack)0.048s (-39.0% 🟢)1.015s (~)0.967s101.24x
🐘 PostgresNext.js (Turbopack)0.129s (-0.6%)1.019s (~)0.890s103.35x
🐘 PostgresExpress0.236s (-31.7% 🟢)1.014s (~)0.779s106.12x
🐘 PostgresNitro0.315s (~)1.012s (~)0.697s108.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.456s (-7.9% 🟢)1.528s (+4.6%)1.072s101.00x
▲ VercelNext.js (Turbopack)0.503s (-20.8% 🟢)1.352s (-14.2% 🟢)0.849s101.10x
▲ VercelNitro0.509s (+4.7%)1.432s (+1.6%)0.923s101.12x

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.090s (+0.8%)1.009s (~)0.919s101.00x
💻 LocalNext.js (Turbopack)0.095s (+1.9%)1.011s (~)0.915s101.06x
🌐 RedisNext.js (Turbopack)0.102s (+0.9%)1.012s (~)0.910s101.13x
💻 LocalExpress0.112s (+55.7% 🔺)1.006s (~)0.895s101.24x
💻 LocalNitro0.113s (+4.5%)1.006s (~)0.893s101.26x
🌐 MongoDBNext.js (Turbopack)0.293s (-2.9%)1.013s (~)0.720s103.25x
🐘 PostgresNitro0.692s (-41.5% 🟢)1.009s (-49.8% 🟢)0.317s107.69x
🐘 PostgresNext.js (Turbopack)0.892s (-3.9%)1.014s (~)0.122s109.91x
🐘 PostgresExpress1.131s (-6.6% 🟢)2.013s (~)0.882s1012.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.474s (-0.6%)2.396s (-0.5%)0.921s101.00x
▲ VercelNitro1.546s (+4.7%)2.503s (+1.2%)0.957s101.05x
▲ VercelExpress1.566s (+4.8%)2.644s (+5.6% 🔺)1.078s101.06x

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.553s (-4.5%)1.007s (~)0.454s51.00x
💻 LocalNext.js (Turbopack)0.614s (-3.6%)1.010s (~)0.395s51.11x
🌐 RedisNext.js (Turbopack)0.632s (-0.7%)1.011s (~)0.379s51.14x
💻 LocalExpress0.766s (+58.6% 🔺)1.006s (~)0.240s51.39x
💻 LocalNitro0.803s (+5.4% 🔺)1.006s (~)0.203s51.45x
🌐 MongoDBNext.js (Turbopack)2.167s (+0.7%)3.015s (~)0.848s53.92x
🐘 PostgresNitro5.118s (-43.6% 🟢)6.016s (-38.7% 🟢)0.898s59.26x
🐘 PostgresNext.js (Turbopack)5.275s (-1.0%)6.022s (~)0.747s59.54x
🐘 PostgresExpress10.468s (+2.6%)11.021s (~)0.553s518.94x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express10.873s (~)11.666s (+1.9%)0.793s51.00x
▲ VercelNext.js (Turbopack)11.037s (+3.9%)11.837s (+5.8% 🔺)0.800s51.02x
▲ VercelNitro12.092s (+4.4%)12.720s (+3.5%)0.628s51.11x

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.350s (-1.2%)1.008s (~)0.658s51.00x
🌐 RedisNext.js (Turbopack)0.365s (-2.9%)1.010s (~)0.645s51.04x
💻 LocalNext.js (Turbopack)0.370s (-7.0% 🟢)1.009s (~)0.639s51.06x
💻 LocalExpress0.405s (+30.4% 🔺)1.006s (~)0.601s51.16x
💻 LocalNitro0.416s (+8.4% 🔺)1.006s (~)0.590s51.19x
🐘 PostgresNitro1.053s (-25.9% 🟢)1.812s (-10.4% 🟢)0.759s53.01x
🐘 PostgresNext.js (Turbopack)1.166s (-9.6% 🟢)2.015s (~)0.849s53.33x
🐘 PostgresExpress1.594s (-7.2% 🟢)2.011s (~)0.416s54.56x
🌐 MongoDBNext.js (Turbopack)1.676s (~)2.011s (~)0.335s54.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.685s (-12.6% 🟢)3.569s (-20.9% 🟢)0.884s51.00x
▲ VercelExpress3.097s (+11.9% 🔺)3.969s (+9.7% 🔺)0.872s51.15x
▲ VercelNext.js (Turbopack)4.860s (+59.2% 🔺)5.604s (+51.4% 🔺)0.744s51.81x

stress test: Promise.all with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.728s (-5.4% 🟢)2.028s (~)0.301s151.00x
🌐 RedisNext.js (Turbopack)3.492s (~)4.186s (+0.5%)0.695s82.02x
🐘 PostgresNitro7.631s (-10.3% 🟢)7.983s (-10.6% 🟢)0.352s44.42x
🐘 PostgresNext.js (Turbopack)8.116s (~)8.389s (-1.6%)0.273s44.70x
🐘 PostgresExpress8.882s (+1.4%)9.167s (~)0.285s45.14x
💻 LocalNitro11.341s (+15.2% 🔺)11.667s (+13.9% 🔺)0.327s36.56x
💻 LocalExpress11.652s (+28.9% 🔺)11.971s (+29.9% 🔺)0.319s36.74x
💻 LocalNext.js (Turbopack)13.345s (+12.4% 🔺)13.721s (+13.6% 🔺)0.376s37.72x
🌐 MongoDBNext.js (Turbopack)20.044s (-0.7%)20.527s (~)0.483s211.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)19.537s (-1.0%)20.330s (~)0.793s21.00x
▲ VercelExpress40.571s (+148.2% 🔺)41.228s (+138.2% 🔺)0.657s12.08x
▲ VercelNitro46.347s (+110.2% 🔺)47.524s (+112.2% 🔺)1.177s12.37x

stress test: Promise.race with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.959s (-2.6%)2.074s (-0.8%)0.114s151.00x
🌐 RedisNext.js (Turbopack)3.759s (-1.7%)4.251s (+1.1%)0.492s81.92x
🐘 PostgresNitro8.622s (-4.8%)9.039s (-3.1%)0.417s44.40x
🐘 PostgresNext.js (Turbopack)8.982s (-2.7%)9.306s (-2.4%)0.324s44.58x
🐘 PostgresExpress9.701s (+4.9%)10.118s (+6.7% 🔺)0.416s34.95x
💻 LocalExpress10.652s (+27.7% 🔺)10.955s (+21.1% 🔺)0.303s35.44x
💻 LocalNitro11.741s (+2.3%)12.371s (+6.1% 🔺)0.630s35.99x
💻 LocalNext.js (Turbopack)12.103s (-4.7%)12.380s (-5.1% 🟢)0.277s36.18x
🌐 MongoDBNext.js (Turbopack)19.883s (~)20.528s (~)0.645s210.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro15.867s (+5.3% 🔺)16.624s (+6.1% 🔺)0.756s21.00x
▲ VercelExpress15.902s (-8.9% 🟢)16.845s (-8.6% 🟢)0.942s21.00x
▲ VercelNext.js (Turbopack)17.375s (-13.0% 🟢)18.143s (-12.2% 🟢)0.767s21.10x

Stream Benchmarks

Stream benchmarks include Time to First Byte (TTFB) metrics.

workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.128s (-1.4%)1.003s (~)1.008s (~)0.880s101.00x
💻 LocalNext.js (Turbopack)0.139s (-5.4% 🟢)1.002s (~)1.014s (~)0.874s101.09x
🌐 RedisNext.js (Turbopack)0.147s (+0.9%)1.004s (~)1.011s (~)0.865s101.15x
💻 LocalExpress0.178s (+67.6% 🔺)0.992s (-0.6%)1.009s (~)0.831s101.39x
💻 LocalNitro0.184s (+5.8% 🔺)0.991s (~)1.008s (~)0.824s101.44x
🌐 MongoDBNext.js (Turbopack)0.504s (-2.8%)0.944s (+1.2%)1.013s (~)0.508s103.94x
🐘 PostgresNitro1.134s (-12.4% 🟢)1.899s (+8.8% 🔺)2.011s (~)0.877s108.86x
🐘 PostgresNext.js (Turbopack)1.241s (+105.2% 🔺)1.599s (+66.5% 🔺)1.823s (+79.9% 🔺)0.582s109.69x
🐘 PostgresExpress2.245s (-5.1% 🟢)2.801s (+4.4%)3.017s (~)0.771s1017.54x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.405s (~)2.940s (+0.9%)3.326s (+1.1%)0.921s101.00x
▲ VercelNitro2.551s (+3.7%)3.059s (~)3.586s (+3.7%)1.035s101.06x
▲ VercelExpress2.751s (+8.7% 🔺)2.933s (-7.5% 🟢)3.419s (-4.3%)0.667s101.14x

Summary: Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)5/7
🐘 PostgresNitro6/7
▲ VercelNext.js (Turbopack)3/7

Summary: Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local5/7
Next.js (Turbopack)🌐 Starter7/7
Nitro💻 Local5/7
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)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

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

@github-actions

github-actionsBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
⚠️ ▲ Vercel Production250010260
✅ 🪟 Windows260026
❌ 🌍 Community Worlds82340116
⚠️ 📋 Other250126
Total3833411428

❌ Failed Tests

mongodb (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 202 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:255:24
at processTicksAndRejections (node:internal/process/tas
redis (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 200 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:285:25
at processTicksAndRejections (node:internal/process/tas
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(3) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'failed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:647:30
at processTicksAndRejections (node:internal/
starter (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:725:31
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:748:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:784:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:835:36
at processTicksAndRejections (node:intern
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pack
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F98_duplicate_case.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/wo
turso (🌍 Community Worlds): e2e should work with react rendering in step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F8_react_render.tsx&workflowFn=reactWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e promiseAllWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAllWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e promiseRaceWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow
turso (🌍 Community Worlds): e2e promiseAnyWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAnyWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e readableStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=readableStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packag
turso (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=webhookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pac
turso (🌍 Community Worlds): e2e sleepingWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=sleepingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e nullByteWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=nullByteWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e workflowAndStepMetadataWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=workflowAndStepMetadataWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e outputStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflo
turso (🌍 Community Worlds): e2e outputStreamInsideStepWorkflow - getWritable() called inside step functions

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamInsideStepWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e fetchWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=fetchWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packa
turso (🌍 Community Worlds): e2e promiseRaceStressTestWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceStressTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflo
turso (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryAttemptCounterWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e retryableAndFatalErrorWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryableAndFatalErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=crossFileErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookCleanupTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionPassingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionWithClosureWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e closureVariableWorkflow - nested step functions with closure variables

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=closureVariableWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=spawnWorkflowFromStepWorkflow 500: at triggerWorkflow (/home/runner/work/workflo

Details by Category

⚠️ ▲ Vercel Production
AppPassedFailedSkipped
⚠️ astro2501
⚠️ example2501
⚠️ express2501
⚠️ hono2501
⚠️ nextjs-turbopack2501
⚠️ nextjs-webpack2501
⚠️ nitro2501
⚠️ nuxt2501
⚠️ sveltekit2501
⚠️ vite2501
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2600
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2510
✅ redis-dev300
❌ redis2510
✅ starter-dev300
❌ starter1880
✅ turso-dev300
❌ turso2240
⚠️ 📋 Other
AppPassedFailedSkipped
⚠️ e2e-vercel-prod-fastify2501

@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 0cba37f to a011a32CompareDecember 6, 2025 00:03
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from a011a32 to f7652c6CompareDecember 6, 2025 02:19
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 8be219e to 13e1f50CompareDecember 7, 2025 02:31
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 13e1f50 to 33e5edeCompareDecember 7, 2025 02:33
Comment thread.changeset/pre.json
"@workflow/astro": "4.0.0-beta.1",
"@workflow/example-fastify": "0.0.0"
"@workflow/example-fastify": "0.0.0",
"@workflow/vite": "4.0.0-beta.1"

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.

Suggested change
"@workflow/vite": "4.0.0-beta.1"
"@workflow/vite": "4.0.0-beta.2"

The @workflow/vite package version in pre.json is incorrect - it shows 4.0.0-beta.1 but should be 4.0.0-beta.2 to match the package.json version.

View Details

Analysis

Version mismatch in .changeset/pre.json for @workflow/vite

What fails: The initialVersions section in .changeset/pre.json tracks outdated package versions, causing the changeset system to lose sync with actual package versions during pre-release cycles.

How to reproduce:

# Compare versions in the two files
grep "@workflow/vite" .changeset/pre.json
grep "\"version\"" packages/vite/package.json

Result:

  • .changeset/pre.json line 41: "@workflow/vite": "4.0.0-beta.1"
  • packages/vite/package.json line 4: "version": "4.0.0-beta.2"

Expected: Both files should show the same version. The package.json is the source of truth, and the pre.json initialVersions should match the actual current package versions as documented in packages/vite/CHANGELOG.md which confirms 4.0.0-beta.2 was released in PR #501.

@vercelvercelBot 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.

🔧 Build Fix:

The workflow package's TypeScript configuration generates separate source map files instead of embedding them inline. Since these .js.map files are excluded from git, they're missing during CI builds, causing Turbopack to fail when it tries to resolve source map references. Configuring the package to use inlineSourceMap instead fixes the issue by embedding source maps directly in the JavaScript output.

View Details
📝 Patch Details
diff --git a/packages/workflow/tsconfig.json b/packages/workflow/tsconfig.json
index a78dbf4..65f2136 100644
--- a/packages/workflow/tsconfig.json+++ b/packages/workflow/tsconfig.json@@ -1,7 +1,9 @@
{
"extends": "@workflow/tsconfig/base.json",
"compilerOptions": {
- "outDir": "dist"+ "outDir": "dist",+ "sourceMap": false,+ "inlineSourceMap": true
},
"include": ["src"],
"exclude": ["node_modules", "**/*.test.ts"]

Analysis

Missing source map file causes Turbopack build failure

What fails: Turbopack build for nextjs-turbopack fails when attempting to process JavaScript files from the workflow package that reference missing source map files.

How to reproduce:

pnpm install
pnpm exec turbo run build --filter nextjs-turbopack

Result:

ERROR failed to read input source map: failed to find input source map file "stdlib.js.map" in "packages/workflow/dist/stdlib.js" file as either "packages/workflow/dist/stdlib.js.map" or with appended .map
...
Code generation for chunk item errored
An error occurred while generating the chunk item [project]/workbench/nextjs-turbopack/app/page.tsx [app-client] (ecmascript)

Root cause: The packages/workflow/tsconfig.json was configured with sourceMap: true (inherited from base.json), which causes TypeScript to generate separate .js.map source map files. These files are:

  1. Not committed to git (.gitignore excludes /packages/*/dist)
  2. Not available during CI builds
  3. Cause Turbopack to fail when it encounters source map references it cannot resolve

Solution: Configure the workflow package to use inlineSourceMap: true and sourceMap: false, which embeds source maps directly in the JavaScript files as base64-encoded data URIs instead of separate files. This prevents the missing file issue since no separate files are referenced.

This matches the fix applied to @workflow/core in commit 2fde24e.

Fix on Vercel

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.

2 participants

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

Version Packages (beta) - #561

Merged
VaguelySerious merged 1 commit into
mainfrom
changeset-release/main
Dec 9, 2025
Merged

Version Packages (beta)#561
VaguelySerious merged 1 commit into
mainfrom
changeset-release/main

Conversation

@vercel-release-bot

@vercel-release-botvercel-release-bot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@workflow/ai@4.0.1-beta.29

Patch Changes

  • Updated dependencies []:
    • workflow@4.0.1-beta.29

@workflow/astro@4.0.0-beta.7

Patch Changes

  • #50319c271c Thanks @adriandlam! - Refactor request converter code in SvelteKit and Astro builder to @workflow/builders

  • #501205b395 Thanks @adriandlam! - Move Vite HMR to @workflow/vite package

  • Updated dependencies [19c271c, 205b395]:

    • @workflow/builders@4.0.1-beta.24
    • @workflow/vite@4.0.0-beta.2

@workflow/builders@4.0.1-beta.24

Patch Changes

@workflow/cli@4.0.1-beta.29

Patch Changes

@workflow/core@4.0.1-beta.25

Patch Changes

  • #575161c54c Thanks @VaguelySerious! - Add Web and CLI UI for listing and viewing streams

  • #5410bbd26f Thanks @pranaygp! - perf: use Map for invocationsQueue (O(1) lookup/delete)

    Replace array-based invocationsQueue with Map for O(1) lookup and delete operations, eliminating O(n²) complexity in high-concurrency workflows.

  • #567c35b445 Thanks @Schniz! - otel: do not treat WorkflowSuspension errors as errors in the trace, as they symbolize effects and not actual exceptions.

  • #571d3fd81d Thanks @TooTallNate! - Enhance serialization failure error reporting

  • Updated dependencies [d42a968, c82b467]:

    • @workflow/world-local@4.0.1-beta.16
    • @workflow/world-vercel@4.0.1-beta.18
    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@workflow/next@4.0.1-beta.28

Patch Changes

@workflow/nitro@4.0.1-beta.28

Patch Changes

@workflow/nuxt@4.0.1-beta.17

Patch Changes

  • Updated dependencies [205b395]:
    • @workflow/nitro@4.0.1-beta.28

@workflow/sveltekit@4.0.0-beta.22

Patch Changes

  • #50319c271c Thanks @adriandlam! - Refactor request converter code in SvelteKit and Astro builder to @workflow/builders

  • #501205b395 Thanks @adriandlam! - Move Vite HMR to @workflow/vite package

  • Updated dependencies [19c271c, 205b395]:

    • @workflow/builders@4.0.1-beta.24
    • @workflow/vite@4.0.0-beta.2

@workflow/vite@4.0.0-beta.2

Patch Changes

@workflow/web@4.0.1-beta.15

Patch Changes

@workflow/web-shared@4.0.1-beta.26

Patch Changes

workflow@4.0.1-beta.29

Patch Changes

  • Updated dependencies [19c271c, 161c54c, 0bbd26f, c35b445, d3fd81d, 205b395]:
    • @workflow/sveltekit@4.0.0-beta.22
    • @workflow/astro@4.0.0-beta.7
    • @workflow/cli@4.0.1-beta.29
    • @workflow/core@4.0.1-beta.25
    • @workflow/nitro@4.0.1-beta.28
    • @workflow/next@4.0.1-beta.28
    • @workflow/typescript-plugin@4.0.1-beta.4
    • @workflow/errors@4.0.1-beta.7
    • @workflow/nuxt@4.0.1-beta.17

@workflow/world@4.0.1-beta.10

Patch Changes

@workflow/world-local@4.0.1-beta.16

Patch Changes

@workflow/world-postgres@4.1.0-beta.18

Patch Changes

  • #574c82b467 Thanks @VaguelySerious! - Add listByRunId endpoint to Streamer interface

  • Updated dependencies [d42a968, c82b467]:

    • @workflow/world-local@4.0.1-beta.16
    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@workflow/world-testing@4.0.1-beta.30

Patch Changes

  • Updated dependencies [161c54c, c82b467]:
    • @workflow/cli@4.0.1-beta.29
    • @workflow/world@4.0.1-beta.10
    • workflow@4.0.1-beta.29

@workflow/world-vercel@4.0.1-beta.18

Patch Changes

  • #574c82b467 Thanks @VaguelySerious! - Add listByRunId endpoint to Streamer interface

  • Updated dependencies [c82b467]:

    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@vercel

vercelBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Dec 6, 2025

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
🌐 Starter🥇 Next.js (Turbopack)0.038s (+3.5%)1.013s (~)0.974s101.00x
💻 LocalNext.js (Turbopack)0.040s (-14.1% 🟢)1.017s (~)0.977s101.03x
🌐 RedisNext.js (Turbopack)0.041s (~)1.017s (~)0.976s101.07x
💻 LocalExpress0.044s (+39.8% 🔺)1.007s (~)0.963s101.14x
💻 LocalNitro0.045s (+7.6% 🔺)1.007s (~)0.962s101.18x
🌐 MongoDBNext.js (Turbopack)0.048s (-39.0% 🟢)1.015s (~)0.967s101.24x
🐘 PostgresNext.js (Turbopack)0.129s (-0.6%)1.019s (~)0.890s103.35x
🐘 PostgresExpress0.236s (-31.7% 🟢)1.014s (~)0.779s106.12x
🐘 PostgresNitro0.315s (~)1.012s (~)0.697s108.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.456s (-7.9% 🟢)1.528s (+4.6%)1.072s101.00x
▲ VercelNext.js (Turbopack)0.503s (-20.8% 🟢)1.352s (-14.2% 🟢)0.849s101.10x
▲ VercelNitro0.509s (+4.7%)1.432s (+1.6%)0.923s101.12x

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.090s (+0.8%)1.009s (~)0.919s101.00x
💻 LocalNext.js (Turbopack)0.095s (+1.9%)1.011s (~)0.915s101.06x
🌐 RedisNext.js (Turbopack)0.102s (+0.9%)1.012s (~)0.910s101.13x
💻 LocalExpress0.112s (+55.7% 🔺)1.006s (~)0.895s101.24x
💻 LocalNitro0.113s (+4.5%)1.006s (~)0.893s101.26x
🌐 MongoDBNext.js (Turbopack)0.293s (-2.9%)1.013s (~)0.720s103.25x
🐘 PostgresNitro0.692s (-41.5% 🟢)1.009s (-49.8% 🟢)0.317s107.69x
🐘 PostgresNext.js (Turbopack)0.892s (-3.9%)1.014s (~)0.122s109.91x
🐘 PostgresExpress1.131s (-6.6% 🟢)2.013s (~)0.882s1012.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.474s (-0.6%)2.396s (-0.5%)0.921s101.00x
▲ VercelNitro1.546s (+4.7%)2.503s (+1.2%)0.957s101.05x
▲ VercelExpress1.566s (+4.8%)2.644s (+5.6% 🔺)1.078s101.06x

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.553s (-4.5%)1.007s (~)0.454s51.00x
💻 LocalNext.js (Turbopack)0.614s (-3.6%)1.010s (~)0.395s51.11x
🌐 RedisNext.js (Turbopack)0.632s (-0.7%)1.011s (~)0.379s51.14x
💻 LocalExpress0.766s (+58.6% 🔺)1.006s (~)0.240s51.39x
💻 LocalNitro0.803s (+5.4% 🔺)1.006s (~)0.203s51.45x
🌐 MongoDBNext.js (Turbopack)2.167s (+0.7%)3.015s (~)0.848s53.92x
🐘 PostgresNitro5.118s (-43.6% 🟢)6.016s (-38.7% 🟢)0.898s59.26x
🐘 PostgresNext.js (Turbopack)5.275s (-1.0%)6.022s (~)0.747s59.54x
🐘 PostgresExpress10.468s (+2.6%)11.021s (~)0.553s518.94x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express10.873s (~)11.666s (+1.9%)0.793s51.00x
▲ VercelNext.js (Turbopack)11.037s (+3.9%)11.837s (+5.8% 🔺)0.800s51.02x
▲ VercelNitro12.092s (+4.4%)12.720s (+3.5%)0.628s51.11x

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.350s (-1.2%)1.008s (~)0.658s51.00x
🌐 RedisNext.js (Turbopack)0.365s (-2.9%)1.010s (~)0.645s51.04x
💻 LocalNext.js (Turbopack)0.370s (-7.0% 🟢)1.009s (~)0.639s51.06x
💻 LocalExpress0.405s (+30.4% 🔺)1.006s (~)0.601s51.16x
💻 LocalNitro0.416s (+8.4% 🔺)1.006s (~)0.590s51.19x
🐘 PostgresNitro1.053s (-25.9% 🟢)1.812s (-10.4% 🟢)0.759s53.01x
🐘 PostgresNext.js (Turbopack)1.166s (-9.6% 🟢)2.015s (~)0.849s53.33x
🐘 PostgresExpress1.594s (-7.2% 🟢)2.011s (~)0.416s54.56x
🌐 MongoDBNext.js (Turbopack)1.676s (~)2.011s (~)0.335s54.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.685s (-12.6% 🟢)3.569s (-20.9% 🟢)0.884s51.00x
▲ VercelExpress3.097s (+11.9% 🔺)3.969s (+9.7% 🔺)0.872s51.15x
▲ VercelNext.js (Turbopack)4.860s (+59.2% 🔺)5.604s (+51.4% 🔺)0.744s51.81x

stress test: Promise.all with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.728s (-5.4% 🟢)2.028s (~)0.301s151.00x
🌐 RedisNext.js (Turbopack)3.492s (~)4.186s (+0.5%)0.695s82.02x
🐘 PostgresNitro7.631s (-10.3% 🟢)7.983s (-10.6% 🟢)0.352s44.42x
🐘 PostgresNext.js (Turbopack)8.116s (~)8.389s (-1.6%)0.273s44.70x
🐘 PostgresExpress8.882s (+1.4%)9.167s (~)0.285s45.14x
💻 LocalNitro11.341s (+15.2% 🔺)11.667s (+13.9% 🔺)0.327s36.56x
💻 LocalExpress11.652s (+28.9% 🔺)11.971s (+29.9% 🔺)0.319s36.74x
💻 LocalNext.js (Turbopack)13.345s (+12.4% 🔺)13.721s (+13.6% 🔺)0.376s37.72x
🌐 MongoDBNext.js (Turbopack)20.044s (-0.7%)20.527s (~)0.483s211.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)19.537s (-1.0%)20.330s (~)0.793s21.00x
▲ VercelExpress40.571s (+148.2% 🔺)41.228s (+138.2% 🔺)0.657s12.08x
▲ VercelNitro46.347s (+110.2% 🔺)47.524s (+112.2% 🔺)1.177s12.37x

stress test: Promise.race with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.959s (-2.6%)2.074s (-0.8%)0.114s151.00x
🌐 RedisNext.js (Turbopack)3.759s (-1.7%)4.251s (+1.1%)0.492s81.92x
🐘 PostgresNitro8.622s (-4.8%)9.039s (-3.1%)0.417s44.40x
🐘 PostgresNext.js (Turbopack)8.982s (-2.7%)9.306s (-2.4%)0.324s44.58x
🐘 PostgresExpress9.701s (+4.9%)10.118s (+6.7% 🔺)0.416s34.95x
💻 LocalExpress10.652s (+27.7% 🔺)10.955s (+21.1% 🔺)0.303s35.44x
💻 LocalNitro11.741s (+2.3%)12.371s (+6.1% 🔺)0.630s35.99x
💻 LocalNext.js (Turbopack)12.103s (-4.7%)12.380s (-5.1% 🟢)0.277s36.18x
🌐 MongoDBNext.js (Turbopack)19.883s (~)20.528s (~)0.645s210.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro15.867s (+5.3% 🔺)16.624s (+6.1% 🔺)0.756s21.00x
▲ VercelExpress15.902s (-8.9% 🟢)16.845s (-8.6% 🟢)0.942s21.00x
▲ VercelNext.js (Turbopack)17.375s (-13.0% 🟢)18.143s (-12.2% 🟢)0.767s21.10x

Stream Benchmarks

Stream benchmarks include Time to First Byte (TTFB) metrics.

workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.128s (-1.4%)1.003s (~)1.008s (~)0.880s101.00x
💻 LocalNext.js (Turbopack)0.139s (-5.4% 🟢)1.002s (~)1.014s (~)0.874s101.09x
🌐 RedisNext.js (Turbopack)0.147s (+0.9%)1.004s (~)1.011s (~)0.865s101.15x
💻 LocalExpress0.178s (+67.6% 🔺)0.992s (-0.6%)1.009s (~)0.831s101.39x
💻 LocalNitro0.184s (+5.8% 🔺)0.991s (~)1.008s (~)0.824s101.44x
🌐 MongoDBNext.js (Turbopack)0.504s (-2.8%)0.944s (+1.2%)1.013s (~)0.508s103.94x
🐘 PostgresNitro1.134s (-12.4% 🟢)1.899s (+8.8% 🔺)2.011s (~)0.877s108.86x
🐘 PostgresNext.js (Turbopack)1.241s (+105.2% 🔺)1.599s (+66.5% 🔺)1.823s (+79.9% 🔺)0.582s109.69x
🐘 PostgresExpress2.245s (-5.1% 🟢)2.801s (+4.4%)3.017s (~)0.771s1017.54x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.405s (~)2.940s (+0.9%)3.326s (+1.1%)0.921s101.00x
▲ VercelNitro2.551s (+3.7%)3.059s (~)3.586s (+3.7%)1.035s101.06x
▲ VercelExpress2.751s (+8.7% 🔺)2.933s (-7.5% 🟢)3.419s (-4.3%)0.667s101.14x

Summary: Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)5/7
🐘 PostgresNitro6/7
▲ VercelNext.js (Turbopack)3/7

Summary: Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local5/7
Next.js (Turbopack)🌐 Starter7/7
Nitro💻 Local5/7
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)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

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

@github-actions

github-actionsBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
⚠️ ▲ Vercel Production250010260
✅ 🪟 Windows260026
❌ 🌍 Community Worlds82340116
⚠️ 📋 Other250126
Total3833411428

❌ Failed Tests

mongodb (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 202 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:255:24
at processTicksAndRejections (node:internal/process/tas
redis (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 200 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:285:25
at processTicksAndRejections (node:internal/process/tas
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(3) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'failed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:647:30
at processTicksAndRejections (node:internal/
starter (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:725:31
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:748:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:784:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:835:36
at processTicksAndRejections (node:intern
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pack
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F98_duplicate_case.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/wo
turso (🌍 Community Worlds): e2e should work with react rendering in step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F8_react_render.tsx&workflowFn=reactWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e promiseAllWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAllWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e promiseRaceWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow
turso (🌍 Community Worlds): e2e promiseAnyWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAnyWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e readableStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=readableStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packag
turso (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=webhookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pac
turso (🌍 Community Worlds): e2e sleepingWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=sleepingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e nullByteWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=nullByteWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e workflowAndStepMetadataWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=workflowAndStepMetadataWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e outputStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflo
turso (🌍 Community Worlds): e2e outputStreamInsideStepWorkflow - getWritable() called inside step functions

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamInsideStepWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e fetchWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=fetchWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packa
turso (🌍 Community Worlds): e2e promiseRaceStressTestWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceStressTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflo
turso (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryAttemptCounterWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e retryableAndFatalErrorWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryableAndFatalErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=crossFileErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookCleanupTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionPassingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionWithClosureWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e closureVariableWorkflow - nested step functions with closure variables

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=closureVariableWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=spawnWorkflowFromStepWorkflow 500: at triggerWorkflow (/home/runner/work/workflo

Details by Category

⚠️ ▲ Vercel Production
AppPassedFailedSkipped
⚠️ astro2501
⚠️ example2501
⚠️ express2501
⚠️ hono2501
⚠️ nextjs-turbopack2501
⚠️ nextjs-webpack2501
⚠️ nitro2501
⚠️ nuxt2501
⚠️ sveltekit2501
⚠️ vite2501
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2600
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2510
✅ redis-dev300
❌ redis2510
✅ starter-dev300
❌ starter1880
✅ turso-dev300
❌ turso2240
⚠️ 📋 Other
AppPassedFailedSkipped
⚠️ e2e-vercel-prod-fastify2501

@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 0cba37f to a011a32CompareDecember 6, 2025 00:03
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from a011a32 to f7652c6CompareDecember 6, 2025 02:19
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 8be219e to 13e1f50CompareDecember 7, 2025 02:31
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 13e1f50 to 33e5edeCompareDecember 7, 2025 02:33
Comment thread.changeset/pre.json
"@workflow/astro": "4.0.0-beta.1",
"@workflow/example-fastify": "0.0.0"
"@workflow/example-fastify": "0.0.0",
"@workflow/vite": "4.0.0-beta.1"

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.

Suggested change
"@workflow/vite": "4.0.0-beta.1"
"@workflow/vite": "4.0.0-beta.2"

The @workflow/vite package version in pre.json is incorrect - it shows 4.0.0-beta.1 but should be 4.0.0-beta.2 to match the package.json version.

View Details

Analysis

Version mismatch in .changeset/pre.json for @workflow/vite

What fails: The initialVersions section in .changeset/pre.json tracks outdated package versions, causing the changeset system to lose sync with actual package versions during pre-release cycles.

How to reproduce:

# Compare versions in the two files
grep "@workflow/vite" .changeset/pre.json
grep "\"version\"" packages/vite/package.json

Result:

  • .changeset/pre.json line 41: "@workflow/vite": "4.0.0-beta.1"
  • packages/vite/package.json line 4: "version": "4.0.0-beta.2"

Expected: Both files should show the same version. The package.json is the source of truth, and the pre.json initialVersions should match the actual current package versions as documented in packages/vite/CHANGELOG.md which confirms 4.0.0-beta.2 was released in PR #501.

@vercelvercelBot 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.

🔧 Build Fix:

The workflow package's TypeScript configuration generates separate source map files instead of embedding them inline. Since these .js.map files are excluded from git, they're missing during CI builds, causing Turbopack to fail when it tries to resolve source map references. Configuring the package to use inlineSourceMap instead fixes the issue by embedding source maps directly in the JavaScript output.

View Details
📝 Patch Details
diff --git a/packages/workflow/tsconfig.json b/packages/workflow/tsconfig.json
index a78dbf4..65f2136 100644
--- a/packages/workflow/tsconfig.json+++ b/packages/workflow/tsconfig.json@@ -1,7 +1,9 @@
{
"extends": "@workflow/tsconfig/base.json",
"compilerOptions": {
- "outDir": "dist"+ "outDir": "dist",+ "sourceMap": false,+ "inlineSourceMap": true
},
"include": ["src"],
"exclude": ["node_modules", "**/*.test.ts"]

Analysis

Missing source map file causes Turbopack build failure

What fails: Turbopack build for nextjs-turbopack fails when attempting to process JavaScript files from the workflow package that reference missing source map files.

How to reproduce:

pnpm install
pnpm exec turbo run build --filter nextjs-turbopack

Result:

ERROR failed to read input source map: failed to find input source map file "stdlib.js.map" in "packages/workflow/dist/stdlib.js" file as either "packages/workflow/dist/stdlib.js.map" or with appended .map
...
Code generation for chunk item errored
An error occurred while generating the chunk item [project]/workbench/nextjs-turbopack/app/page.tsx [app-client] (ecmascript)

Root cause: The packages/workflow/tsconfig.json was configured with sourceMap: true (inherited from base.json), which causes TypeScript to generate separate .js.map source map files. These files are:

  1. Not committed to git (.gitignore excludes /packages/*/dist)
  2. Not available during CI builds
  3. Cause Turbopack to fail when it encounters source map references it cannot resolve

Solution: Configure the workflow package to use inlineSourceMap: true and sourceMap: false, which embeds source maps directly in the JavaScript files as base64-encoded data URIs instead of separate files. This prevents the missing file issue since no separate files are referenced.

This matches the fix applied to @workflow/core in commit 2fde24e.

Fix on Vercel

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.

2 participants

@vercel-release-bot@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } 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

Version Packages (beta) - #561

Merged
VaguelySerious merged 1 commit into
mainfrom
changeset-release/main
Dec 9, 2025
Merged

Version Packages (beta)#561
VaguelySerious merged 1 commit into
mainfrom
changeset-release/main

Conversation

@vercel-release-bot

@vercel-release-botvercel-release-bot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@workflow/ai@4.0.1-beta.29

Patch Changes

  • Updated dependencies []:
    • workflow@4.0.1-beta.29

@workflow/astro@4.0.0-beta.7

Patch Changes

  • #50319c271c Thanks @adriandlam! - Refactor request converter code in SvelteKit and Astro builder to @workflow/builders

  • #501205b395 Thanks @adriandlam! - Move Vite HMR to @workflow/vite package

  • Updated dependencies [19c271c, 205b395]:

    • @workflow/builders@4.0.1-beta.24
    • @workflow/vite@4.0.0-beta.2

@workflow/builders@4.0.1-beta.24

Patch Changes

@workflow/cli@4.0.1-beta.29

Patch Changes

@workflow/core@4.0.1-beta.25

Patch Changes

  • #575161c54c Thanks @VaguelySerious! - Add Web and CLI UI for listing and viewing streams

  • #5410bbd26f Thanks @pranaygp! - perf: use Map for invocationsQueue (O(1) lookup/delete)

    Replace array-based invocationsQueue with Map for O(1) lookup and delete operations, eliminating O(n²) complexity in high-concurrency workflows.

  • #567c35b445 Thanks @Schniz! - otel: do not treat WorkflowSuspension errors as errors in the trace, as they symbolize effects and not actual exceptions.

  • #571d3fd81d Thanks @TooTallNate! - Enhance serialization failure error reporting

  • Updated dependencies [d42a968, c82b467]:

    • @workflow/world-local@4.0.1-beta.16
    • @workflow/world-vercel@4.0.1-beta.18
    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@workflow/next@4.0.1-beta.28

Patch Changes

@workflow/nitro@4.0.1-beta.28

Patch Changes

@workflow/nuxt@4.0.1-beta.17

Patch Changes

  • Updated dependencies [205b395]:
    • @workflow/nitro@4.0.1-beta.28

@workflow/sveltekit@4.0.0-beta.22

Patch Changes

  • #50319c271c Thanks @adriandlam! - Refactor request converter code in SvelteKit and Astro builder to @workflow/builders

  • #501205b395 Thanks @adriandlam! - Move Vite HMR to @workflow/vite package

  • Updated dependencies [19c271c, 205b395]:

    • @workflow/builders@4.0.1-beta.24
    • @workflow/vite@4.0.0-beta.2

@workflow/vite@4.0.0-beta.2

Patch Changes

@workflow/web@4.0.1-beta.15

Patch Changes

@workflow/web-shared@4.0.1-beta.26

Patch Changes

workflow@4.0.1-beta.29

Patch Changes

  • Updated dependencies [19c271c, 161c54c, 0bbd26f, c35b445, d3fd81d, 205b395]:
    • @workflow/sveltekit@4.0.0-beta.22
    • @workflow/astro@4.0.0-beta.7
    • @workflow/cli@4.0.1-beta.29
    • @workflow/core@4.0.1-beta.25
    • @workflow/nitro@4.0.1-beta.28
    • @workflow/next@4.0.1-beta.28
    • @workflow/typescript-plugin@4.0.1-beta.4
    • @workflow/errors@4.0.1-beta.7
    • @workflow/nuxt@4.0.1-beta.17

@workflow/world@4.0.1-beta.10

Patch Changes

@workflow/world-local@4.0.1-beta.16

Patch Changes

@workflow/world-postgres@4.1.0-beta.18

Patch Changes

  • #574c82b467 Thanks @VaguelySerious! - Add listByRunId endpoint to Streamer interface

  • Updated dependencies [d42a968, c82b467]:

    • @workflow/world-local@4.0.1-beta.16
    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@workflow/world-testing@4.0.1-beta.30

Patch Changes

  • Updated dependencies [161c54c, c82b467]:
    • @workflow/cli@4.0.1-beta.29
    • @workflow/world@4.0.1-beta.10
    • workflow@4.0.1-beta.29

@workflow/world-vercel@4.0.1-beta.18

Patch Changes

  • #574c82b467 Thanks @VaguelySerious! - Add listByRunId endpoint to Streamer interface

  • Updated dependencies [c82b467]:

    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@vercel

vercelBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Dec 6, 2025

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
🌐 Starter🥇 Next.js (Turbopack)0.038s (+3.5%)1.013s (~)0.974s101.00x
💻 LocalNext.js (Turbopack)0.040s (-14.1% 🟢)1.017s (~)0.977s101.03x
🌐 RedisNext.js (Turbopack)0.041s (~)1.017s (~)0.976s101.07x
💻 LocalExpress0.044s (+39.8% 🔺)1.007s (~)0.963s101.14x
💻 LocalNitro0.045s (+7.6% 🔺)1.007s (~)0.962s101.18x
🌐 MongoDBNext.js (Turbopack)0.048s (-39.0% 🟢)1.015s (~)0.967s101.24x
🐘 PostgresNext.js (Turbopack)0.129s (-0.6%)1.019s (~)0.890s103.35x
🐘 PostgresExpress0.236s (-31.7% 🟢)1.014s (~)0.779s106.12x
🐘 PostgresNitro0.315s (~)1.012s (~)0.697s108.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.456s (-7.9% 🟢)1.528s (+4.6%)1.072s101.00x
▲ VercelNext.js (Turbopack)0.503s (-20.8% 🟢)1.352s (-14.2% 🟢)0.849s101.10x
▲ VercelNitro0.509s (+4.7%)1.432s (+1.6%)0.923s101.12x

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.090s (+0.8%)1.009s (~)0.919s101.00x
💻 LocalNext.js (Turbopack)0.095s (+1.9%)1.011s (~)0.915s101.06x
🌐 RedisNext.js (Turbopack)0.102s (+0.9%)1.012s (~)0.910s101.13x
💻 LocalExpress0.112s (+55.7% 🔺)1.006s (~)0.895s101.24x
💻 LocalNitro0.113s (+4.5%)1.006s (~)0.893s101.26x
🌐 MongoDBNext.js (Turbopack)0.293s (-2.9%)1.013s (~)0.720s103.25x
🐘 PostgresNitro0.692s (-41.5% 🟢)1.009s (-49.8% 🟢)0.317s107.69x
🐘 PostgresNext.js (Turbopack)0.892s (-3.9%)1.014s (~)0.122s109.91x
🐘 PostgresExpress1.131s (-6.6% 🟢)2.013s (~)0.882s1012.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.474s (-0.6%)2.396s (-0.5%)0.921s101.00x
▲ VercelNitro1.546s (+4.7%)2.503s (+1.2%)0.957s101.05x
▲ VercelExpress1.566s (+4.8%)2.644s (+5.6% 🔺)1.078s101.06x

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.553s (-4.5%)1.007s (~)0.454s51.00x
💻 LocalNext.js (Turbopack)0.614s (-3.6%)1.010s (~)0.395s51.11x
🌐 RedisNext.js (Turbopack)0.632s (-0.7%)1.011s (~)0.379s51.14x
💻 LocalExpress0.766s (+58.6% 🔺)1.006s (~)0.240s51.39x
💻 LocalNitro0.803s (+5.4% 🔺)1.006s (~)0.203s51.45x
🌐 MongoDBNext.js (Turbopack)2.167s (+0.7%)3.015s (~)0.848s53.92x
🐘 PostgresNitro5.118s (-43.6% 🟢)6.016s (-38.7% 🟢)0.898s59.26x
🐘 PostgresNext.js (Turbopack)5.275s (-1.0%)6.022s (~)0.747s59.54x
🐘 PostgresExpress10.468s (+2.6%)11.021s (~)0.553s518.94x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express10.873s (~)11.666s (+1.9%)0.793s51.00x
▲ VercelNext.js (Turbopack)11.037s (+3.9%)11.837s (+5.8% 🔺)0.800s51.02x
▲ VercelNitro12.092s (+4.4%)12.720s (+3.5%)0.628s51.11x

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.350s (-1.2%)1.008s (~)0.658s51.00x
🌐 RedisNext.js (Turbopack)0.365s (-2.9%)1.010s (~)0.645s51.04x
💻 LocalNext.js (Turbopack)0.370s (-7.0% 🟢)1.009s (~)0.639s51.06x
💻 LocalExpress0.405s (+30.4% 🔺)1.006s (~)0.601s51.16x
💻 LocalNitro0.416s (+8.4% 🔺)1.006s (~)0.590s51.19x
🐘 PostgresNitro1.053s (-25.9% 🟢)1.812s (-10.4% 🟢)0.759s53.01x
🐘 PostgresNext.js (Turbopack)1.166s (-9.6% 🟢)2.015s (~)0.849s53.33x
🐘 PostgresExpress1.594s (-7.2% 🟢)2.011s (~)0.416s54.56x
🌐 MongoDBNext.js (Turbopack)1.676s (~)2.011s (~)0.335s54.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.685s (-12.6% 🟢)3.569s (-20.9% 🟢)0.884s51.00x
▲ VercelExpress3.097s (+11.9% 🔺)3.969s (+9.7% 🔺)0.872s51.15x
▲ VercelNext.js (Turbopack)4.860s (+59.2% 🔺)5.604s (+51.4% 🔺)0.744s51.81x

stress test: Promise.all with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.728s (-5.4% 🟢)2.028s (~)0.301s151.00x
🌐 RedisNext.js (Turbopack)3.492s (~)4.186s (+0.5%)0.695s82.02x
🐘 PostgresNitro7.631s (-10.3% 🟢)7.983s (-10.6% 🟢)0.352s44.42x
🐘 PostgresNext.js (Turbopack)8.116s (~)8.389s (-1.6%)0.273s44.70x
🐘 PostgresExpress8.882s (+1.4%)9.167s (~)0.285s45.14x
💻 LocalNitro11.341s (+15.2% 🔺)11.667s (+13.9% 🔺)0.327s36.56x
💻 LocalExpress11.652s (+28.9% 🔺)11.971s (+29.9% 🔺)0.319s36.74x
💻 LocalNext.js (Turbopack)13.345s (+12.4% 🔺)13.721s (+13.6% 🔺)0.376s37.72x
🌐 MongoDBNext.js (Turbopack)20.044s (-0.7%)20.527s (~)0.483s211.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)19.537s (-1.0%)20.330s (~)0.793s21.00x
▲ VercelExpress40.571s (+148.2% 🔺)41.228s (+138.2% 🔺)0.657s12.08x
▲ VercelNitro46.347s (+110.2% 🔺)47.524s (+112.2% 🔺)1.177s12.37x

stress test: Promise.race with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.959s (-2.6%)2.074s (-0.8%)0.114s151.00x
🌐 RedisNext.js (Turbopack)3.759s (-1.7%)4.251s (+1.1%)0.492s81.92x
🐘 PostgresNitro8.622s (-4.8%)9.039s (-3.1%)0.417s44.40x
🐘 PostgresNext.js (Turbopack)8.982s (-2.7%)9.306s (-2.4%)0.324s44.58x
🐘 PostgresExpress9.701s (+4.9%)10.118s (+6.7% 🔺)0.416s34.95x
💻 LocalExpress10.652s (+27.7% 🔺)10.955s (+21.1% 🔺)0.303s35.44x
💻 LocalNitro11.741s (+2.3%)12.371s (+6.1% 🔺)0.630s35.99x
💻 LocalNext.js (Turbopack)12.103s (-4.7%)12.380s (-5.1% 🟢)0.277s36.18x
🌐 MongoDBNext.js (Turbopack)19.883s (~)20.528s (~)0.645s210.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro15.867s (+5.3% 🔺)16.624s (+6.1% 🔺)0.756s21.00x
▲ VercelExpress15.902s (-8.9% 🟢)16.845s (-8.6% 🟢)0.942s21.00x
▲ VercelNext.js (Turbopack)17.375s (-13.0% 🟢)18.143s (-12.2% 🟢)0.767s21.10x

Stream Benchmarks

Stream benchmarks include Time to First Byte (TTFB) metrics.

workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.128s (-1.4%)1.003s (~)1.008s (~)0.880s101.00x
💻 LocalNext.js (Turbopack)0.139s (-5.4% 🟢)1.002s (~)1.014s (~)0.874s101.09x
🌐 RedisNext.js (Turbopack)0.147s (+0.9%)1.004s (~)1.011s (~)0.865s101.15x
💻 LocalExpress0.178s (+67.6% 🔺)0.992s (-0.6%)1.009s (~)0.831s101.39x
💻 LocalNitro0.184s (+5.8% 🔺)0.991s (~)1.008s (~)0.824s101.44x
🌐 MongoDBNext.js (Turbopack)0.504s (-2.8%)0.944s (+1.2%)1.013s (~)0.508s103.94x
🐘 PostgresNitro1.134s (-12.4% 🟢)1.899s (+8.8% 🔺)2.011s (~)0.877s108.86x
🐘 PostgresNext.js (Turbopack)1.241s (+105.2% 🔺)1.599s (+66.5% 🔺)1.823s (+79.9% 🔺)0.582s109.69x
🐘 PostgresExpress2.245s (-5.1% 🟢)2.801s (+4.4%)3.017s (~)0.771s1017.54x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.405s (~)2.940s (+0.9%)3.326s (+1.1%)0.921s101.00x
▲ VercelNitro2.551s (+3.7%)3.059s (~)3.586s (+3.7%)1.035s101.06x
▲ VercelExpress2.751s (+8.7% 🔺)2.933s (-7.5% 🟢)3.419s (-4.3%)0.667s101.14x

Summary: Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)5/7
🐘 PostgresNitro6/7
▲ VercelNext.js (Turbopack)3/7

Summary: Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local5/7
Next.js (Turbopack)🌐 Starter7/7
Nitro💻 Local5/7
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)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

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

@github-actions

github-actionsBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
⚠️ ▲ Vercel Production250010260
✅ 🪟 Windows260026
❌ 🌍 Community Worlds82340116
⚠️ 📋 Other250126
Total3833411428

❌ Failed Tests

mongodb (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 202 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:255:24
at processTicksAndRejections (node:internal/process/tas
redis (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 200 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:285:25
at processTicksAndRejections (node:internal/process/tas
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(3) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'failed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:647:30
at processTicksAndRejections (node:internal/
starter (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:725:31
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:748:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:784:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:835:36
at processTicksAndRejections (node:intern
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pack
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F98_duplicate_case.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/wo
turso (🌍 Community Worlds): e2e should work with react rendering in step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F8_react_render.tsx&workflowFn=reactWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e promiseAllWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAllWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e promiseRaceWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow
turso (🌍 Community Worlds): e2e promiseAnyWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAnyWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e readableStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=readableStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packag
turso (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=webhookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pac
turso (🌍 Community Worlds): e2e sleepingWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=sleepingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e nullByteWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=nullByteWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e workflowAndStepMetadataWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=workflowAndStepMetadataWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e outputStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflo
turso (🌍 Community Worlds): e2e outputStreamInsideStepWorkflow - getWritable() called inside step functions

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamInsideStepWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e fetchWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=fetchWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packa
turso (🌍 Community Worlds): e2e promiseRaceStressTestWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceStressTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflo
turso (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryAttemptCounterWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e retryableAndFatalErrorWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryableAndFatalErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=crossFileErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookCleanupTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionPassingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionWithClosureWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e closureVariableWorkflow - nested step functions with closure variables

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=closureVariableWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=spawnWorkflowFromStepWorkflow 500: at triggerWorkflow (/home/runner/work/workflo

Details by Category

⚠️ ▲ Vercel Production
AppPassedFailedSkipped
⚠️ astro2501
⚠️ example2501
⚠️ express2501
⚠️ hono2501
⚠️ nextjs-turbopack2501
⚠️ nextjs-webpack2501
⚠️ nitro2501
⚠️ nuxt2501
⚠️ sveltekit2501
⚠️ vite2501
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2600
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2510
✅ redis-dev300
❌ redis2510
✅ starter-dev300
❌ starter1880
✅ turso-dev300
❌ turso2240
⚠️ 📋 Other
AppPassedFailedSkipped
⚠️ e2e-vercel-prod-fastify2501

@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 0cba37f to a011a32CompareDecember 6, 2025 00:03
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from a011a32 to f7652c6CompareDecember 6, 2025 02:19
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 8be219e to 13e1f50CompareDecember 7, 2025 02:31
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 13e1f50 to 33e5edeCompareDecember 7, 2025 02:33
Comment thread.changeset/pre.json
"@workflow/astro": "4.0.0-beta.1",
"@workflow/example-fastify": "0.0.0"
"@workflow/example-fastify": "0.0.0",
"@workflow/vite": "4.0.0-beta.1"

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.

Suggested change
"@workflow/vite": "4.0.0-beta.1"
"@workflow/vite": "4.0.0-beta.2"

The @workflow/vite package version in pre.json is incorrect - it shows 4.0.0-beta.1 but should be 4.0.0-beta.2 to match the package.json version.

View Details

Analysis

Version mismatch in .changeset/pre.json for @workflow/vite

What fails: The initialVersions section in .changeset/pre.json tracks outdated package versions, causing the changeset system to lose sync with actual package versions during pre-release cycles.

How to reproduce:

# Compare versions in the two files
grep "@workflow/vite" .changeset/pre.json
grep "\"version\"" packages/vite/package.json

Result:

  • .changeset/pre.json line 41: "@workflow/vite": "4.0.0-beta.1"
  • packages/vite/package.json line 4: "version": "4.0.0-beta.2"

Expected: Both files should show the same version. The package.json is the source of truth, and the pre.json initialVersions should match the actual current package versions as documented in packages/vite/CHANGELOG.md which confirms 4.0.0-beta.2 was released in PR #501.

@vercelvercelBot 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.

🔧 Build Fix:

The workflow package's TypeScript configuration generates separate source map files instead of embedding them inline. Since these .js.map files are excluded from git, they're missing during CI builds, causing Turbopack to fail when it tries to resolve source map references. Configuring the package to use inlineSourceMap instead fixes the issue by embedding source maps directly in the JavaScript output.

View Details
📝 Patch Details
diff --git a/packages/workflow/tsconfig.json b/packages/workflow/tsconfig.json
index a78dbf4..65f2136 100644
--- a/packages/workflow/tsconfig.json+++ b/packages/workflow/tsconfig.json@@ -1,7 +1,9 @@
{
"extends": "@workflow/tsconfig/base.json",
"compilerOptions": {
- "outDir": "dist"+ "outDir": "dist",+ "sourceMap": false,+ "inlineSourceMap": true
},
"include": ["src"],
"exclude": ["node_modules", "**/*.test.ts"]

Analysis

Missing source map file causes Turbopack build failure

What fails: Turbopack build for nextjs-turbopack fails when attempting to process JavaScript files from the workflow package that reference missing source map files.

How to reproduce:

pnpm install
pnpm exec turbo run build --filter nextjs-turbopack

Result:

ERROR failed to read input source map: failed to find input source map file "stdlib.js.map" in "packages/workflow/dist/stdlib.js" file as either "packages/workflow/dist/stdlib.js.map" or with appended .map
...
Code generation for chunk item errored
An error occurred while generating the chunk item [project]/workbench/nextjs-turbopack/app/page.tsx [app-client] (ecmascript)

Root cause: The packages/workflow/tsconfig.json was configured with sourceMap: true (inherited from base.json), which causes TypeScript to generate separate .js.map source map files. These files are:

  1. Not committed to git (.gitignore excludes /packages/*/dist)
  2. Not available during CI builds
  3. Cause Turbopack to fail when it encounters source map references it cannot resolve

Solution: Configure the workflow package to use inlineSourceMap: true and sourceMap: false, which embeds source maps directly in the JavaScript files as base64-encoded data URIs instead of separate files. This prevents the missing file issue since no separate files are referenced.

This matches the fix applied to @workflow/core in commit 2fde24e.

Fix on Vercel

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.

2 participants

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

Version Packages (beta) - #561

Merged
VaguelySerious merged 1 commit into
mainfrom
changeset-release/main
Dec 9, 2025
Merged

Version Packages (beta)#561
VaguelySerious merged 1 commit into
mainfrom
changeset-release/main

Conversation

@vercel-release-bot

@vercel-release-botvercel-release-bot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@workflow/ai@4.0.1-beta.29

Patch Changes

  • Updated dependencies []:
    • workflow@4.0.1-beta.29

@workflow/astro@4.0.0-beta.7

Patch Changes

  • #50319c271c Thanks @adriandlam! - Refactor request converter code in SvelteKit and Astro builder to @workflow/builders

  • #501205b395 Thanks @adriandlam! - Move Vite HMR to @workflow/vite package

  • Updated dependencies [19c271c, 205b395]:

    • @workflow/builders@4.0.1-beta.24
    • @workflow/vite@4.0.0-beta.2

@workflow/builders@4.0.1-beta.24

Patch Changes

@workflow/cli@4.0.1-beta.29

Patch Changes

@workflow/core@4.0.1-beta.25

Patch Changes

  • #575161c54c Thanks @VaguelySerious! - Add Web and CLI UI for listing and viewing streams

  • #5410bbd26f Thanks @pranaygp! - perf: use Map for invocationsQueue (O(1) lookup/delete)

    Replace array-based invocationsQueue with Map for O(1) lookup and delete operations, eliminating O(n²) complexity in high-concurrency workflows.

  • #567c35b445 Thanks @Schniz! - otel: do not treat WorkflowSuspension errors as errors in the trace, as they symbolize effects and not actual exceptions.

  • #571d3fd81d Thanks @TooTallNate! - Enhance serialization failure error reporting

  • Updated dependencies [d42a968, c82b467]:

    • @workflow/world-local@4.0.1-beta.16
    • @workflow/world-vercel@4.0.1-beta.18
    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@workflow/next@4.0.1-beta.28

Patch Changes

@workflow/nitro@4.0.1-beta.28

Patch Changes

@workflow/nuxt@4.0.1-beta.17

Patch Changes

  • Updated dependencies [205b395]:
    • @workflow/nitro@4.0.1-beta.28

@workflow/sveltekit@4.0.0-beta.22

Patch Changes

  • #50319c271c Thanks @adriandlam! - Refactor request converter code in SvelteKit and Astro builder to @workflow/builders

  • #501205b395 Thanks @adriandlam! - Move Vite HMR to @workflow/vite package

  • Updated dependencies [19c271c, 205b395]:

    • @workflow/builders@4.0.1-beta.24
    • @workflow/vite@4.0.0-beta.2

@workflow/vite@4.0.0-beta.2

Patch Changes

@workflow/web@4.0.1-beta.15

Patch Changes

@workflow/web-shared@4.0.1-beta.26

Patch Changes

workflow@4.0.1-beta.29

Patch Changes

  • Updated dependencies [19c271c, 161c54c, 0bbd26f, c35b445, d3fd81d, 205b395]:
    • @workflow/sveltekit@4.0.0-beta.22
    • @workflow/astro@4.0.0-beta.7
    • @workflow/cli@4.0.1-beta.29
    • @workflow/core@4.0.1-beta.25
    • @workflow/nitro@4.0.1-beta.28
    • @workflow/next@4.0.1-beta.28
    • @workflow/typescript-plugin@4.0.1-beta.4
    • @workflow/errors@4.0.1-beta.7
    • @workflow/nuxt@4.0.1-beta.17

@workflow/world@4.0.1-beta.10

Patch Changes

@workflow/world-local@4.0.1-beta.16

Patch Changes

@workflow/world-postgres@4.1.0-beta.18

Patch Changes

  • #574c82b467 Thanks @VaguelySerious! - Add listByRunId endpoint to Streamer interface

  • Updated dependencies [d42a968, c82b467]:

    • @workflow/world-local@4.0.1-beta.16
    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@workflow/world-testing@4.0.1-beta.30

Patch Changes

  • Updated dependencies [161c54c, c82b467]:
    • @workflow/cli@4.0.1-beta.29
    • @workflow/world@4.0.1-beta.10
    • workflow@4.0.1-beta.29

@workflow/world-vercel@4.0.1-beta.18

Patch Changes

  • #574c82b467 Thanks @VaguelySerious! - Add listByRunId endpoint to Streamer interface

  • Updated dependencies [c82b467]:

    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@vercel

vercelBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Dec 6, 2025

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
🌐 Starter🥇 Next.js (Turbopack)0.038s (+3.5%)1.013s (~)0.974s101.00x
💻 LocalNext.js (Turbopack)0.040s (-14.1% 🟢)1.017s (~)0.977s101.03x
🌐 RedisNext.js (Turbopack)0.041s (~)1.017s (~)0.976s101.07x
💻 LocalExpress0.044s (+39.8% 🔺)1.007s (~)0.963s101.14x
💻 LocalNitro0.045s (+7.6% 🔺)1.007s (~)0.962s101.18x
🌐 MongoDBNext.js (Turbopack)0.048s (-39.0% 🟢)1.015s (~)0.967s101.24x
🐘 PostgresNext.js (Turbopack)0.129s (-0.6%)1.019s (~)0.890s103.35x
🐘 PostgresExpress0.236s (-31.7% 🟢)1.014s (~)0.779s106.12x
🐘 PostgresNitro0.315s (~)1.012s (~)0.697s108.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.456s (-7.9% 🟢)1.528s (+4.6%)1.072s101.00x
▲ VercelNext.js (Turbopack)0.503s (-20.8% 🟢)1.352s (-14.2% 🟢)0.849s101.10x
▲ VercelNitro0.509s (+4.7%)1.432s (+1.6%)0.923s101.12x

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.090s (+0.8%)1.009s (~)0.919s101.00x
💻 LocalNext.js (Turbopack)0.095s (+1.9%)1.011s (~)0.915s101.06x
🌐 RedisNext.js (Turbopack)0.102s (+0.9%)1.012s (~)0.910s101.13x
💻 LocalExpress0.112s (+55.7% 🔺)1.006s (~)0.895s101.24x
💻 LocalNitro0.113s (+4.5%)1.006s (~)0.893s101.26x
🌐 MongoDBNext.js (Turbopack)0.293s (-2.9%)1.013s (~)0.720s103.25x
🐘 PostgresNitro0.692s (-41.5% 🟢)1.009s (-49.8% 🟢)0.317s107.69x
🐘 PostgresNext.js (Turbopack)0.892s (-3.9%)1.014s (~)0.122s109.91x
🐘 PostgresExpress1.131s (-6.6% 🟢)2.013s (~)0.882s1012.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.474s (-0.6%)2.396s (-0.5%)0.921s101.00x
▲ VercelNitro1.546s (+4.7%)2.503s (+1.2%)0.957s101.05x
▲ VercelExpress1.566s (+4.8%)2.644s (+5.6% 🔺)1.078s101.06x

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.553s (-4.5%)1.007s (~)0.454s51.00x
💻 LocalNext.js (Turbopack)0.614s (-3.6%)1.010s (~)0.395s51.11x
🌐 RedisNext.js (Turbopack)0.632s (-0.7%)1.011s (~)0.379s51.14x
💻 LocalExpress0.766s (+58.6% 🔺)1.006s (~)0.240s51.39x
💻 LocalNitro0.803s (+5.4% 🔺)1.006s (~)0.203s51.45x
🌐 MongoDBNext.js (Turbopack)2.167s (+0.7%)3.015s (~)0.848s53.92x
🐘 PostgresNitro5.118s (-43.6% 🟢)6.016s (-38.7% 🟢)0.898s59.26x
🐘 PostgresNext.js (Turbopack)5.275s (-1.0%)6.022s (~)0.747s59.54x
🐘 PostgresExpress10.468s (+2.6%)11.021s (~)0.553s518.94x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express10.873s (~)11.666s (+1.9%)0.793s51.00x
▲ VercelNext.js (Turbopack)11.037s (+3.9%)11.837s (+5.8% 🔺)0.800s51.02x
▲ VercelNitro12.092s (+4.4%)12.720s (+3.5%)0.628s51.11x

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.350s (-1.2%)1.008s (~)0.658s51.00x
🌐 RedisNext.js (Turbopack)0.365s (-2.9%)1.010s (~)0.645s51.04x
💻 LocalNext.js (Turbopack)0.370s (-7.0% 🟢)1.009s (~)0.639s51.06x
💻 LocalExpress0.405s (+30.4% 🔺)1.006s (~)0.601s51.16x
💻 LocalNitro0.416s (+8.4% 🔺)1.006s (~)0.590s51.19x
🐘 PostgresNitro1.053s (-25.9% 🟢)1.812s (-10.4% 🟢)0.759s53.01x
🐘 PostgresNext.js (Turbopack)1.166s (-9.6% 🟢)2.015s (~)0.849s53.33x
🐘 PostgresExpress1.594s (-7.2% 🟢)2.011s (~)0.416s54.56x
🌐 MongoDBNext.js (Turbopack)1.676s (~)2.011s (~)0.335s54.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.685s (-12.6% 🟢)3.569s (-20.9% 🟢)0.884s51.00x
▲ VercelExpress3.097s (+11.9% 🔺)3.969s (+9.7% 🔺)0.872s51.15x
▲ VercelNext.js (Turbopack)4.860s (+59.2% 🔺)5.604s (+51.4% 🔺)0.744s51.81x

stress test: Promise.all with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.728s (-5.4% 🟢)2.028s (~)0.301s151.00x
🌐 RedisNext.js (Turbopack)3.492s (~)4.186s (+0.5%)0.695s82.02x
🐘 PostgresNitro7.631s (-10.3% 🟢)7.983s (-10.6% 🟢)0.352s44.42x
🐘 PostgresNext.js (Turbopack)8.116s (~)8.389s (-1.6%)0.273s44.70x
🐘 PostgresExpress8.882s (+1.4%)9.167s (~)0.285s45.14x
💻 LocalNitro11.341s (+15.2% 🔺)11.667s (+13.9% 🔺)0.327s36.56x
💻 LocalExpress11.652s (+28.9% 🔺)11.971s (+29.9% 🔺)0.319s36.74x
💻 LocalNext.js (Turbopack)13.345s (+12.4% 🔺)13.721s (+13.6% 🔺)0.376s37.72x
🌐 MongoDBNext.js (Turbopack)20.044s (-0.7%)20.527s (~)0.483s211.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)19.537s (-1.0%)20.330s (~)0.793s21.00x
▲ VercelExpress40.571s (+148.2% 🔺)41.228s (+138.2% 🔺)0.657s12.08x
▲ VercelNitro46.347s (+110.2% 🔺)47.524s (+112.2% 🔺)1.177s12.37x

stress test: Promise.race with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.959s (-2.6%)2.074s (-0.8%)0.114s151.00x
🌐 RedisNext.js (Turbopack)3.759s (-1.7%)4.251s (+1.1%)0.492s81.92x
🐘 PostgresNitro8.622s (-4.8%)9.039s (-3.1%)0.417s44.40x
🐘 PostgresNext.js (Turbopack)8.982s (-2.7%)9.306s (-2.4%)0.324s44.58x
🐘 PostgresExpress9.701s (+4.9%)10.118s (+6.7% 🔺)0.416s34.95x
💻 LocalExpress10.652s (+27.7% 🔺)10.955s (+21.1% 🔺)0.303s35.44x
💻 LocalNitro11.741s (+2.3%)12.371s (+6.1% 🔺)0.630s35.99x
💻 LocalNext.js (Turbopack)12.103s (-4.7%)12.380s (-5.1% 🟢)0.277s36.18x
🌐 MongoDBNext.js (Turbopack)19.883s (~)20.528s (~)0.645s210.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro15.867s (+5.3% 🔺)16.624s (+6.1% 🔺)0.756s21.00x
▲ VercelExpress15.902s (-8.9% 🟢)16.845s (-8.6% 🟢)0.942s21.00x
▲ VercelNext.js (Turbopack)17.375s (-13.0% 🟢)18.143s (-12.2% 🟢)0.767s21.10x

Stream Benchmarks

Stream benchmarks include Time to First Byte (TTFB) metrics.

workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.128s (-1.4%)1.003s (~)1.008s (~)0.880s101.00x
💻 LocalNext.js (Turbopack)0.139s (-5.4% 🟢)1.002s (~)1.014s (~)0.874s101.09x
🌐 RedisNext.js (Turbopack)0.147s (+0.9%)1.004s (~)1.011s (~)0.865s101.15x
💻 LocalExpress0.178s (+67.6% 🔺)0.992s (-0.6%)1.009s (~)0.831s101.39x
💻 LocalNitro0.184s (+5.8% 🔺)0.991s (~)1.008s (~)0.824s101.44x
🌐 MongoDBNext.js (Turbopack)0.504s (-2.8%)0.944s (+1.2%)1.013s (~)0.508s103.94x
🐘 PostgresNitro1.134s (-12.4% 🟢)1.899s (+8.8% 🔺)2.011s (~)0.877s108.86x
🐘 PostgresNext.js (Turbopack)1.241s (+105.2% 🔺)1.599s (+66.5% 🔺)1.823s (+79.9% 🔺)0.582s109.69x
🐘 PostgresExpress2.245s (-5.1% 🟢)2.801s (+4.4%)3.017s (~)0.771s1017.54x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.405s (~)2.940s (+0.9%)3.326s (+1.1%)0.921s101.00x
▲ VercelNitro2.551s (+3.7%)3.059s (~)3.586s (+3.7%)1.035s101.06x
▲ VercelExpress2.751s (+8.7% 🔺)2.933s (-7.5% 🟢)3.419s (-4.3%)0.667s101.14x

Summary: Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)5/7
🐘 PostgresNitro6/7
▲ VercelNext.js (Turbopack)3/7

Summary: Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local5/7
Next.js (Turbopack)🌐 Starter7/7
Nitro💻 Local5/7
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)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

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

@github-actions

github-actionsBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
⚠️ ▲ Vercel Production250010260
✅ 🪟 Windows260026
❌ 🌍 Community Worlds82340116
⚠️ 📋 Other250126
Total3833411428

❌ Failed Tests

mongodb (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 202 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:255:24
at processTicksAndRejections (node:internal/process/tas
redis (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 200 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:285:25
at processTicksAndRejections (node:internal/process/tas
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(3) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'failed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:647:30
at processTicksAndRejections (node:internal/
starter (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:725:31
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:748:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:784:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:835:36
at processTicksAndRejections (node:intern
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pack
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F98_duplicate_case.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/wo
turso (🌍 Community Worlds): e2e should work with react rendering in step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F8_react_render.tsx&workflowFn=reactWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e promiseAllWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAllWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e promiseRaceWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow
turso (🌍 Community Worlds): e2e promiseAnyWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAnyWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e readableStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=readableStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packag
turso (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=webhookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pac
turso (🌍 Community Worlds): e2e sleepingWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=sleepingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e nullByteWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=nullByteWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e workflowAndStepMetadataWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=workflowAndStepMetadataWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e outputStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflo
turso (🌍 Community Worlds): e2e outputStreamInsideStepWorkflow - getWritable() called inside step functions

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamInsideStepWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e fetchWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=fetchWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packa
turso (🌍 Community Worlds): e2e promiseRaceStressTestWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceStressTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflo
turso (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryAttemptCounterWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e retryableAndFatalErrorWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryableAndFatalErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=crossFileErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookCleanupTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionPassingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionWithClosureWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e closureVariableWorkflow - nested step functions with closure variables

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=closureVariableWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=spawnWorkflowFromStepWorkflow 500: at triggerWorkflow (/home/runner/work/workflo

Details by Category

⚠️ ▲ Vercel Production
AppPassedFailedSkipped
⚠️ astro2501
⚠️ example2501
⚠️ express2501
⚠️ hono2501
⚠️ nextjs-turbopack2501
⚠️ nextjs-webpack2501
⚠️ nitro2501
⚠️ nuxt2501
⚠️ sveltekit2501
⚠️ vite2501
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2600
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2510
✅ redis-dev300
❌ redis2510
✅ starter-dev300
❌ starter1880
✅ turso-dev300
❌ turso2240
⚠️ 📋 Other
AppPassedFailedSkipped
⚠️ e2e-vercel-prod-fastify2501

@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 0cba37f to a011a32CompareDecember 6, 2025 00:03
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from a011a32 to f7652c6CompareDecember 6, 2025 02:19
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 8be219e to 13e1f50CompareDecember 7, 2025 02:31
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 13e1f50 to 33e5edeCompareDecember 7, 2025 02:33
Comment thread.changeset/pre.json
"@workflow/astro": "4.0.0-beta.1",
"@workflow/example-fastify": "0.0.0"
"@workflow/example-fastify": "0.0.0",
"@workflow/vite": "4.0.0-beta.1"

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.

Suggested change
"@workflow/vite": "4.0.0-beta.1"
"@workflow/vite": "4.0.0-beta.2"

The @workflow/vite package version in pre.json is incorrect - it shows 4.0.0-beta.1 but should be 4.0.0-beta.2 to match the package.json version.

View Details

Analysis

Version mismatch in .changeset/pre.json for @workflow/vite

What fails: The initialVersions section in .changeset/pre.json tracks outdated package versions, causing the changeset system to lose sync with actual package versions during pre-release cycles.

How to reproduce:

# Compare versions in the two files
grep "@workflow/vite" .changeset/pre.json
grep "\"version\"" packages/vite/package.json

Result:

  • .changeset/pre.json line 41: "@workflow/vite": "4.0.0-beta.1"
  • packages/vite/package.json line 4: "version": "4.0.0-beta.2"

Expected: Both files should show the same version. The package.json is the source of truth, and the pre.json initialVersions should match the actual current package versions as documented in packages/vite/CHANGELOG.md which confirms 4.0.0-beta.2 was released in PR #501.

@vercelvercelBot 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.

🔧 Build Fix:

The workflow package's TypeScript configuration generates separate source map files instead of embedding them inline. Since these .js.map files are excluded from git, they're missing during CI builds, causing Turbopack to fail when it tries to resolve source map references. Configuring the package to use inlineSourceMap instead fixes the issue by embedding source maps directly in the JavaScript output.

View Details
📝 Patch Details
diff --git a/packages/workflow/tsconfig.json b/packages/workflow/tsconfig.json
index a78dbf4..65f2136 100644
--- a/packages/workflow/tsconfig.json+++ b/packages/workflow/tsconfig.json@@ -1,7 +1,9 @@
{
"extends": "@workflow/tsconfig/base.json",
"compilerOptions": {
- "outDir": "dist"+ "outDir": "dist",+ "sourceMap": false,+ "inlineSourceMap": true
},
"include": ["src"],
"exclude": ["node_modules", "**/*.test.ts"]

Analysis

Missing source map file causes Turbopack build failure

What fails: Turbopack build for nextjs-turbopack fails when attempting to process JavaScript files from the workflow package that reference missing source map files.

How to reproduce:

pnpm install
pnpm exec turbo run build --filter nextjs-turbopack

Result:

ERROR failed to read input source map: failed to find input source map file "stdlib.js.map" in "packages/workflow/dist/stdlib.js" file as either "packages/workflow/dist/stdlib.js.map" or with appended .map
...
Code generation for chunk item errored
An error occurred while generating the chunk item [project]/workbench/nextjs-turbopack/app/page.tsx [app-client] (ecmascript)

Root cause: The packages/workflow/tsconfig.json was configured with sourceMap: true (inherited from base.json), which causes TypeScript to generate separate .js.map source map files. These files are:

  1. Not committed to git (.gitignore excludes /packages/*/dist)
  2. Not available during CI builds
  3. Cause Turbopack to fail when it encounters source map references it cannot resolve

Solution: Configure the workflow package to use inlineSourceMap: true and sourceMap: false, which embeds source maps directly in the JavaScript files as base64-encoded data URIs instead of separate files. This prevents the missing file issue since no separate files are referenced.

This matches the fix applied to @workflow/core in commit 2fde24e.

Fix on Vercel

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.

2 participants

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

Version Packages (beta) - #561

Merged
VaguelySerious merged 1 commit into
mainfrom
changeset-release/main
Dec 9, 2025
Merged

Version Packages (beta)#561
VaguelySerious merged 1 commit into
mainfrom
changeset-release/main

Conversation

@vercel-release-bot

@vercel-release-botvercel-release-bot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@workflow/ai@4.0.1-beta.29

Patch Changes

  • Updated dependencies []:
    • workflow@4.0.1-beta.29

@workflow/astro@4.0.0-beta.7

Patch Changes

  • #50319c271c Thanks @adriandlam! - Refactor request converter code in SvelteKit and Astro builder to @workflow/builders

  • #501205b395 Thanks @adriandlam! - Move Vite HMR to @workflow/vite package

  • Updated dependencies [19c271c, 205b395]:

    • @workflow/builders@4.0.1-beta.24
    • @workflow/vite@4.0.0-beta.2

@workflow/builders@4.0.1-beta.24

Patch Changes

@workflow/cli@4.0.1-beta.29

Patch Changes

@workflow/core@4.0.1-beta.25

Patch Changes

  • #575161c54c Thanks @VaguelySerious! - Add Web and CLI UI for listing and viewing streams

  • #5410bbd26f Thanks @pranaygp! - perf: use Map for invocationsQueue (O(1) lookup/delete)

    Replace array-based invocationsQueue with Map for O(1) lookup and delete operations, eliminating O(n²) complexity in high-concurrency workflows.

  • #567c35b445 Thanks @Schniz! - otel: do not treat WorkflowSuspension errors as errors in the trace, as they symbolize effects and not actual exceptions.

  • #571d3fd81d Thanks @TooTallNate! - Enhance serialization failure error reporting

  • Updated dependencies [d42a968, c82b467]:

    • @workflow/world-local@4.0.1-beta.16
    • @workflow/world-vercel@4.0.1-beta.18
    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@workflow/next@4.0.1-beta.28

Patch Changes

@workflow/nitro@4.0.1-beta.28

Patch Changes

@workflow/nuxt@4.0.1-beta.17

Patch Changes

  • Updated dependencies [205b395]:
    • @workflow/nitro@4.0.1-beta.28

@workflow/sveltekit@4.0.0-beta.22

Patch Changes

  • #50319c271c Thanks @adriandlam! - Refactor request converter code in SvelteKit and Astro builder to @workflow/builders

  • #501205b395 Thanks @adriandlam! - Move Vite HMR to @workflow/vite package

  • Updated dependencies [19c271c, 205b395]:

    • @workflow/builders@4.0.1-beta.24
    • @workflow/vite@4.0.0-beta.2

@workflow/vite@4.0.0-beta.2

Patch Changes

@workflow/web@4.0.1-beta.15

Patch Changes

@workflow/web-shared@4.0.1-beta.26

Patch Changes

workflow@4.0.1-beta.29

Patch Changes

  • Updated dependencies [19c271c, 161c54c, 0bbd26f, c35b445, d3fd81d, 205b395]:
    • @workflow/sveltekit@4.0.0-beta.22
    • @workflow/astro@4.0.0-beta.7
    • @workflow/cli@4.0.1-beta.29
    • @workflow/core@4.0.1-beta.25
    • @workflow/nitro@4.0.1-beta.28
    • @workflow/next@4.0.1-beta.28
    • @workflow/typescript-plugin@4.0.1-beta.4
    • @workflow/errors@4.0.1-beta.7
    • @workflow/nuxt@4.0.1-beta.17

@workflow/world@4.0.1-beta.10

Patch Changes

@workflow/world-local@4.0.1-beta.16

Patch Changes

@workflow/world-postgres@4.1.0-beta.18

Patch Changes

  • #574c82b467 Thanks @VaguelySerious! - Add listByRunId endpoint to Streamer interface

  • Updated dependencies [d42a968, c82b467]:

    • @workflow/world-local@4.0.1-beta.16
    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@workflow/world-testing@4.0.1-beta.30

Patch Changes

  • Updated dependencies [161c54c, c82b467]:
    • @workflow/cli@4.0.1-beta.29
    • @workflow/world@4.0.1-beta.10
    • workflow@4.0.1-beta.29

@workflow/world-vercel@4.0.1-beta.18

Patch Changes

  • #574c82b467 Thanks @VaguelySerious! - Add listByRunId endpoint to Streamer interface

  • Updated dependencies [c82b467]:

    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@vercel

vercelBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Dec 6, 2025

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
🌐 Starter🥇 Next.js (Turbopack)0.038s (+3.5%)1.013s (~)0.974s101.00x
💻 LocalNext.js (Turbopack)0.040s (-14.1% 🟢)1.017s (~)0.977s101.03x
🌐 RedisNext.js (Turbopack)0.041s (~)1.017s (~)0.976s101.07x
💻 LocalExpress0.044s (+39.8% 🔺)1.007s (~)0.963s101.14x
💻 LocalNitro0.045s (+7.6% 🔺)1.007s (~)0.962s101.18x
🌐 MongoDBNext.js (Turbopack)0.048s (-39.0% 🟢)1.015s (~)0.967s101.24x
🐘 PostgresNext.js (Turbopack)0.129s (-0.6%)1.019s (~)0.890s103.35x
🐘 PostgresExpress0.236s (-31.7% 🟢)1.014s (~)0.779s106.12x
🐘 PostgresNitro0.315s (~)1.012s (~)0.697s108.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.456s (-7.9% 🟢)1.528s (+4.6%)1.072s101.00x
▲ VercelNext.js (Turbopack)0.503s (-20.8% 🟢)1.352s (-14.2% 🟢)0.849s101.10x
▲ VercelNitro0.509s (+4.7%)1.432s (+1.6%)0.923s101.12x

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.090s (+0.8%)1.009s (~)0.919s101.00x
💻 LocalNext.js (Turbopack)0.095s (+1.9%)1.011s (~)0.915s101.06x
🌐 RedisNext.js (Turbopack)0.102s (+0.9%)1.012s (~)0.910s101.13x
💻 LocalExpress0.112s (+55.7% 🔺)1.006s (~)0.895s101.24x
💻 LocalNitro0.113s (+4.5%)1.006s (~)0.893s101.26x
🌐 MongoDBNext.js (Turbopack)0.293s (-2.9%)1.013s (~)0.720s103.25x
🐘 PostgresNitro0.692s (-41.5% 🟢)1.009s (-49.8% 🟢)0.317s107.69x
🐘 PostgresNext.js (Turbopack)0.892s (-3.9%)1.014s (~)0.122s109.91x
🐘 PostgresExpress1.131s (-6.6% 🟢)2.013s (~)0.882s1012.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.474s (-0.6%)2.396s (-0.5%)0.921s101.00x
▲ VercelNitro1.546s (+4.7%)2.503s (+1.2%)0.957s101.05x
▲ VercelExpress1.566s (+4.8%)2.644s (+5.6% 🔺)1.078s101.06x

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.553s (-4.5%)1.007s (~)0.454s51.00x
💻 LocalNext.js (Turbopack)0.614s (-3.6%)1.010s (~)0.395s51.11x
🌐 RedisNext.js (Turbopack)0.632s (-0.7%)1.011s (~)0.379s51.14x
💻 LocalExpress0.766s (+58.6% 🔺)1.006s (~)0.240s51.39x
💻 LocalNitro0.803s (+5.4% 🔺)1.006s (~)0.203s51.45x
🌐 MongoDBNext.js (Turbopack)2.167s (+0.7%)3.015s (~)0.848s53.92x
🐘 PostgresNitro5.118s (-43.6% 🟢)6.016s (-38.7% 🟢)0.898s59.26x
🐘 PostgresNext.js (Turbopack)5.275s (-1.0%)6.022s (~)0.747s59.54x
🐘 PostgresExpress10.468s (+2.6%)11.021s (~)0.553s518.94x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express10.873s (~)11.666s (+1.9%)0.793s51.00x
▲ VercelNext.js (Turbopack)11.037s (+3.9%)11.837s (+5.8% 🔺)0.800s51.02x
▲ VercelNitro12.092s (+4.4%)12.720s (+3.5%)0.628s51.11x

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.350s (-1.2%)1.008s (~)0.658s51.00x
🌐 RedisNext.js (Turbopack)0.365s (-2.9%)1.010s (~)0.645s51.04x
💻 LocalNext.js (Turbopack)0.370s (-7.0% 🟢)1.009s (~)0.639s51.06x
💻 LocalExpress0.405s (+30.4% 🔺)1.006s (~)0.601s51.16x
💻 LocalNitro0.416s (+8.4% 🔺)1.006s (~)0.590s51.19x
🐘 PostgresNitro1.053s (-25.9% 🟢)1.812s (-10.4% 🟢)0.759s53.01x
🐘 PostgresNext.js (Turbopack)1.166s (-9.6% 🟢)2.015s (~)0.849s53.33x
🐘 PostgresExpress1.594s (-7.2% 🟢)2.011s (~)0.416s54.56x
🌐 MongoDBNext.js (Turbopack)1.676s (~)2.011s (~)0.335s54.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.685s (-12.6% 🟢)3.569s (-20.9% 🟢)0.884s51.00x
▲ VercelExpress3.097s (+11.9% 🔺)3.969s (+9.7% 🔺)0.872s51.15x
▲ VercelNext.js (Turbopack)4.860s (+59.2% 🔺)5.604s (+51.4% 🔺)0.744s51.81x

stress test: Promise.all with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.728s (-5.4% 🟢)2.028s (~)0.301s151.00x
🌐 RedisNext.js (Turbopack)3.492s (~)4.186s (+0.5%)0.695s82.02x
🐘 PostgresNitro7.631s (-10.3% 🟢)7.983s (-10.6% 🟢)0.352s44.42x
🐘 PostgresNext.js (Turbopack)8.116s (~)8.389s (-1.6%)0.273s44.70x
🐘 PostgresExpress8.882s (+1.4%)9.167s (~)0.285s45.14x
💻 LocalNitro11.341s (+15.2% 🔺)11.667s (+13.9% 🔺)0.327s36.56x
💻 LocalExpress11.652s (+28.9% 🔺)11.971s (+29.9% 🔺)0.319s36.74x
💻 LocalNext.js (Turbopack)13.345s (+12.4% 🔺)13.721s (+13.6% 🔺)0.376s37.72x
🌐 MongoDBNext.js (Turbopack)20.044s (-0.7%)20.527s (~)0.483s211.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)19.537s (-1.0%)20.330s (~)0.793s21.00x
▲ VercelExpress40.571s (+148.2% 🔺)41.228s (+138.2% 🔺)0.657s12.08x
▲ VercelNitro46.347s (+110.2% 🔺)47.524s (+112.2% 🔺)1.177s12.37x

stress test: Promise.race with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.959s (-2.6%)2.074s (-0.8%)0.114s151.00x
🌐 RedisNext.js (Turbopack)3.759s (-1.7%)4.251s (+1.1%)0.492s81.92x
🐘 PostgresNitro8.622s (-4.8%)9.039s (-3.1%)0.417s44.40x
🐘 PostgresNext.js (Turbopack)8.982s (-2.7%)9.306s (-2.4%)0.324s44.58x
🐘 PostgresExpress9.701s (+4.9%)10.118s (+6.7% 🔺)0.416s34.95x
💻 LocalExpress10.652s (+27.7% 🔺)10.955s (+21.1% 🔺)0.303s35.44x
💻 LocalNitro11.741s (+2.3%)12.371s (+6.1% 🔺)0.630s35.99x
💻 LocalNext.js (Turbopack)12.103s (-4.7%)12.380s (-5.1% 🟢)0.277s36.18x
🌐 MongoDBNext.js (Turbopack)19.883s (~)20.528s (~)0.645s210.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro15.867s (+5.3% 🔺)16.624s (+6.1% 🔺)0.756s21.00x
▲ VercelExpress15.902s (-8.9% 🟢)16.845s (-8.6% 🟢)0.942s21.00x
▲ VercelNext.js (Turbopack)17.375s (-13.0% 🟢)18.143s (-12.2% 🟢)0.767s21.10x

Stream Benchmarks

Stream benchmarks include Time to First Byte (TTFB) metrics.

workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.128s (-1.4%)1.003s (~)1.008s (~)0.880s101.00x
💻 LocalNext.js (Turbopack)0.139s (-5.4% 🟢)1.002s (~)1.014s (~)0.874s101.09x
🌐 RedisNext.js (Turbopack)0.147s (+0.9%)1.004s (~)1.011s (~)0.865s101.15x
💻 LocalExpress0.178s (+67.6% 🔺)0.992s (-0.6%)1.009s (~)0.831s101.39x
💻 LocalNitro0.184s (+5.8% 🔺)0.991s (~)1.008s (~)0.824s101.44x
🌐 MongoDBNext.js (Turbopack)0.504s (-2.8%)0.944s (+1.2%)1.013s (~)0.508s103.94x
🐘 PostgresNitro1.134s (-12.4% 🟢)1.899s (+8.8% 🔺)2.011s (~)0.877s108.86x
🐘 PostgresNext.js (Turbopack)1.241s (+105.2% 🔺)1.599s (+66.5% 🔺)1.823s (+79.9% 🔺)0.582s109.69x
🐘 PostgresExpress2.245s (-5.1% 🟢)2.801s (+4.4%)3.017s (~)0.771s1017.54x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.405s (~)2.940s (+0.9%)3.326s (+1.1%)0.921s101.00x
▲ VercelNitro2.551s (+3.7%)3.059s (~)3.586s (+3.7%)1.035s101.06x
▲ VercelExpress2.751s (+8.7% 🔺)2.933s (-7.5% 🟢)3.419s (-4.3%)0.667s101.14x

Summary: Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)5/7
🐘 PostgresNitro6/7
▲ VercelNext.js (Turbopack)3/7

Summary: Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local5/7
Next.js (Turbopack)🌐 Starter7/7
Nitro💻 Local5/7
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)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

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

@github-actions

github-actionsBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
⚠️ ▲ Vercel Production250010260
✅ 🪟 Windows260026
❌ 🌍 Community Worlds82340116
⚠️ 📋 Other250126
Total3833411428

❌ Failed Tests

mongodb (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 202 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:255:24
at processTicksAndRejections (node:internal/process/tas
redis (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 200 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:285:25
at processTicksAndRejections (node:internal/process/tas
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(3) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'failed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:647:30
at processTicksAndRejections (node:internal/
starter (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:725:31
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:748:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:784:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:835:36
at processTicksAndRejections (node:intern
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pack
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F98_duplicate_case.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/wo
turso (🌍 Community Worlds): e2e should work with react rendering in step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F8_react_render.tsx&workflowFn=reactWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e promiseAllWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAllWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e promiseRaceWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow
turso (🌍 Community Worlds): e2e promiseAnyWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAnyWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e readableStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=readableStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packag
turso (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=webhookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pac
turso (🌍 Community Worlds): e2e sleepingWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=sleepingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e nullByteWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=nullByteWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e workflowAndStepMetadataWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=workflowAndStepMetadataWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e outputStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflo
turso (🌍 Community Worlds): e2e outputStreamInsideStepWorkflow - getWritable() called inside step functions

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamInsideStepWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e fetchWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=fetchWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packa
turso (🌍 Community Worlds): e2e promiseRaceStressTestWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceStressTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflo
turso (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryAttemptCounterWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e retryableAndFatalErrorWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryableAndFatalErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=crossFileErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookCleanupTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionPassingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionWithClosureWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e closureVariableWorkflow - nested step functions with closure variables

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=closureVariableWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=spawnWorkflowFromStepWorkflow 500: at triggerWorkflow (/home/runner/work/workflo

Details by Category

⚠️ ▲ Vercel Production
AppPassedFailedSkipped
⚠️ astro2501
⚠️ example2501
⚠️ express2501
⚠️ hono2501
⚠️ nextjs-turbopack2501
⚠️ nextjs-webpack2501
⚠️ nitro2501
⚠️ nuxt2501
⚠️ sveltekit2501
⚠️ vite2501
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2600
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2510
✅ redis-dev300
❌ redis2510
✅ starter-dev300
❌ starter1880
✅ turso-dev300
❌ turso2240
⚠️ 📋 Other
AppPassedFailedSkipped
⚠️ e2e-vercel-prod-fastify2501

@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 0cba37f to a011a32CompareDecember 6, 2025 00:03
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from a011a32 to f7652c6CompareDecember 6, 2025 02:19
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 8be219e to 13e1f50CompareDecember 7, 2025 02:31
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 13e1f50 to 33e5edeCompareDecember 7, 2025 02:33
Comment thread.changeset/pre.json
"@workflow/astro": "4.0.0-beta.1",
"@workflow/example-fastify": "0.0.0"
"@workflow/example-fastify": "0.0.0",
"@workflow/vite": "4.0.0-beta.1"

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.

Suggested change
"@workflow/vite": "4.0.0-beta.1"
"@workflow/vite": "4.0.0-beta.2"

The @workflow/vite package version in pre.json is incorrect - it shows 4.0.0-beta.1 but should be 4.0.0-beta.2 to match the package.json version.

View Details

Analysis

Version mismatch in .changeset/pre.json for @workflow/vite

What fails: The initialVersions section in .changeset/pre.json tracks outdated package versions, causing the changeset system to lose sync with actual package versions during pre-release cycles.

How to reproduce:

# Compare versions in the two files
grep "@workflow/vite" .changeset/pre.json
grep "\"version\"" packages/vite/package.json

Result:

  • .changeset/pre.json line 41: "@workflow/vite": "4.0.0-beta.1"
  • packages/vite/package.json line 4: "version": "4.0.0-beta.2"

Expected: Both files should show the same version. The package.json is the source of truth, and the pre.json initialVersions should match the actual current package versions as documented in packages/vite/CHANGELOG.md which confirms 4.0.0-beta.2 was released in PR #501.

@vercelvercelBot 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.

🔧 Build Fix:

The workflow package's TypeScript configuration generates separate source map files instead of embedding them inline. Since these .js.map files are excluded from git, they're missing during CI builds, causing Turbopack to fail when it tries to resolve source map references. Configuring the package to use inlineSourceMap instead fixes the issue by embedding source maps directly in the JavaScript output.

View Details
📝 Patch Details
diff --git a/packages/workflow/tsconfig.json b/packages/workflow/tsconfig.json
index a78dbf4..65f2136 100644
--- a/packages/workflow/tsconfig.json+++ b/packages/workflow/tsconfig.json@@ -1,7 +1,9 @@
{
"extends": "@workflow/tsconfig/base.json",
"compilerOptions": {
- "outDir": "dist"+ "outDir": "dist",+ "sourceMap": false,+ "inlineSourceMap": true
},
"include": ["src"],
"exclude": ["node_modules", "**/*.test.ts"]

Analysis

Missing source map file causes Turbopack build failure

What fails: Turbopack build for nextjs-turbopack fails when attempting to process JavaScript files from the workflow package that reference missing source map files.

How to reproduce:

pnpm install
pnpm exec turbo run build --filter nextjs-turbopack

Result:

ERROR failed to read input source map: failed to find input source map file "stdlib.js.map" in "packages/workflow/dist/stdlib.js" file as either "packages/workflow/dist/stdlib.js.map" or with appended .map
...
Code generation for chunk item errored
An error occurred while generating the chunk item [project]/workbench/nextjs-turbopack/app/page.tsx [app-client] (ecmascript)

Root cause: The packages/workflow/tsconfig.json was configured with sourceMap: true (inherited from base.json), which causes TypeScript to generate separate .js.map source map files. These files are:

  1. Not committed to git (.gitignore excludes /packages/*/dist)
  2. Not available during CI builds
  3. Cause Turbopack to fail when it encounters source map references it cannot resolve

Solution: Configure the workflow package to use inlineSourceMap: true and sourceMap: false, which embeds source maps directly in the JavaScript files as base64-encoded data URIs instead of separate files. This prevents the missing file issue since no separate files are referenced.

This matches the fix applied to @workflow/core in commit 2fde24e.

Fix on Vercel

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.

2 participants

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

Version Packages (beta) - #561

Merged
VaguelySerious merged 1 commit into
mainfrom
changeset-release/main
Dec 9, 2025
Merged

Version Packages (beta)#561
VaguelySerious merged 1 commit into
mainfrom
changeset-release/main

Conversation

@vercel-release-bot

@vercel-release-botvercel-release-bot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@workflow/ai@4.0.1-beta.29

Patch Changes

  • Updated dependencies []:
    • workflow@4.0.1-beta.29

@workflow/astro@4.0.0-beta.7

Patch Changes

  • #50319c271c Thanks @adriandlam! - Refactor request converter code in SvelteKit and Astro builder to @workflow/builders

  • #501205b395 Thanks @adriandlam! - Move Vite HMR to @workflow/vite package

  • Updated dependencies [19c271c, 205b395]:

    • @workflow/builders@4.0.1-beta.24
    • @workflow/vite@4.0.0-beta.2

@workflow/builders@4.0.1-beta.24

Patch Changes

@workflow/cli@4.0.1-beta.29

Patch Changes

@workflow/core@4.0.1-beta.25

Patch Changes

  • #575161c54c Thanks @VaguelySerious! - Add Web and CLI UI for listing and viewing streams

  • #5410bbd26f Thanks @pranaygp! - perf: use Map for invocationsQueue (O(1) lookup/delete)

    Replace array-based invocationsQueue with Map for O(1) lookup and delete operations, eliminating O(n²) complexity in high-concurrency workflows.

  • #567c35b445 Thanks @Schniz! - otel: do not treat WorkflowSuspension errors as errors in the trace, as they symbolize effects and not actual exceptions.

  • #571d3fd81d Thanks @TooTallNate! - Enhance serialization failure error reporting

  • Updated dependencies [d42a968, c82b467]:

    • @workflow/world-local@4.0.1-beta.16
    • @workflow/world-vercel@4.0.1-beta.18
    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@workflow/next@4.0.1-beta.28

Patch Changes

@workflow/nitro@4.0.1-beta.28

Patch Changes

@workflow/nuxt@4.0.1-beta.17

Patch Changes

  • Updated dependencies [205b395]:
    • @workflow/nitro@4.0.1-beta.28

@workflow/sveltekit@4.0.0-beta.22

Patch Changes

  • #50319c271c Thanks @adriandlam! - Refactor request converter code in SvelteKit and Astro builder to @workflow/builders

  • #501205b395 Thanks @adriandlam! - Move Vite HMR to @workflow/vite package

  • Updated dependencies [19c271c, 205b395]:

    • @workflow/builders@4.0.1-beta.24
    • @workflow/vite@4.0.0-beta.2

@workflow/vite@4.0.0-beta.2

Patch Changes

@workflow/web@4.0.1-beta.15

Patch Changes

@workflow/web-shared@4.0.1-beta.26

Patch Changes

workflow@4.0.1-beta.29

Patch Changes

  • Updated dependencies [19c271c, 161c54c, 0bbd26f, c35b445, d3fd81d, 205b395]:
    • @workflow/sveltekit@4.0.0-beta.22
    • @workflow/astro@4.0.0-beta.7
    • @workflow/cli@4.0.1-beta.29
    • @workflow/core@4.0.1-beta.25
    • @workflow/nitro@4.0.1-beta.28
    • @workflow/next@4.0.1-beta.28
    • @workflow/typescript-plugin@4.0.1-beta.4
    • @workflow/errors@4.0.1-beta.7
    • @workflow/nuxt@4.0.1-beta.17

@workflow/world@4.0.1-beta.10

Patch Changes

@workflow/world-local@4.0.1-beta.16

Patch Changes

@workflow/world-postgres@4.1.0-beta.18

Patch Changes

  • #574c82b467 Thanks @VaguelySerious! - Add listByRunId endpoint to Streamer interface

  • Updated dependencies [d42a968, c82b467]:

    • @workflow/world-local@4.0.1-beta.16
    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@workflow/world-testing@4.0.1-beta.30

Patch Changes

  • Updated dependencies [161c54c, c82b467]:
    • @workflow/cli@4.0.1-beta.29
    • @workflow/world@4.0.1-beta.10
    • workflow@4.0.1-beta.29

@workflow/world-vercel@4.0.1-beta.18

Patch Changes

  • #574c82b467 Thanks @VaguelySerious! - Add listByRunId endpoint to Streamer interface

  • Updated dependencies [c82b467]:

    • @workflow/world@4.0.1-beta.10
    • @workflow/errors@4.0.1-beta.7

@vercel

vercelBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Dec 6, 2025

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
🌐 Starter🥇 Next.js (Turbopack)0.038s (+3.5%)1.013s (~)0.974s101.00x
💻 LocalNext.js (Turbopack)0.040s (-14.1% 🟢)1.017s (~)0.977s101.03x
🌐 RedisNext.js (Turbopack)0.041s (~)1.017s (~)0.976s101.07x
💻 LocalExpress0.044s (+39.8% 🔺)1.007s (~)0.963s101.14x
💻 LocalNitro0.045s (+7.6% 🔺)1.007s (~)0.962s101.18x
🌐 MongoDBNext.js (Turbopack)0.048s (-39.0% 🟢)1.015s (~)0.967s101.24x
🐘 PostgresNext.js (Turbopack)0.129s (-0.6%)1.019s (~)0.890s103.35x
🐘 PostgresExpress0.236s (-31.7% 🟢)1.014s (~)0.779s106.12x
🐘 PostgresNitro0.315s (~)1.012s (~)0.697s108.18x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express0.456s (-7.9% 🟢)1.528s (+4.6%)1.072s101.00x
▲ VercelNext.js (Turbopack)0.503s (-20.8% 🟢)1.352s (-14.2% 🟢)0.849s101.10x
▲ VercelNitro0.509s (+4.7%)1.432s (+1.6%)0.923s101.12x

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.090s (+0.8%)1.009s (~)0.919s101.00x
💻 LocalNext.js (Turbopack)0.095s (+1.9%)1.011s (~)0.915s101.06x
🌐 RedisNext.js (Turbopack)0.102s (+0.9%)1.012s (~)0.910s101.13x
💻 LocalExpress0.112s (+55.7% 🔺)1.006s (~)0.895s101.24x
💻 LocalNitro0.113s (+4.5%)1.006s (~)0.893s101.26x
🌐 MongoDBNext.js (Turbopack)0.293s (-2.9%)1.013s (~)0.720s103.25x
🐘 PostgresNitro0.692s (-41.5% 🟢)1.009s (-49.8% 🟢)0.317s107.69x
🐘 PostgresNext.js (Turbopack)0.892s (-3.9%)1.014s (~)0.122s109.91x
🐘 PostgresExpress1.131s (-6.6% 🟢)2.013s (~)0.882s1012.57x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)1.474s (-0.6%)2.396s (-0.5%)0.921s101.00x
▲ VercelNitro1.546s (+4.7%)2.503s (+1.2%)0.957s101.05x
▲ VercelExpress1.566s (+4.8%)2.644s (+5.6% 🔺)1.078s101.06x

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.553s (-4.5%)1.007s (~)0.454s51.00x
💻 LocalNext.js (Turbopack)0.614s (-3.6%)1.010s (~)0.395s51.11x
🌐 RedisNext.js (Turbopack)0.632s (-0.7%)1.011s (~)0.379s51.14x
💻 LocalExpress0.766s (+58.6% 🔺)1.006s (~)0.240s51.39x
💻 LocalNitro0.803s (+5.4% 🔺)1.006s (~)0.203s51.45x
🌐 MongoDBNext.js (Turbopack)2.167s (+0.7%)3.015s (~)0.848s53.92x
🐘 PostgresNitro5.118s (-43.6% 🟢)6.016s (-38.7% 🟢)0.898s59.26x
🐘 PostgresNext.js (Turbopack)5.275s (-1.0%)6.022s (~)0.747s59.54x
🐘 PostgresExpress10.468s (+2.6%)11.021s (~)0.553s518.94x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Express10.873s (~)11.666s (+1.9%)0.793s51.00x
▲ VercelNext.js (Turbopack)11.037s (+3.9%)11.837s (+5.8% 🔺)0.800s51.02x
▲ VercelNitro12.092s (+4.4%)12.720s (+3.5%)0.628s51.11x

workflow with 10 parallel steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.350s (-1.2%)1.008s (~)0.658s51.00x
🌐 RedisNext.js (Turbopack)0.365s (-2.9%)1.010s (~)0.645s51.04x
💻 LocalNext.js (Turbopack)0.370s (-7.0% 🟢)1.009s (~)0.639s51.06x
💻 LocalExpress0.405s (+30.4% 🔺)1.006s (~)0.601s51.16x
💻 LocalNitro0.416s (+8.4% 🔺)1.006s (~)0.590s51.19x
🐘 PostgresNitro1.053s (-25.9% 🟢)1.812s (-10.4% 🟢)0.759s53.01x
🐘 PostgresNext.js (Turbopack)1.166s (-9.6% 🟢)2.015s (~)0.849s53.33x
🐘 PostgresExpress1.594s (-7.2% 🟢)2.011s (~)0.416s54.56x
🌐 MongoDBNext.js (Turbopack)1.676s (~)2.011s (~)0.335s54.79x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.685s (-12.6% 🟢)3.569s (-20.9% 🟢)0.884s51.00x
▲ VercelExpress3.097s (+11.9% 🔺)3.969s (+9.7% 🔺)0.872s51.15x
▲ VercelNext.js (Turbopack)4.860s (+59.2% 🔺)5.604s (+51.4% 🔺)0.744s51.81x

stress test: Promise.all with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.728s (-5.4% 🟢)2.028s (~)0.301s151.00x
🌐 RedisNext.js (Turbopack)3.492s (~)4.186s (+0.5%)0.695s82.02x
🐘 PostgresNitro7.631s (-10.3% 🟢)7.983s (-10.6% 🟢)0.352s44.42x
🐘 PostgresNext.js (Turbopack)8.116s (~)8.389s (-1.6%)0.273s44.70x
🐘 PostgresExpress8.882s (+1.4%)9.167s (~)0.285s45.14x
💻 LocalNitro11.341s (+15.2% 🔺)11.667s (+13.9% 🔺)0.327s36.56x
💻 LocalExpress11.652s (+28.9% 🔺)11.971s (+29.9% 🔺)0.319s36.74x
💻 LocalNext.js (Turbopack)13.345s (+12.4% 🔺)13.721s (+13.6% 🔺)0.376s37.72x
🌐 MongoDBNext.js (Turbopack)20.044s (-0.7%)20.527s (~)0.483s211.60x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)19.537s (-1.0%)20.330s (~)0.793s21.00x
▲ VercelExpress40.571s (+148.2% 🔺)41.228s (+138.2% 🔺)0.657s12.08x
▲ VercelNitro46.347s (+110.2% 🔺)47.524s (+112.2% 🔺)1.177s12.37x

stress test: Promise.race with 100 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)1.959s (-2.6%)2.074s (-0.8%)0.114s151.00x
🌐 RedisNext.js (Turbopack)3.759s (-1.7%)4.251s (+1.1%)0.492s81.92x
🐘 PostgresNitro8.622s (-4.8%)9.039s (-3.1%)0.417s44.40x
🐘 PostgresNext.js (Turbopack)8.982s (-2.7%)9.306s (-2.4%)0.324s44.58x
🐘 PostgresExpress9.701s (+4.9%)10.118s (+6.7% 🔺)0.416s34.95x
💻 LocalExpress10.652s (+27.7% 🔺)10.955s (+21.1% 🔺)0.303s35.44x
💻 LocalNitro11.741s (+2.3%)12.371s (+6.1% 🔺)0.630s35.99x
💻 LocalNext.js (Turbopack)12.103s (-4.7%)12.380s (-5.1% 🟢)0.277s36.18x
🌐 MongoDBNext.js (Turbopack)19.883s (~)20.528s (~)0.645s210.15x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro15.867s (+5.3% 🔺)16.624s (+6.1% 🔺)0.756s21.00x
▲ VercelExpress15.902s (-8.9% 🟢)16.845s (-8.6% 🟢)0.942s21.00x
▲ VercelNext.js (Turbopack)17.375s (-13.0% 🟢)18.143s (-12.2% 🟢)0.767s21.10x

Stream Benchmarks

Stream benchmarks include Time to First Byte (TTFB) metrics.

workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
🌐 Starter🥇 Next.js (Turbopack)0.128s (-1.4%)1.003s (~)1.008s (~)0.880s101.00x
💻 LocalNext.js (Turbopack)0.139s (-5.4% 🟢)1.002s (~)1.014s (~)0.874s101.09x
🌐 RedisNext.js (Turbopack)0.147s (+0.9%)1.004s (~)1.011s (~)0.865s101.15x
💻 LocalExpress0.178s (+67.6% 🔺)0.992s (-0.6%)1.009s (~)0.831s101.39x
💻 LocalNitro0.184s (+5.8% 🔺)0.991s (~)1.008s (~)0.824s101.44x
🌐 MongoDBNext.js (Turbopack)0.504s (-2.8%)0.944s (+1.2%)1.013s (~)0.508s103.94x
🐘 PostgresNitro1.134s (-12.4% 🟢)1.899s (+8.8% 🔺)2.011s (~)0.877s108.86x
🐘 PostgresNext.js (Turbopack)1.241s (+105.2% 🔺)1.599s (+66.5% 🔺)1.823s (+79.9% 🔺)0.582s109.69x
🐘 PostgresExpress2.245s (-5.1% 🟢)2.801s (+4.4%)3.017s (~)0.771s1017.54x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Next.js (Turbopack)2.405s (~)2.940s (+0.9%)3.326s (+1.1%)0.921s101.00x
▲ VercelNitro2.551s (+3.7%)3.059s (~)3.586s (+3.7%)1.035s101.06x
▲ VercelExpress2.751s (+8.7% 🔺)2.933s (-7.5% 🟢)3.419s (-4.3%)0.667s101.14x

Summary: Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNext.js (Turbopack)5/7
🐘 PostgresNitro6/7
▲ VercelNext.js (Turbopack)3/7

Summary: Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express💻 Local5/7
Next.js (Turbopack)🌐 Starter7/7
Nitro💻 Local5/7
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)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

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

@github-actions

github-actionsBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
⚠️ ▲ Vercel Production250010260
✅ 🪟 Windows260026
❌ 🌍 Community Worlds82340116
⚠️ 📋 Other250126
Total3833411428

❌ Failed Tests

mongodb (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 202 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:255:24
at processTicksAndRejections (node:internal/process/tas
redis (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected 404 to be 200 // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:285:25
at processTicksAndRejections (node:internal/process/tas
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(5) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected {} to match object { …(3) }
at Proxy.<anonymous> (file:///home/runner/work/workflow/workflow/node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index
starter (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'failed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:647:30
at processTicksAndRejections (node:internal/
starter (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:725:31
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:748:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:784:30
at processTicksAndRejections (node:intern
starter (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

AssertionError: expected undefined to be 'completed' // Object.is equality
at /home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts:835:36
at processTicksAndRejections (node:intern
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pack
turso (🌍 Community Worlds): e2e addTenWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F98_duplicate_case.ts&workflowFn=addTenWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/wo
turso (🌍 Community Worlds): e2e should work with react rendering in step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F8_react_render.tsx&workflowFn=reactWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e promiseAllWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAllWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e promiseRaceWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow
turso (🌍 Community Worlds): e2e promiseAnyWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseAnyWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/
turso (🌍 Community Worlds): e2e readableStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=readableStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packag
turso (🌍 Community Worlds): e2e webhookWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=webhookWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pac
turso (🌍 Community Worlds): e2e sleepingWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=sleepingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e nullByteWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=nullByteWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/pa
turso (🌍 Community Worlds): e2e workflowAndStepMetadataWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=workflowAndStepMetadataWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e outputStreamWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflo
turso (🌍 Community Worlds): e2e outputStreamInsideStepWorkflow - getWritable() called inside step functions

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=outputStreamInsideStepWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e fetchWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=fetchWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workflow/packa
turso (🌍 Community Worlds): e2e promiseRaceStressTestWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=promiseRaceStressTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflo
turso (🌍 Community Worlds): e2e retryAttemptCounterWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryAttemptCounterWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e retryableAndFatalErrorWorkflow

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=retryableAndFatalErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workfl
turso (🌍 Community Worlds): e2e crossFileErrorWorkflow - stack traces work across imported modules

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=crossFileErrorWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/workf
turso (🌍 Community Worlds): e2e hookCleanupTestWorkflow - hook token reuse after workflow completion

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=hookCleanupTestWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionPassingWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/
turso (🌍 Community Worlds): e2e stepFunctionWithClosureWorkflow - step function with closure variables passed as argument

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=stepFunctionWithClosureWorkflow 500: at triggerWorkflow (/home/runner/work/workf
turso (🌍 Community Worlds): e2e closureVariableWorkflow - nested step functions with closure variables

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=closureVariableWorkflow 500: at triggerWorkflow (/home/runner/work/workflow/work
turso (🌍 Community Worlds): e2e spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

File:/home/runner/work/workflow/workflow/packages/core/e2e/e2e.test.ts

Error: Failed to trigger workflow: http://localhost:3000/api/trigger?workflowFile=workflows%2F99_e2e.ts&workflowFn=spawnWorkflowFromStepWorkflow 500: at triggerWorkflow (/home/runner/work/workflo

Details by Category

⚠️ ▲ Vercel Production
AppPassedFailedSkipped
⚠️ astro2501
⚠️ example2501
⚠️ express2501
⚠️ hono2501
⚠️ nextjs-turbopack2501
⚠️ nextjs-webpack2501
⚠️ nitro2501
⚠️ nuxt2501
⚠️ sveltekit2501
⚠️ vite2501
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack2600
❌ 🌍 Community Worlds
AppPassedFailedSkipped
✅ mongodb-dev300
❌ mongodb2510
✅ redis-dev300
❌ redis2510
✅ starter-dev300
❌ starter1880
✅ turso-dev300
❌ turso2240
⚠️ 📋 Other
AppPassedFailedSkipped
⚠️ e2e-vercel-prod-fastify2501

@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 0cba37f to a011a32CompareDecember 6, 2025 00:03
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from a011a32 to f7652c6CompareDecember 6, 2025 02:19
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 8be219e to 13e1f50CompareDecember 7, 2025 02:31
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 13e1f50 to 33e5edeCompareDecember 7, 2025 02:33
Comment thread.changeset/pre.json
"@workflow/astro": "4.0.0-beta.1",
"@workflow/example-fastify": "0.0.0"
"@workflow/example-fastify": "0.0.0",
"@workflow/vite": "4.0.0-beta.1"

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.

Suggested change
"@workflow/vite": "4.0.0-beta.1"
"@workflow/vite": "4.0.0-beta.2"

The @workflow/vite package version in pre.json is incorrect - it shows 4.0.0-beta.1 but should be 4.0.0-beta.2 to match the package.json version.

View Details

Analysis

Version mismatch in .changeset/pre.json for @workflow/vite

What fails: The initialVersions section in .changeset/pre.json tracks outdated package versions, causing the changeset system to lose sync with actual package versions during pre-release cycles.

How to reproduce:

# Compare versions in the two files
grep "@workflow/vite" .changeset/pre.json
grep "\"version\"" packages/vite/package.json

Result:

  • .changeset/pre.json line 41: "@workflow/vite": "4.0.0-beta.1"
  • packages/vite/package.json line 4: "version": "4.0.0-beta.2"

Expected: Both files should show the same version. The package.json is the source of truth, and the pre.json initialVersions should match the actual current package versions as documented in packages/vite/CHANGELOG.md which confirms 4.0.0-beta.2 was released in PR #501.

@vercelvercelBot 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.

🔧 Build Fix:

The workflow package's TypeScript configuration generates separate source map files instead of embedding them inline. Since these .js.map files are excluded from git, they're missing during CI builds, causing Turbopack to fail when it tries to resolve source map references. Configuring the package to use inlineSourceMap instead fixes the issue by embedding source maps directly in the JavaScript output.

View Details
📝 Patch Details
diff --git a/packages/workflow/tsconfig.json b/packages/workflow/tsconfig.json
index a78dbf4..65f2136 100644
--- a/packages/workflow/tsconfig.json+++ b/packages/workflow/tsconfig.json@@ -1,7 +1,9 @@
{
"extends": "@workflow/tsconfig/base.json",
"compilerOptions": {
- "outDir": "dist"+ "outDir": "dist",+ "sourceMap": false,+ "inlineSourceMap": true
},
"include": ["src"],
"exclude": ["node_modules", "**/*.test.ts"]

Analysis

Missing source map file causes Turbopack build failure

What fails: Turbopack build for nextjs-turbopack fails when attempting to process JavaScript files from the workflow package that reference missing source map files.

How to reproduce:

pnpm install
pnpm exec turbo run build --filter nextjs-turbopack

Result:

ERROR failed to read input source map: failed to find input source map file "stdlib.js.map" in "packages/workflow/dist/stdlib.js" file as either "packages/workflow/dist/stdlib.js.map" or with appended .map
...
Code generation for chunk item errored
An error occurred while generating the chunk item [project]/workbench/nextjs-turbopack/app/page.tsx [app-client] (ecmascript)

Root cause: The packages/workflow/tsconfig.json was configured with sourceMap: true (inherited from base.json), which causes TypeScript to generate separate .js.map source map files. These files are:

  1. Not committed to git (.gitignore excludes /packages/*/dist)
  2. Not available during CI builds
  3. Cause Turbopack to fail when it encounters source map references it cannot resolve

Solution: Configure the workflow package to use inlineSourceMap: true and sourceMap: false, which embeds source maps directly in the JavaScript files as base64-encoded data URIs instead of separate files. This prevents the missing file issue since no separate files are referenced.

This matches the fix applied to @workflow/core in commit 2fde24e.

Fix on Vercel

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.

2 participants

@vercel-release-bot@VaguelySerious