') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); })(); Forward-port SvelteKit workflow queue trigger fix by pranaygp · Pull Request #1995 · vercel/workflow · GitHub
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

CopilotAI review requested due to automatic review settings May 14, 2026 22:28
@pranaygp
pranaygp requested a review from a team as a code ownerMay 14, 2026 22:28
@changeset-bot

Copy link
Copy Markdown

🦋 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
NameType
@workflow/sveltekitPatch
workflowPatch
tarballsPatch
@workflow/aiPatch
@workflow/world-testingPatch
@workflow/corePatch
@workflow/buildersPatch
@workflow/cliPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/web-sharedPatch
@workflow/webPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/vitePatch
@workflow/nuxtPatch

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

github-actionsBot commented May 14, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production120002191419
✅ 💻 Local Development158702191806
✅ 📦 Local Production158702191806
❌ 🐘 Local Postgres158612191806
✅ 🪟 Windows12900129
✅ 📋 Other7270176903
Total6816110527869

❌ 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
AppPassedFailedSkipped
✅ astro103026
✅ example103026
✅ express103026
✅ fastify103026
✅ hono103026
✅ nextjs-turbopack12702
✅ nextjs-webpack12702
✅ nitro103026
✅ nuxt103026
✅ sveltekit12207
✅ vite103026
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable104025
✅ express-stable104025
✅ fastify-stable104025
✅ hono-stable104025
✅ nextjs-turbopack-canary110019
✅ nextjs-turbopack-stable-lazy-discovery-disabled12900
✅ nextjs-turbopack-stable-lazy-discovery-enabled12900
✅ nextjs-webpack-canary110019
✅ nextjs-webpack-stable-lazy-discovery-disabled12900
✅ nextjs-webpack-stable-lazy-discovery-enabled12900
✅ nitro-stable104025
✅ nuxt-stable104025
✅ sveltekit-stable12306
✅ vite-stable104025
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable104025
✅ express-stable104025
✅ fastify-stable104025
✅ hono-stable104025
✅ nextjs-turbopack-canary110019
✅ nextjs-turbopack-stable-lazy-discovery-disabled12900
✅ nextjs-turbopack-stable-lazy-discovery-enabled12900
✅ nextjs-webpack-canary110019
✅ nextjs-webpack-stable-lazy-discovery-disabled12900
✅ nextjs-webpack-stable-lazy-discovery-enabled12900
✅ nitro-stable104025
✅ nuxt-stable104025
✅ sveltekit-stable12306
✅ vite-stable104025
❌ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable104025
✅ express-stable104025
✅ fastify-stable104025
✅ hono-stable104025
✅ nextjs-turbopack-canary110019
✅ nextjs-turbopack-stable-lazy-discovery-disabled12900
✅ nextjs-turbopack-stable-lazy-discovery-enabled12900
✅ nextjs-webpack-canary110019
❌ nextjs-webpack-stable-lazy-discovery-disabled12810
✅ nextjs-webpack-stable-lazy-discovery-enabled12900
✅ nitro-stable104025
✅ nuxt-stable104025
✅ sveltekit-stable12306
✅ vite-stable104025
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack12900
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable104025
✅ e2e-local-dev-tanstack-start-104025
✅ e2e-local-postgres-nest-stable104025
✅ e2e-local-postgres-tanstack-start-104025
✅ e2e-local-prod-nest-stable104025
✅ e2e-local-prod-tanstack-start-104025
✅ e2e-vercel-prod-tanstack-start103026

📋 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

