Skip to content

Forward-port SvelteKit workflow queue trigger fix#1995

Merged
pranaygp merged 1 commit into
mainfrom
pranaygp/codex/forwardport-sveltekit-queue-triggers
May 14, 2026
Merged

Forward-port SvelteKit workflow queue trigger fix#1995
pranaygp merged 1 commit into
mainfrom
pranaygp/codex/forwardport-sveltekit-queue-triggers

Conversation

@pranaygp
Copy link
Copy Markdown
Contributor

Summary

Forward-port #1984 to main for the SvelteKit V2 builder path.

This keeps the main branch from retaining stale Workflow queue triggers on the shared SvelteKit __data.json.func/.vc-config.json source config after the dedicated Workflow function is copied out.

Changes

  • Reuses WORKFLOW_QUEUE_TRIGGER from @workflow/builders instead of duplicating queue trigger config in the SvelteKit builder.
  • Strips stale Workflow queue triggers from the shared source function config after copying flow.func.
  • Adds focused coverage for the pure .vc-config.json transform.

Validation

  • pnpm install --frozen-lockfile
  • pnpm --filter '@workflow/sveltekit...' build
  • pnpm vitest run packages/sveltekit/src/vc-config.test.ts
  • pnpm exec biome check packages/sveltekit/src/index.ts packages/sveltekit/src/vc-config.ts packages/sveltekit/src/vc-config.test.ts .changeset/stale-sveltekit-triggers-main.md

Related

Copilot AI review requested due to automatic review settings May 14, 2026 22:28
@pranaygp pranaygp requested a review from a team as a code owner May 14, 2026 22:28
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 14, 2026

🦋 Changeset detected

Latest commit: 7095aa7

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

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

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

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2026

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 1200 0 219 1419
✅ 💻 Local Development 1587 0 219 1806
✅ 📦 Local Production 1587 0 219 1806
❌ 🐘 Local Postgres 1586 1 219 1806
✅ 🪟 Windows 129 0 0 129
✅ 📋 Other 727 0 176 903
Total 6816 1 1052 7869

❌ Failed Tests

🐘 Local Postgres (1 failed)

nextjs-webpack-stable-lazy-discovery-disabled (1 failed):

  • DurableAgent e2e core basic text response

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 103 0 26
✅ example 103 0 26
✅ express 103 0 26
✅ fastify 103 0 26
✅ hono 103 0 26
✅ nextjs-turbopack 127 0 2
✅ nextjs-webpack 127 0 2
✅ nitro 103 0 26
✅ nuxt 103 0 26
✅ sveltekit 122 0 7
✅ vite 103 0 26
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 104 0 25
✅ express-stable 104 0 25
✅ fastify-stable 104 0 25
✅ hono-stable 104 0 25
✅ nextjs-turbopack-canary 110 0 19
✅ nextjs-turbopack-stable-lazy-discovery-disabled 129 0 0
✅ nextjs-turbopack-stable-lazy-discovery-enabled 129 0 0
✅ nextjs-webpack-canary 110 0 19
✅ nextjs-webpack-stable-lazy-discovery-disabled 129 0 0
✅ nextjs-webpack-stable-lazy-discovery-enabled 129 0 0
✅ nitro-stable 104 0 25
✅ nuxt-stable 104 0 25
✅ sveltekit-stable 123 0 6
✅ vite-stable 104 0 25
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 104 0 25
✅ express-stable 104 0 25
✅ fastify-stable 104 0 25
✅ hono-stable 104 0 25
✅ nextjs-turbopack-canary 110 0 19
✅ nextjs-turbopack-stable-lazy-discovery-disabled 129 0 0
✅ nextjs-turbopack-stable-lazy-discovery-enabled 129 0 0
✅ nextjs-webpack-canary 110 0 19
✅ nextjs-webpack-stable-lazy-discovery-disabled 129 0 0
✅ nextjs-webpack-stable-lazy-discovery-enabled 129 0 0
✅ nitro-stable 104 0 25
✅ nuxt-stable 104 0 25
✅ sveltekit-stable 123 0 6
✅ vite-stable 104 0 25
❌ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 104 0 25
✅ express-stable 104 0 25
✅ fastify-stable 104 0 25
✅ hono-stable 104 0 25
✅ nextjs-turbopack-canary 110 0 19
✅ nextjs-turbopack-stable-lazy-discovery-disabled 129 0 0
✅ nextjs-turbopack-stable-lazy-discovery-enabled 129 0 0
✅ nextjs-webpack-canary 110 0 19
❌ nextjs-webpack-stable-lazy-discovery-disabled 128 1 0
✅ nextjs-webpack-stable-lazy-discovery-enabled 129 0 0
✅ nitro-stable 104 0 25
✅ nuxt-stable 104 0 25
✅ sveltekit-stable 123 0 6
✅ vite-stable 104 0 25
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 129 0 0
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 104 0 25
✅ e2e-local-dev-tanstack-start- 104 0 25
✅ e2e-local-postgres-nest-stable 104 0 25
✅ e2e-local-postgres-tanstack-start- 104 0 25
✅ e2e-local-prod-nest-stable 104 0 25
✅ e2e-local-prod-tanstack-start- 104 0 25
✅ e2e-vercel-prod-tanstack-start 103 0 26

