ci: fix VERCEL_WORKFLOW_SERVER_* env var ternary on main - #1859

Merged
TooTallNate merged 2 commits into
mainfrom
ci/fix-workflow-server-env-ternary
Apr 28, 2026
Merged

ci: fix VERCEL_WORKFLOW_SERVER_* env var ternary on main#1859
TooTallNate merged 2 commits into
mainfrom
ci/fix-workflow-server-env-ternary

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

Fixes broken e2e CI on main introduced by #1824.

In GitHub Actions expressions, empty string '' is falsy. The previous expression

${{ github.ref == 'refs/heads/main' && '' || secrets.VERCEL_WORKFLOW_SERVER_URL }}

always fell through to the secret on both branches: on main, true && '' → '', then '' || secrets.X → secrets.X. So pushes to main were sending the preview workflow-server URL/bypass values into production e2e runs, which caused world-vercel to set x-vercel-workflow-api-url: <preview-url> on calls to api.vercel.com. The API rejected those with invalid_url, cascading into ~all e2e tests failing on every push to main since #1824 merged.

Fix

Flip the condition so the secret sits in the truthy branch — || then correctly selects '' on main:

${{ github.ref != 'refs/heads/main' && secrets.VERCEL_WORKFLOW_SERVER_URL || '' }}

Notes

In GitHub Actions expressions, '' is falsy, so the original
`cond && '' || secrets.X` pattern always fell through to the secret
regardless of branch. The result was that pushes to main were sending
preview workflow-server values to production, causing 'invalid_url'
errors on `x-vercel-workflow-api-url` across all e2e jobs.
Flip the condition so the secret sits in the truthy branch and ||
correctly selects '' on main.
CopilotAI review requested due to automatic review settings April 27, 2026 23:24
@vercel

vercelBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentApr 27, 2026 11:33pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentApr 27, 2026 11:33pm
example-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-astro-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-express-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-fastify-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-hono-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-nitro-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-nuxt-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-sveltekit-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-vite-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workflow-docsReadyReadyPreview, Comment, Open in v0Apr 27, 2026 11:33pm
workflow-swc-playgroundReadyReadyPreview, CommentApr 27, 2026 11:33pm
workflow-webReadyReadyPreview, CommentApr 27, 2026 11:33pm

@changeset-bot

changeset-botBot commented Apr 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: cecd8b0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@github-actions

github-actionsBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.036s (-19.4% 🟢)1.005s (~)0.969s101.00x
💻 LocalNitro0.042s (-3.7%)1.005s (~)0.963s101.16x
💻 LocalNext.js (Turbopack)0.047s1.005s0.958s101.31x
🐘 PostgresNext.js (Turbopack)0.059s1.011s0.952s101.66x
🐘 PostgresExpress0.061s (+4.7%)1.009s (~)0.949s101.70x
🐘 PostgresNitro0.064s (-33.1% 🟢)1.009s (-3.2%)0.946s101.78x
workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.093s (-2.9%)2.006s (~)0.913s101.00x
💻 LocalNext.js (Turbopack)1.116s2.006s0.890s101.02x
💻 LocalNitro1.130s (~)2.005s (~)0.875s101.03x
🐘 PostgresNitro1.140s (~)2.010s (~)0.870s101.04x
🐘 PostgresNext.js (Turbopack)1.143s2.009s0.866s101.05x
🐘 PostgresExpress1.149s (~)2.011s (~)0.862s101.05x
workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.641s (-2.6%)11.022s (~)0.381s31.00x
💻 LocalNext.js (Turbopack)10.778s11.023s0.245s31.01x
🐘 PostgresNitro10.886s (~)11.024s (~)0.139s31.02x
🐘 PostgresNext.js (Turbopack)10.887s11.019s0.132s31.02x
🐘 PostgresExpress10.929s (~)11.026s (~)0.097s31.03x
💻 LocalNitro10.941s (~)11.024s (~)0.083s31.03x
workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express14.222s (-5.0%)15.028s (~)0.806s41.00x
🐘 PostgresNitro14.441s (-1.1%)15.021s (~)0.581s41.02x
🐘 PostgresNext.js (Turbopack)14.536s15.023s0.488s41.02x
💻 LocalNext.js (Turbopack)14.566s15.031s0.465s41.02x
🐘 PostgresExpress14.737s (+1.1%)15.272s (+1.7%)0.535s41.04x
💻 LocalNitro14.979s (-0.6%)15.280s (-4.7%)0.301s41.05x
workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)13.901s14.162s0.261s71.00x
🐘 PostgresNitro13.939s (~)14.448s (+1.0%)0.509s71.00x
🐘 PostgresExpress14.386s (+2.7%)15.024s (+3.0%)0.638s61.03x
💻 LocalExpress14.809s (-10.8% 🟢)15.027s (-11.8% 🟢)0.218s61.07x
💻 LocalNext.js (Turbopack)15.865s16.196s0.330s61.14x
💻 LocalNitro16.422s (-2.2%)17.032s (~)0.610s61.18x
Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.242s2.010s0.767s151.00x
🐘 PostgresNitro1.257s (-1.4%)2.010s (~)0.753s151.01x
🐘 PostgresExpress1.262s (~)2.010s (~)0.748s151.02x
💻 LocalExpress1.436s (-3.6%)2.005s (~)0.569s151.16x
💻 LocalNitro1.481s (-9.2% 🟢)2.005s (-3.3%)0.524s151.19x
💻 LocalNext.js (Turbopack)1.555s2.073s0.517s151.25x
Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.337s (-1.0%)3.008s (~)0.671s101.00x
🐘 PostgresNitro2.366s (+0.7%)3.009s (~)0.642s101.01x
🐘 PostgresNext.js (Turbopack)2.389s3.009s0.620s101.02x
💻 LocalExpress2.640s (-10.6% 🟢)3.008s (-12.9% 🟢)0.368s101.13x
💻 LocalNitro2.711s (-13.8% 🟢)3.008s (-22.6% 🟢)0.297s101.16x
💻 LocalNext.js (Turbopack)2.796s3.341s0.546s91.20x
Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.461s (-0.5%)4.010s (~)0.550s81.00x
🐘 PostgresExpress3.472s (~)4.013s (~)0.541s81.00x
🐘 PostgresNext.js (Turbopack)3.652s4.009s0.357s81.06x
💻 LocalNext.js (Turbopack)6.907s7.519s0.611s42.00x
💻 LocalExpress7.050s (-15.4% 🟢)7.515s (-16.7% 🟢)0.465s42.04x
💻 LocalNitro7.439s (-10.9% 🟢)8.023s (-11.1% 🟢)0.584s42.15x
Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.213s2.008s0.796s151.00x
🐘 PostgresNitro1.257s (~)2.007s (~)0.750s151.04x
🐘 PostgresExpress1.273s (+1.3%)2.008s (~)0.735s151.05x
💻 LocalExpress1.471s (-22.3% 🟢)2.005s (-15.2% 🟢)0.534s151.21x
💻 LocalNext.js (Turbopack)1.513s2.007s0.494s151.25x
💻 LocalNitro1.523s (-18.4% 🟢)2.006s (-14.3% 🟢)0.483s151.26x
Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.313s (-1.1%)3.010s (~)0.697s101.00x
🐘 PostgresExpress2.343s (~)3.010s (~)0.666s101.01x
🐘 PostgresNext.js (Turbopack)2.393s3.008s0.614s101.03x
💻 LocalExpress2.784s (-11.1% 🟢)3.007s (-20.1% 🟢)0.223s101.20x
💻 LocalNitro2.886s (-5.8% 🟢)3.209s (-17.4% 🟢)0.322s101.25x
💻 LocalNext.js (Turbopack)2.894s3.454s0.561s91.25x
Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.462s (-0.5%)4.011s (~)0.549s81.00x
🐘 PostgresExpress3.495s (~)4.012s (~)0.517s81.01x
🐘 PostgresNext.js (Turbopack)3.662s4.010s0.348s81.06x
💻 LocalExpress7.862s (-10.7% 🟢)8.265s (-10.9% 🟢)0.404s42.27x
💻 LocalNext.js (Turbopack)8.004s8.266s0.262s42.31x
💻 LocalNitro8.179s (-10.6% 🟢)9.024s (-10.0% 🟢)0.844s42.36x
workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.697s (-29.2% 🟢)1.021s (-5.1% 🟢)0.324s591.00x
🐘 PostgresNext.js (Turbopack)0.771s1.006s0.235s601.11x
🐘 PostgresNitro0.827s (+0.9%)1.023s (+1.6%)0.195s591.19x
🐘 PostgresExpress0.838s (~)1.006s (-1.7%)0.168s601.20x
💻 LocalNext.js (Turbopack)0.845s1.021s0.177s591.21x
💻 LocalNitro1.019s (+4.0%)1.800s (+64.5% 🔺)0.780s341.46x
workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.901s2.030s0.129s451.00x
🐘 PostgresNitro1.933s (~)2.150s (+2.4%)0.218s421.02x
🐘 PostgresExpress2.054s (+3.9%)2.797s (+23.9% 🔺)0.743s331.08x
💻 LocalExpress2.226s (-26.2% 🟢)3.008s (-16.1% 🟢)0.782s301.17x
💻 LocalNext.js (Turbopack)2.631s3.008s0.377s301.38x
💻 LocalNitro3.040s (~)3.729s (-0.8%)0.688s251.60x
workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.869s (-5.7% 🟢)4.010s (-12.9% 🟢)0.141s301.00x
🐘 PostgresNext.js (Turbopack)3.997s4.251s0.254s291.03x
🐘 PostgresExpress4.077s (+2.2%)4.742s (+8.5% 🔺)0.664s261.05x
💻 LocalExpress7.256s (-21.2% 🟢)8.015s (-20.0% 🟢)0.759s151.88x
💻 LocalNext.js (Turbopack)8.342s8.874s0.532s142.16x
💻 LocalNitro9.154s (-1.6%)9.633s (-3.9%)0.479s132.37x
workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.255s1.007s0.752s601.00x
🐘 PostgresExpress0.282s (~)1.007s (~)0.726s601.10x
🐘 PostgresNitro0.284s (~)1.007s (~)0.723s601.11x
💻 LocalNext.js (Turbopack)0.529s1.004s0.475s602.08x
💻 LocalExpress0.579s (+3.3%)1.004s (~)0.425s602.27x
💻 LocalNitro0.598s (-1.1%)1.004s (-1.7%)0.406s602.34x
workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.476s1.006s0.530s901.00x
🐘 PostgresNitro0.488s (-1.6%)1.007s (~)0.518s901.02x
🐘 PostgresExpress0.505s (-1.0%)1.007s (~)0.502s901.06x
💻 LocalNitro2.358s (-7.1% 🟢)3.008s (~)0.650s304.95x
💻 LocalNext.js (Turbopack)2.453s3.008s0.555s305.15x
💻 LocalExpress2.605s (+3.7%)3.180s (+5.7% 🔺)0.575s295.47x
workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.757s1.006s0.250s1201.00x
🐘 PostgresNitro0.790s (~)1.008s (~)0.217s1201.04x
🐘 PostgresExpress0.802s (-2.0%)1.008s (-0.9%)0.206s1201.06x
💻 LocalNext.js (Turbopack)10.140s10.689s0.549s1213.40x
💻 LocalExpress10.369s (-7.3% 🟢)11.022s (-7.7% 🟢)0.652s1113.70x
💻 LocalNitro10.487s (-6.3% 🟢)11.028s (-5.5% 🟢)0.541s1113.86x
Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.140s (-29.7% 🟢)1.004s (~)0.010s (-19.0% 🟢)1.015s (~)0.875s101.00x
💻 LocalNext.js (Turbopack)0.175s1.002s0.010s1.016s0.841s101.25x
🐘 PostgresNext.js (Turbopack)0.192s1.000s0.001s1.009s0.817s101.37x
🐘 PostgresNitro0.205s (~)0.992s (-0.7%)0.002s (~)1.010s (~)0.805s101.46x
💻 LocalNitro0.206s (-3.6%)1.004s (~)0.010s (-18.4% 🟢)1.016s (~)0.810s101.47x
🐘 PostgresExpress0.214s (+4.4%)0.998s (~)0.001s (-37.5% 🟢)1.011s (~)0.797s101.53x
stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.588s (-22.3% 🟢)1.012s (-1.6%)0.009s (-1.0%)1.023s (-1.6%)0.435s591.00x
🐘 PostgresNitro0.605s (-3.1%)1.023s (+1.6%)0.004s (-2.9%)1.039s (+1.6%)0.434s581.03x
🐘 PostgresExpress0.634s (+0.7%)1.022s (+1.6%)0.004s (+4.9%)1.039s (+1.6%)0.405s581.08x
🐘 PostgresNext.js (Turbopack)0.639s1.026s0.006s1.047s0.408s581.09x
💻 LocalNext.js (Turbopack)0.678s1.011s0.009s1.023s0.345s591.15x
💻 LocalNitro0.758s (-9.6% 🟢)1.012s (~)0.010s (+3.5%)1.023s (-8.3% 🟢)0.265s591.29x
10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.906s1.072s0.000s1.079s0.172s561.00x
🐘 PostgresNitro0.949s (-2.0%)1.168s (-6.4% 🟢)0.000s (-52.9% 🟢)1.184s (-5.9% 🟢)0.235s511.05x
🐘 PostgresExpress0.960s (~)1.196s (-6.4% 🟢)0.000s (-8.0% 🟢)1.208s (-7.5% 🟢)0.248s501.06x
💻 LocalExpress1.175s (-4.1%)2.018s (~)0.000s (+30.0% 🔺)2.020s (~)0.845s301.30x
💻 LocalNitro1.229s (~)2.021s (~)0.000s (+233.3% 🔺)2.023s (~)0.795s301.36x
💻 LocalNext.js (Turbopack)1.265s2.021s0.000s2.024s0.759s301.40x
fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.719s (-3.0%)2.067s (-5.1% 🟢)0.000s (NaN%)2.104s (-4.3%)0.385s291.00x
🐘 PostgresNitro1.751s (-2.3%)2.140s (~)0.000s (-100.0% 🟢)2.152s (-1.0%)0.402s281.02x
🐘 PostgresNext.js (Turbopack)1.856s2.142s0.000s2.149s0.293s291.08x
💻 LocalNitro3.400s (~)4.035s (~)0.000s (-37.5% 🟢)4.037s (~)0.637s151.98x
💻 LocalExpress3.508s (+1.2%)4.031s (~)0.001s (-8.3% 🟢)4.034s (~)0.526s152.04x
💻 LocalNext.js (Turbopack)3.560s4.101s0.001s4.105s0.545s152.07x

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress16/21
🐘 PostgresNext.js (Turbopack)11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres17/21
Nitro🐘 Postgres19/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

@github-actions

github-actionsBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production9780671045
❌ 💻 Local Development900248950
✅ 📦 Local Production902048950
✅ 🐘 Local Postgres902048950
✅ 🪟 Windows950095
✅ 📋 Other267018285
Total404422294275

❌ Failed Tests

💻 Local Development (2 failed)

vite-stable (2 failed):

  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8807
✅ example8807
✅ express8807
✅ fastify8807
✅ hono8807
✅ nextjs-turbopack9302
✅ nextjs-webpack9302
✅ nitro8807
✅ nuxt8807
✅ sveltekit8807
✅ vite8807
❌ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
❌ vite-stable8726
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
✅ vite-stable8906
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
✅ vite-stable8906
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9500
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable8906
✅ e2e-local-postgres-nest-stable8906
✅ e2e-local-prod-nest-stable8906

📋 View full workflow run


Some E2E test jobs failed:

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

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

Fixes a GitHub Actions expression bug that caused main branch E2E runs to incorrectly use preview workflow-server override/bypass values, breaking world-vercel-backed E2E CI on main.

Changes:

  • Updates the GitHub Actions expression used to populate VERCEL_WORKFLOW_SERVER_URL and VERCEL_WORKFLOW_SERVER_PROTECTION_BYPASS so that main resolves to '' and non-main resolves to the corresponding secret.

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