vercelBot commented May 14, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented May 14, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.032s (-26.2% 🟢)1.006s (~)0.974s101.00x
💻 LocalExpress0.033s (-24.6% 🟢)1.008s (~)0.975s101.05x
🐘 PostgresExpress0.044s (-23.3% 🟢)1.011s (~)0.966s101.40x
🐘 PostgresNitro0.050s (-48.0% 🟢)1.012s (-3.0%)0.962s101.56x
💻 LocalNext.js (Turbopack)0.051s1.006s0.954s101.62x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.405s (-1.2%)2.372s (-5.5% 🟢)1.967s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.065s (-5.3% 🟢)2.006s (~)0.941s101.00x
💻 LocalNitro1.071s (-5.4% 🟢)2.007s (~)0.936s101.00x
🐘 PostgresExpress1.081s (-5.7% 🟢)2.009s (~)0.928s101.01x
🐘 PostgresNitro1.087s (-4.7%)2.009s (~)0.923s101.02x
💻 LocalNext.js (Turbopack)1.111s2.006s0.895s101.04x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.830s (-53.0% 🟢)3.927s (-33.5% 🟢)2.097s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.386s (-4.9%)11.021s (~)0.635s31.00x
🐘 PostgresNitro10.409s (-4.2%)11.014s (~)0.605s31.00x
💻 LocalNitro10.410s (-4.9%)11.023s (~)0.612s31.00x
🐘 PostgresExpress10.433s (-4.8%)11.019s (~)0.585s31.00x
💻 LocalNext.js (Turbopack)10.696s11.022s0.326s31.03x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro13.736s (-42.1% 🟢)16.043s (-36.1% 🟢)2.308s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro13.432s (-8.0% 🟢)14.015s (-6.7% 🟢)0.583s51.00x
💻 LocalExpress13.436s (-10.2% 🟢)14.026s (-6.7% 🟢)0.591s51.00x
💻 LocalNitro13.474s (-10.5% 🟢)14.027s (-12.5% 🟢)0.553s51.00x
🐘 PostgresExpress13.495s (-7.5% 🟢)14.017s (-6.7% 🟢)0.523s51.00x
💻 LocalNext.js (Turbopack)14.050s15.031s0.980s41.05x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro23.312s (-63.8% 🟢)25.737s (-61.4% 🟢)2.425s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express11.825s (-28.8% 🟢)12.021s (-29.4% 🟢)0.196s81.00x
🐘 PostgresNitro11.895s (-14.8% 🟢)12.017s (-16.0% 🟢)0.122s81.01x
💻 LocalNitro11.939s (-28.9% 🟢)12.147s (-28.7% 🟢)0.208s81.01x
🐘 PostgresExpress11.960s (-14.6% 🟢)12.141s (-16.8% 🟢)0.181s81.01x
💻 LocalNext.js (Turbopack)12.986s13.167s0.181s71.10x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro32.949s (-92.2% 🟢)35.551s (-91.6% 🟢)2.603s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.142s (-10.4% 🟢)2.007s (~)0.866s151.00x
🐘 PostgresExpress1.144s (-9.3% 🟢)2.007s (~)0.864s151.00x
💻 LocalExpress1.167s (-21.6% 🟢)2.006s (~)0.839s151.02x
💻 LocalNitro1.195s (-26.7% 🟢)2.006s (-3.3%)0.810s151.05x
💻 LocalNext.js (Turbopack)1.295s2.006s0.711s151.13x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.132s (+11.1% 🔺)5.102s (+18.0% 🔺)1.970s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.185s (-49.8% 🟢)2.007s (-33.3% 🟢)0.822s151.00x
🐘 PostgresNitro1.195s (-49.2% 🟢)2.007s (-33.3% 🟢)0.812s151.01x
💻 LocalExpress1.685s (-42.9% 🟢)2.005s (-41.9% 🟢)0.321s151.42x
💻 LocalNitro1.772s (-43.6% 🟢)2.005s (-48.4% 🟢)0.234s151.50x
💻 LocalNext.js (Turbopack)1.897s2.392s0.495s131.60x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.526s (-13.0% 🟢)5.521s (-6.8% 🟢)1.995s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.275s (-63.4% 🟢)2.007s (-49.9% 🟢)0.732s151.00x
🐘 PostgresNitro1.318s (-62.1% 🟢)2.007s (-49.9% 🟢)0.688s151.03x
💻 LocalExpress4.809s (-42.3% 🟢)5.343s (-40.8% 🟢)0.534s63.77x
💻 LocalNext.js (Turbopack)4.984s5.345s0.362s63.91x
💻 LocalNitro5.389s (-35.5% 🟢)5.846s (-35.2% 🟢)0.457s64.23x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.310s (+50.6% 🔺)7.369s (+33.2% 🔺)2.059s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.126s (-10.4% 🟢)2.008s (~)0.882s151.00x
🐘 PostgresNitro1.148s (-8.7% 🟢)2.010s (~)0.862s151.02x
💻 LocalNext.js (Turbopack)1.353s2.073s0.720s151.20x
💻 LocalExpress1.365s (-27.9% 🟢)2.006s (-15.1% 🟢)0.641s151.21x
💻 LocalNitro1.434s (-23.1% 🟢)2.006s (-14.3% 🟢)0.572s151.27x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.698s (+9.7% 🔺)4.482s (+7.5% 🔺)1.784s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.185s (-49.4% 🟢)2.008s (-33.3% 🟢)0.823s151.00x
🐘 PostgresNitro1.204s (-48.5% 🟢)2.008s (-33.3% 🟢)0.804s151.02x
💻 LocalExpress1.950s (-37.7% 🟢)2.393s (-36.4% 🟢)0.443s131.65x
💻 LocalNitro2.077s (-32.2% 🟢)2.509s (-35.5% 🟢)0.432s121.75x
💻 LocalNext.js (Turbopack)2.210s3.008s0.798s101.87x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.518s (+39.8% 🔺)6.233s (+22.8% 🔺)1.714s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.264s (-63.9% 🟢)2.006s (-50.0% 🟢)0.742s151.00x
🐘 PostgresNitro1.307s (-62.4% 🟢)2.008s (-49.9% 🟢)0.701s151.03x
💻 LocalNext.js (Turbopack)5.651s6.014s0.363s54.47x
💻 LocalNitro5.758s (-37.0% 🟢)6.348s (-36.7% 🟢)0.590s64.56x
💻 LocalExpress6.163s (-30.0% 🟢)6.611s (-28.7% 🟢)0.448s54.88x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.152s (+1.2%)7.005s (+2.8%)1.853s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.423s (-49.6% 🟢)1.006s (-1.7%)0.583s601.00x
🐘 PostgresNitro0.458s (-44.2% 🟢)1.007s (~)0.549s601.08x
💻 LocalExpress0.460s (-53.2% 🟢)1.004s (-6.7% 🟢)0.544s601.09x
💻 LocalNitro0.471s (-52.0% 🟢)1.004s (-8.2% 🟢)0.533s601.11x
💻 LocalNext.js (Turbopack)0.704s1.004s0.300s601.67x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.066s (-77.0% 🟢)6.751s (-71.9% 🟢)1.685s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.053s (-45.4% 🟢)1.550s (-26.2% 🟢)0.497s591.00x
🐘 PostgresExpress1.055s (-46.6% 🟢)1.673s (-25.9% 🟢)0.618s541.00x
💻 LocalExpress1.159s (-61.6% 🟢)2.005s (-44.1% 🟢)0.846s451.10x
💻 LocalNitro1.205s (-60.3% 🟢)2.006s (-46.6% 🟢)0.801s451.14x
💻 LocalNext.js (Turbopack)1.743s2.006s0.263s451.66x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro12.712s (-67.8% 🟢)14.605s (-64.6% 🟢)1.893s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.044s (-48.8% 🟢)2.456s (-43.8% 🟢)0.412s491.00x
🐘 PostgresNitro2.167s (-47.2% 🟢)2.719s (-40.9% 🟢)0.552s451.06x
💻 LocalExpress2.657s (-71.2% 🟢)3.032s (-69.7% 🟢)0.375s401.30x
💻 LocalNitro2.713s (-70.8% 🟢)3.032s (-69.7% 🟢)0.320s401.33x
💻 LocalNext.js (Turbopack)3.744s4.008s0.264s301.83x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro49.856s (-48.6% 🟢)52.311s (-46.9% 🟢)2.455s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.162s (-42.8% 🟢)1.007s (~)0.845s601.00x
🐘 PostgresExpress0.170s (-39.8% 🟢)1.006s (~)0.835s601.05x
💻 LocalExpress0.422s (-24.7% 🟢)1.004s (~)0.582s602.60x
💻 LocalNitro0.456s (-24.5% 🟢)1.005s (-1.6%)0.548s602.82x
💻 LocalNext.js (Turbopack)0.525s1.004s0.479s603.24x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.231s (+34.3% 🔺)4.091s (+22.1% 🔺)1.860s151.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.268s (-47.4% 🟢)1.005s (~)0.737s901.00x
🐘 PostgresNitro0.291s (-41.4% 🟢)1.006s (~)0.715s901.08x
💻 LocalExpress2.206s (-12.2% 🟢)2.852s (-5.2% 🟢)0.645s328.23x
💻 LocalNext.js (Turbopack)2.215s3.009s0.795s308.26x
💻 LocalNitro2.259s (-11.0% 🟢)2.944s (-2.2%)0.685s318.43x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro8.101s (+151.1% 🔺)10.133s (+110.2% 🔺)2.032s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.559s (-31.7% 🟢)1.005s (-1.2%)0.446s1201.00x
🐘 PostgresNitro0.590s (-25.3% 🟢)1.006s (~)0.416s1201.06x
💻 LocalExpress9.646s (-13.8% 🟢)10.112s (-15.3% 🟢)0.466s1217.26x
💻 LocalNitro9.986s (-10.8% 🟢)10.695s (-8.3% 🟢)0.708s1217.86x
💻 LocalNext.js (Turbopack)11.374s11.936s0.562s1120.35x
🐘 PostgresNext.js (Turbopack)⚠️missing----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro23.056s (+198.6% 🔺)25.282s (+169.0% 🔺)2.226s51.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.131s (+468.0% 🔺)2.004s (+99.5% 🔺)0.010s (-15.7% 🟢)2.017s (+98.1% 🔺)0.886s101.00x
🐘 PostgresExpress1.133s (+452.2% 🔺)2.001s (+100.3% 🔺)0.001s (-18.8% 🟢)2.009s (+98.7% 🔺)0.877s101.00x
💻 LocalNitro1.133s (+429.9% 🔺)2.005s (+99.6% 🔺)0.013s (~)2.019s (+98.2% 🔺)0.887s101.00x
🐘 PostgresNitro1.140s (+456.1% 🔺)2.001s (+100.2% 🔺)0.001s (-33.3% 🟢)2.010s (+98.7% 🔺)0.870s101.01x
💻 LocalNext.js (Turbopack)1.178s2.004s0.012s2.019s0.841s101.04x
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.243s (-41.5% 🟢)3.315s (-37.2% 🟢)1.849s (+149.2% 🔺)5.675s (-12.5% 🟢)3.432s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.499s (+140.2% 🔺)2.003s (+98.9% 🔺)0.004s (-2.5%)2.027s (+98.2% 🔺)0.528s301.00x
🐘 PostgresExpress1.507s (+139.3% 🔺)2.006s (+99.3% 🔺)0.003s (-13.0% 🟢)2.023s (+97.7% 🔺)0.515s301.01x
💻 LocalNitro1.528s (+82.2% 🔺)2.011s (+98.7% 🔺)0.010s (+2.1%)2.023s (+81.3% 🔺)0.495s301.02x
💻 LocalNext.js (Turbopack)1.663s2.011s0.011s2.025s0.361s301.11x
💻 LocalExpress1.685s (+122.6% 🔺)2.010s (+95.4% 🔺)0.010s (+8.1% 🔺)2.201s (+111.7% 🔺)0.516s281.12x
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.921s (-79.9% 🟢)7.436s (-75.9% 🟢)0.281s (+150.6% 🔺)8.240s (-74.1% 🟢)2.319s81.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro0.653s (-32.6% 🟢)1.014s (-18.7% 🟢)0.000s (-100.0% 🟢)1.043s (-17.0% 🟢)0.391s581.00x
🐘 PostgresExpress0.656s (-31.7% 🟢)1.051s (-17.8% 🟢)0.000s (+98.3% 🔺)1.058s (-19.0% 🟢)0.403s581.00x
💻 LocalExpress1.318s (+7.6% 🔺)2.016s (~)0.001s (+120.0% 🔺)2.018s (~)0.700s302.02x
💻 LocalNitro1.344s (+9.9% 🔺)2.015s (~)0.001s (+400.0% 🔺)2.017s (~)0.673s302.06x
💻 LocalNext.js (Turbopack)1.410s2.014s0.000s2.017s0.607s302.16x
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.739s (+22.6% 🔺)5.032s (+14.6% 🔺)0.000s (+254.5% 🔺)5.530s (+15.0% 🔺)1.791s111.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro1.173s (-34.5% 🟢)1.870s (-12.7% 🟢)0.000s (-12.5% 🟢)1.897s (-12.8% 🟢)0.724s321.00x
🐘 PostgresExpress1.240s (-30.0% 🟢)1.906s (-12.5% 🟢)0.000s (+Infinity% 🔺)1.922s (-12.6% 🟢)0.682s321.06x
💻 LocalNext.js (Turbopack)2.610s3.186s0.000s3.190s0.580s192.23x
💻 LocalExpress3.084s (-11.0% 🟢)3.733s (-7.5% 🟢)0.000s (-41.2% 🟢)3.736s (-7.4% 🟢)0.652s172.63x
💻 LocalNitro3.146s (-7.1% 🟢)3.777s (-6.3% 🟢)0.001s (+17.2% 🔺)3.783s (-6.3% 🟢)0.637s162.68x
🐘 PostgresNext.js (Turbopack)⚠️missing-----

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro5.716s (+39.6% 🔺)7.000s (+30.3% 🔺)0.001s (+225.9% 🔺)7.475s (+29.0% 🔺)1.759s91.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress16/21
🐘 PostgresExpress12/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres15/21
Next.js (Turbopack)💻 Local21/21
Nitro🐘 Postgres18/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.

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

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.

FileDescription
packages/sveltekit/src/vc-config.tsAdds helpers to strip Workflow queue triggers from parsed config objects and from .vc-config.json files.
packages/sveltekit/src/vc-config.test.tsAdds focused tests to verify trigger stripping and preservation of unrelated triggers.
packages/sveltekit/src/index.tsSwitches to shared trigger constant and strips triggers from the source function config after copying flow.func.
.changeset/stale-sveltekit-triggers-main.mdPublishes 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 mainMay 14, 2026
111 of 118 checks passed
@pranaygp
pranaygp deleted the pranaygp/codex/forwardport-sveltekit-queue-triggers branch May 14, 2026 23:05
@github-actionsgithub-actionsBot mentioned this pull request May 14, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@pranaygp@TooTallNate