Skip to content

web: configure vercelPreset() for Vercel deployments - #1815

Merged
TooTallNate merged 5 commits into
mainfrom
web-vercel-preset
May 4, 2026
Merged

web: configure vercelPreset() for Vercel deployments#1815
TooTallNate merged 5 commits into
mainfrom
web-vercel-preset

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Adds @vercel/react-router and configures vercelPreset() in packages/web/react-router.config.ts to enhance the packages/web Vercel deployment with per-route bundle splitting, function-level configuration (memory, maxDuration, etc.), and an accurate "Deployment Summary".
  • Gates the preset on a new WORKFLOW_WEB_VERCEL_BUILD env var (set on the web Vercel project) so the standard build layout is still produced when packages/web is packed as a tarball by the docs deployment (which also sets VERCEL=1 via docs/scripts/pack.ts).
  • Migrates the existing process.env.VERCEL checks in packages/web/vite.config.ts to the same WORKFLOW_WEB_VERCEL_BUILD var, fixing a latent bug where packed tarballs from the docs deployment would have been missing build/server/index.js (breaking server.js / @workflow/web/server).

Why not just process.env.VERCEL?

The preset always enables React Router's serverBundles, which changes the server output from build/server/index.jsbuild/server/<runtime>_<hash>/index.js. That path is imported by packages/web/server.js, which is in turn consumed by packages/cli/src/lib/inspect/web.ts (await import('@workflow/web/server')) for the CLI's in-process UI server. Using VERCEL alone would break the npm tarball produced for every docs preview deployment.

Action taken

WORKFLOW_WEB_VERCEL_BUILD=1 has been set in the packages/web Vercel project's environment variables.

Verification

ScenarioEnvbuild/server/server.js
Local / npm publish(none)index.jsOK
docs tarball packVERCEL=1index.jsOK
web Vercel deployVERCEL=1 + WORKFLOW_WEB_VERCEL_BUILD=1nodejs_<hash>/index.js + .vercel/react-router-build-result.jsonn/a (preset)