The Get Test Matrix and Get Community Worlds Matrix jobs only run a
small Node script to emit a JSON matrix; they never run `pnpm install`.
With `cache: 'pnpm'` set on actions/setup-node, the post-job cache save
step fails with 'Path Validation Error' because the pnpm store path was
never created, marking the whole job as failed.
Add a cache-pnpm input to setup-workflow-dev (default true) and opt out
in the two matrix-generation jobs.
@TooTallNate
TooTallNate merged commit 28dc089 into mainApr 28, 2026
344 of 475 checks passed
@TooTallNate
TooTallNate deleted the ci/fix-workflow-server-env-ternary branch April 28, 2026 17:26
ijjk pushed a commit that referenced this pull request Apr 28, 2026
* ci: fix VERCEL_WORKFLOW_SERVER_* ternary so main actually unsets them
In GitHub Actions expressions, '' is falsy, so the original
`cond && '' || secrets.X` pattern always fell through to the secret
regardless of branch. The result was that pushes to main were sending
preview workflow-server values to production, causing 'invalid_url'
errors on `x-vercel-workflow-api-url` across all e2e jobs.
Flip the condition so the secret sits in the truthy branch and ||
correctly selects '' on main.
* ci: skip pnpm cache in matrix-generation jobs
The Get Test Matrix and Get Community Worlds Matrix jobs only run a
small Node script to emit a JSON matrix; they never run `pnpm install`.
With `cache: 'pnpm'` set on actions/setup-node, the post-job cache save
step fails with 'Path Validation Error' because the pnpm store path was
never created, marking the whole job as failed.
Add a cache-pnpm input to setup-workflow-dev (default true) and opt out
in the two matrix-generation jobs.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { 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

ci: fix VERCEL_WORKFLOW_SERVER_* env var ternary on main - #1859

Merged
TooTallNate merged 2 commits into
mainfrom
ci/fix-workflow-server-env-ternary
Apr 28, 2026
Merged

ci: fix VERCEL_WORKFLOW_SERVER_* env var ternary on main#1859
TooTallNate merged 2 commits into
mainfrom
ci/fix-workflow-server-env-ternary

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

Fixes broken e2e CI on main introduced by #1824.

In GitHub Actions expressions, empty string '' is falsy. The previous expression

${{ github.ref == 'refs/heads/main' && '' || secrets.VERCEL_WORKFLOW_SERVER_URL }}

always fell through to the secret on both branches: on main, true && '' → '', then '' || secrets.X → secrets.X. So pushes to main were sending the preview workflow-server URL/bypass values into production e2e runs, which caused world-vercel to set x-vercel-workflow-api-url: <preview-url> on calls to api.vercel.com. The API rejected those with invalid_url, cascading into ~all e2e tests failing on every push to main since #1824 merged.

Fix

Flip the condition so the secret sits in the truthy branch — || then correctly selects '' on main:

${{ github.ref != 'refs/heads/main' && secrets.VERCEL_WORKFLOW_SERVER_URL || '' }}

Notes

In GitHub Actions expressions, '' is falsy, so the original
`cond && '' || secrets.X` pattern always fell through to the secret
regardless of branch. The result was that pushes to main were sending
preview workflow-server values to production, causing 'invalid_url'
errors on `x-vercel-workflow-api-url` across all e2e jobs.
Flip the condition so the secret sits in the truthy branch and ||
correctly selects '' on main.
CopilotAI review requested due to automatic review settings April 27, 2026 23:24
@vercel

vercelBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentApr 27, 2026 11:33pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentApr 27, 2026 11:33pm
example-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-astro-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-express-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-fastify-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-hono-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-nitro-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-nuxt-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-sveltekit-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-vite-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workflow-docsReadyReadyPreview, Comment, Open in v0Apr 27, 2026 11:33pm
workflow-swc-playgroundReadyReadyPreview, CommentApr 27, 2026 11:33pm
workflow-webReadyReadyPreview, CommentApr 27, 2026 11:33pm

@changeset-bot

changeset-botBot commented Apr 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: cecd8b0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@github-actions

github-actionsBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.036s (-19.4% 🟢)1.005s (~)0.969s101.00x
💻 LocalNitro0.042s (-3.7%)1.005s (~)0.963s101.16x
💻 LocalNext.js (Turbopack)0.047s1.005s0.958s101.31x
🐘 PostgresNext.js (Turbopack)0.059s1.011s0.952s101.66x
🐘 PostgresExpress0.061s (+4.7%)1.009s (~)0.949s101.70x
🐘 PostgresNitro0.064s (-33.1% 🟢)1.009s (-3.2%)0.946s101.78x
workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.093s (-2.9%)2.006s (~)0.913s101.00x
💻 LocalNext.js (Turbopack)1.116s2.006s0.890s101.02x
💻 LocalNitro1.130s (~)2.005s (~)0.875s101.03x
🐘 PostgresNitro1.140s (~)2.010s (~)0.870s101.04x
🐘 PostgresNext.js (Turbopack)1.143s2.009s0.866s101.05x
🐘 PostgresExpress1.149s (~)2.011s (~)0.862s101.05x
workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.641s (-2.6%)11.022s (~)0.381s31.00x
💻 LocalNext.js (Turbopack)10.778s11.023s0.245s31.01x
🐘 PostgresNitro10.886s (~)11.024s (~)0.139s31.02x
🐘 PostgresNext.js (Turbopack)10.887s11.019s0.132s31.02x
🐘 PostgresExpress10.929s (~)11.026s (~)0.097s31.03x
💻 LocalNitro10.941s (~)11.024s (~)0.083s31.03x
workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express14.222s (-5.0%)15.028s (~)0.806s41.00x
🐘 PostgresNitro14.441s (-1.1%)15.021s (~)0.581s41.02x
🐘 PostgresNext.js (Turbopack)14.536s15.023s0.488s41.02x
💻 LocalNext.js (Turbopack)14.566s15.031s0.465s41.02x
🐘 PostgresExpress14.737s (+1.1%)15.272s (+1.7%)0.535s41.04x
💻 LocalNitro14.979s (-0.6%)15.280s (-4.7%)0.301s41.05x
workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)13.901s14.162s0.261s71.00x
🐘 PostgresNitro13.939s (~)14.448s (+1.0%)0.509s71.00x
🐘 PostgresExpress14.386s (+2.7%)15.024s (+3.0%)0.638s61.03x
💻 LocalExpress14.809s (-10.8% 🟢)15.027s (-11.8% 🟢)0.218s61.07x
💻 LocalNext.js (Turbopack)15.865s16.196s0.330s61.14x
💻 LocalNitro16.422s (-2.2%)17.032s (~)0.610s61.18x
Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.242s2.010s0.767s151.00x
🐘 PostgresNitro1.257s (-1.4%)2.010s (~)0.753s151.01x
🐘 PostgresExpress1.262s (~)2.010s (~)0.748s151.02x
💻 LocalExpress1.436s (-3.6%)2.005s (~)0.569s151.16x
💻 LocalNitro1.481s (-9.2% 🟢)2.005s (-3.3%)0.524s151.19x
💻 LocalNext.js (Turbopack)1.555s2.073s0.517s151.25x
Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.337s (-1.0%)3.008s (~)0.671s101.00x
🐘 PostgresNitro2.366s (+0.7%)3.009s (~)0.642s101.01x
🐘 PostgresNext.js (Turbopack)2.389s3.009s0.620s101.02x
💻 LocalExpress2.640s (-10.6% 🟢)3.008s (-12.9% 🟢)0.368s101.13x
💻 LocalNitro2.711s (-13.8% 🟢)3.008s (-22.6% 🟢)0.297s101.16x
💻 LocalNext.js (Turbopack)2.796s3.341s0.546s91.20x
Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.461s (-0.5%)4.010s (~)0.550s81.00x
🐘 PostgresExpress3.472s (~)4.013s (~)0.541s81.00x
🐘 PostgresNext.js (Turbopack)3.652s4.009s0.357s81.06x
💻 LocalNext.js (Turbopack)6.907s7.519s0.611s42.00x
💻 LocalExpress7.050s (-15.4% 🟢)7.515s (-16.7% 🟢)0.465s42.04x
💻 LocalNitro7.439s (-10.9% 🟢)8.023s (-11.1% 🟢)0.584s42.15x
Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.213s2.008s0.796s151.00x
🐘 PostgresNitro1.257s (~)2.007s (~)0.750s151.04x
🐘 PostgresExpress1.273s (+1.3%)2.008s (~)0.735s151.05x
💻 LocalExpress1.471s (-22.3% 🟢)2.005s (-15.2% 🟢)0.534s151.21x
💻 LocalNext.js (Turbopack)1.513s2.007s0.494s151.25x
💻 LocalNitro1.523s (-18.4% 🟢)2.006s (-14.3% 🟢)0.483s151.26x
Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.313s (-1.1%)3.010s (~)0.697s101.00x
🐘 PostgresExpress2.343s (~)3.010s (~)0.666s101.01x
🐘 PostgresNext.js (Turbopack)2.393s3.008s0.614s101.03x
💻 LocalExpress2.784s (-11.1% 🟢)3.007s (-20.1% 🟢)0.223s101.20x
💻 LocalNitro2.886s (-5.8% 🟢)3.209s (-17.4% 🟢)0.322s101.25x
💻 LocalNext.js (Turbopack)2.894s3.454s0.561s91.25x
Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.462s (-0.5%)4.011s (~)0.549s81.00x
🐘 PostgresExpress3.495s (~)4.012s (~)0.517s81.01x
🐘 PostgresNext.js (Turbopack)3.662s4.010s0.348s81.06x
💻 LocalExpress7.862s (-10.7% 🟢)8.265s (-10.9% 🟢)0.404s42.27x
💻 LocalNext.js (Turbopack)8.004s8.266s0.262s42.31x
💻 LocalNitro8.179s (-10.6% 🟢)9.024s (-10.0% 🟢)0.844s42.36x
workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.697s (-29.2% 🟢)1.021s (-5.1% 🟢)0.324s591.00x
🐘 PostgresNext.js (Turbopack)0.771s1.006s0.235s601.11x
🐘 PostgresNitro0.827s (+0.9%)1.023s (+1.6%)0.195s591.19x
🐘 PostgresExpress0.838s (~)1.006s (-1.7%)0.168s601.20x
💻 LocalNext.js (Turbopack)0.845s1.021s0.177s591.21x
💻 LocalNitro1.019s (+4.0%)1.800s (+64.5% 🔺)0.780s341.46x
workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.901s2.030s0.129s451.00x
🐘 PostgresNitro1.933s (~)2.150s (+2.4%)0.218s421.02x
🐘 PostgresExpress2.054s (+3.9%)2.797s (+23.9% 🔺)0.743s331.08x
💻 LocalExpress2.226s (-26.2% 🟢)3.008s (-16.1% 🟢)0.782s301.17x
💻 LocalNext.js (Turbopack)2.631s3.008s0.377s301.38x
💻 LocalNitro3.040s (~)3.729s (-0.8%)0.688s251.60x
workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.869s (-5.7% 🟢)4.010s (-12.9% 🟢)0.141s301.00x
🐘 PostgresNext.js (Turbopack)3.997s4.251s0.254s291.03x
🐘 PostgresExpress4.077s (+2.2%)4.742s (+8.5% 🔺)0.664s261.05x
💻 LocalExpress7.256s (-21.2% 🟢)8.015s (-20.0% 🟢)0.759s151.88x
💻 LocalNext.js (Turbopack)8.342s8.874s0.532s142.16x
💻 LocalNitro9.154s (-1.6%)9.633s (-3.9%)0.479s132.37x
workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.255s1.007s0.752s601.00x
🐘 PostgresExpress0.282s (~)1.007s (~)0.726s601.10x
🐘 PostgresNitro0.284s (~)1.007s (~)0.723s601.11x
💻 LocalNext.js (Turbopack)0.529s1.004s0.475s602.08x
💻 LocalExpress0.579s (+3.3%)1.004s (~)0.425s602.27x
💻 LocalNitro0.598s (-1.1%)1.004s (-1.7%)0.406s602.34x
workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.476s1.006s0.530s901.00x
🐘 PostgresNitro0.488s (-1.6%)1.007s (~)0.518s901.02x
🐘 PostgresExpress0.505s (-1.0%)1.007s (~)0.502s901.06x
💻 LocalNitro2.358s (-7.1% 🟢)3.008s (~)0.650s304.95x
💻 LocalNext.js (Turbopack)2.453s3.008s0.555s305.15x
💻 LocalExpress2.605s (+3.7%)3.180s (+5.7% 🔺)0.575s295.47x
workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.757s1.006s0.250s1201.00x
🐘 PostgresNitro0.790s (~)1.008s (~)0.217s1201.04x
🐘 PostgresExpress0.802s (-2.0%)1.008s (-0.9%)0.206s1201.06x
💻 LocalNext.js (Turbopack)10.140s10.689s0.549s1213.40x
💻 LocalExpress10.369s (-7.3% 🟢)11.022s (-7.7% 🟢)0.652s1113.70x
💻 LocalNitro10.487s (-6.3% 🟢)11.028s (-5.5% 🟢)0.541s1113.86x
Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.140s (-29.7% 🟢)1.004s (~)0.010s (-19.0% 🟢)1.015s (~)0.875s101.00x
💻 LocalNext.js (Turbopack)0.175s1.002s0.010s1.016s0.841s101.25x
🐘 PostgresNext.js (Turbopack)0.192s1.000s0.001s1.009s0.817s101.37x
🐘 PostgresNitro0.205s (~)0.992s (-0.7%)0.002s (~)1.010s (~)0.805s101.46x
💻 LocalNitro0.206s (-3.6%)1.004s (~)0.010s (-18.4% 🟢)1.016s (~)0.810s101.47x
🐘 PostgresExpress0.214s (+4.4%)0.998s (~)0.001s (-37.5% 🟢)1.011s (~)0.797s101.53x
stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.588s (-22.3% 🟢)1.012s (-1.6%)0.009s (-1.0%)1.023s (-1.6%)0.435s591.00x
🐘 PostgresNitro0.605s (-3.1%)1.023s (+1.6%)0.004s (-2.9%)1.039s (+1.6%)0.434s581.03x
🐘 PostgresExpress0.634s (+0.7%)1.022s (+1.6%)0.004s (+4.9%)1.039s (+1.6%)0.405s581.08x
🐘 PostgresNext.js (Turbopack)0.639s1.026s0.006s1.047s0.408s581.09x
💻 LocalNext.js (Turbopack)0.678s1.011s0.009s1.023s0.345s591.15x
💻 LocalNitro0.758s (-9.6% 🟢)1.012s (~)0.010s (+3.5%)1.023s (-8.3% 🟢)0.265s591.29x
10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.906s1.072s0.000s1.079s0.172s561.00x
🐘 PostgresNitro0.949s (-2.0%)1.168s (-6.4% 🟢)0.000s (-52.9% 🟢)1.184s (-5.9% 🟢)0.235s511.05x
🐘 PostgresExpress0.960s (~)1.196s (-6.4% 🟢)0.000s (-8.0% 🟢)1.208s (-7.5% 🟢)0.248s501.06x
💻 LocalExpress1.175s (-4.1%)2.018s (~)0.000s (+30.0% 🔺)2.020s (~)0.845s301.30x
💻 LocalNitro1.229s (~)2.021s (~)0.000s (+233.3% 🔺)2.023s (~)0.795s301.36x
💻 LocalNext.js (Turbopack)1.265s2.021s0.000s2.024s0.759s301.40x
fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.719s (-3.0%)2.067s (-5.1% 🟢)0.000s (NaN%)2.104s (-4.3%)0.385s291.00x
🐘 PostgresNitro1.751s (-2.3%)2.140s (~)0.000s (-100.0% 🟢)2.152s (-1.0%)0.402s281.02x
🐘 PostgresNext.js (Turbopack)1.856s2.142s0.000s2.149s0.293s291.08x
💻 LocalNitro3.400s (~)4.035s (~)0.000s (-37.5% 🟢)4.037s (~)0.637s151.98x
💻 LocalExpress3.508s (+1.2%)4.031s (~)0.001s (-8.3% 🟢)4.034s (~)0.526s152.04x
💻 LocalNext.js (Turbopack)3.560s4.101s0.001s4.105s0.545s152.07x

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress16/21
🐘 PostgresNext.js (Turbopack)11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres17/21
Nitro🐘 Postgres19/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

@github-actions

github-actionsBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production9780671045
❌ 💻 Local Development900248950
✅ 📦 Local Production902048950
✅ 🐘 Local Postgres902048950
✅ 🪟 Windows950095
✅ 📋 Other267018285
Total404422294275

❌ Failed Tests

💻 Local Development (2 failed)

vite-stable (2 failed):

  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8807
✅ example8807
✅ express8807
✅ fastify8807
✅ hono8807
✅ nextjs-turbopack9302
✅ nextjs-webpack9302
✅ nitro8807
✅ nuxt8807
✅ sveltekit8807
✅ vite8807
❌ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
❌ vite-stable8726
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
✅ vite-stable8906
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
✅ vite-stable8906
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9500
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable8906
✅ e2e-local-postgres-nest-stable8906
✅ e2e-local-prod-nest-stable8906

📋 View full workflow run


Some E2E test jobs failed:

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

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

Fixes a GitHub Actions expression bug that caused main branch E2E runs to incorrectly use preview workflow-server override/bypass values, breaking world-vercel-backed E2E CI on main.

Changes:

  • Updates the GitHub Actions expression used to populate VERCEL_WORKFLOW_SERVER_URL and VERCEL_WORKFLOW_SERVER_PROTECTION_BYPASS so that main resolves to '' and non-main resolves to the corresponding secret.

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