📋 View full workflow run


Some E2E test jobs failed:

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

Check the workflow run for details.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 14, 2026

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

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment May 14, 2026 10:32pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment May 14, 2026 10:32pm
example-workflow Ready Ready Preview, Comment May 14, 2026 10:32pm
workbench-astro-workflow Ready Ready Preview, Comment May 14, 2026 10:32pm
workbench-express-workflow Ready Ready Preview, Comment May 14, 2026 10:32pm
workbench-fastify-workflow Ready Ready Preview, Comment May 14, 2026 10:32pm
workbench-hono-workflow Ready Ready Preview, Comment May 14, 2026 10:32pm
workbench-nitro-workflow Ready Ready Preview, Comment May 14, 2026 10:32pm
workbench-nuxt-workflow Ready Ready Preview, Comment May 14, 2026 10:32pm
workbench-sveltekit-workflow Ready Ready Preview, Comment May 14, 2026 10:32pm
workbench-tanstack-start-workflow Ready Ready Preview, Comment May 14, 2026 10:32pm
workbench-vite-workflow Ready Ready Preview, Comment May 14, 2026 10:32pm
workflow-swc-playground Ready Ready Preview, Comment May 14, 2026 10:32pm
workflow-tarballs Ready Ready Preview, Comment May 14, 2026 10:32pm
workflow-web Ready Ready Preview, Comment May 14, 2026 10:32pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2026

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Nitro 0.032s (-26.2% 🟢) 1.006s (~) 0.974s 10 1.00x
💻 Local Express 0.033s (-24.6% 🟢) 1.008s (~) 0.975s 10 1.05x
🐘 Postgres Express 0.044s (-23.3% 🟢) 1.011s (~) 0.966s 10 1.40x
🐘 Postgres Nitro 0.050s (-48.0% 🟢) 1.012s (-3.0%) 0.962s 10 1.56x
💻 Local Next.js (Turbopack) 0.051s 1.006s 0.954s 10 1.62x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 0.405s (-1.2%) 2.372s (-5.5% 🟢) 1.967s 10 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 1.065s (-5.3% 🟢) 2.006s (~) 0.941s 10 1.00x
💻 Local Nitro 1.071s (-5.4% 🟢) 2.007s (~) 0.936s 10 1.00x
🐘 Postgres Express 1.081s (-5.7% 🟢) 2.009s (~) 0.928s 10 1.01x
🐘 Postgres Nitro 1.087s (-4.7%) 2.009s (~) 0.923s 10 1.02x
💻 Local Next.js (Turbopack) 1.111s 2.006s 0.895s 10 1.04x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 1.830s (-53.0% 🟢) 3.927s (-33.5% 🟢) 2.097s 10 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 10.386s (-4.9%) 11.021s (~) 0.635s 3 1.00x
🐘 Postgres Nitro 10.409s (-4.2%) 11.014s (~) 0.605s 3 1.00x
💻 Local Nitro 10.410s (-4.9%) 11.023s (~) 0.612s 3 1.00x
🐘 Postgres Express 10.433s (-4.8%) 11.019s (~) 0.585s 3 1.00x
💻 Local Next.js (Turbopack) 10.696s 11.022s 0.326s 3 1.03x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 13.736s (-42.1% 🟢) 16.043s (-36.1% 🟢) 2.308s 2 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 13.432s (-8.0% 🟢) 14.015s (-6.7% 🟢) 0.583s 5 1.00x
💻 Local Express 13.436s (-10.2% 🟢) 14.026s (-6.7% 🟢) 0.591s 5 1.00x
💻 Local Nitro 13.474s (-10.5% 🟢) 14.027s (-12.5% 🟢) 0.553s 5 1.00x
🐘 Postgres Express 13.495s (-7.5% 🟢) 14.017s (-6.7% 🟢) 0.523s 5 1.00x
💻 Local Next.js (Turbopack) 14.050s 15.031s 0.980s 4 1.05x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 23.312s (-63.8% 🟢) 25.737s (-61.4% 🟢) 2.425s 3 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 11.825s (-28.8% 🟢) 12.021s (-29.4% 🟢) 0.196s 8 1.00x
🐘 Postgres Nitro 11.895s (-14.8% 🟢) 12.017s (-16.0% 🟢) 0.122s 8 1.01x
💻 Local Nitro 11.939s (-28.9% 🟢) 12.147s (-28.7% 🟢) 0.208s 8 1.01x
🐘 Postgres Express 11.960s (-14.6% 🟢) 12.141s (-16.8% 🟢) 0.181s 8 1.01x
💻 Local Next.js (Turbopack) 12.986s 13.167s 0.181s 7 1.10x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 32.949s (-92.2% 🟢) 35.551s (-91.6% 🟢) 2.603s 3 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.142s (-10.4% 🟢) 2.007s (~) 0.866s 15 1.00x
🐘 Postgres Express 1.144s (-9.3% 🟢) 2.007s (~) 0.864s 15 1.00x
💻 Local Express 1.167s (-21.6% 🟢) 2.006s (~) 0.839s 15 1.02x
💻 Local Nitro 1.195s (-26.7% 🟢) 2.006s (-3.3%) 0.810s 15 1.05x
💻 Local Next.js (Turbopack) 1.295s 2.006s 0.711s 15 1.13x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.132s (+11.1% 🔺) 5.102s (+18.0% 🔺) 1.970s 7 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.185s (-49.8% 🟢) 2.007s (-33.3% 🟢) 0.822s 15 1.00x
🐘 Postgres Nitro 1.195s (-49.2% 🟢) 2.007s (-33.3% 🟢) 0.812s 15 1.01x
💻 Local Express 1.685s (-42.9% 🟢) 2.005s (-41.9% 🟢) 0.321s 15 1.42x
💻 Local Nitro 1.772s (-43.6% 🟢) 2.005s (-48.4% 🟢) 0.234s 15 1.50x
💻 Local Next.js (Turbopack) 1.897s 2.392s 0.495s 13 1.60x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.526s (-13.0% 🟢) 5.521s (-6.8% 🟢) 1.995s 6 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.275s (-63.4% 🟢) 2.007s (-49.9% 🟢) 0.732s 15 1.00x
🐘 Postgres Nitro 1.318s (-62.1% 🟢) 2.007s (-49.9% 🟢) 0.688s 15 1.03x
💻 Local Express 4.809s (-42.3% 🟢) 5.343s (-40.8% 🟢) 0.534s 6 3.77x
💻 Local Next.js (Turbopack) 4.984s 5.345s 0.362s 6 3.91x
💻 Local Nitro 5.389s (-35.5% 🟢) 5.846s (-35.2% 🟢) 0.457s 6 4.23x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 5.310s (+50.6% 🔺) 7.369s (+33.2% 🔺) 2.059s 5 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.126s (-10.4% 🟢) 2.008s (~) 0.882s 15 1.00x
🐘 Postgres Nitro 1.148s (-8.7% 🟢) 2.010s (~) 0.862s 15 1.02x
💻 Local Next.js (Turbopack) 1.353s 2.073s 0.720s 15 1.20x
💻 Local Express 1.365s (-27.9% 🟢) 2.006s (-15.1% 🟢) 0.641s 15 1.21x
💻 Local Nitro 1.434s (-23.1% 🟢) 2.006s (-14.3% 🟢) 0.572s 15 1.27x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.698s (+9.7% 🔺) 4.482s (+7.5% 🔺) 1.784s 7 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.185s (-49.4% 🟢) 2.008s (-33.3% 🟢) 0.823s 15 1.00x
🐘 Postgres Nitro 1.204s (-48.5% 🟢) 2.008s (-33.3% 🟢) 0.804s 15 1.02x
💻 Local Express 1.950s (-37.7% 🟢) 2.393s (-36.4% 🟢) 0.443s 13 1.65x
💻 Local Nitro 2.077s (-32.2% 🟢) 2.509s (-35.5% 🟢) 0.432s 12 1.75x
💻 Local Next.js (Turbopack) 2.210s 3.008s 0.798s 10 1.87x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 4.518s (+39.8% 🔺) 6.233s (+22.8% 🔺) 1.714s 5 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 1.264s (-63.9% 🟢) 2.006s (-50.0% 🟢) 0.742s 15 1.00x
🐘 Postgres Nitro 1.307s (-62.4% 🟢) 2.008s (-49.9% 🟢) 0.701s 15 1.03x
💻 Local Next.js (Turbopack) 5.651s 6.014s 0.363s 5 4.47x
💻 Local Nitro 5.758s (-37.0% 🟢) 6.348s (-36.7% 🟢) 0.590s 6 4.56x
💻 Local Express 6.163s (-30.0% 🟢) 6.611s (-28.7% 🟢) 0.448s 5 4.88x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 5.152s (+1.2%) 7.005s (+2.8%) 1.853s 5 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 0.423s (-49.6% 🟢) 1.006s (-1.7%) 0.583s 60 1.00x
🐘 Postgres Nitro 0.458s (-44.2% 🟢) 1.007s (~) 0.549s 60 1.08x
💻 Local Express 0.460s (-53.2% 🟢) 1.004s (-6.7% 🟢) 0.544s 60 1.09x
💻 Local Nitro 0.471s (-52.0% 🟢) 1.004s (-8.2% 🟢) 0.533s 60 1.11x
💻 Local Next.js (Turbopack) 0.704s 1.004s 0.300s 60 1.67x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 5.066s (-77.0% 🟢) 6.751s (-71.9% 🟢) 1.685s 9 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.053s (-45.4% 🟢) 1.550s (-26.2% 🟢) 0.497s 59 1.00x
🐘 Postgres Express 1.055s (-46.6% 🟢) 1.673s (-25.9% 🟢) 0.618s 54 1.00x
💻 Local Express 1.159s (-61.6% 🟢) 2.005s (-44.1% 🟢) 0.846s 45 1.10x
💻 Local Nitro 1.205s (-60.3% 🟢) 2.006s (-46.6% 🟢) 0.801s 45 1.14x
💻 Local Next.js (Turbopack) 1.743s 2.006s 0.263s 45 1.66x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 12.712s (-67.8% 🟢) 14.605s (-64.6% 🟢) 1.893s 7 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 2.044s (-48.8% 🟢) 2.456s (-43.8% 🟢) 0.412s 49 1.00x
🐘 Postgres Nitro 2.167s (-47.2% 🟢) 2.719s (-40.9% 🟢) 0.552s 45 1.06x
💻 Local Express 2.657s (-71.2% 🟢) 3.032s (-69.7% 🟢) 0.375s 40 1.30x
💻 Local Nitro 2.713s (-70.8% 🟢) 3.032s (-69.7% 🟢) 0.320s 40 1.33x
💻 Local Next.js (Turbopack) 3.744s 4.008s 0.264s 30 1.83x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 49.856s (-48.6% 🟢) 52.311s (-46.9% 🟢) 2.455s 3 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.162s (-42.8% 🟢) 1.007s (~) 0.845s 60 1.00x
🐘 Postgres Express 0.170s (-39.8% 🟢) 1.006s (~) 0.835s 60 1.05x
💻 Local Express 0.422s (-24.7% 🟢) 1.004s (~) 0.582s 60 2.60x
💻 Local Nitro 0.456s (-24.5% 🟢) 1.005s (-1.6%) 0.548s 60 2.82x
💻 Local Next.js (Turbopack) 0.525s 1.004s 0.479s 60 3.24x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.231s (+34.3% 🔺) 4.091s (+22.1% 🔺) 1.860s 15 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 0.268s (-47.4% 🟢) 1.005s (~) 0.737s 90 1.00x
🐘 Postgres Nitro 0.291s (-41.4% 🟢) 1.006s (~) 0.715s 90 1.08x
💻 Local Express 2.206s (-12.2% 🟢) 2.852s (-5.2% 🟢) 0.645s 32 8.23x
💻 Local Next.js (Turbopack) 2.215s 3.009s 0.795s 30 8.26x
💻 Local Nitro 2.259s (-11.0% 🟢) 2.944s (-2.2%) 0.685s 31 8.43x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 8.101s (+151.1% 🔺) 10.133s (+110.2% 🔺) 2.032s 9 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Express 0.559s (-31.7% 🟢) 1.005s (-1.2%) 0.446s 120 1.00x
🐘 Postgres Nitro 0.590s (-25.3% 🟢) 1.006s (~) 0.416s 120 1.06x
💻 Local Express 9.646s (-13.8% 🟢) 10.112s (-15.3% 🟢) 0.466s 12 17.26x
💻 Local Nitro 9.986s (-10.8% 🟢) 10.695s (-8.3% 🟢) 0.708s 12 17.86x
💻 Local Next.js (Turbopack) 11.374s 11.936s 0.562s 11 20.35x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - -

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 23.056s (+198.6% 🔺) 25.282s (+169.0% 🔺) 2.226s 5 1.00x
▲ Vercel Express ⚠️ missing - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - -

🔍 Observability: Nitro

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Express 1.131s (+468.0% 🔺) 2.004s (+99.5% 🔺) 0.010s (-15.7% 🟢) 2.017s (+98.1% 🔺) 0.886s 10 1.00x
🐘 Postgres Express 1.133s (+452.2% 🔺) 2.001s (+100.3% 🔺) 0.001s (-18.8% 🟢) 2.009s (+98.7% 🔺) 0.877s 10 1.00x
💻 Local Nitro 1.133s (+429.9% 🔺) 2.005s (+99.6% 🔺) 0.013s (~) 2.019s (+98.2% 🔺) 0.887s 10 1.00x
🐘 Postgres Nitro 1.140s (+456.1% 🔺) 2.001s (+100.2% 🔺) 0.001s (-33.3% 🟢) 2.010s (+98.7% 🔺) 0.870s 10 1.01x
💻 Local Next.js (Turbopack) 1.178s 2.004s 0.012s 2.019s 0.841s 10 1.04x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 2.243s (-41.5% 🟢) 3.315s (-37.2% 🟢) 1.849s (+149.2% 🔺) 5.675s (-12.5% 🟢) 3.432s 10 1.00x
▲ Vercel Express ⚠️ missing - - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - - -

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.499s (+140.2% 🔺) 2.003s (+98.9% 🔺) 0.004s (-2.5%) 2.027s (+98.2% 🔺) 0.528s 30 1.00x
🐘 Postgres Express 1.507s (+139.3% 🔺) 2.006s (+99.3% 🔺) 0.003s (-13.0% 🟢) 2.023s (+97.7% 🔺) 0.515s 30 1.01x
💻 Local Nitro 1.528s (+82.2% 🔺) 2.011s (+98.7% 🔺) 0.010s (+2.1%) 2.023s (+81.3% 🔺) 0.495s 30 1.02x
💻 Local Next.js (Turbopack) 1.663s 2.011s 0.011s 2.025s 0.361s 30 1.11x
💻 Local Express 1.685s (+122.6% 🔺) 2.010s (+95.4% 🔺) 0.010s (+8.1% 🔺) 2.201s (+111.7% 🔺) 0.516s 28 1.12x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 5.921s (-79.9% 🟢) 7.436s (-75.9% 🟢) 0.281s (+150.6% 🔺) 8.240s (-74.1% 🟢) 2.319s 8 1.00x
▲ Vercel Express ⚠️ missing - - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - - -

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 0.653s (-32.6% 🟢) 1.014s (-18.7% 🟢) 0.000s (-100.0% 🟢) 1.043s (-17.0% 🟢) 0.391s 58 1.00x
🐘 Postgres Express 0.656s (-31.7% 🟢) 1.051s (-17.8% 🟢) 0.000s (+98.3% 🔺) 1.058s (-19.0% 🟢) 0.403s 58 1.00x
💻 Local Express 1.318s (+7.6% 🔺) 2.016s (~) 0.001s (+120.0% 🔺) 2.018s (~) 0.700s 30 2.02x
💻 Local Nitro 1.344s (+9.9% 🔺) 2.015s (~) 0.001s (+400.0% 🔺) 2.017s (~) 0.673s 30 2.06x
💻 Local Next.js (Turbopack) 1.410s 2.014s 0.000s 2.017s 0.607s 30 2.16x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 3.739s (+22.6% 🔺) 5.032s (+14.6% 🔺) 0.000s (+254.5% 🔺) 5.530s (+15.0% 🔺) 1.791s 11 1.00x
▲ Vercel Express ⚠️ missing - - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - - -

🔍 Observability: Nitro

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

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🐘 Postgres 🥇 Nitro 1.173s (-34.5% 🟢) 1.870s (-12.7% 🟢) 0.000s (-12.5% 🟢) 1.897s (-12.8% 🟢) 0.724s 32 1.00x
🐘 Postgres Express 1.240s (-30.0% 🟢) 1.906s (-12.5% 🟢) 0.000s (+Infinity% 🔺) 1.922s (-12.6% 🟢) 0.682s 32 1.06x
💻 Local Next.js (Turbopack) 2.610s 3.186s 0.000s 3.190s 0.580s 19 2.23x
💻 Local Express 3.084s (-11.0% 🟢) 3.733s (-7.5% 🟢) 0.000s (-41.2% 🟢) 3.736s (-7.4% 🟢) 0.652s 17 2.63x
💻 Local Nitro 3.146s (-7.1% 🟢) 3.777s (-6.3% 🟢) 0.001s (+17.2% 🔺) 3.783s (-6.3% 🟢) 0.637s 16 2.68x
🐘 Postgres Next.js (Turbopack) ⚠️ missing - - - - -

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 5.716s (+39.6% 🔺) 7.000s (+30.3% 🔺) 0.001s (+225.9% 🔺) 7.475s (+29.0% 🔺) 1.759s 9 1.00x
▲ Vercel Express ⚠️ missing - - - - -
▲ Vercel Next.js (Turbopack) ⚠️ missing - - - - -

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

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

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Forward-ports PR #1984 to main by ensuring the SvelteKit V2 builder path doesn’t leave stale Workflow queue triggers attached to the shared SvelteKit source function config after copying out the dedicated workflow function.