Enables per-route bundle splitting, function-level configuration, and an
accurate Deployment Summary for the packages/web Vercel deployment.
Gated on WORKFLOW_WEB_VERCEL_BUILD (rather than the ambient VERCEL var)
so that the standard build layout consumed by server.js (self-hosted
deployments and the CLI's in-process server via @workflow/web/server) is
still produced when the package is packed as a tarball by the docs
Vercel deployment. Existing VERCEL-based checks in vite.config.ts have
been migrated to this same variable for consistency.
CopilotAI review requested due to automatic review settings April 21, 2026 00:37
@TooTallNate
TooTallNate requested a review from a team as a code ownerApril 21, 2026 00:37
@changeset-bot

changeset-botBot commented Apr 21, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 211e16a

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

This PR includes changesets to release 18 packages
NameType
@workflow/webPatch
@workflow/cliPatch
tarballsPatch
workflowPatch
@workflow/world-testingPatch
@workflow/aiPatch
@workflow/corePatch
@workflow/web-sharedPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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

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

@vercel

vercelBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.034s (-20.2% 🟢)1.004s (~)0.970s101.00x
💻 LocalExpress0.044s (~)1.005s (~)0.961s101.28x
💻 LocalNext.js (Turbopack)0.048s1.005s0.958s101.38x
🐘 PostgresExpress0.049s (-16.4% 🟢)1.009s (~)0.960s101.41x
🐘 PostgresNext.js (Turbopack)0.058s1.010s0.952s101.69x
🐘 PostgresNitro0.062s (-34.6% 🟢)1.010s (-3.1%)0.948s101.81x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.200s (-51.1% 🟢)1.847s (-26.4% 🟢)1.647s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.107s (-2.2%)2.005s (~)0.898s101.00x
🐘 PostgresExpress1.111s (-3.1%)2.009s (~)0.899s101.00x
💻 LocalNext.js (Turbopack)1.111s2.006s0.895s101.00x
💻 LocalExpress1.134s (+0.8%)2.006s (~)0.872s101.02x
🐘 PostgresNext.js (Turbopack)1.139s2.011s0.872s101.03x
🐘 PostgresNitro1.152s (+1.1%)2.010s (~)0.858s101.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.921s (-50.7% 🟢)3.304s (-44.1% 🟢)1.383s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.643s (-2.9%)11.021s (~)0.378s31.00x
💻 LocalNitro10.794s (-1.4%)11.022s (~)0.227s31.01x
💻 LocalNext.js (Turbopack)10.803s11.024s0.220s31.02x
🐘 PostgresNitro10.872s (~)11.020s (~)0.148s31.02x
🐘 PostgresNext.js (Turbopack)10.901s11.017s0.116s31.02x
💻 LocalExpress10.915s (~)11.023s (~)0.108s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro16.902s (-28.8% 🟢)18.490s (-26.4% 🟢)1.587s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.982s (-4.1%)14.221s (-5.3% 🟢)0.239s51.00x
💻 LocalNitro14.480s (-3.9%)15.027s (-6.3% 🟢)0.547s41.04x
🐘 PostgresNext.js (Turbopack)14.486s15.021s0.535s41.04x
🐘 PostgresNitro14.515s (-0.6%)15.023s (~)0.508s41.04x
💻 LocalNext.js (Turbopack)14.594s15.030s0.436s41.04x
💻 LocalExpress15.026s (~)15.279s (+1.7%)0.253s41.07x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro31.772s (-50.7% 🟢)33.274s (-50.1% 🟢)1.502s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express12.889s (-8.0% 🟢)13.019s (-10.8% 🟢)0.130s71.00x
🐘 PostgresNext.js (Turbopack)13.806s14.020s0.214s71.07x
🐘 PostgresNitro13.955s (~)14.592s (+2.0%)0.638s71.08x
💻 LocalNitro15.292s (-8.9% 🟢)16.028s (-5.9% 🟢)0.736s61.19x
💻 LocalNext.js (Turbopack)15.938s16.363s0.425s61.24x
💻 LocalExpress16.638s (~)17.030s (~)0.392s61.29x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro62.722s (-85.2% 🟢)63.850s (-85.0% 🟢)1.128s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.184s (-6.1% 🟢)2.008s (~)0.825s151.00x
🐘 PostgresNext.js (Turbopack)1.219s2.009s0.790s151.03x
🐘 PostgresNitro1.270s (~)2.010s (~)0.741s151.07x
💻 LocalNitro1.426s (-12.6% 🟢)2.009s (-3.1%)0.583s151.20x
💻 LocalExpress1.506s (+1.1%)2.006s (~)0.500s151.27x
💻 LocalNext.js (Turbopack)1.517s2.005s0.488s151.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.270s (-19.5% 🟢)3.421s (-20.9% 🟢)1.151s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.291s (-2.9%)3.009s (~)0.718s101.00x
🐘 PostgresNitro2.354s (~)3.009s (~)0.656s101.03x
🐘 PostgresNext.js (Turbopack)2.384s3.009s0.625s101.04x
💻 LocalNitro2.646s (-15.8% 🟢)3.009s (-22.6% 🟢)0.363s101.15x
💻 LocalNext.js (Turbopack)2.854s3.342s0.488s91.25x
💻 LocalExpress2.914s (-1.3%)3.564s (+3.2%)0.650s91.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.090s (-23.7% 🟢)4.396s (-25.8% 🟢)1.306s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.381s (-3.0%)4.008s (~)0.628s81.00x
🐘 PostgresNitro3.498s (+0.5%)4.010s (~)0.512s81.03x
🐘 PostgresNext.js (Turbopack)3.650s4.010s0.360s81.08x
💻 LocalNitro6.983s (-16.4% 🟢)7.516s (-16.7% 🟢)0.533s42.07x
💻 LocalNext.js (Turbopack)7.522s8.016s0.494s42.23x
💻 LocalExpress7.968s (-4.4%)8.522s (-5.6% 🟢)0.554s42.36x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.134s (-11.1% 🟢)5.171s (-6.6% 🟢)2.036s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.199s (-4.6%)2.007s (~)0.808s151.00x
🐘 PostgresNext.js (Turbopack)1.213s2.008s0.795s151.01x
🐘 PostgresNitro1.248s (-0.8%)2.009s (~)0.761s151.04x
💻 LocalNext.js (Turbopack)1.496s2.006s0.510s151.25x
💻 LocalExpress1.537s (-18.8% 🟢)2.005s (-15.2% 🟢)0.468s151.28x
💻 LocalNitro1.793s (-3.9%)2.390s (+2.1%)0.597s131.49x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.964s (-20.1% 🟢)3.302s (-20.8% 🟢)1.337s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.260s (-3.5%)3.007s (~)0.748s101.00x
🐘 PostgresNitro2.345s (~)3.009s (~)0.663s101.04x
🐘 PostgresNext.js (Turbopack)2.385s3.009s0.624s101.06x
💻 LocalNitro2.655s (-13.4% 🟢)3.036s (-21.9% 🟢)0.382s101.17x
💻 LocalNext.js (Turbopack)2.894s3.342s0.448s91.28x
💻 LocalExpress3.089s (-1.4%)3.760s (~)0.671s81.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.553s (-21.0% 🟢)3.962s (-22.0% 🟢)1.410s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.397s (-2.9%)4.009s (~)0.612s81.00x
🐘 PostgresNitro3.465s (~)4.010s (~)0.545s81.02x
🐘 PostgresNext.js (Turbopack)3.664s4.013s0.349s81.08x
💻 LocalNitro6.692s (-26.8% 🟢)7.226s (-27.9% 🟢)0.534s51.97x
💻 LocalNext.js (Turbopack)8.074s8.773s0.700s42.38x
💻 LocalExpress8.659s (-1.6%)9.023s (-2.7%)0.364s42.55x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.810s (-44.8% 🟢)4.495s (-34.1% 🟢)1.684s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.592s (-29.4% 🟢)1.005s (-1.7%)0.413s601.00x
🐘 PostgresNext.js (Turbopack)0.780s1.007s0.226s601.32x
🐘 PostgresNitro0.819s (~)1.006s (~)0.187s601.38x
💻 LocalNext.js (Turbopack)0.858s1.039s0.181s581.45x
💻 LocalNitro0.870s (-11.3% 🟢)1.095s (~)0.225s551.47x
💻 LocalExpress0.988s (~)1.181s (+9.8% 🔺)0.193s511.67x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro9.824s (-55.5% 🟢)11.038s (-54.1% 🟢)1.214s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.404s (-29.0% 🟢)2.007s (-11.1% 🟢)0.604s451.00x
🐘 PostgresNext.js (Turbopack)1.953s2.151s0.198s421.39x
🐘 PostgresNitro1.995s (+3.5%)2.468s (+17.5% 🔺)0.473s371.42x
💻 LocalNext.js (Turbopack)2.665s3.008s0.343s301.90x
💻 LocalNitro2.723s (-10.3% 🟢)3.074s (-18.2% 🟢)0.351s301.94x
💻 LocalExpress3.237s (+7.3% 🔺)3.884s (+8.3% 🔺)0.647s242.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro30.565s (-22.6% 🟢)32.109s (-22.2% 🟢)1.543s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.999s (-24.9% 🟢)3.305s (-24.4% 🟢)0.307s371.00x
🐘 PostgresNitro3.896s (-5.1% 🟢)4.077s (-11.5% 🟢)0.181s301.30x
🐘 PostgresNext.js (Turbopack)4.000s4.331s0.331s281.33x
💻 LocalNitro7.734s (-16.8% 🟢)8.082s (-19.3% 🟢)0.348s152.58x
💻 LocalNext.js (Turbopack)8.487s9.017s0.530s142.83x
💻 LocalExpress9.143s (-0.7%)9.787s (-2.3%)0.644s133.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro76.046s (-21.5% 🟢)77.422s (-21.3% 🟢)1.376s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.253s (-10.4% 🟢)1.024s (+1.6%)0.770s591.00x
🐘 PostgresNext.js (Turbopack)0.257s1.007s0.750s601.02x
🐘 PostgresNitro0.288s (+1.5%)1.007s (~)0.719s601.14x
💻 LocalNext.js (Turbopack)0.534s1.004s0.470s602.11x
💻 LocalExpress0.562s (~)1.004s (~)0.442s602.22x
💻 LocalNitro0.606s (~)1.028s (+0.7%)0.422s592.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.568s (-5.6% 🟢)3.009s (-10.2% 🟢)1.441s201.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.375s (-26.5% 🟢)1.005s (~)0.631s901.00x
🐘 PostgresNext.js (Turbopack)0.503s1.018s0.515s891.34x
🐘 PostgresNitro0.504s (+1.5%)1.007s (~)0.503s901.34x
💻 LocalNitro2.192s (-13.6% 🟢)2.975s (-1.1%)0.783s315.85x
💻 LocalExpress2.439s (-3.0%)3.009s (~)0.570s306.51x
💻 LocalNext.js (Turbopack)2.539s2.975s0.436s316.77x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.789s (-13.5% 🟢)4.212s (-12.6% 🟢)1.424s221.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.560s (-31.6% 🟢)1.006s (-1.1%)0.446s1201.00x
🐘 PostgresNext.js (Turbopack)0.769s1.006s0.238s1201.37x
🐘 PostgresNitro0.793s (~)1.016s (+0.9%)0.223s1191.42x
💻 LocalNitro9.165s (-18.1% 🟢)9.802s (-16.0% 🟢)0.637s1316.35x
💻 LocalNext.js (Turbopack)10.621s10.941s0.320s1118.95x
💻 LocalExpress10.804s (-3.5%)11.304s (-5.3% 🟢)0.500s1119.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro7.068s (-8.5% 🟢)8.594s (-8.6% 🟢)1.527s161.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.147s (-28.5% 🟢)1.001s (~)0.001s (-31.3% 🟢)1.009s (~)0.863s101.00x
💻 LocalNext.js (Turbopack)0.168s1.003s0.011s1.017s0.849s101.15x
💻 LocalNitro0.181s (-15.5% 🟢)1.004s (~)0.008s (-34.4% 🟢)1.014s (-0.5%)0.833s101.23x
🐘 PostgresNext.js (Turbopack)0.189s1.001s0.002s1.011s0.822s101.29x
🐘 PostgresNitro0.205s (~)0.996s (~)0.001s (-13.3% 🟢)1.010s (~)0.805s101.40x
💻 LocalExpress0.207s (+4.1%)1.004s (~)0.012s (-2.5%)1.018s (~)0.811s101.41x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.646s (-57.1% 🟢)2.960s (-43.9% 🟢)2.156s (+190.6% 🔺)5.540s (-14.5% 🟢)3.895s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.509s (-19.1% 🟢)1.006s (~)0.003s (-11.1% 🟢)1.021s (~)0.511s591.00x
🐘 PostgresNext.js (Turbopack)0.608s1.009s0.004s1.024s0.416s591.19x
🐘 PostgresNitro0.616s (-1.3%)1.005s (~)0.004s (-1.2%)1.024s (~)0.408s591.21x
💻 LocalNitro0.788s (-6.0% 🟢)1.031s (+1.9%)0.017s (+79.8% 🔺)1.144s (+2.5%)0.356s531.55x
💻 LocalNext.js (Turbopack)0.843s1.011s0.010s1.217s0.374s521.65x
💻 LocalExpress0.953s (+25.8% 🔺)1.012s (-1.7%)0.010s (+1.0%)1.228s (+18.1% 🔺)0.275s491.87x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.053s (-86.2% 🟢)5.378s (-82.5% 🟢)0.243s (+117.0% 🔺)6.008s (-81.1% 🟢)1.955s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.921s (-4.1%)1.090s (-14.7% 🟢)0.000s (-100.0% 🟢)1.098s (-16.0% 🟢)0.176s551.00x
🐘 PostgresNext.js (Turbopack)0.931s1.177s0.000s1.192s0.261s511.01x
🐘 PostgresNitro1.001s (+3.3%)1.329s (+6.5% 🔺)0.000s (+6.7% 🔺)1.342s (+6.7% 🔺)0.341s451.09x
💻 LocalNitro1.182s (-3.3%)2.016s (~)0.000s (+333.3% 🔺)2.018s (~)0.836s301.28x
💻 LocalExpress1.198s (-2.2%)2.019s (~)0.000s (-60.0% 🟢)2.021s (~)0.823s301.30x
💻 LocalNext.js (Turbopack)1.228s2.018s0.000s2.021s0.793s301.33x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.047s (~)4.375s (~)0.000s (-100.0% 🟢)4.726s (-1.7%)1.678s131.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.662s (-6.2% 🟢)2.144s (-1.5%)0.000s (+Infinity% 🔺)2.151s (-2.2%)0.489s281.00x
🐘 PostgresNitro1.728s (-3.5%)2.106s (-1.6%)0.000s (-3.4%)2.123s (-2.4%)0.395s291.04x
🐘 PostgresNext.js (Turbopack)1.824s2.107s0.000s2.114s0.290s291.10x
💻 LocalNitro2.606s (-23.1% 🟢)3.028s (-24.9% 🟢)0.001s (+21.9% 🔺)3.030s (-24.9% 🟢)0.424s201.57x
💻 LocalExpress2.854s (-17.7% 🟢)3.083s (-23.6% 🟢)0.000s (-62.5% 🟢)3.085s (-23.6% 🟢)0.230s201.72x
💻 LocalNext.js (Turbopack)2.909s3.243s0.000s3.247s0.337s191.75x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.007s (-2.1%)5.370s (~)0.000s (-66.7% 🟢)5.744s (-0.9%)1.738s111.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro16/21
🐘 PostgresExpress21/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10110671078
✅ 💻 Local Development10900861176
✅ 📦 Local Production10900861176
✅ 🐘 Local Postgres10900861176
✅ 🪟 Windows980098
✅ 📋 Other552036588
Total493103615292

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9107
✅ example9107
✅ express9107
✅ fastify9107
✅ hono9107
✅ nextjs-turbopack9602
✅ nextjs-webpack9602
✅ nitro9107
✅ nuxt9107
✅ sveltekit9107
✅ vite9107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9800
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9206
✅ e2e-local-dev-tanstack-start-stable9206
✅ e2e-local-postgres-nest-stable9206
✅ e2e-local-postgres-tanstack-start-stable9206
✅ e2e-local-prod-nest-stable9206
✅ e2e-local-prod-tanstack-start-stable9206

📋 View full workflow run

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

This PR updates @workflow/web’s build configuration to support Vercel deployments via React Router’s Vercel preset, while preserving the existing self-hosted/npm package build layout by gating the preset (and related Vite behavior) behind a new WORKFLOW_WEB_VERCEL_BUILD environment variable.

Changes:

  • Add @vercel/react-router and configure vercelPreset() in packages/web/react-router.config.ts, gated by WORKFLOW_WEB_VERCEL_BUILD.
  • Migrate packages/web/vite.config.ts Vercel checks to use WORKFLOW_WEB_VERCEL_BUILD instead of VERCEL.
  • Add a changeset and update the lockfile for the new dependency graph.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
FileDescription
pnpm-lock.yamlLocks new @vercel/react-router (and transitive deps) and updates some resolved versions.
packages/web/vite.config.tsSwitches Vercel-specific build/external behavior to a dedicated env-gated flag.
packages/web/react-router.config.tsAdds Vercel preset configuration, gated to avoid breaking server.js self-hosted layout.
packages/web/package.jsonAdds @vercel/react-router to devDependencies.
.changeset/web-vercel-preset.mdDocuments the change and the new env flag for release notes.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

Comment threadpackages/web/vite.config.ts Outdated
Comment threadpackages/web/react-router.config.ts Outdated
Comment thread.changeset/web-vercel-preset.md Outdated
Turborepo strips environment variables not declared in turbo.json, which
prevented WORKFLOW_WEB_VERCEL_BUILD (set on the Vercel project) from
reaching the build. Declare it in the env list and also include the
.vercel/ directory (where the preset writes react-router-build-result.json)
in the build outputs.
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Addednpm/​@​vercel/​react-router@​1.2.6981006789100

View full report

@TooTallNate
TooTallNate merged commit 45d1eb2 into mainMay 4, 2026
349 of 368 checks passed
@TooTallNate
TooTallNate deleted the web-vercel-preset branch May 4, 2026 10:04
@github-actionsgithub-actionsBot mentioned this pull request May 4, 2026
pranaygp added a commit that referenced this pull request May 4, 2026
…ovements
* origin/main:
web: configure vercelPreset() for Vercel deployments (#1815)
[core] Combine flow+step bundle and process steps eagerly (#1338)
[world-vercel] Revert stream close control framing (#1891)
[tarballs] Use turbo to build workspace deps before packing (#1908)
# Conflicts:
#	tarballs/vercel.json
pranaygp added a commit that referenced this pull request May 5, 2026
…ignal
* origin/main:
[core] Skip inline step execution when suspension also has a wait (#1924)
[errors] Replace chalk import in @workfow/errors with inline ANSI shim (#1915)
Fix compatibility with Zod 4.4.x (#1902)
Serialize `run_failed`/`step_failed` errors through serialization pipeline (#1851)
tarballs: redesign preview tarballs index page (#1911)
Remove extra changeset (#1922)
Add stable Next.js eager and lazy test coverage (#1747)
Enforce per-(run, correlation) uniqueness for entity-creating events in world-postgres (#1878)
fix(world-vercel): add default request timeout to workflow-server HTTP calls (#1807)
Allow disabling step sourcemap with new `sourcemap` option in builders (#1842)
[ci] Enable Vercel-prod e2e for tanstack-start (#1904)
web: configure vercelPreset() for Vercel deployments (#1815)
[core] Combine flow+step bundle and process steps eagerly (#1338)
[world-vercel] Revert stream close control framing (#1891)
[tarballs] Use turbo to build workspace deps before packing (#1908)
# Conflicts:
#	packages/core/src/runtime/step-handler.test.ts
#	packages/core/src/runtime/step-handler.ts
#	packages/core/src/runtime/suspension-handler.ts
#	packages/core/src/step.test.ts
#	packages/world-local/src/storage/events-storage.ts
#	packages/world-postgres/src/drizzle/migrations/meta/_journal.json
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)) { // Add copy buttons to all
 blocks
(function() {
function addCopyButtons() {
document.querySelectorAll('pre code').forEach(function(codeBlock) {
if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;
codeBlock.parentElement.setAttribute('data-copy-added', 'true');
var btn = document.createElement('button');
btn.textContent = 'Copy';
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;';
btn.onmouseover = function() { this.style.opacity = '1'; };
btn.onmouseout = function() { this.style.opacity = '0.7'; };
btn.onclick = function() {
navigator.clipboard.writeText(codeBlock.textContent).then(function() {
btn.textContent = 'Copied!';
setTimeout(function() { btn.textContent = 'Copy'; }, 1500);
});
};
codeBlock.parentElement.style.position = 'relative';
codeBlock.parentElement.appendChild(btn);
});
}
addCopyButtons();
// Re-run on dynamic content
var observer = new MutationObserver(addCopyButtons);
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
web: configure vercelPreset() for Vercel deployments by TooTallNate · Pull Request #1815 · vercel/workflow · GitHub
Skip to content

web: configure vercelPreset() for Vercel deployments - #1815

Merged
TooTallNate merged 5 commits into
mainfrom
web-vercel-preset
May 4, 2026
Merged

web: configure vercelPreset() for Vercel deployments#1815
TooTallNate merged 5 commits into
mainfrom
web-vercel-preset

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Adds @vercel/react-router and configures vercelPreset() in packages/web/react-router.config.ts to enhance the packages/web Vercel deployment with per-route bundle splitting, function-level configuration (memory, maxDuration, etc.), and an accurate "Deployment Summary".
  • Gates the preset on a new WORKFLOW_WEB_VERCEL_BUILD env var (set on the web Vercel project) so the standard build layout is still produced when packages/web is packed as a tarball by the docs deployment (which also sets VERCEL=1 via docs/scripts/pack.ts).
  • Migrates the existing process.env.VERCEL checks in packages/web/vite.config.ts to the same WORKFLOW_WEB_VERCEL_BUILD var, fixing a latent bug where packed tarballs from the docs deployment would have been missing build/server/index.js (breaking server.js / @workflow/web/server).

Why not just process.env.VERCEL?

The preset always enables React Router's serverBundles, which changes the server output from build/server/index.jsbuild/server/<runtime>_<hash>/index.js. That path is imported by packages/web/server.js, which is in turn consumed by packages/cli/src/lib/inspect/web.ts (await import('@workflow/web/server')) for the CLI's in-process UI server. Using VERCEL alone would break the npm tarball produced for every docs preview deployment.

Action taken

WORKFLOW_WEB_VERCEL_BUILD=1 has been set in the packages/web Vercel project's environment variables.

Verification

ScenarioEnvbuild/server/server.js
Local / npm publish(none)index.jsOK
docs tarball packVERCEL=1index.jsOK
web Vercel deployVERCEL=1 + WORKFLOW_WEB_VERCEL_BUILD=1nodejs_<hash>/index.js + .vercel/react-router-build-result.jsonn/a (preset)

Enables per-route bundle splitting, function-level configuration, and an
accurate Deployment Summary for the packages/web Vercel deployment.
Gated on WORKFLOW_WEB_VERCEL_BUILD (rather than the ambient VERCEL var)
so that the standard build layout consumed by server.js (self-hosted
deployments and the CLI's in-process server via @workflow/web/server) is
still produced when the package is packed as a tarball by the docs
Vercel deployment. Existing VERCEL-based checks in vite.config.ts have
been migrated to this same variable for consistency.
CopilotAI review requested due to automatic review settings April 21, 2026 00:37
@TooTallNate
TooTallNate requested a review from a team as a code ownerApril 21, 2026 00:37
@changeset-bot

changeset-botBot commented Apr 21, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 211e16a

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

This PR includes changesets to release 18 packages
NameType
@workflow/webPatch
@workflow/cliPatch
tarballsPatch
workflowPatch
@workflow/world-testingPatch
@workflow/aiPatch
@workflow/corePatch
@workflow/web-sharedPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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

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

@vercel

vercelBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.034s (-20.2% 🟢)1.004s (~)0.970s101.00x
💻 LocalExpress0.044s (~)1.005s (~)0.961s101.28x
💻 LocalNext.js (Turbopack)0.048s1.005s0.958s101.38x
🐘 PostgresExpress0.049s (-16.4% 🟢)1.009s (~)0.960s101.41x
🐘 PostgresNext.js (Turbopack)0.058s1.010s0.952s101.69x
🐘 PostgresNitro0.062s (-34.6% 🟢)1.010s (-3.1%)0.948s101.81x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.200s (-51.1% 🟢)1.847s (-26.4% 🟢)1.647s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.107s (-2.2%)2.005s (~)0.898s101.00x
🐘 PostgresExpress1.111s (-3.1%)2.009s (~)0.899s101.00x
💻 LocalNext.js (Turbopack)1.111s2.006s0.895s101.00x
💻 LocalExpress1.134s (+0.8%)2.006s (~)0.872s101.02x
🐘 PostgresNext.js (Turbopack)1.139s2.011s0.872s101.03x
🐘 PostgresNitro1.152s (+1.1%)2.010s (~)0.858s101.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.921s (-50.7% 🟢)3.304s (-44.1% 🟢)1.383s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.643s (-2.9%)11.021s (~)0.378s31.00x
💻 LocalNitro10.794s (-1.4%)11.022s (~)0.227s31.01x
💻 LocalNext.js (Turbopack)10.803s11.024s0.220s31.02x
🐘 PostgresNitro10.872s (~)11.020s (~)0.148s31.02x
🐘 PostgresNext.js (Turbopack)10.901s11.017s0.116s31.02x
💻 LocalExpress10.915s (~)11.023s (~)0.108s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro16.902s (-28.8% 🟢)18.490s (-26.4% 🟢)1.587s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.982s (-4.1%)14.221s (-5.3% 🟢)0.239s51.00x
💻 LocalNitro14.480s (-3.9%)15.027s (-6.3% 🟢)0.547s41.04x
🐘 PostgresNext.js (Turbopack)14.486s15.021s0.535s41.04x
🐘 PostgresNitro14.515s (-0.6%)15.023s (~)0.508s41.04x
💻 LocalNext.js (Turbopack)14.594s15.030s0.436s41.04x
💻 LocalExpress15.026s (~)15.279s (+1.7%)0.253s41.07x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro31.772s (-50.7% 🟢)33.274s (-50.1% 🟢)1.502s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express12.889s (-8.0% 🟢)13.019s (-10.8% 🟢)0.130s71.00x
🐘 PostgresNext.js (Turbopack)13.806s14.020s0.214s71.07x
🐘 PostgresNitro13.955s (~)14.592s (+2.0%)0.638s71.08x
💻 LocalNitro15.292s (-8.9% 🟢)16.028s (-5.9% 🟢)0.736s61.19x
💻 LocalNext.js (Turbopack)15.938s16.363s0.425s61.24x
💻 LocalExpress16.638s (~)17.030s (~)0.392s61.29x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro62.722s (-85.2% 🟢)63.850s (-85.0% 🟢)1.128s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.184s (-6.1% 🟢)2.008s (~)0.825s151.00x
🐘 PostgresNext.js (Turbopack)1.219s2.009s0.790s151.03x
🐘 PostgresNitro1.270s (~)2.010s (~)0.741s151.07x
💻 LocalNitro1.426s (-12.6% 🟢)2.009s (-3.1%)0.583s151.20x
💻 LocalExpress1.506s (+1.1%)2.006s (~)0.500s151.27x
💻 LocalNext.js (Turbopack)1.517s2.005s0.488s151.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.270s (-19.5% 🟢)3.421s (-20.9% 🟢)1.151s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.291s (-2.9%)3.009s (~)0.718s101.00x
🐘 PostgresNitro2.354s (~)3.009s (~)0.656s101.03x
🐘 PostgresNext.js (Turbopack)2.384s3.009s0.625s101.04x
💻 LocalNitro2.646s (-15.8% 🟢)3.009s (-22.6% 🟢)0.363s101.15x
💻 LocalNext.js (Turbopack)2.854s3.342s0.488s91.25x
💻 LocalExpress2.914s (-1.3%)3.564s (+3.2%)0.650s91.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.090s (-23.7% 🟢)4.396s (-25.8% 🟢)1.306s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.381s (-3.0%)4.008s (~)0.628s81.00x
🐘 PostgresNitro3.498s (+0.5%)4.010s (~)0.512s81.03x
🐘 PostgresNext.js (Turbopack)3.650s4.010s0.360s81.08x
💻 LocalNitro6.983s (-16.4% 🟢)7.516s (-16.7% 🟢)0.533s42.07x
💻 LocalNext.js (Turbopack)7.522s8.016s0.494s42.23x
💻 LocalExpress7.968s (-4.4%)8.522s (-5.6% 🟢)0.554s42.36x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.134s (-11.1% 🟢)5.171s (-6.6% 🟢)2.036s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.199s (-4.6%)2.007s (~)0.808s151.00x
🐘 PostgresNext.js (Turbopack)1.213s2.008s0.795s151.01x
🐘 PostgresNitro1.248s (-0.8%)2.009s (~)0.761s151.04x
💻 LocalNext.js (Turbopack)1.496s2.006s0.510s151.25x
💻 LocalExpress1.537s (-18.8% 🟢)2.005s (-15.2% 🟢)0.468s151.28x
💻 LocalNitro1.793s (-3.9%)2.390s (+2.1%)0.597s131.49x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.964s (-20.1% 🟢)3.302s (-20.8% 🟢)1.337s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.260s (-3.5%)3.007s (~)0.748s101.00x
🐘 PostgresNitro2.345s (~)3.009s (~)0.663s101.04x
🐘 PostgresNext.js (Turbopack)2.385s3.009s0.624s101.06x
💻 LocalNitro2.655s (-13.4% 🟢)3.036s (-21.9% 🟢)0.382s101.17x
💻 LocalNext.js (Turbopack)2.894s3.342s0.448s91.28x
💻 LocalExpress3.089s (-1.4%)3.760s (~)0.671s81.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.553s (-21.0% 🟢)3.962s (-22.0% 🟢)1.410s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.397s (-2.9%)4.009s (~)0.612s81.00x
🐘 PostgresNitro3.465s (~)4.010s (~)0.545s81.02x
🐘 PostgresNext.js (Turbopack)3.664s4.013s0.349s81.08x
💻 LocalNitro6.692s (-26.8% 🟢)7.226s (-27.9% 🟢)0.534s51.97x
💻 LocalNext.js (Turbopack)8.074s8.773s0.700s42.38x
💻 LocalExpress8.659s (-1.6%)9.023s (-2.7%)0.364s42.55x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.810s (-44.8% 🟢)4.495s (-34.1% 🟢)1.684s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.592s (-29.4% 🟢)1.005s (-1.7%)0.413s601.00x
🐘 PostgresNext.js (Turbopack)0.780s1.007s0.226s601.32x
🐘 PostgresNitro0.819s (~)1.006s (~)0.187s601.38x
💻 LocalNext.js (Turbopack)0.858s1.039s0.181s581.45x
💻 LocalNitro0.870s (-11.3% 🟢)1.095s (~)0.225s551.47x
💻 LocalExpress0.988s (~)1.181s (+9.8% 🔺)0.193s511.67x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro9.824s (-55.5% 🟢)11.038s (-54.1% 🟢)1.214s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.404s (-29.0% 🟢)2.007s (-11.1% 🟢)0.604s451.00x
🐘 PostgresNext.js (Turbopack)1.953s2.151s0.198s421.39x
🐘 PostgresNitro1.995s (+3.5%)2.468s (+17.5% 🔺)0.473s371.42x
💻 LocalNext.js (Turbopack)2.665s3.008s0.343s301.90x
💻 LocalNitro2.723s (-10.3% 🟢)3.074s (-18.2% 🟢)0.351s301.94x
💻 LocalExpress3.237s (+7.3% 🔺)3.884s (+8.3% 🔺)0.647s242.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro30.565s (-22.6% 🟢)32.109s (-22.2% 🟢)1.543s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.999s (-24.9% 🟢)3.305s (-24.4% 🟢)0.307s371.00x
🐘 PostgresNitro3.896s (-5.1% 🟢)4.077s (-11.5% 🟢)0.181s301.30x
🐘 PostgresNext.js (Turbopack)4.000s4.331s0.331s281.33x
💻 LocalNitro7.734s (-16.8% 🟢)8.082s (-19.3% 🟢)0.348s152.58x
💻 LocalNext.js (Turbopack)8.487s9.017s0.530s142.83x
💻 LocalExpress9.143s (-0.7%)9.787s (-2.3%)0.644s133.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro76.046s (-21.5% 🟢)77.422s (-21.3% 🟢)1.376s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.253s (-10.4% 🟢)1.024s (+1.6%)0.770s591.00x
🐘 PostgresNext.js (Turbopack)0.257s1.007s0.750s601.02x
🐘 PostgresNitro0.288s (+1.5%)1.007s (~)0.719s601.14x
💻 LocalNext.js (Turbopack)0.534s1.004s0.470s602.11x
💻 LocalExpress0.562s (~)1.004s (~)0.442s602.22x
💻 LocalNitro0.606s (~)1.028s (+0.7%)0.422s592.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.568s (-5.6% 🟢)3.009s (-10.2% 🟢)1.441s201.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.375s (-26.5% 🟢)1.005s (~)0.631s901.00x
🐘 PostgresNext.js (Turbopack)0.503s1.018s0.515s891.34x
🐘 PostgresNitro0.504s (+1.5%)1.007s (~)0.503s901.34x
💻 LocalNitro2.192s (-13.6% 🟢)2.975s (-1.1%)0.783s315.85x
💻 LocalExpress2.439s (-3.0%)3.009s (~)0.570s306.51x
💻 LocalNext.js (Turbopack)2.539s2.975s0.436s316.77x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.789s (-13.5% 🟢)4.212s (-12.6% 🟢)1.424s221.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.560s (-31.6% 🟢)1.006s (-1.1%)0.446s1201.00x
🐘 PostgresNext.js (Turbopack)0.769s1.006s0.238s1201.37x
🐘 PostgresNitro0.793s (~)1.016s (+0.9%)0.223s1191.42x
💻 LocalNitro9.165s (-18.1% 🟢)9.802s (-16.0% 🟢)0.637s1316.35x
💻 LocalNext.js (Turbopack)10.621s10.941s0.320s1118.95x
💻 LocalExpress10.804s (-3.5%)11.304s (-5.3% 🟢)0.500s1119.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro7.068s (-8.5% 🟢)8.594s (-8.6% 🟢)1.527s161.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.147s (-28.5% 🟢)1.001s (~)0.001s (-31.3% 🟢)1.009s (~)0.863s101.00x
💻 LocalNext.js (Turbopack)0.168s1.003s0.011s1.017s0.849s101.15x
💻 LocalNitro0.181s (-15.5% 🟢)1.004s (~)0.008s (-34.4% 🟢)1.014s (-0.5%)0.833s101.23x
🐘 PostgresNext.js (Turbopack)0.189s1.001s0.002s1.011s0.822s101.29x
🐘 PostgresNitro0.205s (~)0.996s (~)0.001s (-13.3% 🟢)1.010s (~)0.805s101.40x
💻 LocalExpress0.207s (+4.1%)1.004s (~)0.012s (-2.5%)1.018s (~)0.811s101.41x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.646s (-57.1% 🟢)2.960s (-43.9% 🟢)2.156s (+190.6% 🔺)5.540s (-14.5% 🟢)3.895s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.509s (-19.1% 🟢)1.006s (~)0.003s (-11.1% 🟢)1.021s (~)0.511s591.00x
🐘 PostgresNext.js (Turbopack)0.608s1.009s0.004s1.024s0.416s591.19x
🐘 PostgresNitro0.616s (-1.3%)1.005s (~)0.004s (-1.2%)1.024s (~)0.408s591.21x
💻 LocalNitro0.788s (-6.0% 🟢)1.031s (+1.9%)0.017s (+79.8% 🔺)1.144s (+2.5%)0.356s531.55x
💻 LocalNext.js (Turbopack)0.843s1.011s0.010s1.217s0.374s521.65x
💻 LocalExpress0.953s (+25.8% 🔺)1.012s (-1.7%)0.010s (+1.0%)1.228s (+18.1% 🔺)0.275s491.87x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.053s (-86.2% 🟢)5.378s (-82.5% 🟢)0.243s (+117.0% 🔺)6.008s (-81.1% 🟢)1.955s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.921s (-4.1%)1.090s (-14.7% 🟢)0.000s (-100.0% 🟢)1.098s (-16.0% 🟢)0.176s551.00x
🐘 PostgresNext.js (Turbopack)0.931s1.177s0.000s1.192s0.261s511.01x
🐘 PostgresNitro1.001s (+3.3%)1.329s (+6.5% 🔺)0.000s (+6.7% 🔺)1.342s (+6.7% 🔺)0.341s451.09x
💻 LocalNitro1.182s (-3.3%)2.016s (~)0.000s (+333.3% 🔺)2.018s (~)0.836s301.28x
💻 LocalExpress1.198s (-2.2%)2.019s (~)0.000s (-60.0% 🟢)2.021s (~)0.823s301.30x
💻 LocalNext.js (Turbopack)1.228s2.018s0.000s2.021s0.793s301.33x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.047s (~)4.375s (~)0.000s (-100.0% 🟢)4.726s (-1.7%)1.678s131.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.662s (-6.2% 🟢)2.144s (-1.5%)0.000s (+Infinity% 🔺)2.151s (-2.2%)0.489s281.00x
🐘 PostgresNitro1.728s (-3.5%)2.106s (-1.6%)0.000s (-3.4%)2.123s (-2.4%)0.395s291.04x
🐘 PostgresNext.js (Turbopack)1.824s2.107s0.000s2.114s0.290s291.10x
💻 LocalNitro2.606s (-23.1% 🟢)3.028s (-24.9% 🟢)0.001s (+21.9% 🔺)3.030s (-24.9% 🟢)0.424s201.57x
💻 LocalExpress2.854s (-17.7% 🟢)3.083s (-23.6% 🟢)0.000s (-62.5% 🟢)3.085s (-23.6% 🟢)0.230s201.72x
💻 LocalNext.js (Turbopack)2.909s3.243s0.000s3.247s0.337s191.75x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.007s (-2.1%)5.370s (~)0.000s (-66.7% 🟢)5.744s (-0.9%)1.738s111.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro16/21
🐘 PostgresExpress21/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10110671078
✅ 💻 Local Development10900861176
✅ 📦 Local Production10900861176
✅ 🐘 Local Postgres10900861176
✅ 🪟 Windows980098
✅ 📋 Other552036588
Total493103615292

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9107
✅ example9107
✅ express9107
✅ fastify9107
✅ hono9107
✅ nextjs-turbopack9602
✅ nextjs-webpack9602
✅ nitro9107
✅ nuxt9107
✅ sveltekit9107
✅ vite9107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9800
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9206
✅ e2e-local-dev-tanstack-start-stable9206
✅ e2e-local-postgres-nest-stable9206
✅ e2e-local-postgres-tanstack-start-stable9206
✅ e2e-local-prod-nest-stable9206
✅ e2e-local-prod-tanstack-start-stable9206

📋 View full workflow run

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

This PR updates @workflow/web’s build configuration to support Vercel deployments via React Router’s Vercel preset, while preserving the existing self-hosted/npm package build layout by gating the preset (and related Vite behavior) behind a new WORKFLOW_WEB_VERCEL_BUILD environment variable.

Changes:

  • Add @vercel/react-router and configure vercelPreset() in packages/web/react-router.config.ts, gated by WORKFLOW_WEB_VERCEL_BUILD.
  • Migrate packages/web/vite.config.ts Vercel checks to use WORKFLOW_WEB_VERCEL_BUILD instead of VERCEL.
  • Add a changeset and update the lockfile for the new dependency graph.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
FileDescription
pnpm-lock.yamlLocks new @vercel/react-router (and transitive deps) and updates some resolved versions.
packages/web/vite.config.tsSwitches Vercel-specific build/external behavior to a dedicated env-gated flag.
packages/web/react-router.config.tsAdds Vercel preset configuration, gated to avoid breaking server.js self-hosted layout.
packages/web/package.jsonAdds @vercel/react-router to devDependencies.
.changeset/web-vercel-preset.mdDocuments the change and the new env flag for release notes.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

Comment threadpackages/web/vite.config.ts Outdated
Comment threadpackages/web/react-router.config.ts Outdated
Comment thread.changeset/web-vercel-preset.md Outdated
Turborepo strips environment variables not declared in turbo.json, which
prevented WORKFLOW_WEB_VERCEL_BUILD (set on the Vercel project) from
reaching the build. Declare it in the env list and also include the
.vercel/ directory (where the preset writes react-router-build-result.json)
in the build outputs.
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Addednpm/​@​vercel/​react-router@​1.2.6981006789100

View full report

@TooTallNate
TooTallNate merged commit 45d1eb2 into mainMay 4, 2026
349 of 368 checks passed
@TooTallNate
TooTallNate deleted the web-vercel-preset branch May 4, 2026 10:04
@github-actionsgithub-actionsBot mentioned this pull request May 4, 2026
pranaygp added a commit that referenced this pull request May 4, 2026
…ovements
* origin/main:
web: configure vercelPreset() for Vercel deployments (#1815)
[core] Combine flow+step bundle and process steps eagerly (#1338)
[world-vercel] Revert stream close control framing (#1891)
[tarballs] Use turbo to build workspace deps before packing (#1908)
# Conflicts:
#	tarballs/vercel.json
pranaygp added a commit that referenced this pull request May 5, 2026
…ignal
* origin/main:
[core] Skip inline step execution when suspension also has a wait (#1924)
[errors] Replace chalk import in @workfow/errors with inline ANSI shim (#1915)
Fix compatibility with Zod 4.4.x (#1902)
Serialize `run_failed`/`step_failed` errors through serialization pipeline (#1851)
tarballs: redesign preview tarballs index page (#1911)
Remove extra changeset (#1922)
Add stable Next.js eager and lazy test coverage (#1747)
Enforce per-(run, correlation) uniqueness for entity-creating events in world-postgres (#1878)
fix(world-vercel): add default request timeout to workflow-server HTTP calls (#1807)
Allow disabling step sourcemap with new `sourcemap` option in builders (#1842)
[ci] Enable Vercel-prod e2e for tanstack-start (#1904)
web: configure vercelPreset() for Vercel deployments (#1815)
[core] Combine flow+step bundle and process steps eagerly (#1338)
[world-vercel] Revert stream close control framing (#1891)
[tarballs] Use turbo to build workspace deps before packing (#1908)
# Conflicts:
#	packages/core/src/runtime/step-handler.test.ts
#	packages/core/src/runtime/step-handler.ts
#	packages/core/src/runtime/suspension-handler.ts
#	packages/core/src/step.test.ts
#	packages/world-local/src/storage/events-storage.ts
#	packages/world-postgres/src/drizzle/migrations/meta/_journal.json
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)) { // Force GitHub README to respect dark mode (function() { var style = document.createElement('style'); style.textContent = ' .markdown-body { color-scheme: dark light; } .markdown-body pre { background: #161b22 !important; } .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; } .markdown-body table th, .markdown-body table td { border-color: #30363d !important; } .markdown-body img { background: #0d1117; } .markdown-body blockquote { border-left-color: #8b949e; } .markdown-body hr { border-color: #30363d; } '; document.head.appendChild(style); })(); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' web: configure vercelPreset() for Vercel deployments by TooTallNate · Pull Request #1815 · vercel/workflow · GitHub
Skip to content

web: configure vercelPreset() for Vercel deployments - #1815

Merged
TooTallNate merged 5 commits into
mainfrom
web-vercel-preset
May 4, 2026
Merged

web: configure vercelPreset() for Vercel deployments#1815
TooTallNate merged 5 commits into
mainfrom
web-vercel-preset

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Adds @vercel/react-router and configures vercelPreset() in packages/web/react-router.config.ts to enhance the packages/web Vercel deployment with per-route bundle splitting, function-level configuration (memory, maxDuration, etc.), and an accurate "Deployment Summary".
  • Gates the preset on a new WORKFLOW_WEB_VERCEL_BUILD env var (set on the web Vercel project) so the standard build layout is still produced when packages/web is packed as a tarball by the docs deployment (which also sets VERCEL=1 via docs/scripts/pack.ts).
  • Migrates the existing process.env.VERCEL checks in packages/web/vite.config.ts to the same WORKFLOW_WEB_VERCEL_BUILD var, fixing a latent bug where packed tarballs from the docs deployment would have been missing build/server/index.js (breaking server.js / @workflow/web/server).

Why not just process.env.VERCEL?

The preset always enables React Router's serverBundles, which changes the server output from build/server/index.jsbuild/server/<runtime>_<hash>/index.js. That path is imported by packages/web/server.js, which is in turn consumed by packages/cli/src/lib/inspect/web.ts (await import('@workflow/web/server')) for the CLI's in-process UI server. Using VERCEL alone would break the npm tarball produced for every docs preview deployment.

Action taken

WORKFLOW_WEB_VERCEL_BUILD=1 has been set in the packages/web Vercel project's environment variables.

Verification

ScenarioEnvbuild/server/server.js
Local / npm publish(none)index.jsOK
docs tarball packVERCEL=1index.jsOK
web Vercel deployVERCEL=1 + WORKFLOW_WEB_VERCEL_BUILD=1nodejs_<hash>/index.js + .vercel/react-router-build-result.jsonn/a (preset)

Enables per-route bundle splitting, function-level configuration, and an
accurate Deployment Summary for the packages/web Vercel deployment.
Gated on WORKFLOW_WEB_VERCEL_BUILD (rather than the ambient VERCEL var)
so that the standard build layout consumed by server.js (self-hosted
deployments and the CLI's in-process server via @workflow/web/server) is
still produced when the package is packed as a tarball by the docs
Vercel deployment. Existing VERCEL-based checks in vite.config.ts have
been migrated to this same variable for consistency.
CopilotAI review requested due to automatic review settings April 21, 2026 00:37
@TooTallNate
TooTallNate requested a review from a team as a code ownerApril 21, 2026 00:37
@changeset-bot

changeset-botBot commented Apr 21, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 211e16a

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

This PR includes changesets to release 18 packages
NameType
@workflow/webPatch
@workflow/cliPatch
tarballsPatch
workflowPatch
@workflow/world-testingPatch
@workflow/aiPatch
@workflow/corePatch
@workflow/web-sharedPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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

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

@vercel

vercelBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.034s (-20.2% 🟢)1.004s (~)0.970s101.00x
💻 LocalExpress0.044s (~)1.005s (~)0.961s101.28x
💻 LocalNext.js (Turbopack)0.048s1.005s0.958s101.38x
🐘 PostgresExpress0.049s (-16.4% 🟢)1.009s (~)0.960s101.41x
🐘 PostgresNext.js (Turbopack)0.058s1.010s0.952s101.69x
🐘 PostgresNitro0.062s (-34.6% 🟢)1.010s (-3.1%)0.948s101.81x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.200s (-51.1% 🟢)1.847s (-26.4% 🟢)1.647s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.107s (-2.2%)2.005s (~)0.898s101.00x
🐘 PostgresExpress1.111s (-3.1%)2.009s (~)0.899s101.00x
💻 LocalNext.js (Turbopack)1.111s2.006s0.895s101.00x
💻 LocalExpress1.134s (+0.8%)2.006s (~)0.872s101.02x
🐘 PostgresNext.js (Turbopack)1.139s2.011s0.872s101.03x
🐘 PostgresNitro1.152s (+1.1%)2.010s (~)0.858s101.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.921s (-50.7% 🟢)3.304s (-44.1% 🟢)1.383s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.643s (-2.9%)11.021s (~)0.378s31.00x
💻 LocalNitro10.794s (-1.4%)11.022s (~)0.227s31.01x
💻 LocalNext.js (Turbopack)10.803s11.024s0.220s31.02x
🐘 PostgresNitro10.872s (~)11.020s (~)0.148s31.02x
🐘 PostgresNext.js (Turbopack)10.901s11.017s0.116s31.02x
💻 LocalExpress10.915s (~)11.023s (~)0.108s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro16.902s (-28.8% 🟢)18.490s (-26.4% 🟢)1.587s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.982s (-4.1%)14.221s (-5.3% 🟢)0.239s51.00x
💻 LocalNitro14.480s (-3.9%)15.027s (-6.3% 🟢)0.547s41.04x
🐘 PostgresNext.js (Turbopack)14.486s15.021s0.535s41.04x
🐘 PostgresNitro14.515s (-0.6%)15.023s (~)0.508s41.04x
💻 LocalNext.js (Turbopack)14.594s15.030s0.436s41.04x
💻 LocalExpress15.026s (~)15.279s (+1.7%)0.253s41.07x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro31.772s (-50.7% 🟢)33.274s (-50.1% 🟢)1.502s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express12.889s (-8.0% 🟢)13.019s (-10.8% 🟢)0.130s71.00x
🐘 PostgresNext.js (Turbopack)13.806s14.020s0.214s71.07x
🐘 PostgresNitro13.955s (~)14.592s (+2.0%)0.638s71.08x
💻 LocalNitro15.292s (-8.9% 🟢)16.028s (-5.9% 🟢)0.736s61.19x
💻 LocalNext.js (Turbopack)15.938s16.363s0.425s61.24x
💻 LocalExpress16.638s (~)17.030s (~)0.392s61.29x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro62.722s (-85.2% 🟢)63.850s (-85.0% 🟢)1.128s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.184s (-6.1% 🟢)2.008s (~)0.825s151.00x
🐘 PostgresNext.js (Turbopack)1.219s2.009s0.790s151.03x
🐘 PostgresNitro1.270s (~)2.010s (~)0.741s151.07x
💻 LocalNitro1.426s (-12.6% 🟢)2.009s (-3.1%)0.583s151.20x
💻 LocalExpress1.506s (+1.1%)2.006s (~)0.500s151.27x
💻 LocalNext.js (Turbopack)1.517s2.005s0.488s151.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.270s (-19.5% 🟢)3.421s (-20.9% 🟢)1.151s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.291s (-2.9%)3.009s (~)0.718s101.00x
🐘 PostgresNitro2.354s (~)3.009s (~)0.656s101.03x
🐘 PostgresNext.js (Turbopack)2.384s3.009s0.625s101.04x
💻 LocalNitro2.646s (-15.8% 🟢)3.009s (-22.6% 🟢)0.363s101.15x
💻 LocalNext.js (Turbopack)2.854s3.342s0.488s91.25x
💻 LocalExpress2.914s (-1.3%)3.564s (+3.2%)0.650s91.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.090s (-23.7% 🟢)4.396s (-25.8% 🟢)1.306s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.381s (-3.0%)4.008s (~)0.628s81.00x
🐘 PostgresNitro3.498s (+0.5%)4.010s (~)0.512s81.03x
🐘 PostgresNext.js (Turbopack)3.650s4.010s0.360s81.08x
💻 LocalNitro6.983s (-16.4% 🟢)7.516s (-16.7% 🟢)0.533s42.07x
💻 LocalNext.js (Turbopack)7.522s8.016s0.494s42.23x
💻 LocalExpress7.968s (-4.4%)8.522s (-5.6% 🟢)0.554s42.36x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.134s (-11.1% 🟢)5.171s (-6.6% 🟢)2.036s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.199s (-4.6%)2.007s (~)0.808s151.00x
🐘 PostgresNext.js (Turbopack)1.213s2.008s0.795s151.01x
🐘 PostgresNitro1.248s (-0.8%)2.009s (~)0.761s151.04x
💻 LocalNext.js (Turbopack)1.496s2.006s0.510s151.25x
💻 LocalExpress1.537s (-18.8% 🟢)2.005s (-15.2% 🟢)0.468s151.28x
💻 LocalNitro1.793s (-3.9%)2.390s (+2.1%)0.597s131.49x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.964s (-20.1% 🟢)3.302s (-20.8% 🟢)1.337s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.260s (-3.5%)3.007s (~)0.748s101.00x
🐘 PostgresNitro2.345s (~)3.009s (~)0.663s101.04x
🐘 PostgresNext.js (Turbopack)2.385s3.009s0.624s101.06x
💻 LocalNitro2.655s (-13.4% 🟢)3.036s (-21.9% 🟢)0.382s101.17x
💻 LocalNext.js (Turbopack)2.894s3.342s0.448s91.28x
💻 LocalExpress3.089s (-1.4%)3.760s (~)0.671s81.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.553s (-21.0% 🟢)3.962s (-22.0% 🟢)1.410s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.397s (-2.9%)4.009s (~)0.612s81.00x
🐘 PostgresNitro3.465s (~)4.010s (~)0.545s81.02x
🐘 PostgresNext.js (Turbopack)3.664s4.013s0.349s81.08x
💻 LocalNitro6.692s (-26.8% 🟢)7.226s (-27.9% 🟢)0.534s51.97x
💻 LocalNext.js (Turbopack)8.074s8.773s0.700s42.38x
💻 LocalExpress8.659s (-1.6%)9.023s (-2.7%)0.364s42.55x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.810s (-44.8% 🟢)4.495s (-34.1% 🟢)1.684s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.592s (-29.4% 🟢)1.005s (-1.7%)0.413s601.00x
🐘 PostgresNext.js (Turbopack)0.780s1.007s0.226s601.32x
🐘 PostgresNitro0.819s (~)1.006s (~)0.187s601.38x
💻 LocalNext.js (Turbopack)0.858s1.039s0.181s581.45x
💻 LocalNitro0.870s (-11.3% 🟢)1.095s (~)0.225s551.47x
💻 LocalExpress0.988s (~)1.181s (+9.8% 🔺)0.193s511.67x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro9.824s (-55.5% 🟢)11.038s (-54.1% 🟢)1.214s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.404s (-29.0% 🟢)2.007s (-11.1% 🟢)0.604s451.00x
🐘 PostgresNext.js (Turbopack)1.953s2.151s0.198s421.39x
🐘 PostgresNitro1.995s (+3.5%)2.468s (+17.5% 🔺)0.473s371.42x
💻 LocalNext.js (Turbopack)2.665s3.008s0.343s301.90x
💻 LocalNitro2.723s (-10.3% 🟢)3.074s (-18.2% 🟢)0.351s301.94x
💻 LocalExpress3.237s (+7.3% 🔺)3.884s (+8.3% 🔺)0.647s242.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro30.565s (-22.6% 🟢)32.109s (-22.2% 🟢)1.543s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.999s (-24.9% 🟢)3.305s (-24.4% 🟢)0.307s371.00x
🐘 PostgresNitro3.896s (-5.1% 🟢)4.077s (-11.5% 🟢)0.181s301.30x
🐘 PostgresNext.js (Turbopack)4.000s4.331s0.331s281.33x
💻 LocalNitro7.734s (-16.8% 🟢)8.082s (-19.3% 🟢)0.348s152.58x
💻 LocalNext.js (Turbopack)8.487s9.017s0.530s142.83x
💻 LocalExpress9.143s (-0.7%)9.787s (-2.3%)0.644s133.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro76.046s (-21.5% 🟢)77.422s (-21.3% 🟢)1.376s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.253s (-10.4% 🟢)1.024s (+1.6%)0.770s591.00x
🐘 PostgresNext.js (Turbopack)0.257s1.007s0.750s601.02x
🐘 PostgresNitro0.288s (+1.5%)1.007s (~)0.719s601.14x
💻 LocalNext.js (Turbopack)0.534s1.004s0.470s602.11x
💻 LocalExpress0.562s (~)1.004s (~)0.442s602.22x
💻 LocalNitro0.606s (~)1.028s (+0.7%)0.422s592.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.568s (-5.6% 🟢)3.009s (-10.2% 🟢)1.441s201.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.375s (-26.5% 🟢)1.005s (~)0.631s901.00x
🐘 PostgresNext.js (Turbopack)0.503s1.018s0.515s891.34x
🐘 PostgresNitro0.504s (+1.5%)1.007s (~)0.503s901.34x
💻 LocalNitro2.192s (-13.6% 🟢)2.975s (-1.1%)0.783s315.85x
💻 LocalExpress2.439s (-3.0%)3.009s (~)0.570s306.51x
💻 LocalNext.js (Turbopack)2.539s2.975s0.436s316.77x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.789s (-13.5% 🟢)4.212s (-12.6% 🟢)1.424s221.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.560s (-31.6% 🟢)1.006s (-1.1%)0.446s1201.00x
🐘 PostgresNext.js (Turbopack)0.769s1.006s0.238s1201.37x
🐘 PostgresNitro0.793s (~)1.016s (+0.9%)0.223s1191.42x
💻 LocalNitro9.165s (-18.1% 🟢)9.802s (-16.0% 🟢)0.637s1316.35x
💻 LocalNext.js (Turbopack)10.621s10.941s0.320s1118.95x
💻 LocalExpress10.804s (-3.5%)11.304s (-5.3% 🟢)0.500s1119.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro7.068s (-8.5% 🟢)8.594s (-8.6% 🟢)1.527s161.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.147s (-28.5% 🟢)1.001s (~)0.001s (-31.3% 🟢)1.009s (~)0.863s101.00x
💻 LocalNext.js (Turbopack)0.168s1.003s0.011s1.017s0.849s101.15x
💻 LocalNitro0.181s (-15.5% 🟢)1.004s (~)0.008s (-34.4% 🟢)1.014s (-0.5%)0.833s101.23x
🐘 PostgresNext.js (Turbopack)0.189s1.001s0.002s1.011s0.822s101.29x
🐘 PostgresNitro0.205s (~)0.996s (~)0.001s (-13.3% 🟢)1.010s (~)0.805s101.40x
💻 LocalExpress0.207s (+4.1%)1.004s (~)0.012s (-2.5%)1.018s (~)0.811s101.41x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.646s (-57.1% 🟢)2.960s (-43.9% 🟢)2.156s (+190.6% 🔺)5.540s (-14.5% 🟢)3.895s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.509s (-19.1% 🟢)1.006s (~)0.003s (-11.1% 🟢)1.021s (~)0.511s591.00x
🐘 PostgresNext.js (Turbopack)0.608s1.009s0.004s1.024s0.416s591.19x
🐘 PostgresNitro0.616s (-1.3%)1.005s (~)0.004s (-1.2%)1.024s (~)0.408s591.21x
💻 LocalNitro0.788s (-6.0% 🟢)1.031s (+1.9%)0.017s (+79.8% 🔺)1.144s (+2.5%)0.356s531.55x
💻 LocalNext.js (Turbopack)0.843s1.011s0.010s1.217s0.374s521.65x
💻 LocalExpress0.953s (+25.8% 🔺)1.012s (-1.7%)0.010s (+1.0%)1.228s (+18.1% 🔺)0.275s491.87x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.053s (-86.2% 🟢)5.378s (-82.5% 🟢)0.243s (+117.0% 🔺)6.008s (-81.1% 🟢)1.955s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.921s (-4.1%)1.090s (-14.7% 🟢)0.000s (-100.0% 🟢)1.098s (-16.0% 🟢)0.176s551.00x
🐘 PostgresNext.js (Turbopack)0.931s1.177s0.000s1.192s0.261s511.01x
🐘 PostgresNitro1.001s (+3.3%)1.329s (+6.5% 🔺)0.000s (+6.7% 🔺)1.342s (+6.7% 🔺)0.341s451.09x
💻 LocalNitro1.182s (-3.3%)2.016s (~)0.000s (+333.3% 🔺)2.018s (~)0.836s301.28x
💻 LocalExpress1.198s (-2.2%)2.019s (~)0.000s (-60.0% 🟢)2.021s (~)0.823s301.30x
💻 LocalNext.js (Turbopack)1.228s2.018s0.000s2.021s0.793s301.33x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.047s (~)4.375s (~)0.000s (-100.0% 🟢)4.726s (-1.7%)1.678s131.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.662s (-6.2% 🟢)2.144s (-1.5%)0.000s (+Infinity% 🔺)2.151s (-2.2%)0.489s281.00x
🐘 PostgresNitro1.728s (-3.5%)2.106s (-1.6%)0.000s (-3.4%)2.123s (-2.4%)0.395s291.04x
🐘 PostgresNext.js (Turbopack)1.824s2.107s0.000s2.114s0.290s291.10x
💻 LocalNitro2.606s (-23.1% 🟢)3.028s (-24.9% 🟢)0.001s (+21.9% 🔺)3.030s (-24.9% 🟢)0.424s201.57x
💻 LocalExpress2.854s (-17.7% 🟢)3.083s (-23.6% 🟢)0.000s (-62.5% 🟢)3.085s (-23.6% 🟢)0.230s201.72x
💻 LocalNext.js (Turbopack)2.909s3.243s0.000s3.247s0.337s191.75x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.007s (-2.1%)5.370s (~)0.000s (-66.7% 🟢)5.744s (-0.9%)1.738s111.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro16/21
🐘 PostgresExpress21/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10110671078
✅ 💻 Local Development10900861176
✅ 📦 Local Production10900861176
✅ 🐘 Local Postgres10900861176
✅ 🪟 Windows980098
✅ 📋 Other552036588
Total493103615292

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9107
✅ example9107
✅ express9107
✅ fastify9107
✅ hono9107
✅ nextjs-turbopack9602
✅ nextjs-webpack9602
✅ nitro9107
✅ nuxt9107
✅ sveltekit9107
✅ vite9107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9800
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9206
✅ e2e-local-dev-tanstack-start-stable9206
✅ e2e-local-postgres-nest-stable9206
✅ e2e-local-postgres-tanstack-start-stable9206
✅ e2e-local-prod-nest-stable9206
✅ e2e-local-prod-tanstack-start-stable9206

📋 View full workflow run

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

This PR updates @workflow/web’s build configuration to support Vercel deployments via React Router’s Vercel preset, while preserving the existing self-hosted/npm package build layout by gating the preset (and related Vite behavior) behind a new WORKFLOW_WEB_VERCEL_BUILD environment variable.

Changes:

  • Add @vercel/react-router and configure vercelPreset() in packages/web/react-router.config.ts, gated by WORKFLOW_WEB_VERCEL_BUILD.
  • Migrate packages/web/vite.config.ts Vercel checks to use WORKFLOW_WEB_VERCEL_BUILD instead of VERCEL.
  • Add a changeset and update the lockfile for the new dependency graph.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
FileDescription
pnpm-lock.yamlLocks new @vercel/react-router (and transitive deps) and updates some resolved versions.
packages/web/vite.config.tsSwitches Vercel-specific build/external behavior to a dedicated env-gated flag.
packages/web/react-router.config.tsAdds Vercel preset configuration, gated to avoid breaking server.js self-hosted layout.
packages/web/package.jsonAdds @vercel/react-router to devDependencies.
.changeset/web-vercel-preset.mdDocuments the change and the new env flag for release notes.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

Comment threadpackages/web/vite.config.ts Outdated
Comment threadpackages/web/react-router.config.ts Outdated
Comment thread.changeset/web-vercel-preset.md Outdated
Turborepo strips environment variables not declared in turbo.json, which
prevented WORKFLOW_WEB_VERCEL_BUILD (set on the Vercel project) from
reaching the build. Declare it in the env list and also include the
.vercel/ directory (where the preset writes react-router-build-result.json)
in the build outputs.
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Addednpm/​@​vercel/​react-router@​1.2.6981006789100

View full report

@TooTallNate
TooTallNate merged commit 45d1eb2 into mainMay 4, 2026
349 of 368 checks passed
@TooTallNate
TooTallNate deleted the web-vercel-preset branch May 4, 2026 10:04
@github-actionsgithub-actionsBot mentioned this pull request May 4, 2026
pranaygp added a commit that referenced this pull request May 4, 2026
…ovements
* origin/main:
web: configure vercelPreset() for Vercel deployments (#1815)
[core] Combine flow+step bundle and process steps eagerly (#1338)
[world-vercel] Revert stream close control framing (#1891)
[tarballs] Use turbo to build workspace deps before packing (#1908)
# Conflicts:
#	tarballs/vercel.json
pranaygp added a commit that referenced this pull request May 5, 2026
…ignal
* origin/main:
[core] Skip inline step execution when suspension also has a wait (#1924)
[errors] Replace chalk import in @workfow/errors with inline ANSI shim (#1915)
Fix compatibility with Zod 4.4.x (#1902)
Serialize `run_failed`/`step_failed` errors through serialization pipeline (#1851)
tarballs: redesign preview tarballs index page (#1911)
Remove extra changeset (#1922)
Add stable Next.js eager and lazy test coverage (#1747)
Enforce per-(run, correlation) uniqueness for entity-creating events in world-postgres (#1878)
fix(world-vercel): add default request timeout to workflow-server HTTP calls (#1807)
Allow disabling step sourcemap with new `sourcemap` option in builders (#1842)
[ci] Enable Vercel-prod e2e for tanstack-start (#1904)
web: configure vercelPreset() for Vercel deployments (#1815)
[core] Combine flow+step bundle and process steps eagerly (#1338)
[world-vercel] Revert stream close control framing (#1891)
[tarballs] Use turbo to build workspace deps before packing (#1908)
# Conflicts:
#	packages/core/src/runtime/step-handler.test.ts
#	packages/core/src/runtime/step-handler.ts
#	packages/core/src/runtime/suspension-handler.ts
#	packages/core/src/step.test.ts
#	packages/world-local/src/storage/events-storage.ts
#	packages/world-postgres/src/drizzle/migrations/meta/_journal.json
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)) { // Highlight search terms from Google/DuckDuckGo/Bing referrer (function() { var ref = document.referrer; var terms = []; if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) { var url = new URL(ref); var q = url.searchParams.get('q') || url.searchParams.get('p'); if (q) { terms = q.split(/\s+/).filter(function(t) { return t.length > 2; }); } } if (terms.length === 0) return; var style = document.createElement('style'); style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }'; document.head.appendChild(style); function highlight(node) { if (node.nodeType === 3) { // text node var text = node.textContent; var found = false; terms.forEach(function(term) { var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\]\\]/g, '\\') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' web: configure vercelPreset() for Vercel deployments by TooTallNate · Pull Request #1815 · vercel/workflow · GitHub
Skip to content

web: configure vercelPreset() for Vercel deployments - #1815

Merged
TooTallNate merged 5 commits into
mainfrom
web-vercel-preset
May 4, 2026
Merged

web: configure vercelPreset() for Vercel deployments#1815
TooTallNate merged 5 commits into
mainfrom
web-vercel-preset

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Adds @vercel/react-router and configures vercelPreset() in packages/web/react-router.config.ts to enhance the packages/web Vercel deployment with per-route bundle splitting, function-level configuration (memory, maxDuration, etc.), and an accurate "Deployment Summary".
  • Gates the preset on a new WORKFLOW_WEB_VERCEL_BUILD env var (set on the web Vercel project) so the standard build layout is still produced when packages/web is packed as a tarball by the docs deployment (which also sets VERCEL=1 via docs/scripts/pack.ts).
  • Migrates the existing process.env.VERCEL checks in packages/web/vite.config.ts to the same WORKFLOW_WEB_VERCEL_BUILD var, fixing a latent bug where packed tarballs from the docs deployment would have been missing build/server/index.js (breaking server.js / @workflow/web/server).

Why not just process.env.VERCEL?

The preset always enables React Router's serverBundles, which changes the server output from build/server/index.jsbuild/server/<runtime>_<hash>/index.js. That path is imported by packages/web/server.js, which is in turn consumed by packages/cli/src/lib/inspect/web.ts (await import('@workflow/web/server')) for the CLI's in-process UI server. Using VERCEL alone would break the npm tarball produced for every docs preview deployment.

Action taken

WORKFLOW_WEB_VERCEL_BUILD=1 has been set in the packages/web Vercel project's environment variables.

Verification

ScenarioEnvbuild/server/server.js
Local / npm publish(none)index.jsOK
docs tarball packVERCEL=1index.jsOK
web Vercel deployVERCEL=1 + WORKFLOW_WEB_VERCEL_BUILD=1nodejs_<hash>/index.js + .vercel/react-router-build-result.jsonn/a (preset)

Enables per-route bundle splitting, function-level configuration, and an
accurate Deployment Summary for the packages/web Vercel deployment.
Gated on WORKFLOW_WEB_VERCEL_BUILD (rather than the ambient VERCEL var)
so that the standard build layout consumed by server.js (self-hosted
deployments and the CLI's in-process server via @workflow/web/server) is
still produced when the package is packed as a tarball by the docs
Vercel deployment. Existing VERCEL-based checks in vite.config.ts have
been migrated to this same variable for consistency.
CopilotAI review requested due to automatic review settings April 21, 2026 00:37
@TooTallNate
TooTallNate requested a review from a team as a code ownerApril 21, 2026 00:37
@changeset-bot

changeset-botBot commented Apr 21, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 211e16a

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

This PR includes changesets to release 18 packages
NameType
@workflow/webPatch
@workflow/cliPatch
tarballsPatch
workflowPatch
@workflow/world-testingPatch
@workflow/aiPatch
@workflow/corePatch
@workflow/web-sharedPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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

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

@vercel

vercelBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.034s (-20.2% 🟢)1.004s (~)0.970s101.00x
💻 LocalExpress0.044s (~)1.005s (~)0.961s101.28x
💻 LocalNext.js (Turbopack)0.048s1.005s0.958s101.38x
🐘 PostgresExpress0.049s (-16.4% 🟢)1.009s (~)0.960s101.41x
🐘 PostgresNext.js (Turbopack)0.058s1.010s0.952s101.69x
🐘 PostgresNitro0.062s (-34.6% 🟢)1.010s (-3.1%)0.948s101.81x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.200s (-51.1% 🟢)1.847s (-26.4% 🟢)1.647s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.107s (-2.2%)2.005s (~)0.898s101.00x
🐘 PostgresExpress1.111s (-3.1%)2.009s (~)0.899s101.00x
💻 LocalNext.js (Turbopack)1.111s2.006s0.895s101.00x
💻 LocalExpress1.134s (+0.8%)2.006s (~)0.872s101.02x
🐘 PostgresNext.js (Turbopack)1.139s2.011s0.872s101.03x
🐘 PostgresNitro1.152s (+1.1%)2.010s (~)0.858s101.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.921s (-50.7% 🟢)3.304s (-44.1% 🟢)1.383s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.643s (-2.9%)11.021s (~)0.378s31.00x
💻 LocalNitro10.794s (-1.4%)11.022s (~)0.227s31.01x
💻 LocalNext.js (Turbopack)10.803s11.024s0.220s31.02x
🐘 PostgresNitro10.872s (~)11.020s (~)0.148s31.02x
🐘 PostgresNext.js (Turbopack)10.901s11.017s0.116s31.02x
💻 LocalExpress10.915s (~)11.023s (~)0.108s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro16.902s (-28.8% 🟢)18.490s (-26.4% 🟢)1.587s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.982s (-4.1%)14.221s (-5.3% 🟢)0.239s51.00x
💻 LocalNitro14.480s (-3.9%)15.027s (-6.3% 🟢)0.547s41.04x
🐘 PostgresNext.js (Turbopack)14.486s15.021s0.535s41.04x
🐘 PostgresNitro14.515s (-0.6%)15.023s (~)0.508s41.04x
💻 LocalNext.js (Turbopack)14.594s15.030s0.436s41.04x
💻 LocalExpress15.026s (~)15.279s (+1.7%)0.253s41.07x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro31.772s (-50.7% 🟢)33.274s (-50.1% 🟢)1.502s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express12.889s (-8.0% 🟢)13.019s (-10.8% 🟢)0.130s71.00x
🐘 PostgresNext.js (Turbopack)13.806s14.020s0.214s71.07x
🐘 PostgresNitro13.955s (~)14.592s (+2.0%)0.638s71.08x
💻 LocalNitro15.292s (-8.9% 🟢)16.028s (-5.9% 🟢)0.736s61.19x
💻 LocalNext.js (Turbopack)15.938s16.363s0.425s61.24x
💻 LocalExpress16.638s (~)17.030s (~)0.392s61.29x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro62.722s (-85.2% 🟢)63.850s (-85.0% 🟢)1.128s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.184s (-6.1% 🟢)2.008s (~)0.825s151.00x
🐘 PostgresNext.js (Turbopack)1.219s2.009s0.790s151.03x
🐘 PostgresNitro1.270s (~)2.010s (~)0.741s151.07x
💻 LocalNitro1.426s (-12.6% 🟢)2.009s (-3.1%)0.583s151.20x
💻 LocalExpress1.506s (+1.1%)2.006s (~)0.500s151.27x
💻 LocalNext.js (Turbopack)1.517s2.005s0.488s151.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.270s (-19.5% 🟢)3.421s (-20.9% 🟢)1.151s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.291s (-2.9%)3.009s (~)0.718s101.00x
🐘 PostgresNitro2.354s (~)3.009s (~)0.656s101.03x
🐘 PostgresNext.js (Turbopack)2.384s3.009s0.625s101.04x
💻 LocalNitro2.646s (-15.8% 🟢)3.009s (-22.6% 🟢)0.363s101.15x
💻 LocalNext.js (Turbopack)2.854s3.342s0.488s91.25x
💻 LocalExpress2.914s (-1.3%)3.564s (+3.2%)0.650s91.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.090s (-23.7% 🟢)4.396s (-25.8% 🟢)1.306s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.381s (-3.0%)4.008s (~)0.628s81.00x
🐘 PostgresNitro3.498s (+0.5%)4.010s (~)0.512s81.03x
🐘 PostgresNext.js (Turbopack)3.650s4.010s0.360s81.08x
💻 LocalNitro6.983s (-16.4% 🟢)7.516s (-16.7% 🟢)0.533s42.07x
💻 LocalNext.js (Turbopack)7.522s8.016s0.494s42.23x
💻 LocalExpress7.968s (-4.4%)8.522s (-5.6% 🟢)0.554s42.36x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.134s (-11.1% 🟢)5.171s (-6.6% 🟢)2.036s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.199s (-4.6%)2.007s (~)0.808s151.00x
🐘 PostgresNext.js (Turbopack)1.213s2.008s0.795s151.01x
🐘 PostgresNitro1.248s (-0.8%)2.009s (~)0.761s151.04x
💻 LocalNext.js (Turbopack)1.496s2.006s0.510s151.25x
💻 LocalExpress1.537s (-18.8% 🟢)2.005s (-15.2% 🟢)0.468s151.28x
💻 LocalNitro1.793s (-3.9%)2.390s (+2.1%)0.597s131.49x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.964s (-20.1% 🟢)3.302s (-20.8% 🟢)1.337s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.260s (-3.5%)3.007s (~)0.748s101.00x
🐘 PostgresNitro2.345s (~)3.009s (~)0.663s101.04x
🐘 PostgresNext.js (Turbopack)2.385s3.009s0.624s101.06x
💻 LocalNitro2.655s (-13.4% 🟢)3.036s (-21.9% 🟢)0.382s101.17x
💻 LocalNext.js (Turbopack)2.894s3.342s0.448s91.28x
💻 LocalExpress3.089s (-1.4%)3.760s (~)0.671s81.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.553s (-21.0% 🟢)3.962s (-22.0% 🟢)1.410s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.397s (-2.9%)4.009s (~)0.612s81.00x
🐘 PostgresNitro3.465s (~)4.010s (~)0.545s81.02x
🐘 PostgresNext.js (Turbopack)3.664s4.013s0.349s81.08x
💻 LocalNitro6.692s (-26.8% 🟢)7.226s (-27.9% 🟢)0.534s51.97x
💻 LocalNext.js (Turbopack)8.074s8.773s0.700s42.38x
💻 LocalExpress8.659s (-1.6%)9.023s (-2.7%)0.364s42.55x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.810s (-44.8% 🟢)4.495s (-34.1% 🟢)1.684s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.592s (-29.4% 🟢)1.005s (-1.7%)0.413s601.00x
🐘 PostgresNext.js (Turbopack)0.780s1.007s0.226s601.32x
🐘 PostgresNitro0.819s (~)1.006s (~)0.187s601.38x
💻 LocalNext.js (Turbopack)0.858s1.039s0.181s581.45x
💻 LocalNitro0.870s (-11.3% 🟢)1.095s (~)0.225s551.47x
💻 LocalExpress0.988s (~)1.181s (+9.8% 🔺)0.193s511.67x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro9.824s (-55.5% 🟢)11.038s (-54.1% 🟢)1.214s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.404s (-29.0% 🟢)2.007s (-11.1% 🟢)0.604s451.00x
🐘 PostgresNext.js (Turbopack)1.953s2.151s0.198s421.39x
🐘 PostgresNitro1.995s (+3.5%)2.468s (+17.5% 🔺)0.473s371.42x
💻 LocalNext.js (Turbopack)2.665s3.008s0.343s301.90x
💻 LocalNitro2.723s (-10.3% 🟢)3.074s (-18.2% 🟢)0.351s301.94x
💻 LocalExpress3.237s (+7.3% 🔺)3.884s (+8.3% 🔺)0.647s242.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro30.565s (-22.6% 🟢)32.109s (-22.2% 🟢)1.543s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.999s (-24.9% 🟢)3.305s (-24.4% 🟢)0.307s371.00x
🐘 PostgresNitro3.896s (-5.1% 🟢)4.077s (-11.5% 🟢)0.181s301.30x
🐘 PostgresNext.js (Turbopack)4.000s4.331s0.331s281.33x
💻 LocalNitro7.734s (-16.8% 🟢)8.082s (-19.3% 🟢)0.348s152.58x
💻 LocalNext.js (Turbopack)8.487s9.017s0.530s142.83x
💻 LocalExpress9.143s (-0.7%)9.787s (-2.3%)0.644s133.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro76.046s (-21.5% 🟢)77.422s (-21.3% 🟢)1.376s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.253s (-10.4% 🟢)1.024s (+1.6%)0.770s591.00x
🐘 PostgresNext.js (Turbopack)0.257s1.007s0.750s601.02x
🐘 PostgresNitro0.288s (+1.5%)1.007s (~)0.719s601.14x
💻 LocalNext.js (Turbopack)0.534s1.004s0.470s602.11x
💻 LocalExpress0.562s (~)1.004s (~)0.442s602.22x
💻 LocalNitro0.606s (~)1.028s (+0.7%)0.422s592.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.568s (-5.6% 🟢)3.009s (-10.2% 🟢)1.441s201.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.375s (-26.5% 🟢)1.005s (~)0.631s901.00x
🐘 PostgresNext.js (Turbopack)0.503s1.018s0.515s891.34x
🐘 PostgresNitro0.504s (+1.5%)1.007s (~)0.503s901.34x
💻 LocalNitro2.192s (-13.6% 🟢)2.975s (-1.1%)0.783s315.85x
💻 LocalExpress2.439s (-3.0%)3.009s (~)0.570s306.51x
💻 LocalNext.js (Turbopack)2.539s2.975s0.436s316.77x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.789s (-13.5% 🟢)4.212s (-12.6% 🟢)1.424s221.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.560s (-31.6% 🟢)1.006s (-1.1%)0.446s1201.00x
🐘 PostgresNext.js (Turbopack)0.769s1.006s0.238s1201.37x
🐘 PostgresNitro0.793s (~)1.016s (+0.9%)0.223s1191.42x
💻 LocalNitro9.165s (-18.1% 🟢)9.802s (-16.0% 🟢)0.637s1316.35x
💻 LocalNext.js (Turbopack)10.621s10.941s0.320s1118.95x
💻 LocalExpress10.804s (-3.5%)11.304s (-5.3% 🟢)0.500s1119.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro7.068s (-8.5% 🟢)8.594s (-8.6% 🟢)1.527s161.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.147s (-28.5% 🟢)1.001s (~)0.001s (-31.3% 🟢)1.009s (~)0.863s101.00x
💻 LocalNext.js (Turbopack)0.168s1.003s0.011s1.017s0.849s101.15x
💻 LocalNitro0.181s (-15.5% 🟢)1.004s (~)0.008s (-34.4% 🟢)1.014s (-0.5%)0.833s101.23x
🐘 PostgresNext.js (Turbopack)0.189s1.001s0.002s1.011s0.822s101.29x
🐘 PostgresNitro0.205s (~)0.996s (~)0.001s (-13.3% 🟢)1.010s (~)0.805s101.40x
💻 LocalExpress0.207s (+4.1%)1.004s (~)0.012s (-2.5%)1.018s (~)0.811s101.41x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.646s (-57.1% 🟢)2.960s (-43.9% 🟢)2.156s (+190.6% 🔺)5.540s (-14.5% 🟢)3.895s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.509s (-19.1% 🟢)1.006s (~)0.003s (-11.1% 🟢)1.021s (~)0.511s591.00x
🐘 PostgresNext.js (Turbopack)0.608s1.009s0.004s1.024s0.416s591.19x
🐘 PostgresNitro0.616s (-1.3%)1.005s (~)0.004s (-1.2%)1.024s (~)0.408s591.21x
💻 LocalNitro0.788s (-6.0% 🟢)1.031s (+1.9%)0.017s (+79.8% 🔺)1.144s (+2.5%)0.356s531.55x
💻 LocalNext.js (Turbopack)0.843s1.011s0.010s1.217s0.374s521.65x
💻 LocalExpress0.953s (+25.8% 🔺)1.012s (-1.7%)0.010s (+1.0%)1.228s (+18.1% 🔺)0.275s491.87x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.053s (-86.2% 🟢)5.378s (-82.5% 🟢)0.243s (+117.0% 🔺)6.008s (-81.1% 🟢)1.955s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.921s (-4.1%)1.090s (-14.7% 🟢)0.000s (-100.0% 🟢)1.098s (-16.0% 🟢)0.176s551.00x
🐘 PostgresNext.js (Turbopack)0.931s1.177s0.000s1.192s0.261s511.01x
🐘 PostgresNitro1.001s (+3.3%)1.329s (+6.5% 🔺)0.000s (+6.7% 🔺)1.342s (+6.7% 🔺)0.341s451.09x
💻 LocalNitro1.182s (-3.3%)2.016s (~)0.000s (+333.3% 🔺)2.018s (~)0.836s301.28x
💻 LocalExpress1.198s (-2.2%)2.019s (~)0.000s (-60.0% 🟢)2.021s (~)0.823s301.30x
💻 LocalNext.js (Turbopack)1.228s2.018s0.000s2.021s0.793s301.33x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.047s (~)4.375s (~)0.000s (-100.0% 🟢)4.726s (-1.7%)1.678s131.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.662s (-6.2% 🟢)2.144s (-1.5%)0.000s (+Infinity% 🔺)2.151s (-2.2%)0.489s281.00x
🐘 PostgresNitro1.728s (-3.5%)2.106s (-1.6%)0.000s (-3.4%)2.123s (-2.4%)0.395s291.04x
🐘 PostgresNext.js (Turbopack)1.824s2.107s0.000s2.114s0.290s291.10x
💻 LocalNitro2.606s (-23.1% 🟢)3.028s (-24.9% 🟢)0.001s (+21.9% 🔺)3.030s (-24.9% 🟢)0.424s201.57x
💻 LocalExpress2.854s (-17.7% 🟢)3.083s (-23.6% 🟢)0.000s (-62.5% 🟢)3.085s (-23.6% 🟢)0.230s201.72x
💻 LocalNext.js (Turbopack)2.909s3.243s0.000s3.247s0.337s191.75x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.007s (-2.1%)5.370s (~)0.000s (-66.7% 🟢)5.744s (-0.9%)1.738s111.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro16/21
🐘 PostgresExpress21/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10110671078
✅ 💻 Local Development10900861176
✅ 📦 Local Production10900861176
✅ 🐘 Local Postgres10900861176
✅ 🪟 Windows980098
✅ 📋 Other552036588
Total493103615292

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9107
✅ example9107
✅ express9107
✅ fastify9107
✅ hono9107
✅ nextjs-turbopack9602
✅ nextjs-webpack9602
✅ nitro9107
✅ nuxt9107
✅ sveltekit9107
✅ vite9107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9800
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9206
✅ e2e-local-dev-tanstack-start-stable9206
✅ e2e-local-postgres-nest-stable9206
✅ e2e-local-postgres-tanstack-start-stable9206
✅ e2e-local-prod-nest-stable9206
✅ e2e-local-prod-tanstack-start-stable9206

📋 View full workflow run

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

This PR updates @workflow/web’s build configuration to support Vercel deployments via React Router’s Vercel preset, while preserving the existing self-hosted/npm package build layout by gating the preset (and related Vite behavior) behind a new WORKFLOW_WEB_VERCEL_BUILD environment variable.

Changes:

  • Add @vercel/react-router and configure vercelPreset() in packages/web/react-router.config.ts, gated by WORKFLOW_WEB_VERCEL_BUILD.
  • Migrate packages/web/vite.config.ts Vercel checks to use WORKFLOW_WEB_VERCEL_BUILD instead of VERCEL.
  • Add a changeset and update the lockfile for the new dependency graph.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
FileDescription
pnpm-lock.yamlLocks new @vercel/react-router (and transitive deps) and updates some resolved versions.
packages/web/vite.config.tsSwitches Vercel-specific build/external behavior to a dedicated env-gated flag.
packages/web/react-router.config.tsAdds Vercel preset configuration, gated to avoid breaking server.js self-hosted layout.
packages/web/package.jsonAdds @vercel/react-router to devDependencies.
.changeset/web-vercel-preset.mdDocuments the change and the new env flag for release notes.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

Comment threadpackages/web/vite.config.ts Outdated
Comment threadpackages/web/react-router.config.ts Outdated
Comment thread.changeset/web-vercel-preset.md Outdated
Turborepo strips environment variables not declared in turbo.json, which
prevented WORKFLOW_WEB_VERCEL_BUILD (set on the Vercel project) from
reaching the build. Declare it in the env list and also include the
.vercel/ directory (where the preset writes react-router-build-result.json)
in the build outputs.
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Addednpm/​@​vercel/​react-router@​1.2.6981006789100

View full report

@TooTallNate
TooTallNate merged commit 45d1eb2 into mainMay 4, 2026
349 of 368 checks passed
@TooTallNate
TooTallNate deleted the web-vercel-preset branch May 4, 2026 10:04
@github-actionsgithub-actionsBot mentioned this pull request May 4, 2026
pranaygp added a commit that referenced this pull request May 4, 2026
…ovements
* origin/main:
web: configure vercelPreset() for Vercel deployments (#1815)
[core] Combine flow+step bundle and process steps eagerly (#1338)
[world-vercel] Revert stream close control framing (#1891)
[tarballs] Use turbo to build workspace deps before packing (#1908)
# Conflicts:
#	tarballs/vercel.json
pranaygp added a commit that referenced this pull request May 5, 2026
…ignal
* origin/main:
[core] Skip inline step execution when suspension also has a wait (#1924)
[errors] Replace chalk import in @workfow/errors with inline ANSI shim (#1915)
Fix compatibility with Zod 4.4.x (#1902)
Serialize `run_failed`/`step_failed` errors through serialization pipeline (#1851)
tarballs: redesign preview tarballs index page (#1911)
Remove extra changeset (#1922)
Add stable Next.js eager and lazy test coverage (#1747)
Enforce per-(run, correlation) uniqueness for entity-creating events in world-postgres (#1878)
fix(world-vercel): add default request timeout to workflow-server HTTP calls (#1807)
Allow disabling step sourcemap with new `sourcemap` option in builders (#1842)
[ci] Enable Vercel-prod e2e for tanstack-start (#1904)
web: configure vercelPreset() for Vercel deployments (#1815)
[core] Combine flow+step bundle and process steps eagerly (#1338)
[world-vercel] Revert stream close control framing (#1891)
[tarballs] Use turbo to build workspace deps before packing (#1908)
# Conflicts:
#	packages/core/src/runtime/step-handler.test.ts
#	packages/core/src/runtime/step-handler.ts
#	packages/core/src/runtime/suspension-handler.ts
#	packages/core/src/step.test.ts
#	packages/world-local/src/storage/events-storage.ts
#	packages/world-postgres/src/drizzle/migrations/meta/_journal.json
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)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ' web: configure vercelPreset() for Vercel deployments by TooTallNate · Pull Request #1815 · vercel/workflow · GitHub
Skip to content

web: configure vercelPreset() for Vercel deployments - #1815

Merged
TooTallNate merged 5 commits into
mainfrom
web-vercel-preset
May 4, 2026
Merged

web: configure vercelPreset() for Vercel deployments#1815
TooTallNate merged 5 commits into
mainfrom
web-vercel-preset

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Adds @vercel/react-router and configures vercelPreset() in packages/web/react-router.config.ts to enhance the packages/web Vercel deployment with per-route bundle splitting, function-level configuration (memory, maxDuration, etc.), and an accurate "Deployment Summary".
  • Gates the preset on a new WORKFLOW_WEB_VERCEL_BUILD env var (set on the web Vercel project) so the standard build layout is still produced when packages/web is packed as a tarball by the docs deployment (which also sets VERCEL=1 via docs/scripts/pack.ts).
  • Migrates the existing process.env.VERCEL checks in packages/web/vite.config.ts to the same WORKFLOW_WEB_VERCEL_BUILD var, fixing a latent bug where packed tarballs from the docs deployment would have been missing build/server/index.js (breaking server.js / @workflow/web/server).

Why not just process.env.VERCEL?

The preset always enables React Router's serverBundles, which changes the server output from build/server/index.jsbuild/server/<runtime>_<hash>/index.js. That path is imported by packages/web/server.js, which is in turn consumed by packages/cli/src/lib/inspect/web.ts (await import('@workflow/web/server')) for the CLI's in-process UI server. Using VERCEL alone would break the npm tarball produced for every docs preview deployment.

Action taken

WORKFLOW_WEB_VERCEL_BUILD=1 has been set in the packages/web Vercel project's environment variables.

Verification

ScenarioEnvbuild/server/server.js
Local / npm publish(none)index.jsOK
docs tarball packVERCEL=1index.jsOK
web Vercel deployVERCEL=1 + WORKFLOW_WEB_VERCEL_BUILD=1nodejs_<hash>/index.js + .vercel/react-router-build-result.jsonn/a (preset)

Enables per-route bundle splitting, function-level configuration, and an
accurate Deployment Summary for the packages/web Vercel deployment.
Gated on WORKFLOW_WEB_VERCEL_BUILD (rather than the ambient VERCEL var)
so that the standard build layout consumed by server.js (self-hosted
deployments and the CLI's in-process server via @workflow/web/server) is
still produced when the package is packed as a tarball by the docs
Vercel deployment. Existing VERCEL-based checks in vite.config.ts have
been migrated to this same variable for consistency.
CopilotAI review requested due to automatic review settings April 21, 2026 00:37
@TooTallNate
TooTallNate requested a review from a team as a code ownerApril 21, 2026 00:37
@changeset-bot

changeset-botBot commented Apr 21, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 211e16a

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

This PR includes changesets to release 18 packages
NameType
@workflow/webPatch
@workflow/cliPatch
tarballsPatch
workflowPatch
@workflow/world-testingPatch
@workflow/aiPatch
@workflow/corePatch
@workflow/web-sharedPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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

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

@vercel

vercelBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.034s (-20.2% 🟢)1.004s (~)0.970s101.00x
💻 LocalExpress0.044s (~)1.005s (~)0.961s101.28x
💻 LocalNext.js (Turbopack)0.048s1.005s0.958s101.38x
🐘 PostgresExpress0.049s (-16.4% 🟢)1.009s (~)0.960s101.41x
🐘 PostgresNext.js (Turbopack)0.058s1.010s0.952s101.69x
🐘 PostgresNitro0.062s (-34.6% 🟢)1.010s (-3.1%)0.948s101.81x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.200s (-51.1% 🟢)1.847s (-26.4% 🟢)1.647s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.107s (-2.2%)2.005s (~)0.898s101.00x
🐘 PostgresExpress1.111s (-3.1%)2.009s (~)0.899s101.00x
💻 LocalNext.js (Turbopack)1.111s2.006s0.895s101.00x
💻 LocalExpress1.134s (+0.8%)2.006s (~)0.872s101.02x
🐘 PostgresNext.js (Turbopack)1.139s2.011s0.872s101.03x
🐘 PostgresNitro1.152s (+1.1%)2.010s (~)0.858s101.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.921s (-50.7% 🟢)3.304s (-44.1% 🟢)1.383s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.643s (-2.9%)11.021s (~)0.378s31.00x
💻 LocalNitro10.794s (-1.4%)11.022s (~)0.227s31.01x
💻 LocalNext.js (Turbopack)10.803s11.024s0.220s31.02x
🐘 PostgresNitro10.872s (~)11.020s (~)0.148s31.02x
🐘 PostgresNext.js (Turbopack)10.901s11.017s0.116s31.02x
💻 LocalExpress10.915s (~)11.023s (~)0.108s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro16.902s (-28.8% 🟢)18.490s (-26.4% 🟢)1.587s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.982s (-4.1%)14.221s (-5.3% 🟢)0.239s51.00x
💻 LocalNitro14.480s (-3.9%)15.027s (-6.3% 🟢)0.547s41.04x
🐘 PostgresNext.js (Turbopack)14.486s15.021s0.535s41.04x
🐘 PostgresNitro14.515s (-0.6%)15.023s (~)0.508s41.04x
💻 LocalNext.js (Turbopack)14.594s15.030s0.436s41.04x
💻 LocalExpress15.026s (~)15.279s (+1.7%)0.253s41.07x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro31.772s (-50.7% 🟢)33.274s (-50.1% 🟢)1.502s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express12.889s (-8.0% 🟢)13.019s (-10.8% 🟢)0.130s71.00x
🐘 PostgresNext.js (Turbopack)13.806s14.020s0.214s71.07x
🐘 PostgresNitro13.955s (~)14.592s (+2.0%)0.638s71.08x
💻 LocalNitro15.292s (-8.9% 🟢)16.028s (-5.9% 🟢)0.736s61.19x
💻 LocalNext.js (Turbopack)15.938s16.363s0.425s61.24x
💻 LocalExpress16.638s (~)17.030s (~)0.392s61.29x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro62.722s (-85.2% 🟢)63.850s (-85.0% 🟢)1.128s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.184s (-6.1% 🟢)2.008s (~)0.825s151.00x
🐘 PostgresNext.js (Turbopack)1.219s2.009s0.790s151.03x
🐘 PostgresNitro1.270s (~)2.010s (~)0.741s151.07x
💻 LocalNitro1.426s (-12.6% 🟢)2.009s (-3.1%)0.583s151.20x
💻 LocalExpress1.506s (+1.1%)2.006s (~)0.500s151.27x
💻 LocalNext.js (Turbopack)1.517s2.005s0.488s151.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.270s (-19.5% 🟢)3.421s (-20.9% 🟢)1.151s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.291s (-2.9%)3.009s (~)0.718s101.00x
🐘 PostgresNitro2.354s (~)3.009s (~)0.656s101.03x
🐘 PostgresNext.js (Turbopack)2.384s3.009s0.625s101.04x
💻 LocalNitro2.646s (-15.8% 🟢)3.009s (-22.6% 🟢)0.363s101.15x
💻 LocalNext.js (Turbopack)2.854s3.342s0.488s91.25x
💻 LocalExpress2.914s (-1.3%)3.564s (+3.2%)0.650s91.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.090s (-23.7% 🟢)4.396s (-25.8% 🟢)1.306s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.381s (-3.0%)4.008s (~)0.628s81.00x
🐘 PostgresNitro3.498s (+0.5%)4.010s (~)0.512s81.03x
🐘 PostgresNext.js (Turbopack)3.650s4.010s0.360s81.08x
💻 LocalNitro6.983s (-16.4% 🟢)7.516s (-16.7% 🟢)0.533s42.07x
💻 LocalNext.js (Turbopack)7.522s8.016s0.494s42.23x
💻 LocalExpress7.968s (-4.4%)8.522s (-5.6% 🟢)0.554s42.36x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.134s (-11.1% 🟢)5.171s (-6.6% 🟢)2.036s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.199s (-4.6%)2.007s (~)0.808s151.00x
🐘 PostgresNext.js (Turbopack)1.213s2.008s0.795s151.01x
🐘 PostgresNitro1.248s (-0.8%)2.009s (~)0.761s151.04x
💻 LocalNext.js (Turbopack)1.496s2.006s0.510s151.25x
💻 LocalExpress1.537s (-18.8% 🟢)2.005s (-15.2% 🟢)0.468s151.28x
💻 LocalNitro1.793s (-3.9%)2.390s (+2.1%)0.597s131.49x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.964s (-20.1% 🟢)3.302s (-20.8% 🟢)1.337s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.260s (-3.5%)3.007s (~)0.748s101.00x
🐘 PostgresNitro2.345s (~)3.009s (~)0.663s101.04x
🐘 PostgresNext.js (Turbopack)2.385s3.009s0.624s101.06x
💻 LocalNitro2.655s (-13.4% 🟢)3.036s (-21.9% 🟢)0.382s101.17x
💻 LocalNext.js (Turbopack)2.894s3.342s0.448s91.28x
💻 LocalExpress3.089s (-1.4%)3.760s (~)0.671s81.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.553s (-21.0% 🟢)3.962s (-22.0% 🟢)1.410s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.397s (-2.9%)4.009s (~)0.612s81.00x
🐘 PostgresNitro3.465s (~)4.010s (~)0.545s81.02x
🐘 PostgresNext.js (Turbopack)3.664s4.013s0.349s81.08x
💻 LocalNitro6.692s (-26.8% 🟢)7.226s (-27.9% 🟢)0.534s51.97x
💻 LocalNext.js (Turbopack)8.074s8.773s0.700s42.38x
💻 LocalExpress8.659s (-1.6%)9.023s (-2.7%)0.364s42.55x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.810s (-44.8% 🟢)4.495s (-34.1% 🟢)1.684s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.592s (-29.4% 🟢)1.005s (-1.7%)0.413s601.00x
🐘 PostgresNext.js (Turbopack)0.780s1.007s0.226s601.32x
🐘 PostgresNitro0.819s (~)1.006s (~)0.187s601.38x
💻 LocalNext.js (Turbopack)0.858s1.039s0.181s581.45x
💻 LocalNitro0.870s (-11.3% 🟢)1.095s (~)0.225s551.47x
💻 LocalExpress0.988s (~)1.181s (+9.8% 🔺)0.193s511.67x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro9.824s (-55.5% 🟢)11.038s (-54.1% 🟢)1.214s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.404s (-29.0% 🟢)2.007s (-11.1% 🟢)0.604s451.00x
🐘 PostgresNext.js (Turbopack)1.953s2.151s0.198s421.39x
🐘 PostgresNitro1.995s (+3.5%)2.468s (+17.5% 🔺)0.473s371.42x
💻 LocalNext.js (Turbopack)2.665s3.008s0.343s301.90x
💻 LocalNitro2.723s (-10.3% 🟢)3.074s (-18.2% 🟢)0.351s301.94x
💻 LocalExpress3.237s (+7.3% 🔺)3.884s (+8.3% 🔺)0.647s242.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro30.565s (-22.6% 🟢)32.109s (-22.2% 🟢)1.543s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.999s (-24.9% 🟢)3.305s (-24.4% 🟢)0.307s371.00x
🐘 PostgresNitro3.896s (-5.1% 🟢)4.077s (-11.5% 🟢)0.181s301.30x
🐘 PostgresNext.js (Turbopack)4.000s4.331s0.331s281.33x
💻 LocalNitro7.734s (-16.8% 🟢)8.082s (-19.3% 🟢)0.348s152.58x
💻 LocalNext.js (Turbopack)8.487s9.017s0.530s142.83x
💻 LocalExpress9.143s (-0.7%)9.787s (-2.3%)0.644s133.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro76.046s (-21.5% 🟢)77.422s (-21.3% 🟢)1.376s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.253s (-10.4% 🟢)1.024s (+1.6%)0.770s591.00x
🐘 PostgresNext.js (Turbopack)0.257s1.007s0.750s601.02x
🐘 PostgresNitro0.288s (+1.5%)1.007s (~)0.719s601.14x
💻 LocalNext.js (Turbopack)0.534s1.004s0.470s602.11x
💻 LocalExpress0.562s (~)1.004s (~)0.442s602.22x
💻 LocalNitro0.606s (~)1.028s (+0.7%)0.422s592.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.568s (-5.6% 🟢)3.009s (-10.2% 🟢)1.441s201.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.375s (-26.5% 🟢)1.005s (~)0.631s901.00x
🐘 PostgresNext.js (Turbopack)0.503s1.018s0.515s891.34x
🐘 PostgresNitro0.504s (+1.5%)1.007s (~)0.503s901.34x
💻 LocalNitro2.192s (-13.6% 🟢)2.975s (-1.1%)0.783s315.85x
💻 LocalExpress2.439s (-3.0%)3.009s (~)0.570s306.51x
💻 LocalNext.js (Turbopack)2.539s2.975s0.436s316.77x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.789s (-13.5% 🟢)4.212s (-12.6% 🟢)1.424s221.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.560s (-31.6% 🟢)1.006s (-1.1%)0.446s1201.00x
🐘 PostgresNext.js (Turbopack)0.769s1.006s0.238s1201.37x
🐘 PostgresNitro0.793s (~)1.016s (+0.9%)0.223s1191.42x
💻 LocalNitro9.165s (-18.1% 🟢)9.802s (-16.0% 🟢)0.637s1316.35x
💻 LocalNext.js (Turbopack)10.621s10.941s0.320s1118.95x
💻 LocalExpress10.804s (-3.5%)11.304s (-5.3% 🟢)0.500s1119.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro7.068s (-8.5% 🟢)8.594s (-8.6% 🟢)1.527s161.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.147s (-28.5% 🟢)1.001s (~)0.001s (-31.3% 🟢)1.009s (~)0.863s101.00x
💻 LocalNext.js (Turbopack)0.168s1.003s0.011s1.017s0.849s101.15x
💻 LocalNitro0.181s (-15.5% 🟢)1.004s (~)0.008s (-34.4% 🟢)1.014s (-0.5%)0.833s101.23x
🐘 PostgresNext.js (Turbopack)0.189s1.001s0.002s1.011s0.822s101.29x
🐘 PostgresNitro0.205s (~)0.996s (~)0.001s (-13.3% 🟢)1.010s (~)0.805s101.40x
💻 LocalExpress0.207s (+4.1%)1.004s (~)0.012s (-2.5%)1.018s (~)0.811s101.41x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.646s (-57.1% 🟢)2.960s (-43.9% 🟢)2.156s (+190.6% 🔺)5.540s (-14.5% 🟢)3.895s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.509s (-19.1% 🟢)1.006s (~)0.003s (-11.1% 🟢)1.021s (~)0.511s591.00x
🐘 PostgresNext.js (Turbopack)0.608s1.009s0.004s1.024s0.416s591.19x
🐘 PostgresNitro0.616s (-1.3%)1.005s (~)0.004s (-1.2%)1.024s (~)0.408s591.21x
💻 LocalNitro0.788s (-6.0% 🟢)1.031s (+1.9%)0.017s (+79.8% 🔺)1.144s (+2.5%)0.356s531.55x
💻 LocalNext.js (Turbopack)0.843s1.011s0.010s1.217s0.374s521.65x
💻 LocalExpress0.953s (+25.8% 🔺)1.012s (-1.7%)0.010s (+1.0%)1.228s (+18.1% 🔺)0.275s491.87x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.053s (-86.2% 🟢)5.378s (-82.5% 🟢)0.243s (+117.0% 🔺)6.008s (-81.1% 🟢)1.955s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.921s (-4.1%)1.090s (-14.7% 🟢)0.000s (-100.0% 🟢)1.098s (-16.0% 🟢)0.176s551.00x
🐘 PostgresNext.js (Turbopack)0.931s1.177s0.000s1.192s0.261s511.01x
🐘 PostgresNitro1.001s (+3.3%)1.329s (+6.5% 🔺)0.000s (+6.7% 🔺)1.342s (+6.7% 🔺)0.341s451.09x
💻 LocalNitro1.182s (-3.3%)2.016s (~)0.000s (+333.3% 🔺)2.018s (~)0.836s301.28x
💻 LocalExpress1.198s (-2.2%)2.019s (~)0.000s (-60.0% 🟢)2.021s (~)0.823s301.30x
💻 LocalNext.js (Turbopack)1.228s2.018s0.000s2.021s0.793s301.33x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.047s (~)4.375s (~)0.000s (-100.0% 🟢)4.726s (-1.7%)1.678s131.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.662s (-6.2% 🟢)2.144s (-1.5%)0.000s (+Infinity% 🔺)2.151s (-2.2%)0.489s281.00x
🐘 PostgresNitro1.728s (-3.5%)2.106s (-1.6%)0.000s (-3.4%)2.123s (-2.4%)0.395s291.04x
🐘 PostgresNext.js (Turbopack)1.824s2.107s0.000s2.114s0.290s291.10x
💻 LocalNitro2.606s (-23.1% 🟢)3.028s (-24.9% 🟢)0.001s (+21.9% 🔺)3.030s (-24.9% 🟢)0.424s201.57x
💻 LocalExpress2.854s (-17.7% 🟢)3.083s (-23.6% 🟢)0.000s (-62.5% 🟢)3.085s (-23.6% 🟢)0.230s201.72x
💻 LocalNext.js (Turbopack)2.909s3.243s0.000s3.247s0.337s191.75x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.007s (-2.1%)5.370s (~)0.000s (-66.7% 🟢)5.744s (-0.9%)1.738s111.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro16/21
🐘 PostgresExpress21/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10110671078
✅ 💻 Local Development10900861176
✅ 📦 Local Production10900861176
✅ 🐘 Local Postgres10900861176
✅ 🪟 Windows980098
✅ 📋 Other552036588
Total493103615292

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9107
✅ example9107
✅ express9107
✅ fastify9107
✅ hono9107
✅ nextjs-turbopack9602
✅ nextjs-webpack9602
✅ nitro9107
✅ nuxt9107
✅ sveltekit9107
✅ vite9107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9800
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9206
✅ e2e-local-dev-tanstack-start-stable9206
✅ e2e-local-postgres-nest-stable9206
✅ e2e-local-postgres-tanstack-start-stable9206
✅ e2e-local-prod-nest-stable9206
✅ e2e-local-prod-tanstack-start-stable9206

📋 View full workflow run

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

This PR updates @workflow/web’s build configuration to support Vercel deployments via React Router’s Vercel preset, while preserving the existing self-hosted/npm package build layout by gating the preset (and related Vite behavior) behind a new WORKFLOW_WEB_VERCEL_BUILD environment variable.

Changes:

  • Add @vercel/react-router and configure vercelPreset() in packages/web/react-router.config.ts, gated by WORKFLOW_WEB_VERCEL_BUILD.
  • Migrate packages/web/vite.config.ts Vercel checks to use WORKFLOW_WEB_VERCEL_BUILD instead of VERCEL.
  • Add a changeset and update the lockfile for the new dependency graph.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
FileDescription
pnpm-lock.yamlLocks new @vercel/react-router (and transitive deps) and updates some resolved versions.
packages/web/vite.config.tsSwitches Vercel-specific build/external behavior to a dedicated env-gated flag.
packages/web/react-router.config.tsAdds Vercel preset configuration, gated to avoid breaking server.js self-hosted layout.
packages/web/package.jsonAdds @vercel/react-router to devDependencies.
.changeset/web-vercel-preset.mdDocuments the change and the new env flag for release notes.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

Comment threadpackages/web/vite.config.ts Outdated
Comment threadpackages/web/react-router.config.ts Outdated
Comment thread.changeset/web-vercel-preset.md Outdated
Turborepo strips environment variables not declared in turbo.json, which
prevented WORKFLOW_WEB_VERCEL_BUILD (set on the Vercel project) from
reaching the build. Declare it in the env list and also include the
.vercel/ directory (where the preset writes react-router-build-result.json)
in the build outputs.
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Addednpm/​@​vercel/​react-router@​1.2.6981006789100

View full report

@TooTallNate
TooTallNate merged commit 45d1eb2 into mainMay 4, 2026
349 of 368 checks passed
@TooTallNate
TooTallNate deleted the web-vercel-preset branch May 4, 2026 10:04
@github-actionsgithub-actionsBot mentioned this pull request May 4, 2026
pranaygp added a commit that referenced this pull request May 4, 2026
…ovements
* origin/main:
web: configure vercelPreset() for Vercel deployments (#1815)
[core] Combine flow+step bundle and process steps eagerly (#1338)
[world-vercel] Revert stream close control framing (#1891)
[tarballs] Use turbo to build workspace deps before packing (#1908)
# Conflicts:
#	tarballs/vercel.json
pranaygp added a commit that referenced this pull request May 5, 2026
…ignal
* origin/main:
[core] Skip inline step execution when suspension also has a wait (#1924)
[errors] Replace chalk import in @workfow/errors with inline ANSI shim (#1915)
Fix compatibility with Zod 4.4.x (#1902)
Serialize `run_failed`/`step_failed` errors through serialization pipeline (#1851)
tarballs: redesign preview tarballs index page (#1911)
Remove extra changeset (#1922)
Add stable Next.js eager and lazy test coverage (#1747)
Enforce per-(run, correlation) uniqueness for entity-creating events in world-postgres (#1878)
fix(world-vercel): add default request timeout to workflow-server HTTP calls (#1807)
Allow disabling step sourcemap with new `sourcemap` option in builders (#1842)
[ci] Enable Vercel-prod e2e for tanstack-start (#1904)
web: configure vercelPreset() for Vercel deployments (#1815)
[core] Combine flow+step bundle and process steps eagerly (#1338)
[world-vercel] Revert stream close control framing (#1891)
[tarballs] Use turbo to build workspace deps before packing (#1908)
# Conflicts:
#	packages/core/src/runtime/step-handler.test.ts
#	packages/core/src/runtime/step-handler.ts
#	packages/core/src/runtime/suspension-handler.ts
#	packages/core/src/step.test.ts
#	packages/world-local/src/storage/events-storage.ts
#	packages/world-postgres/src/drizzle/migrations/meta/_journal.json
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)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' web: configure vercelPreset() for Vercel deployments by TooTallNate · Pull Request #1815 · vercel/workflow · GitHub
Skip to content

web: configure vercelPreset() for Vercel deployments - #1815

Merged
TooTallNate merged 5 commits into
mainfrom
web-vercel-preset
May 4, 2026
Merged

web: configure vercelPreset() for Vercel deployments#1815
TooTallNate merged 5 commits into
mainfrom
web-vercel-preset

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Adds @vercel/react-router and configures vercelPreset() in packages/web/react-router.config.ts to enhance the packages/web Vercel deployment with per-route bundle splitting, function-level configuration (memory, maxDuration, etc.), and an accurate "Deployment Summary".
  • Gates the preset on a new WORKFLOW_WEB_VERCEL_BUILD env var (set on the web Vercel project) so the standard build layout is still produced when packages/web is packed as a tarball by the docs deployment (which also sets VERCEL=1 via docs/scripts/pack.ts).
  • Migrates the existing process.env.VERCEL checks in packages/web/vite.config.ts to the same WORKFLOW_WEB_VERCEL_BUILD var, fixing a latent bug where packed tarballs from the docs deployment would have been missing build/server/index.js (breaking server.js / @workflow/web/server).

Why not just process.env.VERCEL?

The preset always enables React Router's serverBundles, which changes the server output from build/server/index.jsbuild/server/<runtime>_<hash>/index.js. That path is imported by packages/web/server.js, which is in turn consumed by packages/cli/src/lib/inspect/web.ts (await import('@workflow/web/server')) for the CLI's in-process UI server. Using VERCEL alone would break the npm tarball produced for every docs preview deployment.

Action taken

WORKFLOW_WEB_VERCEL_BUILD=1 has been set in the packages/web Vercel project's environment variables.

Verification

ScenarioEnvbuild/server/server.js
Local / npm publish(none)index.jsOK
docs tarball packVERCEL=1index.jsOK
web Vercel deployVERCEL=1 + WORKFLOW_WEB_VERCEL_BUILD=1nodejs_<hash>/index.js + .vercel/react-router-build-result.jsonn/a (preset)

Enables per-route bundle splitting, function-level configuration, and an
accurate Deployment Summary for the packages/web Vercel deployment.
Gated on WORKFLOW_WEB_VERCEL_BUILD (rather than the ambient VERCEL var)
so that the standard build layout consumed by server.js (self-hosted
deployments and the CLI's in-process server via @workflow/web/server) is
still produced when the package is packed as a tarball by the docs
Vercel deployment. Existing VERCEL-based checks in vite.config.ts have
been migrated to this same variable for consistency.
CopilotAI review requested due to automatic review settings April 21, 2026 00:37
@TooTallNate
TooTallNate requested a review from a team as a code ownerApril 21, 2026 00:37
@changeset-bot

changeset-botBot commented Apr 21, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 211e16a

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

This PR includes changesets to release 18 packages
NameType
@workflow/webPatch
@workflow/cliPatch
tarballsPatch
workflowPatch
@workflow/world-testingPatch
@workflow/aiPatch
@workflow/corePatch
@workflow/web-sharedPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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

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

@vercel

vercelBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.034s (-20.2% 🟢)1.004s (~)0.970s101.00x
💻 LocalExpress0.044s (~)1.005s (~)0.961s101.28x
💻 LocalNext.js (Turbopack)0.048s1.005s0.958s101.38x
🐘 PostgresExpress0.049s (-16.4% 🟢)1.009s (~)0.960s101.41x
🐘 PostgresNext.js (Turbopack)0.058s1.010s0.952s101.69x
🐘 PostgresNitro0.062s (-34.6% 🟢)1.010s (-3.1%)0.948s101.81x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.200s (-51.1% 🟢)1.847s (-26.4% 🟢)1.647s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.107s (-2.2%)2.005s (~)0.898s101.00x
🐘 PostgresExpress1.111s (-3.1%)2.009s (~)0.899s101.00x
💻 LocalNext.js (Turbopack)1.111s2.006s0.895s101.00x
💻 LocalExpress1.134s (+0.8%)2.006s (~)0.872s101.02x
🐘 PostgresNext.js (Turbopack)1.139s2.011s0.872s101.03x
🐘 PostgresNitro1.152s (+1.1%)2.010s (~)0.858s101.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.921s (-50.7% 🟢)3.304s (-44.1% 🟢)1.383s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.643s (-2.9%)11.021s (~)0.378s31.00x
💻 LocalNitro10.794s (-1.4%)11.022s (~)0.227s31.01x
💻 LocalNext.js (Turbopack)10.803s11.024s0.220s31.02x
🐘 PostgresNitro10.872s (~)11.020s (~)0.148s31.02x
🐘 PostgresNext.js (Turbopack)10.901s11.017s0.116s31.02x
💻 LocalExpress10.915s (~)11.023s (~)0.108s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro16.902s (-28.8% 🟢)18.490s (-26.4% 🟢)1.587s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.982s (-4.1%)14.221s (-5.3% 🟢)0.239s51.00x
💻 LocalNitro14.480s (-3.9%)15.027s (-6.3% 🟢)0.547s41.04x
🐘 PostgresNext.js (Turbopack)14.486s15.021s0.535s41.04x
🐘 PostgresNitro14.515s (-0.6%)15.023s (~)0.508s41.04x
💻 LocalNext.js (Turbopack)14.594s15.030s0.436s41.04x
💻 LocalExpress15.026s (~)15.279s (+1.7%)0.253s41.07x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro31.772s (-50.7% 🟢)33.274s (-50.1% 🟢)1.502s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express12.889s (-8.0% 🟢)13.019s (-10.8% 🟢)0.130s71.00x
🐘 PostgresNext.js (Turbopack)13.806s14.020s0.214s71.07x
🐘 PostgresNitro13.955s (~)14.592s (+2.0%)0.638s71.08x
💻 LocalNitro15.292s (-8.9% 🟢)16.028s (-5.9% 🟢)0.736s61.19x
💻 LocalNext.js (Turbopack)15.938s16.363s0.425s61.24x
💻 LocalExpress16.638s (~)17.030s (~)0.392s61.29x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro62.722s (-85.2% 🟢)63.850s (-85.0% 🟢)1.128s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.184s (-6.1% 🟢)2.008s (~)0.825s151.00x
🐘 PostgresNext.js (Turbopack)1.219s2.009s0.790s151.03x
🐘 PostgresNitro1.270s (~)2.010s (~)0.741s151.07x
💻 LocalNitro1.426s (-12.6% 🟢)2.009s (-3.1%)0.583s151.20x
💻 LocalExpress1.506s (+1.1%)2.006s (~)0.500s151.27x
💻 LocalNext.js (Turbopack)1.517s2.005s0.488s151.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.270s (-19.5% 🟢)3.421s (-20.9% 🟢)1.151s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.291s (-2.9%)3.009s (~)0.718s101.00x
🐘 PostgresNitro2.354s (~)3.009s (~)0.656s101.03x
🐘 PostgresNext.js (Turbopack)2.384s3.009s0.625s101.04x
💻 LocalNitro2.646s (-15.8% 🟢)3.009s (-22.6% 🟢)0.363s101.15x
💻 LocalNext.js (Turbopack)2.854s3.342s0.488s91.25x
💻 LocalExpress2.914s (-1.3%)3.564s (+3.2%)0.650s91.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.090s (-23.7% 🟢)4.396s (-25.8% 🟢)1.306s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.381s (-3.0%)4.008s (~)0.628s81.00x
🐘 PostgresNitro3.498s (+0.5%)4.010s (~)0.512s81.03x
🐘 PostgresNext.js (Turbopack)3.650s4.010s0.360s81.08x
💻 LocalNitro6.983s (-16.4% 🟢)7.516s (-16.7% 🟢)0.533s42.07x
💻 LocalNext.js (Turbopack)7.522s8.016s0.494s42.23x
💻 LocalExpress7.968s (-4.4%)8.522s (-5.6% 🟢)0.554s42.36x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.134s (-11.1% 🟢)5.171s (-6.6% 🟢)2.036s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.199s (-4.6%)2.007s (~)0.808s151.00x
🐘 PostgresNext.js (Turbopack)1.213s2.008s0.795s151.01x
🐘 PostgresNitro1.248s (-0.8%)2.009s (~)0.761s151.04x
💻 LocalNext.js (Turbopack)1.496s2.006s0.510s151.25x
💻 LocalExpress1.537s (-18.8% 🟢)2.005s (-15.2% 🟢)0.468s151.28x
💻 LocalNitro1.793s (-3.9%)2.390s (+2.1%)0.597s131.49x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.964s (-20.1% 🟢)3.302s (-20.8% 🟢)1.337s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.260s (-3.5%)3.007s (~)0.748s101.00x
🐘 PostgresNitro2.345s (~)3.009s (~)0.663s101.04x
🐘 PostgresNext.js (Turbopack)2.385s3.009s0.624s101.06x
💻 LocalNitro2.655s (-13.4% 🟢)3.036s (-21.9% 🟢)0.382s101.17x
💻 LocalNext.js (Turbopack)2.894s3.342s0.448s91.28x
💻 LocalExpress3.089s (-1.4%)3.760s (~)0.671s81.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.553s (-21.0% 🟢)3.962s (-22.0% 🟢)1.410s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.397s (-2.9%)4.009s (~)0.612s81.00x
🐘 PostgresNitro3.465s (~)4.010s (~)0.545s81.02x
🐘 PostgresNext.js (Turbopack)3.664s4.013s0.349s81.08x
💻 LocalNitro6.692s (-26.8% 🟢)7.226s (-27.9% 🟢)0.534s51.97x
💻 LocalNext.js (Turbopack)8.074s8.773s0.700s42.38x
💻 LocalExpress8.659s (-1.6%)9.023s (-2.7%)0.364s42.55x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.810s (-44.8% 🟢)4.495s (-34.1% 🟢)1.684s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.592s (-29.4% 🟢)1.005s (-1.7%)0.413s601.00x
🐘 PostgresNext.js (Turbopack)0.780s1.007s0.226s601.32x
🐘 PostgresNitro0.819s (~)1.006s (~)0.187s601.38x
💻 LocalNext.js (Turbopack)0.858s1.039s0.181s581.45x
💻 LocalNitro0.870s (-11.3% 🟢)1.095s (~)0.225s551.47x
💻 LocalExpress0.988s (~)1.181s (+9.8% 🔺)0.193s511.67x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro9.824s (-55.5% 🟢)11.038s (-54.1% 🟢)1.214s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.404s (-29.0% 🟢)2.007s (-11.1% 🟢)0.604s451.00x
🐘 PostgresNext.js (Turbopack)1.953s2.151s0.198s421.39x
🐘 PostgresNitro1.995s (+3.5%)2.468s (+17.5% 🔺)0.473s371.42x
💻 LocalNext.js (Turbopack)2.665s3.008s0.343s301.90x
💻 LocalNitro2.723s (-10.3% 🟢)3.074s (-18.2% 🟢)0.351s301.94x
💻 LocalExpress3.237s (+7.3% 🔺)3.884s (+8.3% 🔺)0.647s242.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro30.565s (-22.6% 🟢)32.109s (-22.2% 🟢)1.543s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.999s (-24.9% 🟢)3.305s (-24.4% 🟢)0.307s371.00x
🐘 PostgresNitro3.896s (-5.1% 🟢)4.077s (-11.5% 🟢)0.181s301.30x
🐘 PostgresNext.js (Turbopack)4.000s4.331s0.331s281.33x
💻 LocalNitro7.734s (-16.8% 🟢)8.082s (-19.3% 🟢)0.348s152.58x
💻 LocalNext.js (Turbopack)8.487s9.017s0.530s142.83x
💻 LocalExpress9.143s (-0.7%)9.787s (-2.3%)0.644s133.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro76.046s (-21.5% 🟢)77.422s (-21.3% 🟢)1.376s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.253s (-10.4% 🟢)1.024s (+1.6%)0.770s591.00x
🐘 PostgresNext.js (Turbopack)0.257s1.007s0.750s601.02x
🐘 PostgresNitro0.288s (+1.5%)1.007s (~)0.719s601.14x
💻 LocalNext.js (Turbopack)0.534s1.004s0.470s602.11x
💻 LocalExpress0.562s (~)1.004s (~)0.442s602.22x
💻 LocalNitro0.606s (~)1.028s (+0.7%)0.422s592.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.568s (-5.6% 🟢)3.009s (-10.2% 🟢)1.441s201.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.375s (-26.5% 🟢)1.005s (~)0.631s901.00x
🐘 PostgresNext.js (Turbopack)0.503s1.018s0.515s891.34x
🐘 PostgresNitro0.504s (+1.5%)1.007s (~)0.503s901.34x
💻 LocalNitro2.192s (-13.6% 🟢)2.975s (-1.1%)0.783s315.85x
💻 LocalExpress2.439s (-3.0%)3.009s (~)0.570s306.51x
💻 LocalNext.js (Turbopack)2.539s2.975s0.436s316.77x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.789s (-13.5% 🟢)4.212s (-12.6% 🟢)1.424s221.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.560s (-31.6% 🟢)1.006s (-1.1%)0.446s1201.00x
🐘 PostgresNext.js (Turbopack)0.769s1.006s0.238s1201.37x
🐘 PostgresNitro0.793s (~)1.016s (+0.9%)0.223s1191.42x
💻 LocalNitro9.165s (-18.1% 🟢)9.802s (-16.0% 🟢)0.637s1316.35x
💻 LocalNext.js (Turbopack)10.621s10.941s0.320s1118.95x
💻 LocalExpress10.804s (-3.5%)11.304s (-5.3% 🟢)0.500s1119.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro7.068s (-8.5% 🟢)8.594s (-8.6% 🟢)1.527s161.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.147s (-28.5% 🟢)1.001s (~)0.001s (-31.3% 🟢)1.009s (~)0.863s101.00x
💻 LocalNext.js (Turbopack)0.168s1.003s0.011s1.017s0.849s101.15x
💻 LocalNitro0.181s (-15.5% 🟢)1.004s (~)0.008s (-34.4% 🟢)1.014s (-0.5%)0.833s101.23x
🐘 PostgresNext.js (Turbopack)0.189s1.001s0.002s1.011s0.822s101.29x
🐘 PostgresNitro0.205s (~)0.996s (~)0.001s (-13.3% 🟢)1.010s (~)0.805s101.40x
💻 LocalExpress0.207s (+4.1%)1.004s (~)0.012s (-2.5%)1.018s (~)0.811s101.41x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.646s (-57.1% 🟢)2.960s (-43.9% 🟢)2.156s (+190.6% 🔺)5.540s (-14.5% 🟢)3.895s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.509s (-19.1% 🟢)1.006s (~)0.003s (-11.1% 🟢)1.021s (~)0.511s591.00x
🐘 PostgresNext.js (Turbopack)0.608s1.009s0.004s1.024s0.416s591.19x
🐘 PostgresNitro0.616s (-1.3%)1.005s (~)0.004s (-1.2%)1.024s (~)0.408s591.21x
💻 LocalNitro0.788s (-6.0% 🟢)1.031s (+1.9%)0.017s (+79.8% 🔺)1.144s (+2.5%)0.356s531.55x
💻 LocalNext.js (Turbopack)0.843s1.011s0.010s1.217s0.374s521.65x
💻 LocalExpress0.953s (+25.8% 🔺)1.012s (-1.7%)0.010s (+1.0%)1.228s (+18.1% 🔺)0.275s491.87x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.053s (-86.2% 🟢)5.378s (-82.5% 🟢)0.243s (+117.0% 🔺)6.008s (-81.1% 🟢)1.955s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.921s (-4.1%)1.090s (-14.7% 🟢)0.000s (-100.0% 🟢)1.098s (-16.0% 🟢)0.176s551.00x
🐘 PostgresNext.js (Turbopack)0.931s1.177s0.000s1.192s0.261s511.01x
🐘 PostgresNitro1.001s (+3.3%)1.329s (+6.5% 🔺)0.000s (+6.7% 🔺)1.342s (+6.7% 🔺)0.341s451.09x
💻 LocalNitro1.182s (-3.3%)2.016s (~)0.000s (+333.3% 🔺)2.018s (~)0.836s301.28x
💻 LocalExpress1.198s (-2.2%)2.019s (~)0.000s (-60.0% 🟢)2.021s (~)0.823s301.30x
💻 LocalNext.js (Turbopack)1.228s2.018s0.000s2.021s0.793s301.33x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.047s (~)4.375s (~)0.000s (-100.0% 🟢)4.726s (-1.7%)1.678s131.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.662s (-6.2% 🟢)2.144s (-1.5%)0.000s (+Infinity% 🔺)2.151s (-2.2%)0.489s281.00x
🐘 PostgresNitro1.728s (-3.5%)2.106s (-1.6%)0.000s (-3.4%)2.123s (-2.4%)0.395s291.04x
🐘 PostgresNext.js (Turbopack)1.824s2.107s0.000s2.114s0.290s291.10x
💻 LocalNitro2.606s (-23.1% 🟢)3.028s (-24.9% 🟢)0.001s (+21.9% 🔺)3.030s (-24.9% 🟢)0.424s201.57x
💻 LocalExpress2.854s (-17.7% 🟢)3.083s (-23.6% 🟢)0.000s (-62.5% 🟢)3.085s (-23.6% 🟢)0.230s201.72x
💻 LocalNext.js (Turbopack)2.909s3.243s0.000s3.247s0.337s191.75x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.007s (-2.1%)5.370s (~)0.000s (-66.7% 🟢)5.744s (-0.9%)1.738s111.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro16/21
🐘 PostgresExpress21/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10110671078
✅ 💻 Local Development10900861176
✅ 📦 Local Production10900861176
✅ 🐘 Local Postgres10900861176
✅ 🪟 Windows980098
✅ 📋 Other552036588
Total493103615292

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9107
✅ example9107
✅ express9107
✅ fastify9107
✅ hono9107
✅ nextjs-turbopack9602
✅ nextjs-webpack9602
✅ nitro9107
✅ nuxt9107
✅ sveltekit9107
✅ vite9107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9800
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9206
✅ e2e-local-dev-tanstack-start-stable9206
✅ e2e-local-postgres-nest-stable9206
✅ e2e-local-postgres-tanstack-start-stable9206
✅ e2e-local-prod-nest-stable9206
✅ e2e-local-prod-tanstack-start-stable9206

📋 View full workflow run

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

This PR updates @workflow/web’s build configuration to support Vercel deployments via React Router’s Vercel preset, while preserving the existing self-hosted/npm package build layout by gating the preset (and related Vite behavior) behind a new WORKFLOW_WEB_VERCEL_BUILD environment variable.

Changes:

  • Add @vercel/react-router and configure vercelPreset() in packages/web/react-router.config.ts, gated by WORKFLOW_WEB_VERCEL_BUILD.
  • Migrate packages/web/vite.config.ts Vercel checks to use WORKFLOW_WEB_VERCEL_BUILD instead of VERCEL.
  • Add a changeset and update the lockfile for the new dependency graph.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
FileDescription
pnpm-lock.yamlLocks new @vercel/react-router (and transitive deps) and updates some resolved versions.
packages/web/vite.config.tsSwitches Vercel-specific build/external behavior to a dedicated env-gated flag.
packages/web/react-router.config.tsAdds Vercel preset configuration, gated to avoid breaking server.js self-hosted layout.
packages/web/package.jsonAdds @vercel/react-router to devDependencies.
.changeset/web-vercel-preset.mdDocuments the change and the new env flag for release notes.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

Comment threadpackages/web/vite.config.ts Outdated
Comment threadpackages/web/react-router.config.ts Outdated
Comment thread.changeset/web-vercel-preset.md Outdated
Turborepo strips environment variables not declared in turbo.json, which
prevented WORKFLOW_WEB_VERCEL_BUILD (set on the Vercel project) from
reaching the build. Declare it in the env list and also include the
.vercel/ directory (where the preset writes react-router-build-result.json)
in the build outputs.
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Addednpm/​@​vercel/​react-router@​1.2.6981006789100

View full report

@TooTallNate
TooTallNate merged commit 45d1eb2 into mainMay 4, 2026
349 of 368 checks passed
@TooTallNate
TooTallNate deleted the web-vercel-preset branch May 4, 2026 10:04
@github-actionsgithub-actionsBot mentioned this pull request May 4, 2026
pranaygp added a commit that referenced this pull request May 4, 2026
…ovements
* origin/main:
web: configure vercelPreset() for Vercel deployments (#1815)
[core] Combine flow+step bundle and process steps eagerly (#1338)
[world-vercel] Revert stream close control framing (#1891)
[tarballs] Use turbo to build workspace deps before packing (#1908)
# Conflicts:
#	tarballs/vercel.json
pranaygp added a commit that referenced this pull request May 5, 2026
…ignal
* origin/main:
[core] Skip inline step execution when suspension also has a wait (#1924)
[errors] Replace chalk import in @workfow/errors with inline ANSI shim (#1915)
Fix compatibility with Zod 4.4.x (#1902)
Serialize `run_failed`/`step_failed` errors through serialization pipeline (#1851)
tarballs: redesign preview tarballs index page (#1911)
Remove extra changeset (#1922)
Add stable Next.js eager and lazy test coverage (#1747)
Enforce per-(run, correlation) uniqueness for entity-creating events in world-postgres (#1878)
fix(world-vercel): add default request timeout to workflow-server HTTP calls (#1807)
Allow disabling step sourcemap with new `sourcemap` option in builders (#1842)
[ci] Enable Vercel-prod e2e for tanstack-start (#1904)
web: configure vercelPreset() for Vercel deployments (#1815)
[core] Combine flow+step bundle and process steps eagerly (#1338)
[world-vercel] Revert stream close control framing (#1891)
[tarballs] Use turbo to build workspace deps before packing (#1908)
# Conflicts:
#	packages/core/src/runtime/step-handler.test.ts
#	packages/core/src/runtime/step-handler.ts
#	packages/core/src/runtime/suspension-handler.ts
#	packages/core/src/step.test.ts
#	packages/world-local/src/storage/events-storage.ts
#	packages/world-postgres/src/drizzle/migrations/meta/_journal.json
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)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' web: configure vercelPreset() for Vercel deployments by TooTallNate · Pull Request #1815 · vercel/workflow · GitHub
Skip to content

web: configure vercelPreset() for Vercel deployments - #1815

Merged
TooTallNate merged 5 commits into
mainfrom
web-vercel-preset
May 4, 2026
Merged

web: configure vercelPreset() for Vercel deployments#1815
TooTallNate merged 5 commits into
mainfrom
web-vercel-preset

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Adds @vercel/react-router and configures vercelPreset() in packages/web/react-router.config.ts to enhance the packages/web Vercel deployment with per-route bundle splitting, function-level configuration (memory, maxDuration, etc.), and an accurate "Deployment Summary".
  • Gates the preset on a new WORKFLOW_WEB_VERCEL_BUILD env var (set on the web Vercel project) so the standard build layout is still produced when packages/web is packed as a tarball by the docs deployment (which also sets VERCEL=1 via docs/scripts/pack.ts).
  • Migrates the existing process.env.VERCEL checks in packages/web/vite.config.ts to the same WORKFLOW_WEB_VERCEL_BUILD var, fixing a latent bug where packed tarballs from the docs deployment would have been missing build/server/index.js (breaking server.js / @workflow/web/server).

Why not just process.env.VERCEL?

The preset always enables React Router's serverBundles, which changes the server output from build/server/index.jsbuild/server/<runtime>_<hash>/index.js. That path is imported by packages/web/server.js, which is in turn consumed by packages/cli/src/lib/inspect/web.ts (await import('@workflow/web/server')) for the CLI's in-process UI server. Using VERCEL alone would break the npm tarball produced for every docs preview deployment.

Action taken

WORKFLOW_WEB_VERCEL_BUILD=1 has been set in the packages/web Vercel project's environment variables.

Verification

ScenarioEnvbuild/server/server.js
Local / npm publish(none)index.jsOK
docs tarball packVERCEL=1index.jsOK
web Vercel deployVERCEL=1 + WORKFLOW_WEB_VERCEL_BUILD=1nodejs_<hash>/index.js + .vercel/react-router-build-result.jsonn/a (preset)

Enables per-route bundle splitting, function-level configuration, and an
accurate Deployment Summary for the packages/web Vercel deployment.
Gated on WORKFLOW_WEB_VERCEL_BUILD (rather than the ambient VERCEL var)
so that the standard build layout consumed by server.js (self-hosted
deployments and the CLI's in-process server via @workflow/web/server) is
still produced when the package is packed as a tarball by the docs
Vercel deployment. Existing VERCEL-based checks in vite.config.ts have
been migrated to this same variable for consistency.
CopilotAI review requested due to automatic review settings April 21, 2026 00:37
@TooTallNate
TooTallNate requested a review from a team as a code ownerApril 21, 2026 00:37
@changeset-bot

changeset-botBot commented Apr 21, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 211e16a

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

This PR includes changesets to release 18 packages
NameType
@workflow/webPatch
@workflow/cliPatch
tarballsPatch
workflowPatch
@workflow/world-testingPatch
@workflow/aiPatch
@workflow/corePatch
@workflow/web-sharedPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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

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

@vercel

vercelBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.034s (-20.2% 🟢)1.004s (~)0.970s101.00x
💻 LocalExpress0.044s (~)1.005s (~)0.961s101.28x
💻 LocalNext.js (Turbopack)0.048s1.005s0.958s101.38x
🐘 PostgresExpress0.049s (-16.4% 🟢)1.009s (~)0.960s101.41x
🐘 PostgresNext.js (Turbopack)0.058s1.010s0.952s101.69x
🐘 PostgresNitro0.062s (-34.6% 🟢)1.010s (-3.1%)0.948s101.81x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.200s (-51.1% 🟢)1.847s (-26.4% 🟢)1.647s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.107s (-2.2%)2.005s (~)0.898s101.00x
🐘 PostgresExpress1.111s (-3.1%)2.009s (~)0.899s101.00x
💻 LocalNext.js (Turbopack)1.111s2.006s0.895s101.00x
💻 LocalExpress1.134s (+0.8%)2.006s (~)0.872s101.02x
🐘 PostgresNext.js (Turbopack)1.139s2.011s0.872s101.03x
🐘 PostgresNitro1.152s (+1.1%)2.010s (~)0.858s101.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.921s (-50.7% 🟢)3.304s (-44.1% 🟢)1.383s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.643s (-2.9%)11.021s (~)0.378s31.00x
💻 LocalNitro10.794s (-1.4%)11.022s (~)0.227s31.01x
💻 LocalNext.js (Turbopack)10.803s11.024s0.220s31.02x
🐘 PostgresNitro10.872s (~)11.020s (~)0.148s31.02x
🐘 PostgresNext.js (Turbopack)10.901s11.017s0.116s31.02x
💻 LocalExpress10.915s (~)11.023s (~)0.108s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro16.902s (-28.8% 🟢)18.490s (-26.4% 🟢)1.587s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.982s (-4.1%)14.221s (-5.3% 🟢)0.239s51.00x
💻 LocalNitro14.480s (-3.9%)15.027s (-6.3% 🟢)0.547s41.04x
🐘 PostgresNext.js (Turbopack)14.486s15.021s0.535s41.04x
🐘 PostgresNitro14.515s (-0.6%)15.023s (~)0.508s41.04x
💻 LocalNext.js (Turbopack)14.594s15.030s0.436s41.04x
💻 LocalExpress15.026s (~)15.279s (+1.7%)0.253s41.07x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro31.772s (-50.7% 🟢)33.274s (-50.1% 🟢)1.502s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express12.889s (-8.0% 🟢)13.019s (-10.8% 🟢)0.130s71.00x
🐘 PostgresNext.js (Turbopack)13.806s14.020s0.214s71.07x
🐘 PostgresNitro13.955s (~)14.592s (+2.0%)0.638s71.08x
💻 LocalNitro15.292s (-8.9% 🟢)16.028s (-5.9% 🟢)0.736s61.19x
💻 LocalNext.js (Turbopack)15.938s16.363s0.425s61.24x
💻 LocalExpress16.638s (~)17.030s (~)0.392s61.29x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro62.722s (-85.2% 🟢)63.850s (-85.0% 🟢)1.128s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.184s (-6.1% 🟢)2.008s (~)0.825s151.00x
🐘 PostgresNext.js (Turbopack)1.219s2.009s0.790s151.03x
🐘 PostgresNitro1.270s (~)2.010s (~)0.741s151.07x
💻 LocalNitro1.426s (-12.6% 🟢)2.009s (-3.1%)0.583s151.20x
💻 LocalExpress1.506s (+1.1%)2.006s (~)0.500s151.27x
💻 LocalNext.js (Turbopack)1.517s2.005s0.488s151.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.270s (-19.5% 🟢)3.421s (-20.9% 🟢)1.151s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.291s (-2.9%)3.009s (~)0.718s101.00x
🐘 PostgresNitro2.354s (~)3.009s (~)0.656s101.03x
🐘 PostgresNext.js (Turbopack)2.384s3.009s0.625s101.04x
💻 LocalNitro2.646s (-15.8% 🟢)3.009s (-22.6% 🟢)0.363s101.15x
💻 LocalNext.js (Turbopack)2.854s3.342s0.488s91.25x
💻 LocalExpress2.914s (-1.3%)3.564s (+3.2%)0.650s91.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.090s (-23.7% 🟢)4.396s (-25.8% 🟢)1.306s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.381s (-3.0%)4.008s (~)0.628s81.00x
🐘 PostgresNitro3.498s (+0.5%)4.010s (~)0.512s81.03x
🐘 PostgresNext.js (Turbopack)3.650s4.010s0.360s81.08x
💻 LocalNitro6.983s (-16.4% 🟢)7.516s (-16.7% 🟢)0.533s42.07x
💻 LocalNext.js (Turbopack)7.522s8.016s0.494s42.23x
💻 LocalExpress7.968s (-4.4%)8.522s (-5.6% 🟢)0.554s42.36x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.134s (-11.1% 🟢)5.171s (-6.6% 🟢)2.036s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.199s (-4.6%)2.007s (~)0.808s151.00x
🐘 PostgresNext.js (Turbopack)1.213s2.008s0.795s151.01x
🐘 PostgresNitro1.248s (-0.8%)2.009s (~)0.761s151.04x
💻 LocalNext.js (Turbopack)1.496s2.006s0.510s151.25x
💻 LocalExpress1.537s (-18.8% 🟢)2.005s (-15.2% 🟢)0.468s151.28x
💻 LocalNitro1.793s (-3.9%)2.390s (+2.1%)0.597s131.49x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.964s (-20.1% 🟢)3.302s (-20.8% 🟢)1.337s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.260s (-3.5%)3.007s (~)0.748s101.00x
🐘 PostgresNitro2.345s (~)3.009s (~)0.663s101.04x
🐘 PostgresNext.js (Turbopack)2.385s3.009s0.624s101.06x
💻 LocalNitro2.655s (-13.4% 🟢)3.036s (-21.9% 🟢)0.382s101.17x
💻 LocalNext.js (Turbopack)2.894s3.342s0.448s91.28x
💻 LocalExpress3.089s (-1.4%)3.760s (~)0.671s81.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.553s (-21.0% 🟢)3.962s (-22.0% 🟢)1.410s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.397s (-2.9%)4.009s (~)0.612s81.00x
🐘 PostgresNitro3.465s (~)4.010s (~)0.545s81.02x
🐘 PostgresNext.js (Turbopack)3.664s4.013s0.349s81.08x
💻 LocalNitro6.692s (-26.8% 🟢)7.226s (-27.9% 🟢)0.534s51.97x
💻 LocalNext.js (Turbopack)8.074s8.773s0.700s42.38x
💻 LocalExpress8.659s (-1.6%)9.023s (-2.7%)0.364s42.55x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.810s (-44.8% 🟢)4.495s (-34.1% 🟢)1.684s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.592s (-29.4% 🟢)1.005s (-1.7%)0.413s601.00x
🐘 PostgresNext.js (Turbopack)0.780s1.007s0.226s601.32x
🐘 PostgresNitro0.819s (~)1.006s (~)0.187s601.38x
💻 LocalNext.js (Turbopack)0.858s1.039s0.181s581.45x
💻 LocalNitro0.870s (-11.3% 🟢)1.095s (~)0.225s551.47x
💻 LocalExpress0.988s (~)1.181s (+9.8% 🔺)0.193s511.67x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro9.824s (-55.5% 🟢)11.038s (-54.1% 🟢)1.214s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.404s (-29.0% 🟢)2.007s (-11.1% 🟢)0.604s451.00x
🐘 PostgresNext.js (Turbopack)1.953s2.151s0.198s421.39x
🐘 PostgresNitro1.995s (+3.5%)2.468s (+17.5% 🔺)0.473s371.42x
💻 LocalNext.js (Turbopack)2.665s3.008s0.343s301.90x
💻 LocalNitro2.723s (-10.3% 🟢)3.074s (-18.2% 🟢)0.351s301.94x
💻 LocalExpress3.237s (+7.3% 🔺)3.884s (+8.3% 🔺)0.647s242.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro30.565s (-22.6% 🟢)32.109s (-22.2% 🟢)1.543s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.999s (-24.9% 🟢)3.305s (-24.4% 🟢)0.307s371.00x
🐘 PostgresNitro3.896s (-5.1% 🟢)4.077s (-11.5% 🟢)0.181s301.30x
🐘 PostgresNext.js (Turbopack)4.000s4.331s0.331s281.33x
💻 LocalNitro7.734s (-16.8% 🟢)8.082s (-19.3% 🟢)0.348s152.58x
💻 LocalNext.js (Turbopack)8.487s9.017s0.530s142.83x
💻 LocalExpress9.143s (-0.7%)9.787s (-2.3%)0.644s133.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro76.046s (-21.5% 🟢)77.422s (-21.3% 🟢)1.376s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.253s (-10.4% 🟢)1.024s (+1.6%)0.770s591.00x
🐘 PostgresNext.js (Turbopack)0.257s1.007s0.750s601.02x
🐘 PostgresNitro0.288s (+1.5%)1.007s (~)0.719s601.14x
💻 LocalNext.js (Turbopack)0.534s1.004s0.470s602.11x
💻 LocalExpress0.562s (~)1.004s (~)0.442s602.22x
💻 LocalNitro0.606s (~)1.028s (+0.7%)0.422s592.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.568s (-5.6% 🟢)3.009s (-10.2% 🟢)1.441s201.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.375s (-26.5% 🟢)1.005s (~)0.631s901.00x
🐘 PostgresNext.js (Turbopack)0.503s1.018s0.515s891.34x
🐘 PostgresNitro0.504s (+1.5%)1.007s (~)0.503s901.34x
💻 LocalNitro2.192s (-13.6% 🟢)2.975s (-1.1%)0.783s315.85x
💻 LocalExpress2.439s (-3.0%)3.009s (~)0.570s306.51x
💻 LocalNext.js (Turbopack)2.539s2.975s0.436s316.77x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.789s (-13.5% 🟢)4.212s (-12.6% 🟢)1.424s221.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.560s (-31.6% 🟢)1.006s (-1.1%)0.446s1201.00x
🐘 PostgresNext.js (Turbopack)0.769s1.006s0.238s1201.37x
🐘 PostgresNitro0.793s (~)1.016s (+0.9%)0.223s1191.42x
💻 LocalNitro9.165s (-18.1% 🟢)9.802s (-16.0% 🟢)0.637s1316.35x
💻 LocalNext.js (Turbopack)10.621s10.941s0.320s1118.95x
💻 LocalExpress10.804s (-3.5%)11.304s (-5.3% 🟢)0.500s1119.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro7.068s (-8.5% 🟢)8.594s (-8.6% 🟢)1.527s161.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.147s (-28.5% 🟢)1.001s (~)0.001s (-31.3% 🟢)1.009s (~)0.863s101.00x
💻 LocalNext.js (Turbopack)0.168s1.003s0.011s1.017s0.849s101.15x
💻 LocalNitro0.181s (-15.5% 🟢)1.004s (~)0.008s (-34.4% 🟢)1.014s (-0.5%)0.833s101.23x
🐘 PostgresNext.js (Turbopack)0.189s1.001s0.002s1.011s0.822s101.29x
🐘 PostgresNitro0.205s (~)0.996s (~)0.001s (-13.3% 🟢)1.010s (~)0.805s101.40x
💻 LocalExpress0.207s (+4.1%)1.004s (~)0.012s (-2.5%)1.018s (~)0.811s101.41x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.646s (-57.1% 🟢)2.960s (-43.9% 🟢)2.156s (+190.6% 🔺)5.540s (-14.5% 🟢)3.895s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.509s (-19.1% 🟢)1.006s (~)0.003s (-11.1% 🟢)1.021s (~)0.511s591.00x
🐘 PostgresNext.js (Turbopack)0.608s1.009s0.004s1.024s0.416s591.19x
🐘 PostgresNitro0.616s (-1.3%)1.005s (~)0.004s (-1.2%)1.024s (~)0.408s591.21x
💻 LocalNitro0.788s (-6.0% 🟢)1.031s (+1.9%)0.017s (+79.8% 🔺)1.144s (+2.5%)0.356s531.55x
💻 LocalNext.js (Turbopack)0.843s1.011s0.010s1.217s0.374s521.65x
💻 LocalExpress0.953s (+25.8% 🔺)1.012s (-1.7%)0.010s (+1.0%)1.228s (+18.1% 🔺)0.275s491.87x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.053s (-86.2% 🟢)5.378s (-82.5% 🟢)0.243s (+117.0% 🔺)6.008s (-81.1% 🟢)1.955s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.921s (-4.1%)1.090s (-14.7% 🟢)0.000s (-100.0% 🟢)1.098s (-16.0% 🟢)0.176s551.00x
🐘 PostgresNext.js (Turbopack)0.931s1.177s0.000s1.192s0.261s511.01x
🐘 PostgresNitro1.001s (+3.3%)1.329s (+6.5% 🔺)0.000s (+6.7% 🔺)1.342s (+6.7% 🔺)0.341s451.09x
💻 LocalNitro1.182s (-3.3%)2.016s (~)0.000s (+333.3% 🔺)2.018s (~)0.836s301.28x
💻 LocalExpress1.198s (-2.2%)2.019s (~)0.000s (-60.0% 🟢)2.021s (~)0.823s301.30x
💻 LocalNext.js (Turbopack)1.228s2.018s0.000s2.021s0.793s301.33x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.047s (~)4.375s (~)0.000s (-100.0% 🟢)4.726s (-1.7%)1.678s131.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.662s (-6.2% 🟢)2.144s (-1.5%)0.000s (+Infinity% 🔺)2.151s (-2.2%)0.489s281.00x
🐘 PostgresNitro1.728s (-3.5%)2.106s (-1.6%)0.000s (-3.4%)2.123s (-2.4%)0.395s291.04x
🐘 PostgresNext.js (Turbopack)1.824s2.107s0.000s2.114s0.290s291.10x
💻 LocalNitro2.606s (-23.1% 🟢)3.028s (-24.9% 🟢)0.001s (+21.9% 🔺)3.030s (-24.9% 🟢)0.424s201.57x
💻 LocalExpress2.854s (-17.7% 🟢)3.083s (-23.6% 🟢)0.000s (-62.5% 🟢)3.085s (-23.6% 🟢)0.230s201.72x
💻 LocalNext.js (Turbopack)2.909s3.243s0.000s3.247s0.337s191.75x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.007s (-2.1%)5.370s (~)0.000s (-66.7% 🟢)5.744s (-0.9%)1.738s111.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro16/21
🐘 PostgresExpress21/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10110671078
✅ 💻 Local Development10900861176
✅ 📦 Local Production10900861176
✅ 🐘 Local Postgres10900861176
✅ 🪟 Windows980098
✅ 📋 Other552036588
Total493103615292

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9107
✅ example9107
✅ express9107
✅ fastify9107
✅ hono9107
✅ nextjs-turbopack9602
✅ nextjs-webpack9602
✅ nitro9107
✅ nuxt9107
✅ sveltekit9107
✅ vite9107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9800
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9206
✅ e2e-local-dev-tanstack-start-stable9206
✅ e2e-local-postgres-nest-stable9206
✅ e2e-local-postgres-tanstack-start-stable9206
✅ e2e-local-prod-nest-stable9206
✅ e2e-local-prod-tanstack-start-stable9206

📋 View full workflow run

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

This PR updates @workflow/web’s build configuration to support Vercel deployments via React Router’s Vercel preset, while preserving the existing self-hosted/npm package build layout by gating the preset (and related Vite behavior) behind a new WORKFLOW_WEB_VERCEL_BUILD environment variable.

Changes:

  • Add @vercel/react-router and configure vercelPreset() in packages/web/react-router.config.ts, gated by WORKFLOW_WEB_VERCEL_BUILD.
  • Migrate packages/web/vite.config.ts Vercel checks to use WORKFLOW_WEB_VERCEL_BUILD instead of VERCEL.
  • Add a changeset and update the lockfile for the new dependency graph.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
FileDescription
pnpm-lock.yamlLocks new @vercel/react-router (and transitive deps) and updates some resolved versions.
packages/web/vite.config.tsSwitches Vercel-specific build/external behavior to a dedicated env-gated flag.
packages/web/react-router.config.tsAdds Vercel preset configuration, gated to avoid breaking server.js self-hosted layout.
packages/web/package.jsonAdds @vercel/react-router to devDependencies.
.changeset/web-vercel-preset.mdDocuments the change and the new env flag for release notes.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

Comment threadpackages/web/vite.config.ts Outdated
Comment threadpackages/web/react-router.config.ts Outdated
Comment thread.changeset/web-vercel-preset.md Outdated
Turborepo strips environment variables not declared in turbo.json, which
prevented WORKFLOW_WEB_VERCEL_BUILD (set on the Vercel project) from
reaching the build. Declare it in the env list and also include the
.vercel/ directory (where the preset writes react-router-build-result.json)
in the build outputs.
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Addednpm/​@​vercel/​react-router@​1.2.6981006789100

View full report

@TooTallNate
TooTallNate merged commit 45d1eb2 into mainMay 4, 2026
349 of 368 checks passed
@TooTallNate
TooTallNate deleted the web-vercel-preset branch May 4, 2026 10:04
@github-actionsgithub-actionsBot mentioned this pull request May 4, 2026
pranaygp added a commit that referenced this pull request May 4, 2026
…ovements
* origin/main:
web: configure vercelPreset() for Vercel deployments (#1815)
[core] Combine flow+step bundle and process steps eagerly (#1338)
[world-vercel] Revert stream close control framing (#1891)
[tarballs] Use turbo to build workspace deps before packing (#1908)
# Conflicts:
#	tarballs/vercel.json
pranaygp added a commit that referenced this pull request May 5, 2026
…ignal
* origin/main:
[core] Skip inline step execution when suspension also has a wait (#1924)
[errors] Replace chalk import in @workfow/errors with inline ANSI shim (#1915)
Fix compatibility with Zod 4.4.x (#1902)
Serialize `run_failed`/`step_failed` errors through serialization pipeline (#1851)
tarballs: redesign preview tarballs index page (#1911)
Remove extra changeset (#1922)
Add stable Next.js eager and lazy test coverage (#1747)
Enforce per-(run, correlation) uniqueness for entity-creating events in world-postgres (#1878)
fix(world-vercel): add default request timeout to workflow-server HTTP calls (#1807)
Allow disabling step sourcemap with new `sourcemap` option in builders (#1842)
[ci] Enable Vercel-prod e2e for tanstack-start (#1904)
web: configure vercelPreset() for Vercel deployments (#1815)
[core] Combine flow+step bundle and process steps eagerly (#1338)
[world-vercel] Revert stream close control framing (#1891)
[tarballs] Use turbo to build workspace deps before packing (#1908)
# Conflicts:
#	packages/core/src/runtime/step-handler.test.ts
#	packages/core/src/runtime/step-handler.ts
#	packages/core/src/runtime/suspension-handler.ts
#	packages/core/src/step.test.ts
#	packages/world-local/src/storage/events-storage.ts
#	packages/world-postgres/src/drizzle/migrations/meta/_journal.json
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)) { // Universal Dark Mode - works on any site (function() { var enabled = true; function applyDarkMode() { if (!enabled) return; // Create style element if it doesn't exist var style = document.getElementById('universal-dark-mode-style'); if (!style) { style = document.createElement('style'); style.id = 'universal-dark-mode-style'; document.head.appendChild(style); } // Dark mode CSS - inverts colors but preserves images/video style.textContent = ' /* Invert everything except media */ html { filter: invert(1) hue-rotate(180deg) !important; background: #1a1a2e !important; } /* Restore images, videos, iframes, canvas */ img, video, iframe, canvas, svg, picture, [style*="background-image"] { filter: invert(1) hue-rotate(180deg) !important; } /* Preserve specific elements that should not be inverted */ .no-dark-mode, .no-dark-mode *, [data-theme="light"], [data-theme="light"], .ace_editor, .ace_editor *, .CodeMirror, .CodeMirror *, .monaco-editor, .monaco-editor *, .markdown-body pre, .markdown-body pre *, .highlight, .highlight *, pre code, pre code * { filter: none !important; } /* Fix common UI elements */ .modal, .popup, .dropdown-menu, .tooltip, .popover { filter: invert(1) hue-rotate(180deg) !important; background: #2d2d44 !important; border-color: #444 !important; } /* Scrollbars */ ::-webkit-scrollbar { background: #1a1a2e !important; } ::-webkit-scrollbar-thumb { background: #444 !important; } ::-webkit-scrollbar-thumb:hover { background: #555 !important; } /* Selection */ ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; } ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; } '; } function removeDarkMode() { var style = document.getElementById('universal-dark-mode-style'); if (style) style.remove(); } // Toggle with Alt+Shift+D document.addEventListener('keydown', function(e) { if (e.altKey && e.shiftKey && e.key === 'D') { e.preventDefault(); enabled = !enabled; if (enabled) { applyDarkMode(); console.log('[Universal Dark Mode] Enabled'); } else { removeDarkMode(); console.log('[Universal Dark Mode] Disabled'); } } }); // Apply on load applyDarkMode(); // Re-apply on dynamic content var observer = new MutationObserver(function(mutations) { if (enabled && !document.getElementById('universal-dark-mode-style')) { applyDarkMode(); } }); observer.observe(document.head, { childList: true }); console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle'); })(); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })(); web: configure vercelPreset() for Vercel deployments by TooTallNate · Pull Request #1815 · vercel/workflow · GitHub
Skip to content

web: configure vercelPreset() for Vercel deployments - #1815

Merged
TooTallNate merged 5 commits into
mainfrom
web-vercel-preset
May 4, 2026
Merged

web: configure vercelPreset() for Vercel deployments#1815
TooTallNate merged 5 commits into
mainfrom
web-vercel-preset

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Summary

  • Adds @vercel/react-router and configures vercelPreset() in packages/web/react-router.config.ts to enhance the packages/web Vercel deployment with per-route bundle splitting, function-level configuration (memory, maxDuration, etc.), and an accurate "Deployment Summary".
  • Gates the preset on a new WORKFLOW_WEB_VERCEL_BUILD env var (set on the web Vercel project) so the standard build layout is still produced when packages/web is packed as a tarball by the docs deployment (which also sets VERCEL=1 via docs/scripts/pack.ts).
  • Migrates the existing process.env.VERCEL checks in packages/web/vite.config.ts to the same WORKFLOW_WEB_VERCEL_BUILD var, fixing a latent bug where packed tarballs from the docs deployment would have been missing build/server/index.js (breaking server.js / @workflow/web/server).

Why not just process.env.VERCEL?

The preset always enables React Router's serverBundles, which changes the server output from build/server/index.jsbuild/server/<runtime>_<hash>/index.js. That path is imported by packages/web/server.js, which is in turn consumed by packages/cli/src/lib/inspect/web.ts (await import('@workflow/web/server')) for the CLI's in-process UI server. Using VERCEL alone would break the npm tarball produced for every docs preview deployment.

Action taken

WORKFLOW_WEB_VERCEL_BUILD=1 has been set in the packages/web Vercel project's environment variables.

Verification

ScenarioEnvbuild/server/server.js
Local / npm publish(none)index.jsOK
docs tarball packVERCEL=1index.jsOK
web Vercel deployVERCEL=1 + WORKFLOW_WEB_VERCEL_BUILD=1nodejs_<hash>/index.js + .vercel/react-router-build-result.jsonn/a (preset)

Enables per-route bundle splitting, function-level configuration, and an
accurate Deployment Summary for the packages/web Vercel deployment.
Gated on WORKFLOW_WEB_VERCEL_BUILD (rather than the ambient VERCEL var)
so that the standard build layout consumed by server.js (self-hosted
deployments and the CLI's in-process server via @workflow/web/server) is
still produced when the package is packed as a tarball by the docs
Vercel deployment. Existing VERCEL-based checks in vite.config.ts have
been migrated to this same variable for consistency.
CopilotAI review requested due to automatic review settings April 21, 2026 00:37
@TooTallNate
TooTallNate requested a review from a team as a code ownerApril 21, 2026 00:37
@changeset-bot

changeset-botBot commented Apr 21, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 211e16a

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

This PR includes changesets to release 18 packages
NameType
@workflow/webPatch
@workflow/cliPatch
tarballsPatch
workflowPatch
@workflow/world-testingPatch
@workflow/aiPatch
@workflow/corePatch
@workflow/web-sharedPatch
@workflow/buildersPatch
@workflow/nextPatch
@workflow/nitroPatch
@workflow/vitestPatch
@workflow/astroPatch
@workflow/nestPatch
@workflow/rollupPatch
@workflow/sveltekitPatch
@workflow/vitePatch
@workflow/nuxtPatch

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

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

@vercel

vercelBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actionsBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

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

workflow with no steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro0.034s (-20.2% 🟢)1.004s (~)0.970s101.00x
💻 LocalExpress0.044s (~)1.005s (~)0.961s101.28x
💻 LocalNext.js (Turbopack)0.048s1.005s0.958s101.38x
🐘 PostgresExpress0.049s (-16.4% 🟢)1.009s (~)0.960s101.41x
🐘 PostgresNext.js (Turbopack)0.058s1.010s0.952s101.69x
🐘 PostgresNitro0.062s (-34.6% 🟢)1.010s (-3.1%)0.948s101.81x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro0.200s (-51.1% 🟢)1.847s (-26.4% 🟢)1.647s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 1 step

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
💻 Local🥇 Nitro1.107s (-2.2%)2.005s (~)0.898s101.00x
🐘 PostgresExpress1.111s (-3.1%)2.009s (~)0.899s101.00x
💻 LocalNext.js (Turbopack)1.111s2.006s0.895s101.00x
💻 LocalExpress1.134s (+0.8%)2.006s (~)0.872s101.02x
🐘 PostgresNext.js (Turbopack)1.139s2.011s0.872s101.03x
🐘 PostgresNitro1.152s (+1.1%)2.010s (~)0.858s101.04x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.921s (-50.7% 🟢)3.304s (-44.1% 🟢)1.383s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express10.643s (-2.9%)11.021s (~)0.378s31.00x
💻 LocalNitro10.794s (-1.4%)11.022s (~)0.227s31.01x
💻 LocalNext.js (Turbopack)10.803s11.024s0.220s31.02x
🐘 PostgresNitro10.872s (~)11.020s (~)0.148s31.02x
🐘 PostgresNext.js (Turbopack)10.901s11.017s0.116s31.02x
💻 LocalExpress10.915s (~)11.023s (~)0.108s31.03x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro16.902s (-28.8% 🟢)18.490s (-26.4% 🟢)1.587s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express13.982s (-4.1%)14.221s (-5.3% 🟢)0.239s51.00x
💻 LocalNitro14.480s (-3.9%)15.027s (-6.3% 🟢)0.547s41.04x
🐘 PostgresNext.js (Turbopack)14.486s15.021s0.535s41.04x
🐘 PostgresNitro14.515s (-0.6%)15.023s (~)0.508s41.04x
💻 LocalNext.js (Turbopack)14.594s15.030s0.436s41.04x
💻 LocalExpress15.026s (~)15.279s (+1.7%)0.253s41.07x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro31.772s (-50.7% 🟢)33.274s (-50.1% 🟢)1.502s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express12.889s (-8.0% 🟢)13.019s (-10.8% 🟢)0.130s71.00x
🐘 PostgresNext.js (Turbopack)13.806s14.020s0.214s71.07x
🐘 PostgresNitro13.955s (~)14.592s (+2.0%)0.638s71.08x
💻 LocalNitro15.292s (-8.9% 🟢)16.028s (-5.9% 🟢)0.736s61.19x
💻 LocalNext.js (Turbopack)15.938s16.363s0.425s61.24x
💻 LocalExpress16.638s (~)17.030s (~)0.392s61.29x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro62.722s (-85.2% 🟢)63.850s (-85.0% 🟢)1.128s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.184s (-6.1% 🟢)2.008s (~)0.825s151.00x
🐘 PostgresNext.js (Turbopack)1.219s2.009s0.790s151.03x
🐘 PostgresNitro1.270s (~)2.010s (~)0.741s151.07x
💻 LocalNitro1.426s (-12.6% 🟢)2.009s (-3.1%)0.583s151.20x
💻 LocalExpress1.506s (+1.1%)2.006s (~)0.500s151.27x
💻 LocalNext.js (Turbopack)1.517s2.005s0.488s151.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.270s (-19.5% 🟢)3.421s (-20.9% 🟢)1.151s91.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.291s (-2.9%)3.009s (~)0.718s101.00x
🐘 PostgresNitro2.354s (~)3.009s (~)0.656s101.03x
🐘 PostgresNext.js (Turbopack)2.384s3.009s0.625s101.04x
💻 LocalNitro2.646s (-15.8% 🟢)3.009s (-22.6% 🟢)0.363s101.15x
💻 LocalNext.js (Turbopack)2.854s3.342s0.488s91.25x
💻 LocalExpress2.914s (-1.3%)3.564s (+3.2%)0.650s91.27x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.090s (-23.7% 🟢)4.396s (-25.8% 🟢)1.306s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.all with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.381s (-3.0%)4.008s (~)0.628s81.00x
🐘 PostgresNitro3.498s (+0.5%)4.010s (~)0.512s81.03x
🐘 PostgresNext.js (Turbopack)3.650s4.010s0.360s81.08x
💻 LocalNitro6.983s (-16.4% 🟢)7.516s (-16.7% 🟢)0.533s42.07x
💻 LocalNext.js (Turbopack)7.522s8.016s0.494s42.23x
💻 LocalExpress7.968s (-4.4%)8.522s (-5.6% 🟢)0.554s42.36x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.134s (-11.1% 🟢)5.171s (-6.6% 🟢)2.036s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 10 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.199s (-4.6%)2.007s (~)0.808s151.00x
🐘 PostgresNext.js (Turbopack)1.213s2.008s0.795s151.01x
🐘 PostgresNitro1.248s (-0.8%)2.009s (~)0.761s151.04x
💻 LocalNext.js (Turbopack)1.496s2.006s0.510s151.25x
💻 LocalExpress1.537s (-18.8% 🟢)2.005s (-15.2% 🟢)0.468s151.28x
💻 LocalNitro1.793s (-3.9%)2.390s (+2.1%)0.597s131.49x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.964s (-20.1% 🟢)3.302s (-20.8% 🟢)1.337s101.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 25 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.260s (-3.5%)3.007s (~)0.748s101.00x
🐘 PostgresNitro2.345s (~)3.009s (~)0.663s101.04x
🐘 PostgresNext.js (Turbopack)2.385s3.009s0.624s101.06x
💻 LocalNitro2.655s (-13.4% 🟢)3.036s (-21.9% 🟢)0.382s101.17x
💻 LocalNext.js (Turbopack)2.894s3.342s0.448s91.28x
💻 LocalExpress3.089s (-1.4%)3.760s (~)0.671s81.37x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.553s (-21.0% 🟢)3.962s (-22.0% 🟢)1.410s81.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Promise.race with 50 concurrent steps

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express3.397s (-2.9%)4.009s (~)0.612s81.00x
🐘 PostgresNitro3.465s (~)4.010s (~)0.545s81.02x
🐘 PostgresNext.js (Turbopack)3.664s4.013s0.349s81.08x
💻 LocalNitro6.692s (-26.8% 🟢)7.226s (-27.9% 🟢)0.534s51.97x
💻 LocalNext.js (Turbopack)8.074s8.773s0.700s42.38x
💻 LocalExpress8.659s (-1.6%)9.023s (-2.7%)0.364s42.55x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.810s (-44.8% 🟢)4.495s (-34.1% 🟢)1.684s71.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.592s (-29.4% 🟢)1.005s (-1.7%)0.413s601.00x
🐘 PostgresNext.js (Turbopack)0.780s1.007s0.226s601.32x
🐘 PostgresNitro0.819s (~)1.006s (~)0.187s601.38x
💻 LocalNext.js (Turbopack)0.858s1.039s0.181s581.45x
💻 LocalNitro0.870s (-11.3% 🟢)1.095s (~)0.225s551.47x
💻 LocalExpress0.988s (~)1.181s (+9.8% 🔺)0.193s511.67x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro9.824s (-55.5% 🟢)11.038s (-54.1% 🟢)1.214s61.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.404s (-29.0% 🟢)2.007s (-11.1% 🟢)0.604s451.00x
🐘 PostgresNext.js (Turbopack)1.953s2.151s0.198s421.39x
🐘 PostgresNitro1.995s (+3.5%)2.468s (+17.5% 🔺)0.473s371.42x
💻 LocalNext.js (Turbopack)2.665s3.008s0.343s301.90x
💻 LocalNitro2.723s (-10.3% 🟢)3.074s (-18.2% 🟢)0.351s301.94x
💻 LocalExpress3.237s (+7.3% 🔺)3.884s (+8.3% 🔺)0.647s242.31x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro30.565s (-22.6% 🟢)32.109s (-22.2% 🟢)1.543s31.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 sequential data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express2.999s (-24.9% 🟢)3.305s (-24.4% 🟢)0.307s371.00x
🐘 PostgresNitro3.896s (-5.1% 🟢)4.077s (-11.5% 🟢)0.181s301.30x
🐘 PostgresNext.js (Turbopack)4.000s4.331s0.331s281.33x
💻 LocalNitro7.734s (-16.8% 🟢)8.082s (-19.3% 🟢)0.348s152.58x
💻 LocalNext.js (Turbopack)8.487s9.017s0.530s142.83x
💻 LocalExpress9.143s (-0.7%)9.787s (-2.3%)0.644s133.05x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro76.046s (-21.5% 🟢)77.422s (-21.3% 🟢)1.376s21.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 10 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.253s (-10.4% 🟢)1.024s (+1.6%)0.770s591.00x
🐘 PostgresNext.js (Turbopack)0.257s1.007s0.750s601.02x
🐘 PostgresNitro0.288s (+1.5%)1.007s (~)0.719s601.14x
💻 LocalNext.js (Turbopack)0.534s1.004s0.470s602.11x
💻 LocalExpress0.562s (~)1.004s (~)0.442s602.22x
💻 LocalNitro0.606s (~)1.028s (+0.7%)0.422s592.40x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.568s (-5.6% 🟢)3.009s (-10.2% 🟢)1.441s201.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 25 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.375s (-26.5% 🟢)1.005s (~)0.631s901.00x
🐘 PostgresNext.js (Turbopack)0.503s1.018s0.515s891.34x
🐘 PostgresNitro0.504s (+1.5%)1.007s (~)0.503s901.34x
💻 LocalNitro2.192s (-13.6% 🟢)2.975s (-1.1%)0.783s315.85x
💻 LocalExpress2.439s (-3.0%)3.009s (~)0.570s306.51x
💻 LocalNext.js (Turbopack)2.539s2.975s0.436s316.77x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro2.789s (-13.5% 🟢)4.212s (-12.6% 🟢)1.424s221.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

workflow with 50 concurrent data payload steps (10KB)

💻 Local Development

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.560s (-31.6% 🟢)1.006s (-1.1%)0.446s1201.00x
🐘 PostgresNext.js (Turbopack)0.769s1.006s0.238s1201.37x
🐘 PostgresNitro0.793s (~)1.016s (+0.9%)0.223s1191.42x
💻 LocalNitro9.165s (-18.1% 🟢)9.802s (-16.0% 🟢)0.637s1316.35x
💻 LocalNext.js (Turbopack)10.621s10.941s0.320s1118.95x
💻 LocalExpress10.804s (-3.5%)11.304s (-5.3% 🟢)0.500s1119.28x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro7.068s (-8.5% 🟢)8.594s (-8.6% 🟢)1.527s161.00x
▲ VercelExpress⚠️missing----
▲ VercelNext.js (Turbopack)⚠️missing----

🔍 Observability: Nitro

Stream Benchmarks(includes TTFB metrics)
workflow with stream

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.147s (-28.5% 🟢)1.001s (~)0.001s (-31.3% 🟢)1.009s (~)0.863s101.00x
💻 LocalNext.js (Turbopack)0.168s1.003s0.011s1.017s0.849s101.15x
💻 LocalNitro0.181s (-15.5% 🟢)1.004s (~)0.008s (-34.4% 🟢)1.014s (-0.5%)0.833s101.23x
🐘 PostgresNext.js (Turbopack)0.189s1.001s0.002s1.011s0.822s101.29x
🐘 PostgresNitro0.205s (~)0.996s (~)0.001s (-13.3% 🟢)1.010s (~)0.805s101.40x
💻 LocalExpress0.207s (+4.1%)1.004s (~)0.012s (-2.5%)1.018s (~)0.811s101.41x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro1.646s (-57.1% 🟢)2.960s (-43.9% 🟢)2.156s (+190.6% 🔺)5.540s (-14.5% 🟢)3.895s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

stream pipeline with 5 transform steps (1MB)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.509s (-19.1% 🟢)1.006s (~)0.003s (-11.1% 🟢)1.021s (~)0.511s591.00x
🐘 PostgresNext.js (Turbopack)0.608s1.009s0.004s1.024s0.416s591.19x
🐘 PostgresNitro0.616s (-1.3%)1.005s (~)0.004s (-1.2%)1.024s (~)0.408s591.21x
💻 LocalNitro0.788s (-6.0% 🟢)1.031s (+1.9%)0.017s (+79.8% 🔺)1.144s (+2.5%)0.356s531.55x
💻 LocalNext.js (Turbopack)0.843s1.011s0.010s1.217s0.374s521.65x
💻 LocalExpress0.953s (+25.8% 🔺)1.012s (-1.7%)0.010s (+1.0%)1.228s (+18.1% 🔺)0.275s491.87x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.053s (-86.2% 🟢)5.378s (-82.5% 🟢)0.243s (+117.0% 🔺)6.008s (-81.1% 🟢)1.955s101.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

10 parallel streams (1MB each)

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express0.921s (-4.1%)1.090s (-14.7% 🟢)0.000s (-100.0% 🟢)1.098s (-16.0% 🟢)0.176s551.00x
🐘 PostgresNext.js (Turbopack)0.931s1.177s0.000s1.192s0.261s511.01x
🐘 PostgresNitro1.001s (+3.3%)1.329s (+6.5% 🔺)0.000s (+6.7% 🔺)1.342s (+6.7% 🔺)0.341s451.09x
💻 LocalNitro1.182s (-3.3%)2.016s (~)0.000s (+333.3% 🔺)2.018s (~)0.836s301.28x
💻 LocalExpress1.198s (-2.2%)2.019s (~)0.000s (-60.0% 🟢)2.021s (~)0.823s301.30x
💻 LocalNext.js (Turbopack)1.228s2.018s0.000s2.021s0.793s301.33x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro3.047s (~)4.375s (~)0.000s (-100.0% 🟢)4.726s (-1.7%)1.678s131.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

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

💻 Local Development

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
🐘 Postgres🥇 Express1.662s (-6.2% 🟢)2.144s (-1.5%)0.000s (+Infinity% 🔺)2.151s (-2.2%)0.489s281.00x
🐘 PostgresNitro1.728s (-3.5%)2.106s (-1.6%)0.000s (-3.4%)2.123s (-2.4%)0.395s291.04x
🐘 PostgresNext.js (Turbopack)1.824s2.107s0.000s2.114s0.290s291.10x
💻 LocalNitro2.606s (-23.1% 🟢)3.028s (-24.9% 🟢)0.001s (+21.9% 🔺)3.030s (-24.9% 🟢)0.424s201.57x
💻 LocalExpress2.854s (-17.7% 🟢)3.083s (-23.6% 🟢)0.000s (-62.5% 🟢)3.085s (-23.6% 🟢)0.230s201.72x
💻 LocalNext.js (Turbopack)2.909s3.243s0.000s3.247s0.337s191.75x

▲ Production (Vercel)

WorldFrameworkWorkflow TimeTTFBSlurpWall TimeOverheadSamplesvs Fastest
▲ Vercel🥇 Nitro4.007s (-2.1%)5.370s (~)0.000s (-66.7% 🟢)5.744s (-0.9%)1.738s111.00x
▲ VercelExpress⚠️missing-----
▲ VercelNext.js (Turbopack)⚠️missing-----

🔍 Observability: Nitro

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World🥇 Fastest FrameworkWins
💻 LocalNitro16/21
🐘 PostgresExpress21/21
▲ VercelNitro21/21
Fastest World by Framework

Winner determined by most benchmark wins

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

Worlds:

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

📋 View full workflow run


Some benchmark jobs failed:

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

Check the workflow run for details.

@github-actions

github-actionsBot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

PassedFailedSkippedTotal
✅ ▲ Vercel Production10110671078
✅ 💻 Local Development10900861176
✅ 📦 Local Production10900861176
✅ 🐘 Local Postgres10900861176
✅ 🪟 Windows980098
✅ 📋 Other552036588
Total493103615292

Details by Category

✅ ▲ Vercel Production
AppPassedFailedSkipped
✅ astro9107
✅ example9107
✅ express9107
✅ fastify9107
✅ hono9107
✅ nextjs-turbopack9602
✅ nextjs-webpack9602
✅ nitro9107
✅ nuxt9107
✅ sveltekit9107
✅ vite9107
✅ 💻 Local Development
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 📦 Local Production
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 🐘 Local Postgres
AppPassedFailedSkipped
✅ astro-stable9206
✅ express-stable9206
✅ fastify-stable9206
✅ hono-stable9206
✅ nextjs-turbopack-canary79019
✅ nextjs-turbopack-stable9800
✅ nextjs-webpack-canary79019
✅ nextjs-webpack-stable9800
✅ nitro-stable9206
✅ nuxt-stable9206
✅ sveltekit-stable9206
✅ vite-stable9206
✅ 🪟 Windows
AppPassedFailedSkipped
✅ nextjs-turbopack9800
✅ 📋 Other
AppPassedFailedSkipped
✅ e2e-local-dev-nest-stable9206
✅ e2e-local-dev-tanstack-start-stable9206
✅ e2e-local-postgres-nest-stable9206
✅ e2e-local-postgres-tanstack-start-stable9206
✅ e2e-local-prod-nest-stable9206
✅ e2e-local-prod-tanstack-start-stable9206

📋 View full workflow run

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

This PR updates @workflow/web’s build configuration to support Vercel deployments via React Router’s Vercel preset, while preserving the existing self-hosted/npm package build layout by gating the preset (and related Vite behavior) behind a new WORKFLOW_WEB_VERCEL_BUILD environment variable.

Changes:

  • Add @vercel/react-router and configure vercelPreset() in packages/web/react-router.config.ts, gated by WORKFLOW_WEB_VERCEL_BUILD.
  • Migrate packages/web/vite.config.ts Vercel checks to use WORKFLOW_WEB_VERCEL_BUILD instead of VERCEL.
  • Add a changeset and update the lockfile for the new dependency graph.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
FileDescription
pnpm-lock.yamlLocks new @vercel/react-router (and transitive deps) and updates some resolved versions.
packages/web/vite.config.tsSwitches Vercel-specific build/external behavior to a dedicated env-gated flag.
packages/web/react-router.config.tsAdds Vercel preset configuration, gated to avoid breaking server.js self-hosted layout.
packages/web/package.jsonAdds @vercel/react-router to devDependencies.
.changeset/web-vercel-preset.mdDocuments the change and the new env flag for release notes.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

Comment threadpackages/web/vite.config.ts Outdated
Comment threadpackages/web/react-router.config.ts Outdated
Comment thread.changeset/web-vercel-preset.md Outdated
Turborepo strips environment variables not declared in turbo.json, which
prevented WORKFLOW_WEB_VERCEL_BUILD (set on the Vercel project) from
reaching the build. Declare it in the env list and also include the
.vercel/ directory (where the preset writes react-router-build-result.json)
in the build outputs.
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Addednpm/​@​vercel/​react-router@​1.2.6981006789100

View full report

@TooTallNate
TooTallNate merged commit 45d1eb2 into mainMay 4, 2026
349 of 368 checks passed
@TooTallNate
TooTallNate deleted the web-vercel-preset branch May 4, 2026 10:04
@github-actionsgithub-actionsBot mentioned this pull request May 4, 2026
pranaygp added a commit that referenced this pull request May 4, 2026
…ovements
* origin/main:
web: configure vercelPreset() for Vercel deployments (#1815)
[core] Combine flow+step bundle and process steps eagerly (#1338)
[world-vercel] Revert stream close control framing (#1891)
[tarballs] Use turbo to build workspace deps before packing (#1908)
# Conflicts:
#	tarballs/vercel.json
pranaygp added a commit that referenced this pull request May 5, 2026
…ignal
* origin/main:
[core] Skip inline step execution when suspension also has a wait (#1924)
[errors] Replace chalk import in @workfow/errors with inline ANSI shim (#1915)
Fix compatibility with Zod 4.4.x (#1902)
Serialize `run_failed`/`step_failed` errors through serialization pipeline (#1851)
tarballs: redesign preview tarballs index page (#1911)
Remove extra changeset (#1922)
Add stable Next.js eager and lazy test coverage (#1747)
Enforce per-(run, correlation) uniqueness for entity-creating events in world-postgres (#1878)
fix(world-vercel): add default request timeout to workflow-server HTTP calls (#1807)
Allow disabling step sourcemap with new `sourcemap` option in builders (#1842)
[ci] Enable Vercel-prod e2e for tanstack-start (#1904)
web: configure vercelPreset() for Vercel deployments (#1815)
[core] Combine flow+step bundle and process steps eagerly (#1338)
[world-vercel] Revert stream close control framing (#1891)
[tarballs] Use turbo to build workspace deps before packing (#1908)
# Conflicts:
#	packages/core/src/runtime/step-handler.test.ts
#	packages/core/src/runtime/step-handler.ts
#	packages/core/src/runtime/suspension-handler.ts
#	packages/core/src/step.test.ts
#	packages/world-local/src/storage/events-storage.ts
#	packages/world-postgres/src/drizzle/migrations/meta/_journal.json
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