The Get Test Matrix and Get Community Worlds Matrix jobs only run a
small Node script to emit a JSON matrix; they never run `pnpm install`.
With `cache: 'pnpm'` set on actions/setup-node, the post-job cache save
step fails with 'Path Validation Error' because the pnpm store path was
never created, marking the whole job as failed.
Add a cache-pnpm input to setup-workflow-dev (default true) and opt out
in the two matrix-generation jobs.
@TooTallNate
TooTallNate merged commit 28dc089 into mainApr 28, 2026
344 of 475 checks passed
@TooTallNate
TooTallNate deleted the ci/fix-workflow-server-env-ternary branch April 28, 2026 17:26
ijjk pushed a commit that referenced this pull request Apr 28, 2026
* ci: fix VERCEL_WORKFLOW_SERVER_* ternary so main actually unsets them
In GitHub Actions expressions, '' is falsy, so the original
`cond && '' || secrets.X` pattern always fell through to the secret
regardless of branch. The result was that pushes to main were sending
preview workflow-server values to production, causing 'invalid_url'
errors on `x-vercel-workflow-api-url` across all e2e jobs.
Flip the condition so the secret sits in the truthy branch and ||
correctly selects '' on main.
* ci: skip pnpm cache in matrix-generation jobs
The Get Test Matrix and Get Community Worlds Matrix jobs only run a
small Node script to emit a JSON matrix; they never run `pnpm install`.
With `cache: 'pnpm'` set on actions/setup-node, the post-job cache save
step fails with 'Path Validation Error' because the pnpm store path was
never created, marking the whole job as failed.
Add a cache-pnpm input to setup-workflow-dev (default true) and opt out
in the two matrix-generation jobs.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { 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

ci: fix VERCEL_WORKFLOW_SERVER_* env var ternary on main - #1859

Merged
TooTallNate merged 2 commits into
mainfrom
ci/fix-workflow-server-env-ternary
Apr 28, 2026
Merged

ci: fix VERCEL_WORKFLOW_SERVER_* env var ternary on main#1859
TooTallNate merged 2 commits into
mainfrom
ci/fix-workflow-server-env-ternary

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

Fixes broken e2e CI on main introduced by #1824.

In GitHub Actions expressions, empty string '' is falsy. The previous expression

${{ github.ref == 'refs/heads/main' && '' || secrets.VERCEL_WORKFLOW_SERVER_URL }}

always fell through to the secret on both branches: on main, true && '' → '', then '' || secrets.X → secrets.X. So pushes to main were sending the preview workflow-server URL/bypass values into production e2e runs, which caused world-vercel to set x-vercel-workflow-api-url: <preview-url> on calls to api.vercel.com. The API rejected those with invalid_url, cascading into ~all e2e tests failing on every push to main since #1824 merged.

Fix

Flip the condition so the secret sits in the truthy branch — || then correctly selects '' on main:

${{ github.ref != 'refs/heads/main' && secrets.VERCEL_WORKFLOW_SERVER_URL || '' }}

Notes

In GitHub Actions expressions, '' is falsy, so the original
`cond && '' || secrets.X` pattern always fell through to the secret
regardless of branch. The result was that pushes to main were sending
preview workflow-server values to production, causing 'invalid_url'
errors on `x-vercel-workflow-api-url` across all e2e jobs.
Flip the condition so the secret sits in the truthy branch and ||
correctly selects '' on main.
CopilotAI review requested due to automatic review settings April 27, 2026 23:24
@vercel

vercelBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentApr 27, 2026 11:33pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentApr 27, 2026 11:33pm
example-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-astro-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-express-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-fastify-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-hono-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-nitro-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-nuxt-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-sveltekit-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-vite-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workflow-docsReadyReadyPreview, Comment, Open in v0Apr 27, 2026 11:33pm
workflow-swc-playgroundReadyReadyPreview, CommentApr 27, 2026 11:33pm
workflow-webReadyReadyPreview, CommentApr 27, 2026 11:33pm

@changeset-bot

changeset-botBot commented Apr 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: cecd8b0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@github-actions

github-actionsBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.036s (-19.4% 🟢)1.005s (~)0.969s101.00x
💻 LocalNitro0.042s (-3.7%)1.005s (~)0.963s101.16x
💻 LocalNext.js (Turbopack)0.047s1.005s0.958s101.31x
🐘 PostgresNext.js (Turbopack)0.059s1.011s0.952s101.66x
🐘 PostgresExpress0.061s (+4.7%)1.009s (~)0.949s101.70x
🐘 PostgresNitro0.064s (-33.1% 🟢)1.009s (-3.2%)0.946s101.78x
workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.093s (-2.9%)2.006s (~)0.913s101.00x
💻 LocalNext.js (Turbopack)1.116s2.006s0.890s101.02x
💻 LocalNitro1.130s (~)2.005s (~)0.875s101.03x
🐘 PostgresNitro1.140s (~)2.010s (~)0.870s101.04x
🐘 PostgresNext.js (Turbopack)1.143s2.009s0.866s101.05x
🐘 PostgresExpress1.149s (~)2.011s (~)0.862s101.05x
workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.641s (-2.6%)11.022s (~)0.381s31.00x
💻 LocalNext.js (Turbopack)10.778s11.023s0.245s31.01x
🐘 PostgresNitro10.886s (~)11.024s (~)0.139s31.02x
🐘 PostgresNext.js (Turbopack)10.887s11.019s0.132s31.02x
🐘 PostgresExpress10.929s (~)11.026s (~)0.097s31.03x
💻 LocalNitro10.941s (~)11.024s (~)0.083s31.03x
workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express14.222s (-5.0%)15.028s (~)0.806s41.00x
🐘 PostgresNitro14.441s (-1.1%)15.021s (~)0.581s41.02x
🐘 PostgresNext.js (Turbopack)14.536s15.023s0.488s41.02x
💻 LocalNext.js (Turbopack)14.566s15.031s0.465s41.02x
🐘 PostgresExpress14.737s (+1.1%)15.272s (+1.7%)0.535s41.04x
💻 LocalNitro14.979s (-0.6%)15.280s (-4.7%)0.301s41.05x
workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)13.901s14.162s0.261s71.00x
🐘 PostgresNitro13.939s (~)14.448s (+1.0%)0.509s71.00x
🐘 PostgresExpress14.386s (+2.7%)15.024s (+3.0%)0.638s61.03x
💻 LocalExpress14.809s (-10.8% 🟢)15.027s (-11.8% 🟢)0.218s61.07x
💻 LocalNext.js (Turbopack)15.865s16.196s0.330s61.14x
💻 LocalNitro16.422s (-2.2%)17.032s (~)0.610s61.18x
Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.242s2.010s0.767s151.00x
🐘 PostgresNitro1.257s (-1.4%)2.010s (~)0.753s151.01x
🐘 PostgresExpress1.262s (~)2.010s (~)0.748s151.02x
💻 LocalExpress1.436s (-3.6%)2.005s (~)0.569s151.16x
💻 LocalNitro1.481s (-9.2% 🟢)2.005s (-3.3%)0.524s151.19x
💻 LocalNext.js (Turbopack)1.555s2.073s0.517s151.25x
Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.337s (-1.0%)3.008s (~)0.671s101.00x
🐘 PostgresNitro2.366s (+0.7%)3.009s (~)0.642s101.01x
🐘 PostgresNext.js (Turbopack)2.389s3.009s0.620s101.02x
💻 LocalExpress2.640s (-10.6% 🟢)3.008s (-12.9% 🟢)0.368s101.13x
💻 LocalNitro2.711s (-13.8% 🟢)3.008s (-22.6% 🟢)0.297s101.16x
💻 LocalNext.js (Turbopack)2.796s3.341s0.546s91.20x
Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.461s (-0.5%)4.010s (~)0.550s81.00x
🐘 PostgresExpress3.472s (~)4.013s (~)0.541s81.00x
🐘 PostgresNext.js (Turbopack)3.652s4.009s0.357s81.06x
💻 LocalNext.js (Turbopack)6.907s7.519s0.611s42.00x
💻 LocalExpress7.050s (-15.4% 🟢)7.515s (-16.7% 🟢)0.465s42.04x
💻 LocalNitro7.439s (-10.9% 🟢)8.023s (-11.1% 🟢)0.584s42.15x
Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.213s2.008s0.796s151.00x
🐘 PostgresNitro1.257s (~)2.007s (~)0.750s151.04x
🐘 PostgresExpress1.273s (+1.3%)2.008s (~)0.735s151.05x
💻 LocalExpress1.471s (-22.3% 🟢)2.005s (-15.2% 🟢)0.534s151.21x
💻 LocalNext.js (Turbopack)1.513s2.007s0.494s151.25x
💻 LocalNitro1.523s (-18.4% 🟢)2.006s (-14.3% 🟢)0.483s151.26x
Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.313s (-1.1%)3.010s (~)0.697s101.00x
🐘 PostgresExpress2.343s (~)3.010s (~)0.666s101.01x
🐘 PostgresNext.js (Turbopack)2.393s3.008s0.614s101.03x
💻 LocalExpress2.784s (-11.1% 🟢)3.007s (-20.1% 🟢)0.223s101.20x
💻 LocalNitro2.886s (-5.8% 🟢)3.209s (-17.4% 🟢)0.322s101.25x
💻 LocalNext.js (Turbopack)2.894s3.454s0.561s91.25x
Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.462s (-0.5%)4.011s (~)0.549s81.00x
🐘 PostgresExpress3.495s (~)4.012s (~)0.517s81.01x
🐘 PostgresNext.js (Turbopack)3.662s4.010s0.348s81.06x
💻 LocalExpress7.862s (-10.7% 🟢)8.265s (-10.9% 🟢)0.404s42.27x
💻 LocalNext.js (Turbopack)8.004s8.266s0.262s42.31x
💻 LocalNitro8.179s (-10.6% 🟢)9.024s (-10.0% 🟢)0.844s42.36x
workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.697s (-29.2% 🟢)1.021s (-5.1% 🟢)0.324s591.00x
🐘 PostgresNext.js (Turbopack)0.771s1.006s0.235s601.11x
🐘 PostgresNitro0.827s (+0.9%)1.023s (+1.6%)0.195s591.19x
🐘 PostgresExpress0.838s (~)1.006s (-1.7%)0.168s601.20x
💻 LocalNext.js (Turbopack)0.845s1.021s0.177s591.21x
💻 LocalNitro1.019s (+4.0%)1.800s (+64.5% 🔺)0.780s341.46x
workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.901s2.030s0.129s451.00x
🐘 PostgresNitro1.933s (~)2.150s (+2.4%)0.218s421.02x
🐘 PostgresExpress2.054s (+3.9%)2.797s (+23.9% 🔺)0.743s331.08x
💻 LocalExpress2.226s (-26.2% 🟢)3.008s (-16.1% 🟢)0.782s301.17x
💻 LocalNext.js (Turbopack)2.631s3.008s0.377s301.38x
💻 LocalNitro3.040s (~)3.729s (-0.8%)0.688s251.60x
workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.869s (-5.7% 🟢)4.010s (-12.9% 🟢)0.141s301.00x
🐘 PostgresNext.js (Turbopack)3.997s4.251s0.254s291.03x
🐘 PostgresExpress4.077s (+2.2%)4.742s (+8.5% 🔺)0.664s261.05x
💻 LocalExpress7.256s (-21.2% 🟢)8.015s (-20.0% 🟢)0.759s151.88x
💻 LocalNext.js (Turbopack)8.342s8.874s0.532s142.16x
💻 LocalNitro9.154s (-1.6%)9.633s (-3.9%)0.479s132.37x
workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.255s1.007s0.752s601.00x
🐘 PostgresExpress0.282s (~)1.007s (~)0.726s601.10x
🐘 PostgresNitro0.284s (~)1.007s (~)0.723s601.11x
💻 LocalNext.js (Turbopack)0.529s1.004s0.475s602.08x
💻 LocalExpress0.579s (+3.3%)1.004s (~)0.425s602.27x
💻 LocalNitro0.598s (-1.1%)1.004s (-1.7%)0.406s602.34x
workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.476s1.006s0.530s901.00x
🐘 PostgresNitro0.488s (-1.6%)1.007s (~)0.518s901.02x
🐘 PostgresExpress0.505s (-1.0%)1.007s (~)0.502s901.06x
💻 LocalNitro2.358s (-7.1% 🟢)3.008s (~)0.650s304.95x
💻 LocalNext.js (Turbopack)2.453s3.008s0.555s305.15x
💻 LocalExpress2.605s (+3.7%)3.180s (+5.7% 🔺)0.575s295.47x
workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.757s1.006s0.250s1201.00x
🐘 PostgresNitro0.790s (~)1.008s (~)0.217s1201.04x
🐘 PostgresExpress0.802s (-2.0%)1.008s (-0.9%)0.206s1201.06x
💻 LocalNext.js (Turbopack)10.140s10.689s0.549s1213.40x
💻 LocalExpress10.369s (-7.3% 🟢)11.022s (-7.7% 🟢)0.652s1113.70x
💻 LocalNitro10.487s (-6.3% 🟢)11.028s (-5.5% 🟢)0.541s1113.86x
Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.140s (-29.7% 🟢)1.004s (~)0.010s (-19.0% 🟢)1.015s (~)0.875s101.00x
💻 LocalNext.js (Turbopack)0.175s1.002s0.010s1.016s0.841s101.25x
🐘 PostgresNext.js (Turbopack)0.192s1.000s0.001s1.009s0.817s101.37x
🐘 PostgresNitro0.205s (~)0.992s (-0.7%)0.002s (~)1.010s (~)0.805s101.46x
💻 LocalNitro0.206s (-3.6%)1.004s (~)0.010s (-18.4% 🟢)1.016s (~)0.810s101.47x
🐘 PostgresExpress0.214s (+4.4%)0.998s (~)0.001s (-37.5% 🟢)1.011s (~)0.797s101.53x
stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.588s (-22.3% 🟢)1.012s (-1.6%)0.009s (-1.0%)1.023s (-1.6%)0.435s591.00x
🐘 PostgresNitro0.605s (-3.1%)1.023s (+1.6%)0.004s (-2.9%)1.039s (+1.6%)0.434s581.03x
🐘 PostgresExpress0.634s (+0.7%)1.022s (+1.6%)0.004s (+4.9%)1.039s (+1.6%)0.405s581.08x
🐘 PostgresNext.js (Turbopack)0.639s1.026s0.006s1.047s0.408s581.09x
💻 LocalNext.js (Turbopack)0.678s1.011s0.009s1.023s0.345s591.15x
💻 LocalNitro0.758s (-9.6% 🟢)1.012s (~)0.010s (+3.5%)1.023s (-8.3% 🟢)0.265s591.29x
10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.906s1.072s0.000s1.079s0.172s561.00x
🐘 PostgresNitro0.949s (-2.0%)1.168s (-6.4% 🟢)0.000s (-52.9% 🟢)1.184s (-5.9% 🟢)0.235s511.05x
🐘 PostgresExpress0.960s (~)1.196s (-6.4% 🟢)0.000s (-8.0% 🟢)1.208s (-7.5% 🟢)0.248s501.06x
💻 LocalExpress1.175s (-4.1%)2.018s (~)0.000s (+30.0% 🔺)2.020s (~)0.845s301.30x
💻 LocalNitro1.229s (~)2.021s (~)0.000s (+233.3% 🔺)2.023s (~)0.795s301.36x
💻 LocalNext.js (Turbopack)1.265s2.021s0.000s2.024s0.759s301.40x
fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.719s (-3.0%)2.067s (-5.1% 🟢)0.000s (NaN%)2.104s (-4.3%)0.385s291.00x
🐘 PostgresNitro1.751s (-2.3%)2.140s (~)0.000s (-100.0% 🟢)2.152s (-1.0%)0.402s281.02x
🐘 PostgresNext.js (Turbopack)1.856s2.142s0.000s2.149s0.293s291.08x
💻 LocalNitro3.400s (~)4.035s (~)0.000s (-37.5% 🟢)4.037s (~)0.637s151.98x
💻 LocalExpress3.508s (+1.2%)4.031s (~)0.001s (-8.3% 🟢)4.034s (~)0.526s152.04x
💻 LocalNext.js (Turbopack)3.560s4.101s0.001s4.105s0.545s152.07x

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress16/21
🐘 PostgresNext.js (Turbopack)11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres17/21
Nitro🐘 Postgres19/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

@github-actions

github-actionsBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production9780671045
❌ 💻 Local Development900248950
✅ 📦 Local Production902048950
✅ 🐘 Local Postgres902048950
✅ 🪟 Windows950095
✅ 📋 Other267018285
Total404422294275

❌ Failed Tests

💻 Local Development (2 failed)

vite-stable (2 failed):

  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8807
✅ example8807
✅ express8807
✅ fastify8807
✅ hono8807
✅ nextjs-turbopack9302
✅ nextjs-webpack9302
✅ nitro8807
✅ nuxt8807
✅ sveltekit8807
✅ vite8807
❌ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
❌ vite-stable8726
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
✅ vite-stable8906
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
✅ vite-stable8906
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9500
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable8906
✅ e2e-local-postgres-nest-stable8906
✅ e2e-local-prod-nest-stable8906

📋 View full workflow run


Some E2E test jobs failed:

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

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

Fixes a GitHub Actions expression bug that caused main branch E2E runs to incorrectly use preview workflow-server override/bypass values, breaking world-vercel-backed E2E CI on main.

Changes:

  • Updates the GitHub Actions expression used to populate VERCEL_WORKFLOW_SERVER_URL and VERCEL_WORKFLOW_SERVER_PROTECTION_BYPASS so that main resolves to '' and non-main resolves to the corresponding secret.

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

The Get Test Matrix and Get Community Worlds Matrix jobs only run a
small Node script to emit a JSON matrix; they never run `pnpm install`.
With `cache: 'pnpm'` set on actions/setup-node, the post-job cache save
step fails with 'Path Validation Error' because the pnpm store path was
never created, marking the whole job as failed.
Add a cache-pnpm input to setup-workflow-dev (default true) and opt out
in the two matrix-generation jobs.
@TooTallNate
TooTallNate merged commit 28dc089 into mainApr 28, 2026
344 of 475 checks passed
@TooTallNate
TooTallNate deleted the ci/fix-workflow-server-env-ternary branch April 28, 2026 17:26
ijjk pushed a commit that referenced this pull request Apr 28, 2026
* ci: fix VERCEL_WORKFLOW_SERVER_* ternary so main actually unsets them
In GitHub Actions expressions, '' is falsy, so the original
`cond && '' || secrets.X` pattern always fell through to the secret
regardless of branch. The result was that pushes to main were sending
preview workflow-server values to production, causing 'invalid_url'
errors on `x-vercel-workflow-api-url` across all e2e jobs.
Flip the condition so the secret sits in the truthy branch and ||
correctly selects '' on main.
* ci: skip pnpm cache in matrix-generation jobs
The Get Test Matrix and Get Community Worlds Matrix jobs only run a
small Node script to emit a JSON matrix; they never run `pnpm install`.
With `cache: 'pnpm'` set on actions/setup-node, the post-job cache save
step fails with 'Path Validation Error' because the pnpm store path was
never created, marking the whole job as failed.
Add a cache-pnpm input to setup-workflow-dev (default true) and opt out
in the two matrix-generation jobs.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { 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

ci: fix VERCEL_WORKFLOW_SERVER_* env var ternary on main - #1859

Merged
TooTallNate merged 2 commits into
mainfrom
ci/fix-workflow-server-env-ternary
Apr 28, 2026
Merged

ci: fix VERCEL_WORKFLOW_SERVER_* env var ternary on main#1859
TooTallNate merged 2 commits into
mainfrom
ci/fix-workflow-server-env-ternary

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

Fixes broken e2e CI on main introduced by #1824.

In GitHub Actions expressions, empty string '' is falsy. The previous expression

${{ github.ref == 'refs/heads/main' && '' || secrets.VERCEL_WORKFLOW_SERVER_URL }}

always fell through to the secret on both branches: on main, true && '' → '', then '' || secrets.X → secrets.X. So pushes to main were sending the preview workflow-server URL/bypass values into production e2e runs, which caused world-vercel to set x-vercel-workflow-api-url: <preview-url> on calls to api.vercel.com. The API rejected those with invalid_url, cascading into ~all e2e tests failing on every push to main since #1824 merged.

Fix

Flip the condition so the secret sits in the truthy branch — || then correctly selects '' on main:

${{ github.ref != 'refs/heads/main' && secrets.VERCEL_WORKFLOW_SERVER_URL || '' }}

Notes

In GitHub Actions expressions, '' is falsy, so the original
`cond && '' || secrets.X` pattern always fell through to the secret
regardless of branch. The result was that pushes to main were sending
preview workflow-server values to production, causing 'invalid_url'
errors on `x-vercel-workflow-api-url` across all e2e jobs.
Flip the condition so the secret sits in the truthy branch and ||
correctly selects '' on main.
CopilotAI review requested due to automatic review settings April 27, 2026 23:24
@vercel

vercelBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentApr 27, 2026 11:33pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentApr 27, 2026 11:33pm
example-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-astro-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-express-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-fastify-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-hono-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-nitro-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-nuxt-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-sveltekit-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-vite-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workflow-docsReadyReadyPreview, Comment, Open in v0Apr 27, 2026 11:33pm
workflow-swc-playgroundReadyReadyPreview, CommentApr 27, 2026 11:33pm
workflow-webReadyReadyPreview, CommentApr 27, 2026 11:33pm

@changeset-bot

changeset-botBot commented Apr 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: cecd8b0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@github-actions

github-actionsBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.036s (-19.4% 🟢)1.005s (~)0.969s101.00x
💻 LocalNitro0.042s (-3.7%)1.005s (~)0.963s101.16x
💻 LocalNext.js (Turbopack)0.047s1.005s0.958s101.31x
🐘 PostgresNext.js (Turbopack)0.059s1.011s0.952s101.66x
🐘 PostgresExpress0.061s (+4.7%)1.009s (~)0.949s101.70x
🐘 PostgresNitro0.064s (-33.1% 🟢)1.009s (-3.2%)0.946s101.78x
workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.093s (-2.9%)2.006s (~)0.913s101.00x
💻 LocalNext.js (Turbopack)1.116s2.006s0.890s101.02x
💻 LocalNitro1.130s (~)2.005s (~)0.875s101.03x
🐘 PostgresNitro1.140s (~)2.010s (~)0.870s101.04x
🐘 PostgresNext.js (Turbopack)1.143s2.009s0.866s101.05x
🐘 PostgresExpress1.149s (~)2.011s (~)0.862s101.05x
workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.641s (-2.6%)11.022s (~)0.381s31.00x
💻 LocalNext.js (Turbopack)10.778s11.023s0.245s31.01x
🐘 PostgresNitro10.886s (~)11.024s (~)0.139s31.02x
🐘 PostgresNext.js (Turbopack)10.887s11.019s0.132s31.02x
🐘 PostgresExpress10.929s (~)11.026s (~)0.097s31.03x
💻 LocalNitro10.941s (~)11.024s (~)0.083s31.03x
workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express14.222s (-5.0%)15.028s (~)0.806s41.00x
🐘 PostgresNitro14.441s (-1.1%)15.021s (~)0.581s41.02x
🐘 PostgresNext.js (Turbopack)14.536s15.023s0.488s41.02x
💻 LocalNext.js (Turbopack)14.566s15.031s0.465s41.02x
🐘 PostgresExpress14.737s (+1.1%)15.272s (+1.7%)0.535s41.04x
💻 LocalNitro14.979s (-0.6%)15.280s (-4.7%)0.301s41.05x
workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)13.901s14.162s0.261s71.00x
🐘 PostgresNitro13.939s (~)14.448s (+1.0%)0.509s71.00x
🐘 PostgresExpress14.386s (+2.7%)15.024s (+3.0%)0.638s61.03x
💻 LocalExpress14.809s (-10.8% 🟢)15.027s (-11.8% 🟢)0.218s61.07x
💻 LocalNext.js (Turbopack)15.865s16.196s0.330s61.14x
💻 LocalNitro16.422s (-2.2%)17.032s (~)0.610s61.18x
Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.242s2.010s0.767s151.00x
🐘 PostgresNitro1.257s (-1.4%)2.010s (~)0.753s151.01x
🐘 PostgresExpress1.262s (~)2.010s (~)0.748s151.02x
💻 LocalExpress1.436s (-3.6%)2.005s (~)0.569s151.16x
💻 LocalNitro1.481s (-9.2% 🟢)2.005s (-3.3%)0.524s151.19x
💻 LocalNext.js (Turbopack)1.555s2.073s0.517s151.25x
Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.337s (-1.0%)3.008s (~)0.671s101.00x
🐘 PostgresNitro2.366s (+0.7%)3.009s (~)0.642s101.01x
🐘 PostgresNext.js (Turbopack)2.389s3.009s0.620s101.02x
💻 LocalExpress2.640s (-10.6% 🟢)3.008s (-12.9% 🟢)0.368s101.13x
💻 LocalNitro2.711s (-13.8% 🟢)3.008s (-22.6% 🟢)0.297s101.16x
💻 LocalNext.js (Turbopack)2.796s3.341s0.546s91.20x
Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.461s (-0.5%)4.010s (~)0.550s81.00x
🐘 PostgresExpress3.472s (~)4.013s (~)0.541s81.00x
🐘 PostgresNext.js (Turbopack)3.652s4.009s0.357s81.06x
💻 LocalNext.js (Turbopack)6.907s7.519s0.611s42.00x
💻 LocalExpress7.050s (-15.4% 🟢)7.515s (-16.7% 🟢)0.465s42.04x
💻 LocalNitro7.439s (-10.9% 🟢)8.023s (-11.1% 🟢)0.584s42.15x
Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.213s2.008s0.796s151.00x
🐘 PostgresNitro1.257s (~)2.007s (~)0.750s151.04x
🐘 PostgresExpress1.273s (+1.3%)2.008s (~)0.735s151.05x
💻 LocalExpress1.471s (-22.3% 🟢)2.005s (-15.2% 🟢)0.534s151.21x
💻 LocalNext.js (Turbopack)1.513s2.007s0.494s151.25x
💻 LocalNitro1.523s (-18.4% 🟢)2.006s (-14.3% 🟢)0.483s151.26x
Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.313s (-1.1%)3.010s (~)0.697s101.00x
🐘 PostgresExpress2.343s (~)3.010s (~)0.666s101.01x
🐘 PostgresNext.js (Turbopack)2.393s3.008s0.614s101.03x
💻 LocalExpress2.784s (-11.1% 🟢)3.007s (-20.1% 🟢)0.223s101.20x
💻 LocalNitro2.886s (-5.8% 🟢)3.209s (-17.4% 🟢)0.322s101.25x
💻 LocalNext.js (Turbopack)2.894s3.454s0.561s91.25x
Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.462s (-0.5%)4.011s (~)0.549s81.00x
🐘 PostgresExpress3.495s (~)4.012s (~)0.517s81.01x
🐘 PostgresNext.js (Turbopack)3.662s4.010s0.348s81.06x
💻 LocalExpress7.862s (-10.7% 🟢)8.265s (-10.9% 🟢)0.404s42.27x
💻 LocalNext.js (Turbopack)8.004s8.266s0.262s42.31x
💻 LocalNitro8.179s (-10.6% 🟢)9.024s (-10.0% 🟢)0.844s42.36x
workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.697s (-29.2% 🟢)1.021s (-5.1% 🟢)0.324s591.00x
🐘 PostgresNext.js (Turbopack)0.771s1.006s0.235s601.11x
🐘 PostgresNitro0.827s (+0.9%)1.023s (+1.6%)0.195s591.19x
🐘 PostgresExpress0.838s (~)1.006s (-1.7%)0.168s601.20x
💻 LocalNext.js (Turbopack)0.845s1.021s0.177s591.21x
💻 LocalNitro1.019s (+4.0%)1.800s (+64.5% 🔺)0.780s341.46x
workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.901s2.030s0.129s451.00x
🐘 PostgresNitro1.933s (~)2.150s (+2.4%)0.218s421.02x
🐘 PostgresExpress2.054s (+3.9%)2.797s (+23.9% 🔺)0.743s331.08x
💻 LocalExpress2.226s (-26.2% 🟢)3.008s (-16.1% 🟢)0.782s301.17x
💻 LocalNext.js (Turbopack)2.631s3.008s0.377s301.38x
💻 LocalNitro3.040s (~)3.729s (-0.8%)0.688s251.60x
workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.869s (-5.7% 🟢)4.010s (-12.9% 🟢)0.141s301.00x
🐘 PostgresNext.js (Turbopack)3.997s4.251s0.254s291.03x
🐘 PostgresExpress4.077s (+2.2%)4.742s (+8.5% 🔺)0.664s261.05x
💻 LocalExpress7.256s (-21.2% 🟢)8.015s (-20.0% 🟢)0.759s151.88x
💻 LocalNext.js (Turbopack)8.342s8.874s0.532s142.16x
💻 LocalNitro9.154s (-1.6%)9.633s (-3.9%)0.479s132.37x
workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.255s1.007s0.752s601.00x
🐘 PostgresExpress0.282s (~)1.007s (~)0.726s601.10x
🐘 PostgresNitro0.284s (~)1.007s (~)0.723s601.11x
💻 LocalNext.js (Turbopack)0.529s1.004s0.475s602.08x
💻 LocalExpress0.579s (+3.3%)1.004s (~)0.425s602.27x
💻 LocalNitro0.598s (-1.1%)1.004s (-1.7%)0.406s602.34x
workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.476s1.006s0.530s901.00x
🐘 PostgresNitro0.488s (-1.6%)1.007s (~)0.518s901.02x
🐘 PostgresExpress0.505s (-1.0%)1.007s (~)0.502s901.06x
💻 LocalNitro2.358s (-7.1% 🟢)3.008s (~)0.650s304.95x
💻 LocalNext.js (Turbopack)2.453s3.008s0.555s305.15x
💻 LocalExpress2.605s (+3.7%)3.180s (+5.7% 🔺)0.575s295.47x
workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.757s1.006s0.250s1201.00x
🐘 PostgresNitro0.790s (~)1.008s (~)0.217s1201.04x
🐘 PostgresExpress0.802s (-2.0%)1.008s (-0.9%)0.206s1201.06x
💻 LocalNext.js (Turbopack)10.140s10.689s0.549s1213.40x
💻 LocalExpress10.369s (-7.3% 🟢)11.022s (-7.7% 🟢)0.652s1113.70x
💻 LocalNitro10.487s (-6.3% 🟢)11.028s (-5.5% 🟢)0.541s1113.86x
Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.140s (-29.7% 🟢)1.004s (~)0.010s (-19.0% 🟢)1.015s (~)0.875s101.00x
💻 LocalNext.js (Turbopack)0.175s1.002s0.010s1.016s0.841s101.25x
🐘 PostgresNext.js (Turbopack)0.192s1.000s0.001s1.009s0.817s101.37x
🐘 PostgresNitro0.205s (~)0.992s (-0.7%)0.002s (~)1.010s (~)0.805s101.46x
💻 LocalNitro0.206s (-3.6%)1.004s (~)0.010s (-18.4% 🟢)1.016s (~)0.810s101.47x
🐘 PostgresExpress0.214s (+4.4%)0.998s (~)0.001s (-37.5% 🟢)1.011s (~)0.797s101.53x
stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.588s (-22.3% 🟢)1.012s (-1.6%)0.009s (-1.0%)1.023s (-1.6%)0.435s591.00x
🐘 PostgresNitro0.605s (-3.1%)1.023s (+1.6%)0.004s (-2.9%)1.039s (+1.6%)0.434s581.03x
🐘 PostgresExpress0.634s (+0.7%)1.022s (+1.6%)0.004s (+4.9%)1.039s (+1.6%)0.405s581.08x
🐘 PostgresNext.js (Turbopack)0.639s1.026s0.006s1.047s0.408s581.09x
💻 LocalNext.js (Turbopack)0.678s1.011s0.009s1.023s0.345s591.15x
💻 LocalNitro0.758s (-9.6% 🟢)1.012s (~)0.010s (+3.5%)1.023s (-8.3% 🟢)0.265s591.29x
10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.906s1.072s0.000s1.079s0.172s561.00x
🐘 PostgresNitro0.949s (-2.0%)1.168s (-6.4% 🟢)0.000s (-52.9% 🟢)1.184s (-5.9% 🟢)0.235s511.05x
🐘 PostgresExpress0.960s (~)1.196s (-6.4% 🟢)0.000s (-8.0% 🟢)1.208s (-7.5% 🟢)0.248s501.06x
💻 LocalExpress1.175s (-4.1%)2.018s (~)0.000s (+30.0% 🔺)2.020s (~)0.845s301.30x
💻 LocalNitro1.229s (~)2.021s (~)0.000s (+233.3% 🔺)2.023s (~)0.795s301.36x
💻 LocalNext.js (Turbopack)1.265s2.021s0.000s2.024s0.759s301.40x
fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.719s (-3.0%)2.067s (-5.1% 🟢)0.000s (NaN%)2.104s (-4.3%)0.385s291.00x
🐘 PostgresNitro1.751s (-2.3%)2.140s (~)0.000s (-100.0% 🟢)2.152s (-1.0%)0.402s281.02x
🐘 PostgresNext.js (Turbopack)1.856s2.142s0.000s2.149s0.293s291.08x
💻 LocalNitro3.400s (~)4.035s (~)0.000s (-37.5% 🟢)4.037s (~)0.637s151.98x
💻 LocalExpress3.508s (+1.2%)4.031s (~)0.001s (-8.3% 🟢)4.034s (~)0.526s152.04x
💻 LocalNext.js (Turbopack)3.560s4.101s0.001s4.105s0.545s152.07x

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress16/21
🐘 PostgresNext.js (Turbopack)11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres17/21
Nitro🐘 Postgres19/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

@github-actions

github-actionsBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production9780671045
❌ 💻 Local Development900248950
✅ 📦 Local Production902048950
✅ 🐘 Local Postgres902048950
✅ 🪟 Windows950095
✅ 📋 Other267018285
Total404422294275

❌ Failed Tests

💻 Local Development (2 failed)

vite-stable (2 failed):

  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8807
✅ example8807
✅ express8807
✅ fastify8807
✅ hono8807
✅ nextjs-turbopack9302
✅ nextjs-webpack9302
✅ nitro8807
✅ nuxt8807
✅ sveltekit8807
✅ vite8807
❌ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
❌ vite-stable8726
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
✅ vite-stable8906
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
✅ vite-stable8906
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9500
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable8906
✅ e2e-local-postgres-nest-stable8906
✅ e2e-local-prod-nest-stable8906

📋 View full workflow run


Some E2E test jobs failed:

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

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

Fixes a GitHub Actions expression bug that caused main branch E2E runs to incorrectly use preview workflow-server override/bypass values, breaking world-vercel-backed E2E CI on main.

Changes:

  • Updates the GitHub Actions expression used to populate VERCEL_WORKFLOW_SERVER_URL and VERCEL_WORKFLOW_SERVER_PROTECTION_BYPASS so that main resolves to '' and non-main resolves to the corresponding secret.

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

The Get Test Matrix and Get Community Worlds Matrix jobs only run a
small Node script to emit a JSON matrix; they never run `pnpm install`.
With `cache: 'pnpm'` set on actions/setup-node, the post-job cache save
step fails with 'Path Validation Error' because the pnpm store path was
never created, marking the whole job as failed.
Add a cache-pnpm input to setup-workflow-dev (default true) and opt out
in the two matrix-generation jobs.
@TooTallNate
TooTallNate merged commit 28dc089 into mainApr 28, 2026
344 of 475 checks passed
@TooTallNate
TooTallNate deleted the ci/fix-workflow-server-env-ternary branch April 28, 2026 17:26
ijjk pushed a commit that referenced this pull request Apr 28, 2026
* ci: fix VERCEL_WORKFLOW_SERVER_* ternary so main actually unsets them
In GitHub Actions expressions, '' is falsy, so the original
`cond && '' || secrets.X` pattern always fell through to the secret
regardless of branch. The result was that pushes to main were sending
preview workflow-server values to production, causing 'invalid_url'
errors on `x-vercel-workflow-api-url` across all e2e jobs.
Flip the condition so the secret sits in the truthy branch and ||
correctly selects '' on main.
* ci: skip pnpm cache in matrix-generation jobs
The Get Test Matrix and Get Community Worlds Matrix jobs only run a
small Node script to emit a JSON matrix; they never run `pnpm install`.
With `cache: 'pnpm'` set on actions/setup-node, the post-job cache save
step fails with 'Path Validation Error' because the pnpm store path was
never created, marking the whole job as failed.
Add a cache-pnpm input to setup-workflow-dev (default true) and opt out
in the two matrix-generation jobs.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { 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

ci: fix VERCEL_WORKFLOW_SERVER_* env var ternary on main - #1859

Merged
TooTallNate merged 2 commits into
mainfrom
ci/fix-workflow-server-env-ternary
Apr 28, 2026
Merged

ci: fix VERCEL_WORKFLOW_SERVER_* env var ternary on main#1859
TooTallNate merged 2 commits into
mainfrom
ci/fix-workflow-server-env-ternary

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

Fixes broken e2e CI on main introduced by #1824.

In GitHub Actions expressions, empty string '' is falsy. The previous expression

${{ github.ref == 'refs/heads/main' && '' || secrets.VERCEL_WORKFLOW_SERVER_URL }}

always fell through to the secret on both branches: on main, true && '' → '', then '' || secrets.X → secrets.X. So pushes to main were sending the preview workflow-server URL/bypass values into production e2e runs, which caused world-vercel to set x-vercel-workflow-api-url: <preview-url> on calls to api.vercel.com. The API rejected those with invalid_url, cascading into ~all e2e tests failing on every push to main since #1824 merged.

Fix

Flip the condition so the secret sits in the truthy branch — || then correctly selects '' on main:

${{ github.ref != 'refs/heads/main' && secrets.VERCEL_WORKFLOW_SERVER_URL || '' }}

Notes

In GitHub Actions expressions, '' is falsy, so the original
`cond && '' || secrets.X` pattern always fell through to the secret
regardless of branch. The result was that pushes to main were sending
preview workflow-server values to production, causing 'invalid_url'
errors on `x-vercel-workflow-api-url` across all e2e jobs.
Flip the condition so the secret sits in the truthy branch and ||
correctly selects '' on main.
CopilotAI review requested due to automatic review settings April 27, 2026 23:24
@vercel

vercelBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentApr 27, 2026 11:33pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentApr 27, 2026 11:33pm
example-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-astro-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-express-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-fastify-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-hono-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-nitro-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-nuxt-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-sveltekit-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-vite-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workflow-docsReadyReadyPreview, Comment, Open in v0Apr 27, 2026 11:33pm
workflow-swc-playgroundReadyReadyPreview, CommentApr 27, 2026 11:33pm
workflow-webReadyReadyPreview, CommentApr 27, 2026 11:33pm

@changeset-bot

changeset-botBot commented Apr 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: cecd8b0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@github-actions

github-actionsBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.036s (-19.4% 🟢)1.005s (~)0.969s101.00x
💻 LocalNitro0.042s (-3.7%)1.005s (~)0.963s101.16x
💻 LocalNext.js (Turbopack)0.047s1.005s0.958s101.31x
🐘 PostgresNext.js (Turbopack)0.059s1.011s0.952s101.66x
🐘 PostgresExpress0.061s (+4.7%)1.009s (~)0.949s101.70x
🐘 PostgresNitro0.064s (-33.1% 🟢)1.009s (-3.2%)0.946s101.78x
workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.093s (-2.9%)2.006s (~)0.913s101.00x
💻 LocalNext.js (Turbopack)1.116s2.006s0.890s101.02x
💻 LocalNitro1.130s (~)2.005s (~)0.875s101.03x
🐘 PostgresNitro1.140s (~)2.010s (~)0.870s101.04x
🐘 PostgresNext.js (Turbopack)1.143s2.009s0.866s101.05x
🐘 PostgresExpress1.149s (~)2.011s (~)0.862s101.05x
workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.641s (-2.6%)11.022s (~)0.381s31.00x
💻 LocalNext.js (Turbopack)10.778s11.023s0.245s31.01x
🐘 PostgresNitro10.886s (~)11.024s (~)0.139s31.02x
🐘 PostgresNext.js (Turbopack)10.887s11.019s0.132s31.02x
🐘 PostgresExpress10.929s (~)11.026s (~)0.097s31.03x
💻 LocalNitro10.941s (~)11.024s (~)0.083s31.03x
workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express14.222s (-5.0%)15.028s (~)0.806s41.00x
🐘 PostgresNitro14.441s (-1.1%)15.021s (~)0.581s41.02x
🐘 PostgresNext.js (Turbopack)14.536s15.023s0.488s41.02x
💻 LocalNext.js (Turbopack)14.566s15.031s0.465s41.02x
🐘 PostgresExpress14.737s (+1.1%)15.272s (+1.7%)0.535s41.04x
💻 LocalNitro14.979s (-0.6%)15.280s (-4.7%)0.301s41.05x
workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)13.901s14.162s0.261s71.00x
🐘 PostgresNitro13.939s (~)14.448s (+1.0%)0.509s71.00x
🐘 PostgresExpress14.386s (+2.7%)15.024s (+3.0%)0.638s61.03x
💻 LocalExpress14.809s (-10.8% 🟢)15.027s (-11.8% 🟢)0.218s61.07x
💻 LocalNext.js (Turbopack)15.865s16.196s0.330s61.14x
💻 LocalNitro16.422s (-2.2%)17.032s (~)0.610s61.18x
Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.242s2.010s0.767s151.00x
🐘 PostgresNitro1.257s (-1.4%)2.010s (~)0.753s151.01x
🐘 PostgresExpress1.262s (~)2.010s (~)0.748s151.02x
💻 LocalExpress1.436s (-3.6%)2.005s (~)0.569s151.16x
💻 LocalNitro1.481s (-9.2% 🟢)2.005s (-3.3%)0.524s151.19x
💻 LocalNext.js (Turbopack)1.555s2.073s0.517s151.25x
Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.337s (-1.0%)3.008s (~)0.671s101.00x
🐘 PostgresNitro2.366s (+0.7%)3.009s (~)0.642s101.01x
🐘 PostgresNext.js (Turbopack)2.389s3.009s0.620s101.02x
💻 LocalExpress2.640s (-10.6% 🟢)3.008s (-12.9% 🟢)0.368s101.13x
💻 LocalNitro2.711s (-13.8% 🟢)3.008s (-22.6% 🟢)0.297s101.16x
💻 LocalNext.js (Turbopack)2.796s3.341s0.546s91.20x
Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.461s (-0.5%)4.010s (~)0.550s81.00x
🐘 PostgresExpress3.472s (~)4.013s (~)0.541s81.00x
🐘 PostgresNext.js (Turbopack)3.652s4.009s0.357s81.06x
💻 LocalNext.js (Turbopack)6.907s7.519s0.611s42.00x
💻 LocalExpress7.050s (-15.4% 🟢)7.515s (-16.7% 🟢)0.465s42.04x
💻 LocalNitro7.439s (-10.9% 🟢)8.023s (-11.1% 🟢)0.584s42.15x
Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.213s2.008s0.796s151.00x
🐘 PostgresNitro1.257s (~)2.007s (~)0.750s151.04x
🐘 PostgresExpress1.273s (+1.3%)2.008s (~)0.735s151.05x
💻 LocalExpress1.471s (-22.3% 🟢)2.005s (-15.2% 🟢)0.534s151.21x
💻 LocalNext.js (Turbopack)1.513s2.007s0.494s151.25x
💻 LocalNitro1.523s (-18.4% 🟢)2.006s (-14.3% 🟢)0.483s151.26x
Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.313s (-1.1%)3.010s (~)0.697s101.00x
🐘 PostgresExpress2.343s (~)3.010s (~)0.666s101.01x
🐘 PostgresNext.js (Turbopack)2.393s3.008s0.614s101.03x
💻 LocalExpress2.784s (-11.1% 🟢)3.007s (-20.1% 🟢)0.223s101.20x
💻 LocalNitro2.886s (-5.8% 🟢)3.209s (-17.4% 🟢)0.322s101.25x
💻 LocalNext.js (Turbopack)2.894s3.454s0.561s91.25x
Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.462s (-0.5%)4.011s (~)0.549s81.00x
🐘 PostgresExpress3.495s (~)4.012s (~)0.517s81.01x
🐘 PostgresNext.js (Turbopack)3.662s4.010s0.348s81.06x
💻 LocalExpress7.862s (-10.7% 🟢)8.265s (-10.9% 🟢)0.404s42.27x
💻 LocalNext.js (Turbopack)8.004s8.266s0.262s42.31x
💻 LocalNitro8.179s (-10.6% 🟢)9.024s (-10.0% 🟢)0.844s42.36x
workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.697s (-29.2% 🟢)1.021s (-5.1% 🟢)0.324s591.00x
🐘 PostgresNext.js (Turbopack)0.771s1.006s0.235s601.11x
🐘 PostgresNitro0.827s (+0.9%)1.023s (+1.6%)0.195s591.19x
🐘 PostgresExpress0.838s (~)1.006s (-1.7%)0.168s601.20x
💻 LocalNext.js (Turbopack)0.845s1.021s0.177s591.21x
💻 LocalNitro1.019s (+4.0%)1.800s (+64.5% 🔺)0.780s341.46x
workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.901s2.030s0.129s451.00x
🐘 PostgresNitro1.933s (~)2.150s (+2.4%)0.218s421.02x
🐘 PostgresExpress2.054s (+3.9%)2.797s (+23.9% 🔺)0.743s331.08x
💻 LocalExpress2.226s (-26.2% 🟢)3.008s (-16.1% 🟢)0.782s301.17x
💻 LocalNext.js (Turbopack)2.631s3.008s0.377s301.38x
💻 LocalNitro3.040s (~)3.729s (-0.8%)0.688s251.60x
workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.869s (-5.7% 🟢)4.010s (-12.9% 🟢)0.141s301.00x
🐘 PostgresNext.js (Turbopack)3.997s4.251s0.254s291.03x
🐘 PostgresExpress4.077s (+2.2%)4.742s (+8.5% 🔺)0.664s261.05x
💻 LocalExpress7.256s (-21.2% 🟢)8.015s (-20.0% 🟢)0.759s151.88x
💻 LocalNext.js (Turbopack)8.342s8.874s0.532s142.16x
💻 LocalNitro9.154s (-1.6%)9.633s (-3.9%)0.479s132.37x
workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.255s1.007s0.752s601.00x
🐘 PostgresExpress0.282s (~)1.007s (~)0.726s601.10x
🐘 PostgresNitro0.284s (~)1.007s (~)0.723s601.11x
💻 LocalNext.js (Turbopack)0.529s1.004s0.475s602.08x
💻 LocalExpress0.579s (+3.3%)1.004s (~)0.425s602.27x
💻 LocalNitro0.598s (-1.1%)1.004s (-1.7%)0.406s602.34x
workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.476s1.006s0.530s901.00x
🐘 PostgresNitro0.488s (-1.6%)1.007s (~)0.518s901.02x
🐘 PostgresExpress0.505s (-1.0%)1.007s (~)0.502s901.06x
💻 LocalNitro2.358s (-7.1% 🟢)3.008s (~)0.650s304.95x
💻 LocalNext.js (Turbopack)2.453s3.008s0.555s305.15x
💻 LocalExpress2.605s (+3.7%)3.180s (+5.7% 🔺)0.575s295.47x
workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.757s1.006s0.250s1201.00x
🐘 PostgresNitro0.790s (~)1.008s (~)0.217s1201.04x
🐘 PostgresExpress0.802s (-2.0%)1.008s (-0.9%)0.206s1201.06x
💻 LocalNext.js (Turbopack)10.140s10.689s0.549s1213.40x
💻 LocalExpress10.369s (-7.3% 🟢)11.022s (-7.7% 🟢)0.652s1113.70x
💻 LocalNitro10.487s (-6.3% 🟢)11.028s (-5.5% 🟢)0.541s1113.86x
Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.140s (-29.7% 🟢)1.004s (~)0.010s (-19.0% 🟢)1.015s (~)0.875s101.00x
💻 LocalNext.js (Turbopack)0.175s1.002s0.010s1.016s0.841s101.25x
🐘 PostgresNext.js (Turbopack)0.192s1.000s0.001s1.009s0.817s101.37x
🐘 PostgresNitro0.205s (~)0.992s (-0.7%)0.002s (~)1.010s (~)0.805s101.46x
💻 LocalNitro0.206s (-3.6%)1.004s (~)0.010s (-18.4% 🟢)1.016s (~)0.810s101.47x
🐘 PostgresExpress0.214s (+4.4%)0.998s (~)0.001s (-37.5% 🟢)1.011s (~)0.797s101.53x
stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.588s (-22.3% 🟢)1.012s (-1.6%)0.009s (-1.0%)1.023s (-1.6%)0.435s591.00x
🐘 PostgresNitro0.605s (-3.1%)1.023s (+1.6%)0.004s (-2.9%)1.039s (+1.6%)0.434s581.03x
🐘 PostgresExpress0.634s (+0.7%)1.022s (+1.6%)0.004s (+4.9%)1.039s (+1.6%)0.405s581.08x
🐘 PostgresNext.js (Turbopack)0.639s1.026s0.006s1.047s0.408s581.09x
💻 LocalNext.js (Turbopack)0.678s1.011s0.009s1.023s0.345s591.15x
💻 LocalNitro0.758s (-9.6% 🟢)1.012s (~)0.010s (+3.5%)1.023s (-8.3% 🟢)0.265s591.29x
10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.906s1.072s0.000s1.079s0.172s561.00x
🐘 PostgresNitro0.949s (-2.0%)1.168s (-6.4% 🟢)0.000s (-52.9% 🟢)1.184s (-5.9% 🟢)0.235s511.05x
🐘 PostgresExpress0.960s (~)1.196s (-6.4% 🟢)0.000s (-8.0% 🟢)1.208s (-7.5% 🟢)0.248s501.06x
💻 LocalExpress1.175s (-4.1%)2.018s (~)0.000s (+30.0% 🔺)2.020s (~)0.845s301.30x
💻 LocalNitro1.229s (~)2.021s (~)0.000s (+233.3% 🔺)2.023s (~)0.795s301.36x
💻 LocalNext.js (Turbopack)1.265s2.021s0.000s2.024s0.759s301.40x
fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.719s (-3.0%)2.067s (-5.1% 🟢)0.000s (NaN%)2.104s (-4.3%)0.385s291.00x
🐘 PostgresNitro1.751s (-2.3%)2.140s (~)0.000s (-100.0% 🟢)2.152s (-1.0%)0.402s281.02x
🐘 PostgresNext.js (Turbopack)1.856s2.142s0.000s2.149s0.293s291.08x
💻 LocalNitro3.400s (~)4.035s (~)0.000s (-37.5% 🟢)4.037s (~)0.637s151.98x
💻 LocalExpress3.508s (+1.2%)4.031s (~)0.001s (-8.3% 🟢)4.034s (~)0.526s152.04x
💻 LocalNext.js (Turbopack)3.560s4.101s0.001s4.105s0.545s152.07x

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress16/21
🐘 PostgresNext.js (Turbopack)11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres17/21
Nitro🐘 Postgres19/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

@github-actions

github-actionsBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production9780671045
❌ 💻 Local Development900248950
✅ 📦 Local Production902048950
✅ 🐘 Local Postgres902048950
✅ 🪟 Windows950095
✅ 📋 Other267018285
Total404422294275

❌ Failed Tests

💻 Local Development (2 failed)

vite-stable (2 failed):

  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8807
✅ example8807
✅ express8807
✅ fastify8807
✅ hono8807
✅ nextjs-turbopack9302
✅ nextjs-webpack9302
✅ nitro8807
✅ nuxt8807
✅ sveltekit8807
✅ vite8807
❌ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
❌ vite-stable8726
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
✅ vite-stable8906
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
✅ vite-stable8906
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9500
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable8906
✅ e2e-local-postgres-nest-stable8906
✅ e2e-local-prod-nest-stable8906

📋 View full workflow run


Some E2E test jobs failed:

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

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

Fixes a GitHub Actions expression bug that caused main branch E2E runs to incorrectly use preview workflow-server override/bypass values, breaking world-vercel-backed E2E CI on main.

Changes:

  • Updates the GitHub Actions expression used to populate VERCEL_WORKFLOW_SERVER_URL and VERCEL_WORKFLOW_SERVER_PROTECTION_BYPASS so that main resolves to '' and non-main resolves to the corresponding secret.

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

The Get Test Matrix and Get Community Worlds Matrix jobs only run a
small Node script to emit a JSON matrix; they never run `pnpm install`.
With `cache: 'pnpm'` set on actions/setup-node, the post-job cache save
step fails with 'Path Validation Error' because the pnpm store path was
never created, marking the whole job as failed.
Add a cache-pnpm input to setup-workflow-dev (default true) and opt out
in the two matrix-generation jobs.
@TooTallNate
TooTallNate merged commit 28dc089 into mainApr 28, 2026
344 of 475 checks passed
@TooTallNate
TooTallNate deleted the ci/fix-workflow-server-env-ternary branch April 28, 2026 17:26
ijjk pushed a commit that referenced this pull request Apr 28, 2026
* ci: fix VERCEL_WORKFLOW_SERVER_* ternary so main actually unsets them
In GitHub Actions expressions, '' is falsy, so the original
`cond && '' || secrets.X` pattern always fell through to the secret
regardless of branch. The result was that pushes to main were sending
preview workflow-server values to production, causing 'invalid_url'
errors on `x-vercel-workflow-api-url` across all e2e jobs.
Flip the condition so the secret sits in the truthy branch and ||
correctly selects '' on main.
* ci: skip pnpm cache in matrix-generation jobs
The Get Test Matrix and Get Community Worlds Matrix jobs only run a
small Node script to emit a JSON matrix; they never run `pnpm install`.
With `cache: 'pnpm'` set on actions/setup-node, the post-job cache save
step fails with 'Path Validation Error' because the pnpm store path was
never created, marking the whole job as failed.
Add a cache-pnpm input to setup-workflow-dev (default true) and opt out
in the two matrix-generation jobs.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { 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

ci: fix VERCEL_WORKFLOW_SERVER_* env var ternary on main - #1859

Merged
TooTallNate merged 2 commits into
mainfrom
ci/fix-workflow-server-env-ternary
Apr 28, 2026
Merged

ci: fix VERCEL_WORKFLOW_SERVER_* env var ternary on main#1859
TooTallNate merged 2 commits into
mainfrom
ci/fix-workflow-server-env-ternary

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

Fixes broken e2e CI on main introduced by #1824.

In GitHub Actions expressions, empty string '' is falsy. The previous expression

${{ github.ref == 'refs/heads/main' && '' || secrets.VERCEL_WORKFLOW_SERVER_URL }}

always fell through to the secret on both branches: on main, true && '' → '', then '' || secrets.X → secrets.X. So pushes to main were sending the preview workflow-server URL/bypass values into production e2e runs, which caused world-vercel to set x-vercel-workflow-api-url: <preview-url> on calls to api.vercel.com. The API rejected those with invalid_url, cascading into ~all e2e tests failing on every push to main since #1824 merged.

Fix

Flip the condition so the secret sits in the truthy branch — || then correctly selects '' on main:

${{ github.ref != 'refs/heads/main' && secrets.VERCEL_WORKFLOW_SERVER_URL || '' }}

Notes

In GitHub Actions expressions, '' is falsy, so the original
`cond && '' || secrets.X` pattern always fell through to the secret
regardless of branch. The result was that pushes to main were sending
preview workflow-server values to production, causing 'invalid_url'
errors on `x-vercel-workflow-api-url` across all e2e jobs.
Flip the condition so the secret sits in the truthy branch and ||
correctly selects '' on main.
CopilotAI review requested due to automatic review settings April 27, 2026 23:24
@vercel

vercelBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentApr 27, 2026 11:33pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentApr 27, 2026 11:33pm
example-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-astro-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-express-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-fastify-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-hono-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-nitro-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-nuxt-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-sveltekit-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-vite-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workflow-docsReadyReadyPreview, Comment, Open in v0Apr 27, 2026 11:33pm
workflow-swc-playgroundReadyReadyPreview, CommentApr 27, 2026 11:33pm
workflow-webReadyReadyPreview, CommentApr 27, 2026 11:33pm

@changeset-bot

changeset-botBot commented Apr 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: cecd8b0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@github-actions

github-actionsBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.036s (-19.4% 🟢)1.005s (~)0.969s101.00x
💻 LocalNitro0.042s (-3.7%)1.005s (~)0.963s101.16x
💻 LocalNext.js (Turbopack)0.047s1.005s0.958s101.31x
🐘 PostgresNext.js (Turbopack)0.059s1.011s0.952s101.66x
🐘 PostgresExpress0.061s (+4.7%)1.009s (~)0.949s101.70x
🐘 PostgresNitro0.064s (-33.1% 🟢)1.009s (-3.2%)0.946s101.78x
workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.093s (-2.9%)2.006s (~)0.913s101.00x
💻 LocalNext.js (Turbopack)1.116s2.006s0.890s101.02x
💻 LocalNitro1.130s (~)2.005s (~)0.875s101.03x
🐘 PostgresNitro1.140s (~)2.010s (~)0.870s101.04x
🐘 PostgresNext.js (Turbopack)1.143s2.009s0.866s101.05x
🐘 PostgresExpress1.149s (~)2.011s (~)0.862s101.05x
workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.641s (-2.6%)11.022s (~)0.381s31.00x
💻 LocalNext.js (Turbopack)10.778s11.023s0.245s31.01x
🐘 PostgresNitro10.886s (~)11.024s (~)0.139s31.02x
🐘 PostgresNext.js (Turbopack)10.887s11.019s0.132s31.02x
🐘 PostgresExpress10.929s (~)11.026s (~)0.097s31.03x
💻 LocalNitro10.941s (~)11.024s (~)0.083s31.03x
workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express14.222s (-5.0%)15.028s (~)0.806s41.00x
🐘 PostgresNitro14.441s (-1.1%)15.021s (~)0.581s41.02x
🐘 PostgresNext.js (Turbopack)14.536s15.023s0.488s41.02x
💻 LocalNext.js (Turbopack)14.566s15.031s0.465s41.02x
🐘 PostgresExpress14.737s (+1.1%)15.272s (+1.7%)0.535s41.04x
💻 LocalNitro14.979s (-0.6%)15.280s (-4.7%)0.301s41.05x
workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)13.901s14.162s0.261s71.00x
🐘 PostgresNitro13.939s (~)14.448s (+1.0%)0.509s71.00x
🐘 PostgresExpress14.386s (+2.7%)15.024s (+3.0%)0.638s61.03x
💻 LocalExpress14.809s (-10.8% 🟢)15.027s (-11.8% 🟢)0.218s61.07x
💻 LocalNext.js (Turbopack)15.865s16.196s0.330s61.14x
💻 LocalNitro16.422s (-2.2%)17.032s (~)0.610s61.18x
Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.242s2.010s0.767s151.00x
🐘 PostgresNitro1.257s (-1.4%)2.010s (~)0.753s151.01x
🐘 PostgresExpress1.262s (~)2.010s (~)0.748s151.02x
💻 LocalExpress1.436s (-3.6%)2.005s (~)0.569s151.16x
💻 LocalNitro1.481s (-9.2% 🟢)2.005s (-3.3%)0.524s151.19x
💻 LocalNext.js (Turbopack)1.555s2.073s0.517s151.25x
Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.337s (-1.0%)3.008s (~)0.671s101.00x
🐘 PostgresNitro2.366s (+0.7%)3.009s (~)0.642s101.01x
🐘 PostgresNext.js (Turbopack)2.389s3.009s0.620s101.02x
💻 LocalExpress2.640s (-10.6% 🟢)3.008s (-12.9% 🟢)0.368s101.13x
💻 LocalNitro2.711s (-13.8% 🟢)3.008s (-22.6% 🟢)0.297s101.16x
💻 LocalNext.js (Turbopack)2.796s3.341s0.546s91.20x
Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.461s (-0.5%)4.010s (~)0.550s81.00x
🐘 PostgresExpress3.472s (~)4.013s (~)0.541s81.00x
🐘 PostgresNext.js (Turbopack)3.652s4.009s0.357s81.06x
💻 LocalNext.js (Turbopack)6.907s7.519s0.611s42.00x
💻 LocalExpress7.050s (-15.4% 🟢)7.515s (-16.7% 🟢)0.465s42.04x
💻 LocalNitro7.439s (-10.9% 🟢)8.023s (-11.1% 🟢)0.584s42.15x
Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.213s2.008s0.796s151.00x
🐘 PostgresNitro1.257s (~)2.007s (~)0.750s151.04x
🐘 PostgresExpress1.273s (+1.3%)2.008s (~)0.735s151.05x
💻 LocalExpress1.471s (-22.3% 🟢)2.005s (-15.2% 🟢)0.534s151.21x
💻 LocalNext.js (Turbopack)1.513s2.007s0.494s151.25x
💻 LocalNitro1.523s (-18.4% 🟢)2.006s (-14.3% 🟢)0.483s151.26x
Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.313s (-1.1%)3.010s (~)0.697s101.00x
🐘 PostgresExpress2.343s (~)3.010s (~)0.666s101.01x
🐘 PostgresNext.js (Turbopack)2.393s3.008s0.614s101.03x
💻 LocalExpress2.784s (-11.1% 🟢)3.007s (-20.1% 🟢)0.223s101.20x
💻 LocalNitro2.886s (-5.8% 🟢)3.209s (-17.4% 🟢)0.322s101.25x
💻 LocalNext.js (Turbopack)2.894s3.454s0.561s91.25x
Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.462s (-0.5%)4.011s (~)0.549s81.00x
🐘 PostgresExpress3.495s (~)4.012s (~)0.517s81.01x
🐘 PostgresNext.js (Turbopack)3.662s4.010s0.348s81.06x
💻 LocalExpress7.862s (-10.7% 🟢)8.265s (-10.9% 🟢)0.404s42.27x
💻 LocalNext.js (Turbopack)8.004s8.266s0.262s42.31x
💻 LocalNitro8.179s (-10.6% 🟢)9.024s (-10.0% 🟢)0.844s42.36x
workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.697s (-29.2% 🟢)1.021s (-5.1% 🟢)0.324s591.00x
🐘 PostgresNext.js (Turbopack)0.771s1.006s0.235s601.11x
🐘 PostgresNitro0.827s (+0.9%)1.023s (+1.6%)0.195s591.19x
🐘 PostgresExpress0.838s (~)1.006s (-1.7%)0.168s601.20x
💻 LocalNext.js (Turbopack)0.845s1.021s0.177s591.21x
💻 LocalNitro1.019s (+4.0%)1.800s (+64.5% 🔺)0.780s341.46x
workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.901s2.030s0.129s451.00x
🐘 PostgresNitro1.933s (~)2.150s (+2.4%)0.218s421.02x
🐘 PostgresExpress2.054s (+3.9%)2.797s (+23.9% 🔺)0.743s331.08x
💻 LocalExpress2.226s (-26.2% 🟢)3.008s (-16.1% 🟢)0.782s301.17x
💻 LocalNext.js (Turbopack)2.631s3.008s0.377s301.38x
💻 LocalNitro3.040s (~)3.729s (-0.8%)0.688s251.60x
workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.869s (-5.7% 🟢)4.010s (-12.9% 🟢)0.141s301.00x
🐘 PostgresNext.js (Turbopack)3.997s4.251s0.254s291.03x
🐘 PostgresExpress4.077s (+2.2%)4.742s (+8.5% 🔺)0.664s261.05x
💻 LocalExpress7.256s (-21.2% 🟢)8.015s (-20.0% 🟢)0.759s151.88x
💻 LocalNext.js (Turbopack)8.342s8.874s0.532s142.16x
💻 LocalNitro9.154s (-1.6%)9.633s (-3.9%)0.479s132.37x
workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.255s1.007s0.752s601.00x
🐘 PostgresExpress0.282s (~)1.007s (~)0.726s601.10x
🐘 PostgresNitro0.284s (~)1.007s (~)0.723s601.11x
💻 LocalNext.js (Turbopack)0.529s1.004s0.475s602.08x
💻 LocalExpress0.579s (+3.3%)1.004s (~)0.425s602.27x
💻 LocalNitro0.598s (-1.1%)1.004s (-1.7%)0.406s602.34x
workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.476s1.006s0.530s901.00x
🐘 PostgresNitro0.488s (-1.6%)1.007s (~)0.518s901.02x
🐘 PostgresExpress0.505s (-1.0%)1.007s (~)0.502s901.06x
💻 LocalNitro2.358s (-7.1% 🟢)3.008s (~)0.650s304.95x
💻 LocalNext.js (Turbopack)2.453s3.008s0.555s305.15x
💻 LocalExpress2.605s (+3.7%)3.180s (+5.7% 🔺)0.575s295.47x
workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.757s1.006s0.250s1201.00x
🐘 PostgresNitro0.790s (~)1.008s (~)0.217s1201.04x
🐘 PostgresExpress0.802s (-2.0%)1.008s (-0.9%)0.206s1201.06x
💻 LocalNext.js (Turbopack)10.140s10.689s0.549s1213.40x
💻 LocalExpress10.369s (-7.3% 🟢)11.022s (-7.7% 🟢)0.652s1113.70x
💻 LocalNitro10.487s (-6.3% 🟢)11.028s (-5.5% 🟢)0.541s1113.86x
Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.140s (-29.7% 🟢)1.004s (~)0.010s (-19.0% 🟢)1.015s (~)0.875s101.00x
💻 LocalNext.js (Turbopack)0.175s1.002s0.010s1.016s0.841s101.25x
🐘 PostgresNext.js (Turbopack)0.192s1.000s0.001s1.009s0.817s101.37x
🐘 PostgresNitro0.205s (~)0.992s (-0.7%)0.002s (~)1.010s (~)0.805s101.46x
💻 LocalNitro0.206s (-3.6%)1.004s (~)0.010s (-18.4% 🟢)1.016s (~)0.810s101.47x
🐘 PostgresExpress0.214s (+4.4%)0.998s (~)0.001s (-37.5% 🟢)1.011s (~)0.797s101.53x
stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.588s (-22.3% 🟢)1.012s (-1.6%)0.009s (-1.0%)1.023s (-1.6%)0.435s591.00x
🐘 PostgresNitro0.605s (-3.1%)1.023s (+1.6%)0.004s (-2.9%)1.039s (+1.6%)0.434s581.03x
🐘 PostgresExpress0.634s (+0.7%)1.022s (+1.6%)0.004s (+4.9%)1.039s (+1.6%)0.405s581.08x
🐘 PostgresNext.js (Turbopack)0.639s1.026s0.006s1.047s0.408s581.09x
💻 LocalNext.js (Turbopack)0.678s1.011s0.009s1.023s0.345s591.15x
💻 LocalNitro0.758s (-9.6% 🟢)1.012s (~)0.010s (+3.5%)1.023s (-8.3% 🟢)0.265s591.29x
10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.906s1.072s0.000s1.079s0.172s561.00x
🐘 PostgresNitro0.949s (-2.0%)1.168s (-6.4% 🟢)0.000s (-52.9% 🟢)1.184s (-5.9% 🟢)0.235s511.05x
🐘 PostgresExpress0.960s (~)1.196s (-6.4% 🟢)0.000s (-8.0% 🟢)1.208s (-7.5% 🟢)0.248s501.06x
💻 LocalExpress1.175s (-4.1%)2.018s (~)0.000s (+30.0% 🔺)2.020s (~)0.845s301.30x
💻 LocalNitro1.229s (~)2.021s (~)0.000s (+233.3% 🔺)2.023s (~)0.795s301.36x
💻 LocalNext.js (Turbopack)1.265s2.021s0.000s2.024s0.759s301.40x
fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.719s (-3.0%)2.067s (-5.1% 🟢)0.000s (NaN%)2.104s (-4.3%)0.385s291.00x
🐘 PostgresNitro1.751s (-2.3%)2.140s (~)0.000s (-100.0% 🟢)2.152s (-1.0%)0.402s281.02x
🐘 PostgresNext.js (Turbopack)1.856s2.142s0.000s2.149s0.293s291.08x
💻 LocalNitro3.400s (~)4.035s (~)0.000s (-37.5% 🟢)4.037s (~)0.637s151.98x
💻 LocalExpress3.508s (+1.2%)4.031s (~)0.001s (-8.3% 🟢)4.034s (~)0.526s152.04x
💻 LocalNext.js (Turbopack)3.560s4.101s0.001s4.105s0.545s152.07x

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress16/21
🐘 PostgresNext.js (Turbopack)11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres17/21
Nitro🐘 Postgres19/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

@github-actions

github-actionsBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production9780671045
❌ 💻 Local Development900248950
✅ 📦 Local Production902048950
✅ 🐘 Local Postgres902048950
✅ 🪟 Windows950095
✅ 📋 Other267018285
Total404422294275

❌ Failed Tests

💻 Local Development (2 failed)

vite-stable (2 failed):

  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8807
✅ example8807
✅ express8807
✅ fastify8807
✅ hono8807
✅ nextjs-turbopack9302
✅ nextjs-webpack9302
✅ nitro8807
✅ nuxt8807
✅ sveltekit8807
✅ vite8807
❌ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
❌ vite-stable8726
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
✅ vite-stable8906
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
✅ vite-stable8906
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9500
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable8906
✅ e2e-local-postgres-nest-stable8906
✅ e2e-local-prod-nest-stable8906

📋 View full workflow run


Some E2E test jobs failed:

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

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

Fixes a GitHub Actions expression bug that caused main branch E2E runs to incorrectly use preview workflow-server override/bypass values, breaking world-vercel-backed E2E CI on main.

Changes:

  • Updates the GitHub Actions expression used to populate VERCEL_WORKFLOW_SERVER_URL and VERCEL_WORKFLOW_SERVER_PROTECTION_BYPASS so that main resolves to '' and non-main resolves to the corresponding secret.

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

The Get Test Matrix and Get Community Worlds Matrix jobs only run a
small Node script to emit a JSON matrix; they never run `pnpm install`.
With `cache: 'pnpm'` set on actions/setup-node, the post-job cache save
step fails with 'Path Validation Error' because the pnpm store path was
never created, marking the whole job as failed.
Add a cache-pnpm input to setup-workflow-dev (default true) and opt out
in the two matrix-generation jobs.
@TooTallNate
TooTallNate merged commit 28dc089 into mainApr 28, 2026
344 of 475 checks passed
@TooTallNate
TooTallNate deleted the ci/fix-workflow-server-env-ternary branch April 28, 2026 17:26
ijjk pushed a commit that referenced this pull request Apr 28, 2026
* ci: fix VERCEL_WORKFLOW_SERVER_* ternary so main actually unsets them
In GitHub Actions expressions, '' is falsy, so the original
`cond && '' || secrets.X` pattern always fell through to the secret
regardless of branch. The result was that pushes to main were sending
preview workflow-server values to production, causing 'invalid_url'
errors on `x-vercel-workflow-api-url` across all e2e jobs.
Flip the condition so the secret sits in the truthy branch and ||
correctly selects '' on main.
* ci: skip pnpm cache in matrix-generation jobs
The Get Test Matrix and Get Community Worlds Matrix jobs only run a
small Node script to emit a JSON matrix; they never run `pnpm install`.
With `cache: 'pnpm'` set on actions/setup-node, the post-job cache save
step fails with 'Path Validation Error' because the pnpm store path was
never created, marking the whole job as failed.
Add a cache-pnpm input to setup-workflow-dev (default true) and opt out
in the two matrix-generation jobs.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { 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

ci: fix VERCEL_WORKFLOW_SERVER_* env var ternary on main - #1859

Merged
TooTallNate merged 2 commits into
mainfrom
ci/fix-workflow-server-env-ternary
Apr 28, 2026
Merged

ci: fix VERCEL_WORKFLOW_SERVER_* env var ternary on main#1859
TooTallNate merged 2 commits into
mainfrom
ci/fix-workflow-server-env-ternary

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

Fixes broken e2e CI on main introduced by #1824.

In GitHub Actions expressions, empty string '' is falsy. The previous expression

${{ github.ref == 'refs/heads/main' && '' || secrets.VERCEL_WORKFLOW_SERVER_URL }}

always fell through to the secret on both branches: on main, true && '' → '', then '' || secrets.X → secrets.X. So pushes to main were sending the preview workflow-server URL/bypass values into production e2e runs, which caused world-vercel to set x-vercel-workflow-api-url: <preview-url> on calls to api.vercel.com. The API rejected those with invalid_url, cascading into ~all e2e tests failing on every push to main since #1824 merged.

Fix

Flip the condition so the secret sits in the truthy branch — || then correctly selects '' on main:

${{ github.ref != 'refs/heads/main' && secrets.VERCEL_WORKFLOW_SERVER_URL || '' }}

Notes

In GitHub Actions expressions, '' is falsy, so the original
`cond && '' || secrets.X` pattern always fell through to the secret
regardless of branch. The result was that pushes to main were sending
preview workflow-server values to production, causing 'invalid_url'
errors on `x-vercel-workflow-api-url` across all e2e jobs.
Flip the condition so the secret sits in the truthy branch and ||
correctly selects '' on main.
CopilotAI review requested due to automatic review settings April 27, 2026 23:24
@vercel

vercelBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentApr 27, 2026 11:33pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentApr 27, 2026 11:33pm
example-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-astro-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-express-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-fastify-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-hono-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-nitro-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-nuxt-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-sveltekit-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-vite-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workflow-docsReadyReadyPreview, Comment, Open in v0Apr 27, 2026 11:33pm
workflow-swc-playgroundReadyReadyPreview, CommentApr 27, 2026 11:33pm
workflow-webReadyReadyPreview, CommentApr 27, 2026 11:33pm

@changeset-bot

changeset-botBot commented Apr 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: cecd8b0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@github-actions

github-actionsBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.036s (-19.4% 🟢)1.005s (~)0.969s101.00x
💻 LocalNitro0.042s (-3.7%)1.005s (~)0.963s101.16x
💻 LocalNext.js (Turbopack)0.047s1.005s0.958s101.31x
🐘 PostgresNext.js (Turbopack)0.059s1.011s0.952s101.66x
🐘 PostgresExpress0.061s (+4.7%)1.009s (~)0.949s101.70x
🐘 PostgresNitro0.064s (-33.1% 🟢)1.009s (-3.2%)0.946s101.78x
workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.093s (-2.9%)2.006s (~)0.913s101.00x
💻 LocalNext.js (Turbopack)1.116s2.006s0.890s101.02x
💻 LocalNitro1.130s (~)2.005s (~)0.875s101.03x
🐘 PostgresNitro1.140s (~)2.010s (~)0.870s101.04x
🐘 PostgresNext.js (Turbopack)1.143s2.009s0.866s101.05x
🐘 PostgresExpress1.149s (~)2.011s (~)0.862s101.05x
workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.641s (-2.6%)11.022s (~)0.381s31.00x
💻 LocalNext.js (Turbopack)10.778s11.023s0.245s31.01x
🐘 PostgresNitro10.886s (~)11.024s (~)0.139s31.02x
🐘 PostgresNext.js (Turbopack)10.887s11.019s0.132s31.02x
🐘 PostgresExpress10.929s (~)11.026s (~)0.097s31.03x
💻 LocalNitro10.941s (~)11.024s (~)0.083s31.03x
workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express14.222s (-5.0%)15.028s (~)0.806s41.00x
🐘 PostgresNitro14.441s (-1.1%)15.021s (~)0.581s41.02x
🐘 PostgresNext.js (Turbopack)14.536s15.023s0.488s41.02x
💻 LocalNext.js (Turbopack)14.566s15.031s0.465s41.02x
🐘 PostgresExpress14.737s (+1.1%)15.272s (+1.7%)0.535s41.04x
💻 LocalNitro14.979s (-0.6%)15.280s (-4.7%)0.301s41.05x
workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)13.901s14.162s0.261s71.00x
🐘 PostgresNitro13.939s (~)14.448s (+1.0%)0.509s71.00x
🐘 PostgresExpress14.386s (+2.7%)15.024s (+3.0%)0.638s61.03x
💻 LocalExpress14.809s (-10.8% 🟢)15.027s (-11.8% 🟢)0.218s61.07x
💻 LocalNext.js (Turbopack)15.865s16.196s0.330s61.14x
💻 LocalNitro16.422s (-2.2%)17.032s (~)0.610s61.18x
Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.242s2.010s0.767s151.00x
🐘 PostgresNitro1.257s (-1.4%)2.010s (~)0.753s151.01x
🐘 PostgresExpress1.262s (~)2.010s (~)0.748s151.02x
💻 LocalExpress1.436s (-3.6%)2.005s (~)0.569s151.16x
💻 LocalNitro1.481s (-9.2% 🟢)2.005s (-3.3%)0.524s151.19x
💻 LocalNext.js (Turbopack)1.555s2.073s0.517s151.25x
Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.337s (-1.0%)3.008s (~)0.671s101.00x
🐘 PostgresNitro2.366s (+0.7%)3.009s (~)0.642s101.01x
🐘 PostgresNext.js (Turbopack)2.389s3.009s0.620s101.02x
💻 LocalExpress2.640s (-10.6% 🟢)3.008s (-12.9% 🟢)0.368s101.13x
💻 LocalNitro2.711s (-13.8% 🟢)3.008s (-22.6% 🟢)0.297s101.16x
💻 LocalNext.js (Turbopack)2.796s3.341s0.546s91.20x
Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.461s (-0.5%)4.010s (~)0.550s81.00x
🐘 PostgresExpress3.472s (~)4.013s (~)0.541s81.00x
🐘 PostgresNext.js (Turbopack)3.652s4.009s0.357s81.06x
💻 LocalNext.js (Turbopack)6.907s7.519s0.611s42.00x
💻 LocalExpress7.050s (-15.4% 🟢)7.515s (-16.7% 🟢)0.465s42.04x
💻 LocalNitro7.439s (-10.9% 🟢)8.023s (-11.1% 🟢)0.584s42.15x
Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.213s2.008s0.796s151.00x
🐘 PostgresNitro1.257s (~)2.007s (~)0.750s151.04x
🐘 PostgresExpress1.273s (+1.3%)2.008s (~)0.735s151.05x
💻 LocalExpress1.471s (-22.3% 🟢)2.005s (-15.2% 🟢)0.534s151.21x
💻 LocalNext.js (Turbopack)1.513s2.007s0.494s151.25x
💻 LocalNitro1.523s (-18.4% 🟢)2.006s (-14.3% 🟢)0.483s151.26x
Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.313s (-1.1%)3.010s (~)0.697s101.00x
🐘 PostgresExpress2.343s (~)3.010s (~)0.666s101.01x
🐘 PostgresNext.js (Turbopack)2.393s3.008s0.614s101.03x
💻 LocalExpress2.784s (-11.1% 🟢)3.007s (-20.1% 🟢)0.223s101.20x
💻 LocalNitro2.886s (-5.8% 🟢)3.209s (-17.4% 🟢)0.322s101.25x
💻 LocalNext.js (Turbopack)2.894s3.454s0.561s91.25x
Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.462s (-0.5%)4.011s (~)0.549s81.00x
🐘 PostgresExpress3.495s (~)4.012s (~)0.517s81.01x
🐘 PostgresNext.js (Turbopack)3.662s4.010s0.348s81.06x
💻 LocalExpress7.862s (-10.7% 🟢)8.265s (-10.9% 🟢)0.404s42.27x
💻 LocalNext.js (Turbopack)8.004s8.266s0.262s42.31x
💻 LocalNitro8.179s (-10.6% 🟢)9.024s (-10.0% 🟢)0.844s42.36x
workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.697s (-29.2% 🟢)1.021s (-5.1% 🟢)0.324s591.00x
🐘 PostgresNext.js (Turbopack)0.771s1.006s0.235s601.11x
🐘 PostgresNitro0.827s (+0.9%)1.023s (+1.6%)0.195s591.19x
🐘 PostgresExpress0.838s (~)1.006s (-1.7%)0.168s601.20x
💻 LocalNext.js (Turbopack)0.845s1.021s0.177s591.21x
💻 LocalNitro1.019s (+4.0%)1.800s (+64.5% 🔺)0.780s341.46x
workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.901s2.030s0.129s451.00x
🐘 PostgresNitro1.933s (~)2.150s (+2.4%)0.218s421.02x
🐘 PostgresExpress2.054s (+3.9%)2.797s (+23.9% 🔺)0.743s331.08x
💻 LocalExpress2.226s (-26.2% 🟢)3.008s (-16.1% 🟢)0.782s301.17x
💻 LocalNext.js (Turbopack)2.631s3.008s0.377s301.38x
💻 LocalNitro3.040s (~)3.729s (-0.8%)0.688s251.60x
workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.869s (-5.7% 🟢)4.010s (-12.9% 🟢)0.141s301.00x
🐘 PostgresNext.js (Turbopack)3.997s4.251s0.254s291.03x
🐘 PostgresExpress4.077s (+2.2%)4.742s (+8.5% 🔺)0.664s261.05x
💻 LocalExpress7.256s (-21.2% 🟢)8.015s (-20.0% 🟢)0.759s151.88x
💻 LocalNext.js (Turbopack)8.342s8.874s0.532s142.16x
💻 LocalNitro9.154s (-1.6%)9.633s (-3.9%)0.479s132.37x
workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.255s1.007s0.752s601.00x
🐘 PostgresExpress0.282s (~)1.007s (~)0.726s601.10x
🐘 PostgresNitro0.284s (~)1.007s (~)0.723s601.11x
💻 LocalNext.js (Turbopack)0.529s1.004s0.475s602.08x
💻 LocalExpress0.579s (+3.3%)1.004s (~)0.425s602.27x
💻 LocalNitro0.598s (-1.1%)1.004s (-1.7%)0.406s602.34x
workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.476s1.006s0.530s901.00x
🐘 PostgresNitro0.488s (-1.6%)1.007s (~)0.518s901.02x
🐘 PostgresExpress0.505s (-1.0%)1.007s (~)0.502s901.06x
💻 LocalNitro2.358s (-7.1% 🟢)3.008s (~)0.650s304.95x
💻 LocalNext.js (Turbopack)2.453s3.008s0.555s305.15x
💻 LocalExpress2.605s (+3.7%)3.180s (+5.7% 🔺)0.575s295.47x
workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.757s1.006s0.250s1201.00x
🐘 PostgresNitro0.790s (~)1.008s (~)0.217s1201.04x
🐘 PostgresExpress0.802s (-2.0%)1.008s (-0.9%)0.206s1201.06x
💻 LocalNext.js (Turbopack)10.140s10.689s0.549s1213.40x
💻 LocalExpress10.369s (-7.3% 🟢)11.022s (-7.7% 🟢)0.652s1113.70x
💻 LocalNitro10.487s (-6.3% 🟢)11.028s (-5.5% 🟢)0.541s1113.86x
Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.140s (-29.7% 🟢)1.004s (~)0.010s (-19.0% 🟢)1.015s (~)0.875s101.00x
💻 LocalNext.js (Turbopack)0.175s1.002s0.010s1.016s0.841s101.25x
🐘 PostgresNext.js (Turbopack)0.192s1.000s0.001s1.009s0.817s101.37x
🐘 PostgresNitro0.205s (~)0.992s (-0.7%)0.002s (~)1.010s (~)0.805s101.46x
💻 LocalNitro0.206s (-3.6%)1.004s (~)0.010s (-18.4% 🟢)1.016s (~)0.810s101.47x
🐘 PostgresExpress0.214s (+4.4%)0.998s (~)0.001s (-37.5% 🟢)1.011s (~)0.797s101.53x
stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.588s (-22.3% 🟢)1.012s (-1.6%)0.009s (-1.0%)1.023s (-1.6%)0.435s591.00x
🐘 PostgresNitro0.605s (-3.1%)1.023s (+1.6%)0.004s (-2.9%)1.039s (+1.6%)0.434s581.03x
🐘 PostgresExpress0.634s (+0.7%)1.022s (+1.6%)0.004s (+4.9%)1.039s (+1.6%)0.405s581.08x
🐘 PostgresNext.js (Turbopack)0.639s1.026s0.006s1.047s0.408s581.09x
💻 LocalNext.js (Turbopack)0.678s1.011s0.009s1.023s0.345s591.15x
💻 LocalNitro0.758s (-9.6% 🟢)1.012s (~)0.010s (+3.5%)1.023s (-8.3% 🟢)0.265s591.29x
10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.906s1.072s0.000s1.079s0.172s561.00x
🐘 PostgresNitro0.949s (-2.0%)1.168s (-6.4% 🟢)0.000s (-52.9% 🟢)1.184s (-5.9% 🟢)0.235s511.05x
🐘 PostgresExpress0.960s (~)1.196s (-6.4% 🟢)0.000s (-8.0% 🟢)1.208s (-7.5% 🟢)0.248s501.06x
💻 LocalExpress1.175s (-4.1%)2.018s (~)0.000s (+30.0% 🔺)2.020s (~)0.845s301.30x
💻 LocalNitro1.229s (~)2.021s (~)0.000s (+233.3% 🔺)2.023s (~)0.795s301.36x
💻 LocalNext.js (Turbopack)1.265s2.021s0.000s2.024s0.759s301.40x
fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.719s (-3.0%)2.067s (-5.1% 🟢)0.000s (NaN%)2.104s (-4.3%)0.385s291.00x
🐘 PostgresNitro1.751s (-2.3%)2.140s (~)0.000s (-100.0% 🟢)2.152s (-1.0%)0.402s281.02x
🐘 PostgresNext.js (Turbopack)1.856s2.142s0.000s2.149s0.293s291.08x
💻 LocalNitro3.400s (~)4.035s (~)0.000s (-37.5% 🟢)4.037s (~)0.637s151.98x
💻 LocalExpress3.508s (+1.2%)4.031s (~)0.001s (-8.3% 🟢)4.034s (~)0.526s152.04x
💻 LocalNext.js (Turbopack)3.560s4.101s0.001s4.105s0.545s152.07x

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress16/21
🐘 PostgresNext.js (Turbopack)11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres17/21
Nitro🐘 Postgres19/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

@github-actions

github-actionsBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production9780671045
❌ 💻 Local Development900248950
✅ 📦 Local Production902048950
✅ 🐘 Local Postgres902048950
✅ 🪟 Windows950095
✅ 📋 Other267018285
Total404422294275

❌ Failed Tests

💻 Local Development (2 failed)

vite-stable (2 failed):

  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8807
✅ example8807
✅ express8807
✅ fastify8807
✅ hono8807
✅ nextjs-turbopack9302
✅ nextjs-webpack9302
✅ nitro8807
✅ nuxt8807
✅ sveltekit8807
✅ vite8807
❌ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
❌ vite-stable8726
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
✅ vite-stable8906
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
✅ vite-stable8906
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9500
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable8906
✅ e2e-local-postgres-nest-stable8906
✅ e2e-local-prod-nest-stable8906

📋 View full workflow run


Some E2E test jobs failed:

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

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

Fixes a GitHub Actions expression bug that caused main branch E2E runs to incorrectly use preview workflow-server override/bypass values, breaking world-vercel-backed E2E CI on main.

Changes:

  • Updates the GitHub Actions expression used to populate VERCEL_WORKFLOW_SERVER_URL and VERCEL_WORKFLOW_SERVER_PROTECTION_BYPASS so that main resolves to '' and non-main resolves to the corresponding secret.

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

The Get Test Matrix and Get Community Worlds Matrix jobs only run a
small Node script to emit a JSON matrix; they never run `pnpm install`.
With `cache: 'pnpm'` set on actions/setup-node, the post-job cache save
step fails with 'Path Validation Error' because the pnpm store path was
never created, marking the whole job as failed.
Add a cache-pnpm input to setup-workflow-dev (default true) and opt out
in the two matrix-generation jobs.
@TooTallNate
TooTallNate merged commit 28dc089 into mainApr 28, 2026
344 of 475 checks passed
@TooTallNate
TooTallNate deleted the ci/fix-workflow-server-env-ternary branch April 28, 2026 17:26
ijjk pushed a commit that referenced this pull request Apr 28, 2026
* ci: fix VERCEL_WORKFLOW_SERVER_* ternary so main actually unsets them
In GitHub Actions expressions, '' is falsy, so the original
`cond && '' || secrets.X` pattern always fell through to the secret
regardless of branch. The result was that pushes to main were sending
preview workflow-server values to production, causing 'invalid_url'
errors on `x-vercel-workflow-api-url` across all e2e jobs.
Flip the condition so the secret sits in the truthy branch and ||
correctly selects '' on main.
* ci: skip pnpm cache in matrix-generation jobs
The Get Test Matrix and Get Community Worlds Matrix jobs only run a
small Node script to emit a JSON matrix; they never run `pnpm install`.
With `cache: 'pnpm'` set on actions/setup-node, the post-job cache save
step fails with 'Path Validation Error' because the pnpm store path was
never created, marking the whole job as failed.
Add a cache-pnpm input to setup-workflow-dev (default true) and opt out
in the two matrix-generation jobs.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@TooTallNate@VaguelySerious
, 'i'); if (__m === '*' || __re.test(location.href)) { 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

ci: fix VERCEL_WORKFLOW_SERVER_* env var ternary on main - #1859

Merged
TooTallNate merged 2 commits into
mainfrom
ci/fix-workflow-server-env-ternary
Apr 28, 2026
Merged

ci: fix VERCEL_WORKFLOW_SERVER_* env var ternary on main#1859
TooTallNate merged 2 commits into
mainfrom
ci/fix-workflow-server-env-ternary

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

Fixes broken e2e CI on main introduced by #1824.

In GitHub Actions expressions, empty string '' is falsy. The previous expression

${{ github.ref == 'refs/heads/main' && '' || secrets.VERCEL_WORKFLOW_SERVER_URL }}

always fell through to the secret on both branches: on main, true && '' → '', then '' || secrets.X → secrets.X. So pushes to main were sending the preview workflow-server URL/bypass values into production e2e runs, which caused world-vercel to set x-vercel-workflow-api-url: <preview-url> on calls to api.vercel.com. The API rejected those with invalid_url, cascading into ~all e2e tests failing on every push to main since #1824 merged.

Fix

Flip the condition so the secret sits in the truthy branch — || then correctly selects '' on main:

${{ github.ref != 'refs/heads/main' && secrets.VERCEL_WORKFLOW_SERVER_URL || '' }}

Notes

In GitHub Actions expressions, '' is falsy, so the original
`cond && '' || secrets.X` pattern always fell through to the secret
regardless of branch. The result was that pushes to main were sending
preview workflow-server values to production, causing 'invalid_url'
errors on `x-vercel-workflow-api-url` across all e2e jobs.
Flip the condition so the secret sits in the truthy branch and ||
correctly selects '' on main.
CopilotAI review requested due to automatic review settings April 27, 2026 23:24
@vercel

vercelBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

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

ProjectDeploymentActionsUpdated (UTC)
example-nextjs-workflow-turbopackReadyReadyPreview, CommentApr 27, 2026 11:33pm
example-nextjs-workflow-webpackReadyReadyPreview, CommentApr 27, 2026 11:33pm
example-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-astro-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-express-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-fastify-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-hono-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-nitro-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-nuxt-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-sveltekit-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workbench-vite-workflowReadyReadyPreview, CommentApr 27, 2026 11:33pm
workflow-docsReadyReadyPreview, Comment, Open in v0Apr 27, 2026 11:33pm
workflow-swc-playgroundReadyReadyPreview, CommentApr 27, 2026 11:33pm
workflow-webReadyReadyPreview, CommentApr 27, 2026 11:33pm

@changeset-bot

changeset-botBot commented Apr 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: cecd8b0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@github-actions

github-actionsBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.036s (-19.4% 🟢)1.005s (~)0.969s101.00x
💻 LocalNitro0.042s (-3.7%)1.005s (~)0.963s101.16x
💻 LocalNext.js (Turbopack)0.047s1.005s0.958s101.31x
🐘 PostgresNext.js (Turbopack)0.059s1.011s0.952s101.66x
🐘 PostgresExpress0.061s (+4.7%)1.009s (~)0.949s101.70x
🐘 PostgresNitro0.064s (-33.1% 🟢)1.009s (-3.2%)0.946s101.78x
workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express1.093s (-2.9%)2.006s (~)0.913s101.00x
💻 LocalNext.js (Turbopack)1.116s2.006s0.890s101.02x
💻 LocalNitro1.130s (~)2.005s (~)0.875s101.03x
🐘 PostgresNitro1.140s (~)2.010s (~)0.870s101.04x
🐘 PostgresNext.js (Turbopack)1.143s2.009s0.866s101.05x
🐘 PostgresExpress1.149s (~)2.011s (~)0.862s101.05x
workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express10.641s (-2.6%)11.022s (~)0.381s31.00x
💻 LocalNext.js (Turbopack)10.778s11.023s0.245s31.01x
🐘 PostgresNitro10.886s (~)11.024s (~)0.139s31.02x
🐘 PostgresNext.js (Turbopack)10.887s11.019s0.132s31.02x
🐘 PostgresExpress10.929s (~)11.026s (~)0.097s31.03x
💻 LocalNitro10.941s (~)11.024s (~)0.083s31.03x
workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express14.222s (-5.0%)15.028s (~)0.806s41.00x
🐘 PostgresNitro14.441s (-1.1%)15.021s (~)0.581s41.02x
🐘 PostgresNext.js (Turbopack)14.536s15.023s0.488s41.02x
💻 LocalNext.js (Turbopack)14.566s15.031s0.465s41.02x
🐘 PostgresExpress14.737s (+1.1%)15.272s (+1.7%)0.535s41.04x
💻 LocalNitro14.979s (-0.6%)15.280s (-4.7%)0.301s41.05x
workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)13.901s14.162s0.261s71.00x
🐘 PostgresNitro13.939s (~)14.448s (+1.0%)0.509s71.00x
🐘 PostgresExpress14.386s (+2.7%)15.024s (+3.0%)0.638s61.03x
💻 LocalExpress14.809s (-10.8% 🟢)15.027s (-11.8% 🟢)0.218s61.07x
💻 LocalNext.js (Turbopack)15.865s16.196s0.330s61.14x
💻 LocalNitro16.422s (-2.2%)17.032s (~)0.610s61.18x
Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.242s2.010s0.767s151.00x
🐘 PostgresNitro1.257s (-1.4%)2.010s (~)0.753s151.01x
🐘 PostgresExpress1.262s (~)2.010s (~)0.748s151.02x
💻 LocalExpress1.436s (-3.6%)2.005s (~)0.569s151.16x
💻 LocalNitro1.481s (-9.2% 🟢)2.005s (-3.3%)0.524s151.19x
💻 LocalNext.js (Turbopack)1.555s2.073s0.517s151.25x
Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.337s (-1.0%)3.008s (~)0.671s101.00x
🐘 PostgresNitro2.366s (+0.7%)3.009s (~)0.642s101.01x
🐘 PostgresNext.js (Turbopack)2.389s3.009s0.620s101.02x
💻 LocalExpress2.640s (-10.6% 🟢)3.008s (-12.9% 🟢)0.368s101.13x
💻 LocalNitro2.711s (-13.8% 🟢)3.008s (-22.6% 🟢)0.297s101.16x
💻 LocalNext.js (Turbopack)2.796s3.341s0.546s91.20x
Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.461s (-0.5%)4.010s (~)0.550s81.00x
🐘 PostgresExpress3.472s (~)4.013s (~)0.541s81.00x
🐘 PostgresNext.js (Turbopack)3.652s4.009s0.357s81.06x
💻 LocalNext.js (Turbopack)6.907s7.519s0.611s42.00x
💻 LocalExpress7.050s (-15.4% 🟢)7.515s (-16.7% 🟢)0.465s42.04x
💻 LocalNitro7.439s (-10.9% 🟢)8.023s (-11.1% 🟢)0.584s42.15x
Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.213s2.008s0.796s151.00x
🐘 PostgresNitro1.257s (~)2.007s (~)0.750s151.04x
🐘 PostgresExpress1.273s (+1.3%)2.008s (~)0.735s151.05x
💻 LocalExpress1.471s (-22.3% 🟢)2.005s (-15.2% 🟢)0.534s151.21x
💻 LocalNext.js (Turbopack)1.513s2.007s0.494s151.25x
💻 LocalNitro1.523s (-18.4% 🟢)2.006s (-14.3% 🟢)0.483s151.26x
Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro2.313s (-1.1%)3.010s (~)0.697s101.00x
🐘 PostgresExpress2.343s (~)3.010s (~)0.666s101.01x
🐘 PostgresNext.js (Turbopack)2.393s3.008s0.614s101.03x
💻 LocalExpress2.784s (-11.1% 🟢)3.007s (-20.1% 🟢)0.223s101.20x
💻 LocalNitro2.886s (-5.8% 🟢)3.209s (-17.4% 🟢)0.322s101.25x
💻 LocalNext.js (Turbopack)2.894s3.454s0.561s91.25x
Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.462s (-0.5%)4.011s (~)0.549s81.00x
🐘 PostgresExpress3.495s (~)4.012s (~)0.517s81.01x
🐘 PostgresNext.js (Turbopack)3.662s4.010s0.348s81.06x
💻 LocalExpress7.862s (-10.7% 🟢)8.265s (-10.9% 🟢)0.404s42.27x
💻 LocalNext.js (Turbopack)8.004s8.266s0.262s42.31x
💻 LocalNitro8.179s (-10.6% 🟢)9.024s (-10.0% 🟢)0.844s42.36x
workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.697s (-29.2% 🟢)1.021s (-5.1% 🟢)0.324s591.00x
🐘 PostgresNext.js (Turbopack)0.771s1.006s0.235s601.11x
🐘 PostgresNitro0.827s (+0.9%)1.023s (+1.6%)0.195s591.19x
🐘 PostgresExpress0.838s (~)1.006s (-1.7%)0.168s601.20x
💻 LocalNext.js (Turbopack)0.845s1.021s0.177s591.21x
💻 LocalNitro1.019s (+4.0%)1.800s (+64.5% 🔺)0.780s341.46x
workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)1.901s2.030s0.129s451.00x
🐘 PostgresNitro1.933s (~)2.150s (+2.4%)0.218s421.02x
🐘 PostgresExpress2.054s (+3.9%)2.797s (+23.9% 🔺)0.743s331.08x
💻 LocalExpress2.226s (-26.2% 🟢)3.008s (-16.1% 🟢)0.782s301.17x
💻 LocalNext.js (Turbopack)2.631s3.008s0.377s301.38x
💻 LocalNitro3.040s (~)3.729s (-0.8%)0.688s251.60x
workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Nitro3.869s (-5.7% 🟢)4.010s (-12.9% 🟢)0.141s301.00x
🐘 PostgresNext.js (Turbopack)3.997s4.251s0.254s291.03x
🐘 PostgresExpress4.077s (+2.2%)4.742s (+8.5% 🔺)0.664s261.05x
💻 LocalExpress7.256s (-21.2% 🟢)8.015s (-20.0% 🟢)0.759s151.88x
💻 LocalNext.js (Turbopack)8.342s8.874s0.532s142.16x
💻 LocalNitro9.154s (-1.6%)9.633s (-3.9%)0.479s132.37x
workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.255s1.007s0.752s601.00x
🐘 PostgresExpress0.282s (~)1.007s (~)0.726s601.10x
🐘 PostgresNitro0.284s (~)1.007s (~)0.723s601.11x
💻 LocalNext.js (Turbopack)0.529s1.004s0.475s602.08x
💻 LocalExpress0.579s (+3.3%)1.004s (~)0.425s602.27x
💻 LocalNitro0.598s (-1.1%)1.004s (-1.7%)0.406s602.34x
workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.476s1.006s0.530s901.00x
🐘 PostgresNitro0.488s (-1.6%)1.007s (~)0.518s901.02x
🐘 PostgresExpress0.505s (-1.0%)1.007s (~)0.502s901.06x
💻 LocalNitro2.358s (-7.1% 🟢)3.008s (~)0.650s304.95x
💻 LocalNext.js (Turbopack)2.453s3.008s0.555s305.15x
💻 LocalExpress2.605s (+3.7%)3.180s (+5.7% 🔺)0.575s295.47x
workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.757s1.006s0.250s1201.00x
🐘 PostgresNitro0.790s (~)1.008s (~)0.217s1201.04x
🐘 PostgresExpress0.802s (-2.0%)1.008s (-0.9%)0.206s1201.06x
💻 LocalNext.js (Turbopack)10.140s10.689s0.549s1213.40x
💻 LocalExpress10.369s (-7.3% 🟢)11.022s (-7.7% 🟢)0.652s1113.70x
💻 LocalNitro10.487s (-6.3% 🟢)11.028s (-5.5% 🟢)0.541s1113.86x
Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.140s (-29.7% 🟢)1.004s (~)0.010s (-19.0% 🟢)1.015s (~)0.875s101.00x
💻 LocalNext.js (Turbopack)0.175s1.002s0.010s1.016s0.841s101.25x
🐘 PostgresNext.js (Turbopack)0.192s1.000s0.001s1.009s0.817s101.37x
🐘 PostgresNitro0.205s (~)0.992s (-0.7%)0.002s (~)1.010s (~)0.805s101.46x
💻 LocalNitro0.206s (-3.6%)1.004s (~)0.010s (-18.4% 🟢)1.016s (~)0.810s101.47x
🐘 PostgresExpress0.214s (+4.4%)0.998s (~)0.001s (-37.5% 🟢)1.011s (~)0.797s101.53x
stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Express0.588s (-22.3% 🟢)1.012s (-1.6%)0.009s (-1.0%)1.023s (-1.6%)0.435s591.00x
🐘 PostgresNitro0.605s (-3.1%)1.023s (+1.6%)0.004s (-2.9%)1.039s (+1.6%)0.434s581.03x
🐘 PostgresExpress0.634s (+0.7%)1.022s (+1.6%)0.004s (+4.9%)1.039s (+1.6%)0.405s581.08x
🐘 PostgresNext.js (Turbopack)0.639s1.026s0.006s1.047s0.408s581.09x
💻 LocalNext.js (Turbopack)0.678s1.011s0.009s1.023s0.345s591.15x
💻 LocalNitro0.758s (-9.6% 🟢)1.012s (~)0.010s (+3.5%)1.023s (-8.3% 🟢)0.265s591.29x
10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Next.js (Turbopack)0.906s1.072s0.000s1.079s0.172s561.00x
🐘 PostgresNitro0.949s (-2.0%)1.168s (-6.4% 🟢)0.000s (-52.9% 🟢)1.184s (-5.9% 🟢)0.235s511.05x
🐘 PostgresExpress0.960s (~)1.196s (-6.4% 🟢)0.000s (-8.0% 🟢)1.208s (-7.5% 🟢)0.248s501.06x
💻 LocalExpress1.175s (-4.1%)2.018s (~)0.000s (+30.0% 🔺)2.020s (~)0.845s301.30x
💻 LocalNitro1.229s (~)2.021s (~)0.000s (+233.3% 🔺)2.023s (~)0.795s301.36x
💻 LocalNext.js (Turbopack)1.265s2.021s0.000s2.024s0.759s301.40x
fan-out fan-in 10 streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.719s (-3.0%)2.067s (-5.1% 🟢)0.000s (NaN%)2.104s (-4.3%)0.385s291.00x
🐘 PostgresNitro1.751s (-2.3%)2.140s (~)0.000s (-100.0% 🟢)2.152s (-1.0%)0.402s281.02x
🐘 PostgresNext.js (Turbopack)1.856s2.142s0.000s2.149s0.293s291.08x
💻 LocalNitro3.400s (~)4.035s (~)0.000s (-37.5% 🟢)4.037s (~)0.637s151.98x
💻 LocalExpress3.508s (+1.2%)4.031s (~)0.001s (-8.3% 🟢)4.034s (~)0.526s152.04x
💻 LocalNext.js (Turbopack)3.560s4.101s0.001s4.105s0.545s152.07x

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalExpress16/21
🐘 PostgresNext.js (Turbopack)11/21
Fastest World by Framework

Winner determined by most benchmark wins

Framework🥇 Fastest WorldWins
Express🐘 Postgres14/21
Next.js (Turbopack)🐘 Postgres17/21
Nitro🐘 Postgres19/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

@github-actions

github-actionsBot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

Some tests failed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production9780671045
❌ 💻 Local Development900248950
✅ 📦 Local Production902048950
✅ 🐘 Local Postgres902048950
✅ 🪟 Windows950095
✅ 📋 Other267018285
Total404422294275

❌ Failed Tests

💻 Local Development (2 failed)

vite-stable (2 failed):

  • error handling error propagation step errors basic step error preserves message and stack trace
  • error handling error propagation step errors cross-file step error preserves message and function names in stack

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro8807
✅ example8807
✅ express8807
✅ fastify8807
✅ hono8807
✅ nextjs-turbopack9302
✅ nextjs-webpack9302
✅ nitro8807
✅ nuxt8807
✅ sveltekit8807
✅ vite8807
❌ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
❌ vite-stable8726
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
✅ vite-stable8906
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable8906
✅ express-stable8906
✅ fastify-stable8906
✅ hono-stable8906
✅ nextjs-turbopack-stable9500
✅ nextjs-webpack-stable9500
✅ nitro-stable8906
✅ nuxt-stable8906
✅ sveltekit-stable8906
✅ vite-stable8906
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9500
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable8906
✅ e2e-local-postgres-nest-stable8906
✅ e2e-local-prod-nest-stable8906

📋 View full workflow run


Some E2E test jobs failed:

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

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

Fixes a GitHub Actions expression bug that caused main branch E2E runs to incorrectly use preview workflow-server override/bypass values, breaking world-vercel-backed E2E CI on main.

Changes:

  • Updates the GitHub Actions expression used to populate VERCEL_WORKFLOW_SERVER_URL and VERCEL_WORKFLOW_SERVER_PROTECTION_BYPASS so that main resolves to '' and non-main resolves to the corresponding secret.

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

The Get Test Matrix and Get Community Worlds Matrix jobs only run a
small Node script to emit a JSON matrix; they never run `pnpm install`.
With `cache: 'pnpm'` set on actions/setup-node, the post-job cache save
step fails with 'Path Validation Error' because the pnpm store path was
never created, marking the whole job as failed.
Add a cache-pnpm input to setup-workflow-dev (default true) and opt out
in the two matrix-generation jobs.
@TooTallNate
TooTallNate merged commit 28dc089 into mainApr 28, 2026
344 of 475 checks passed
@TooTallNate
TooTallNate deleted the ci/fix-workflow-server-env-ternary branch April 28, 2026 17:26
ijjk pushed a commit that referenced this pull request Apr 28, 2026
* ci: fix VERCEL_WORKFLOW_SERVER_* ternary so main actually unsets them
In GitHub Actions expressions, '' is falsy, so the original
`cond && '' || secrets.X` pattern always fell through to the secret
regardless of branch. The result was that pushes to main were sending
preview workflow-server values to production, causing 'invalid_url'
errors on `x-vercel-workflow-api-url` across all e2e jobs.
Flip the condition so the secret sits in the truthy branch and ||
correctly selects '' on main.
* ci: skip pnpm cache in matrix-generation jobs
The Get Test Matrix and Get Community Worlds Matrix jobs only run a
small Node script to emit a JSON matrix; they never run `pnpm install`.
With `cache: 'pnpm'` set on actions/setup-node, the post-job cache save
step fails with 'Path Validation Error' because the pnpm store path was
never created, marking the whole job as failed.
Add a cache-pnpm input to setup-workflow-dev (default true) and opt out
in the two matrix-generation jobs.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@TooTallNate@VaguelySerious