Changes:

  • Reuses WORKFLOW_QUEUE_TRIGGER from @workflow/builders for the dedicated workflow handler config.
  • Strips Workflow queue triggers from the shared source function’s .vc-config.json after flow.func is copied out.
  • Adds unit tests for the pure .vc-config.json trigger-stripping transform.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
packages/sveltekit/src/vc-config.ts Adds helpers to strip Workflow queue triggers from parsed config objects and from .vc-config.json files.
packages/sveltekit/src/vc-config.test.ts Adds focused tests to verify trigger stripping and preservation of unrelated triggers.
packages/sveltekit/src/index.ts Switches to shared trigger constant and strips triggers from the source function config after copying flow.func.
.changeset/stale-sveltekit-triggers-main.md Publishes a patch changeset describing the fix for duplicate queue consumers.

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

Comment on lines +15 to +18
export function stripWorkflowQueueTriggersFromConfig<
TConfig extends Record<string, unknown>,
>(existingConfig: TConfig): TConfig {
const experimentalTriggers = existingConfig.experimentalTriggers;
@pranaygp pranaygp merged commit 4753abb into main May 14, 2026
111 of 118 checks passed
@pranaygp pranaygp deleted the pranaygp/codex/forwardport-sveltekit-queue-triggers branch May 14, 2026 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants