Repository navigation
[workbench] Move to a Nitro nightly that fixes the express/fastify keep-alive crash - #5733
VaguelySerious wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Peter Wielander <peter.wielander@vercel.com>
🦋 Changeset detectedLatest commit: 6ac9f1a The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types 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 |
🧪 E2E Test Results❌ Some tests failed ❌ Failed E2E Tests▲ Vercel Production (12 failed)express-node (1 failed):
express-quickjs (1 failed):
fastify-node (1 failed):
fastify-quickjs (1 failed):
hono-node (1 failed):
hono-quickjs (1 failed):
nitro-node (1 failed):
nitro-quickjs (1 failed):
tanstack-start-node (1 failed):
tanstack-start-quickjs (1 failed):
vite-node (1 failed):
vite-quickjs (1 failed):
💻 Local Development (12 failed)express-stable-node (1 failed):
express-stable-quickjs (1 failed):
fastify-stable-node (1 failed):
fastify-stable-quickjs (1 failed):
hono-stable-node (1 failed):
hono-stable-quickjs (1 failed):
nitro-stable-node (1 failed):
nitro-stable-quickjs (1 failed):
tanstack-start-node (1 failed):
tanstack-start-quickjs (1 failed):
vite-stable-node (1 failed):
vite-stable-quickjs (1 failed):
📦 Local Production (12 failed)express-stable-node (1 failed):
express-stable-quickjs (1 failed):
fastify-stable-node (1 failed):
fastify-stable-quickjs (1 failed):
hono-stable-node (1 failed):
hono-stable-quickjs (1 failed):
nitro-stable-node (1 failed):
nitro-stable-quickjs (1 failed):
tanstack-start-node (1 failed):
tanstack-start-quickjs (1 failed):
vite-stable-node (1 failed):
vite-stable-quickjs (1 failed):
🐘 Local Postgres (12 failed)express-stable-node (1 failed):
express-stable-quickjs (1 failed):
fastify-stable-node (1 failed):
fastify-stable-quickjs (1 failed):
hono-stable-node (1 failed):
hono-stable-quickjs (1 failed):
nitro-stable-node (1 failed):
nitro-stable-quickjs (1 failed):
tanstack-start-node (1 failed):
tanstack-start-quickjs (1 failed):
vite-stable-node (1 failed):
vite-stable-quickjs (1 failed):
vercel-http-transport (4 failed)express (1 failed):
hono (1 failed):
nitro (1 failed):
vite (1 failed):
vercel-ws-transport (2 failed)express (1 failed):
vite (1 failed):
|
| Passed | Failed | Skipped | Total | |
|---|---|---|---|---|
| ❌ ▲ Vercel Production | 4767 | 12 | 999 | 5778 |
| ❌ 💻 Local Development | 5405 | 12 | 789 | 6206 |
| ❌ 📦 Local Production | 5405 | 12 | 789 | 6206 |
| ❌ 🐘 Local Postgres | 5550 | 12 | 644 | 6206 |
| ✅ 🪟 Windows | 411 | 0 | 17 | 428 |
| ✅ 🌐 Cross-language Conformance | 68 | 0 | 121 | 189 |
| ✅ dynamic-runs | 0 | 0 | 0 | 0 |
| ✅ local-postgres-spec8 | 0 | 0 | 378 | 378 |
| ✅ local-spec8 | 413 | 0 | 15 | 428 |
| ❌ vercel-http-transport | 1080 | 4 | 200 | 1284 |
| ✅ vercel-multi-region | 27 | 0 | 0 | 27 |
| ✅ vercel-queue-hold | 4 | 0 | 0 | 4 |
| ✅ vercel-spec8 | 399 | 0 | 29 | 428 |
| ❌ vercel-ws-transport | 730 | 2 | 124 | 856 |
| Total | 24259 | 54 | 4105 | 28418 |
Details by Category
❌ ▲ Vercel Production
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ astro-node | 176 | 0 | 38 |
| ✅ astro-quickjs | 175 | 0 | 39 |
| ✅ example-node | 176 | 0 | 38 |
| ✅ example-quickjs | 175 | 0 | 39 |
| ❌ express-node | 175 | 1 | 38 |
| ❌ express-quickjs | 174 | 1 | 39 |
| ❌ fastify-node | 175 | 1 | 38 |
| ❌ fastify-quickjs | 174 | 1 | 39 |
| ❌ hono-node | 175 | 1 | 38 |
| ❌ hono-quickjs | 174 | 1 | 39 |
| ✅ nest-node | 176 | 0 | 38 |
| ✅ nest-quickjs | 175 | 0 | 39 |
| ✅ nextjs-turbopack-node | 204 | 0 | 10 |
| ✅ nextjs-turbopack-quickjs | 203 | 0 | 11 |
| ✅ nextjs-webpack-node | 204 | 0 | 10 |
| ✅ nextjs-webpack-quickjs | 203 | 0 | 11 |
| ❌ nitro-node | 175 | 1 | 38 |
| ❌ nitro-quickjs | 174 | 1 | 39 |
| ✅ nuxt-node | 176 | 0 | 38 |
| ✅ nuxt-quickjs | 175 | 0 | 39 |
| ✅ python-node | 66 | 0 | 148 |
| ✅ sveltekit-node | 195 | 0 | 19 |
| ✅ sveltekit-quickjs | 194 | 0 | 20 |
| ❌ tanstack-start-node | 175 | 1 | 38 |
| ❌ tanstack-start-quickjs | 174 | 1 | 39 |
| ❌ vite-node | 175 | 1 | 38 |
| ❌ vite-quickjs | 174 | 1 | 39 |
❌ 💻 Local Development
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ astro-stable-node | 177 | 0 | 37 |
| ✅ astro-stable-quickjs | 176 | 0 | 38 |
| ❌ express-stable-node | 176 | 1 | 37 |
| ❌ express-stable-quickjs | 175 | 1 | 38 |
| ❌ fastify-stable-node | 176 | 1 | 37 |
| ❌ fastify-stable-quickjs | 175 | 1 | 38 |
| ❌ hono-stable-node | 176 | 1 | 37 |
| ❌ hono-stable-quickjs | 175 | 1 | 38 |
| ✅ nest-stable-node | 177 | 0 | 37 |
| ✅ nest-stable-quickjs | 176 | 0 | 38 |
| ✅ nextjs-turbopack-canary-node | 206 | 0 | 8 |
| ✅ nextjs-turbopack-canary-quickjs | 205 | 0 | 9 |
| ✅ nextjs-turbopack-quickjs-snapshot | 205 | 0 | 9 |
| ✅ nextjs-turbopack-stable-node | 206 | 0 | 8 |
| ✅ nextjs-turbopack-stable-quickjs | 205 | 0 | 9 |
| ✅ nextjs-webpack-canary-node | 206 | 0 | 8 |
| ✅ nextjs-webpack-canary-quickjs | 205 | 0 | 9 |
| ✅ nextjs-webpack-stable-node | 206 | 0 | 8 |
| ✅ nextjs-webpack-stable-quickjs | 205 | 0 | 9 |
| ❌ nitro-stable-node | 176 | 1 | 37 |
| ❌ nitro-stable-quickjs | 175 | 1 | 38 |
| ✅ nuxt-stable-node | 177 | 0 | 37 |
| ✅ nuxt-stable-quickjs | 176 | 0 | 38 |
| ✅ sveltekit-stable-node | 196 | 0 | 18 |
| ✅ sveltekit-stable-quickjs | 195 | 0 | 19 |
| ❌ tanstack-start-node | 176 | 1 | 37 |
| ❌ tanstack-start-quickjs | 175 | 1 | 38 |
| ❌ vite-stable-node | 176 | 1 | 37 |
| ❌ vite-stable-quickjs | 175 | 1 | 38 |
❌ 📦 Local Production
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ astro-stable-node | 177 | 0 | 37 |
| ✅ astro-stable-quickjs | 176 | 0 | 38 |
| ❌ express-stable-node | 176 | 1 | 37 |
| ❌ express-stable-quickjs | 175 | 1 | 38 |
| ❌ fastify-stable-node | 176 | 1 | 37 |
| ❌ fastify-stable-quickjs | 175 | 1 | 38 |
| ❌ hono-stable-node | 176 | 1 | 37 |
| ❌ hono-stable-quickjs | 175 | 1 | 38 |
| ✅ nest-stable-node | 177 | 0 | 37 |
| ✅ nest-stable-quickjs | 176 | 0 | 38 |
| ✅ nextjs-turbopack-canary-node | 206 | 0 | 8 |
| ✅ nextjs-turbopack-canary-quickjs | 205 | 0 | 9 |
| ✅ nextjs-turbopack-quickjs-snapshot | 205 | 0 | 9 |
| ✅ nextjs-turbopack-stable-node | 206 | 0 | 8 |
| ✅ nextjs-turbopack-stable-quickjs | 205 | 0 | 9 |
| ✅ nextjs-webpack-canary-node | 206 | 0 | 8 |
| ✅ nextjs-webpack-canary-quickjs | 205 | 0 | 9 |
| ✅ nextjs-webpack-stable-node | 206 | 0 | 8 |
| ✅ nextjs-webpack-stable-quickjs | 205 | 0 | 9 |
| ❌ nitro-stable-node | 176 | 1 | 37 |
| ❌ nitro-stable-quickjs | 175 | 1 | 38 |
| ✅ nuxt-stable-node | 177 | 0 | 37 |
| ✅ nuxt-stable-quickjs | 176 | 0 | 38 |
| ✅ sveltekit-stable-node | 196 | 0 | 18 |
| ✅ sveltekit-stable-quickjs | 195 | 0 | 19 |
| ❌ tanstack-start-node | 176 | 1 | 37 |
| ❌ tanstack-start-quickjs | 175 | 1 | 38 |
| ❌ vite-stable-node | 176 | 1 | 37 |
| ❌ vite-stable-quickjs | 175 | 1 | 38 |
❌ 🐘 Local Postgres
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ astro-stable-node | 182 | 0 | 32 |
| ✅ astro-stable-quickjs | 181 | 0 | 33 |
| ❌ express-stable-node | 181 | 1 | 32 |
| ❌ express-stable-quickjs | 180 | 1 | 33 |
| ❌ fastify-stable-node | 181 | 1 | 32 |
| ❌ fastify-stable-quickjs | 180 | 1 | 33 |
| ❌ hono-stable-node | 181 | 1 | 32 |
| ❌ hono-stable-quickjs | 180 | 1 | 33 |
| ✅ nest-stable-node | 182 | 0 | 32 |
| ✅ nest-stable-quickjs | 181 | 0 | 33 |
| ✅ nextjs-turbopack-canary-node | 211 | 0 | 3 |
| ✅ nextjs-turbopack-canary-quickjs | 210 | 0 | 4 |
| ✅ nextjs-turbopack-quickjs-snapshot | 210 | 0 | 4 |
| ✅ nextjs-turbopack-stable-node | 211 | 0 | 3 |
| ✅ nextjs-turbopack-stable-quickjs | 210 | 0 | 4 |
| ✅ nextjs-webpack-canary-node | 211 | 0 | 3 |
| ✅ nextjs-webpack-canary-quickjs | 210 | 0 | 4 |
| ✅ nextjs-webpack-stable-node | 211 | 0 | 3 |
| ✅ nextjs-webpack-stable-quickjs | 210 | 0 | 4 |
| ❌ nitro-stable-node | 181 | 1 | 32 |
| ❌ nitro-stable-quickjs | 180 | 1 | 33 |
| ✅ nuxt-stable-node | 182 | 0 | 32 |
| ✅ nuxt-stable-quickjs | 181 | 0 | 33 |
| ✅ sveltekit-stable-node | 201 | 0 | 13 |
| ✅ sveltekit-stable-quickjs | 200 | 0 | 14 |
| ❌ tanstack-start-node | 181 | 1 | 32 |
| ❌ tanstack-start-quickjs | 180 | 1 | 33 |
| ❌ vite-stable-node | 181 | 1 | 32 |
| ❌ vite-stable-quickjs | 180 | 1 | 33 |
✅ 🪟 Windows
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ nextjs-turbopack-node | 206 | 0 | 8 |
| ✅ nextjs-turbopack-quickjs | 205 | 0 | 9 |
✅ 🌐 Cross-language Conformance
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ python | 68 | 0 | 121 |
✅ dynamic-runs
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ astro-vercel | 0 | 0 | 0 |
| ✅ example-vercel | 0 | 0 | 0 |
| ✅ express-vercel | 0 | 0 | 0 |
| ✅ fastify-vercel | 0 | 0 | 0 |
| ✅ hono-vercel | 0 | 0 | 0 |
| ✅ nest-vercel | 0 | 0 | 0 |
| ✅ nextjs-turbopack-vercel | 0 | 0 | 0 |
| ✅ nextjs-webpack-vercel | 0 | 0 | 0 |
| ✅ nitro-vercel | 0 | 0 | 0 |
| ✅ nuxt-vercel | 0 | 0 | 0 |
| ✅ sveltekit-vercel | 0 | 0 | 0 |
| ✅ tanstack-start-vercel | 0 | 0 | 0 |
| ✅ vite-vercel | 0 | 0 | 0 |
✅ local-postgres-spec8
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ nextjs-turbopack-stable-node | 0 | 0 | 189 |
| ✅ nextjs-turbopack-stable-quickjs | 0 | 0 | 189 |
✅ local-spec8
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ nextjs-turbopack-node | 207 | 0 | 7 |
| ✅ nextjs-turbopack-quickjs | 206 | 0 | 8 |
❌ vercel-http-transport
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ example | 176 | 0 | 38 |
| ❌ express | 175 | 1 | 38 |
| ❌ hono | 175 | 1 | 38 |
| ✅ nextjs-turbopack | 204 | 0 | 10 |
| ❌ nitro | 175 | 1 | 38 |
| ❌ vite | 175 | 1 | 38 |
✅ vercel-multi-region
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ nextjs-turbopack | 27 | 0 | 0 |
✅ vercel-queue-hold
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ nextjs-turbopack | 4 | 0 | 0 |
✅ vercel-spec8
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ nextjs-turbopack-node | 200 | 0 | 14 |
| ✅ nextjs-turbopack-quickjs | 199 | 0 | 15 |
❌ vercel-ws-transport
| App | Passed | Failed | Skipped |
|---|---|---|---|
| ✅ example | 176 | 0 | 38 |
| ❌ express | 175 | 1 | 38 |
| ✅ nextjs-turbopack | 204 | 0 | 10 |
| ❌ vite | 175 | 1 | 38 |
📊 Workflow Benchmarkscommit Backend:
📈 STSO distribution vs main (inline / queue-hop histograms)1020 steps (inline) Cumulative STSO time: main 37103ms → this run 39840ms (Δ +2737ms, +7%) ℹ️ Metric definitions & methodologyThe collapsed STSO distribution section above buckets every step gap, split inline (same warm process — pure framework overhead) vs queue-hop (fresh process — dispatch, reinit, replay). Best/P75/P90/P99 deltas compare against the most recent benchmark run on Metrics — TTFS: time to first step body (in-deployment start() → first step body) · Fan-out TTFS: fan-out time to first step (in-deployment start() → first of the parallel step bodies to complete) · Fan-out TTLS: fan-out time to last step (in-deployment start() → last of the parallel step bodies to complete, i.e. when the Promise.all resolves) · STSO: step-to-step overhead (gap between consecutive step bodies) · WO: workflow overhead (whole-run time outside step bodies, in-deployment anchored) Scenarios — step: one trivial no-op step, no stream; no hooks, so the run stays in turbo mode (in-process fast path) · stream: one streaming step; no hooks, so the run stays in turbo mode (in-process fast path) · hook + stream: registers a hook before one step, which exits turbo mode (dispatch path) · 1020 steps: 1020 trivial sequential steps; STSO is measured between consecutive steps in the given step ranges, and WO is the whole-run overhead outside step bodies · Promise.all(100 steps): 100 trivial no-op steps started together in a single Promise.all; Fan-out TTFS is the first of them to complete and Fan-out TTLS the last, both from the in-deployment clientStart, so their gap is the spread the runtime adds across the fan-out 🔴 marks a percentile over its target (within target is left unmarked). Targets (p75/p90/p99, ms) — TTFS 200/300/600 All timestamps are deployment-side; runs are triggered in-deployment, so the CI runner and api.vercel.com sit outside every measured window. TTFS = Cold starts stay in the numbers (real bursty-workload latency, inflates P75+); Best is the warm floor. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Sim WorldSimulated world deterministic testing for races. Traces 🟢 world-sim scenario book — 0 fail of 45 total
Full trace: |
About these numbersSizes are gzip; parentheses show the change against
|
What
Moves the
nitrocatalog entry tonitro-nightly@3.0.1-20261125-025754-925c1355, the first build that carries nitrojs/nitro#5178. This fixes the express and fastify Vercel e2e lanes, which have hit their 30-minute cap on every PR since Nov 23.Why
Nitro's Vercel node entry (
vercel: { entryFormat: 'node' }, which only the express and fastify workbenches use) runsObject.defineProperty(req.socket, "remoteAddress", …)on every request withoutconfigurable: true. Once a socket serves a second request, that call throwsTypeError: Cannot redefine property: remoteAddressand the function answers 500.3.0.261103-rc, still has the bug. presets(vercel): keepremoteAddressredefinable on keep-alive sockets nitrojs/nitro#5178 merged on Nov 23 and so far only ships innitro-nightly.3.0.260610-beta([workbench] Patch nitro so express/fastify survive keep-alive requests on Vercel #5692, and an earlier version of Fix CI on main: abort-stream decode cost, wedged-session test deadline #5682) would also fix the lanes. This takes the upstream fix instead, so CI runs the code a user gets once they move to the next Nitro release, not a local patch of an old beta.What else changes
nitro:^3.0.260610-beta→npm:nitro-nightly@3.0.1-20261125-025754-925c1355nitro-nightly; the alias keeps thenitroimport name. Pinned exactly, so it does not drift with each nightly.minimumReleaseAgeExcludeadds that exact version'nitro>srvx'override renamed to'nitro-nightly>srvx', still0.11.21srvx1.x, which, like 0.11.22+, ignoresX-Forwarded-Protowithout atrustProxy, and Nitro's Vercel preset still passes none. Without the override,request.urlturnshttp://behind Vercel and webhook URLs stop matching (see #5331).The nightly also moves
h3from2.0.1-rc.22to2.0.8. No published package changes:@workflow/nitrohasnitroas a devDependency only, and the rest are private workbenches.Users who follow the Express and Fastify getting-started pages (which set
entryFormat: "node") hit the same crash on Vercel until a Nitro release carries the fix. This PR does not change the docs.How did you test your changes?
pnpm install --frozen-lockfilepasses with pnpm 11.28.11. The lockfile resolves the nightly'ssrvxto0.11.21.@workflow/nitrounit tests pass (36).express,fastify,hono,nitro-v3,viteandtanstack-startworkbenches build with the Vercel preset.workbench/express__server.func/index.mjsfrom a Node HTTP server and sent four requests over one keep-alive socket: noCannot redefine propertyerror, the expected status on every request.Once a
nitrorelease includes nitrojs/nitro#5178, move the catalog back to it and drop the release-age exclusion.PR Checklist - Required to merge
pnpm changesetwas run to create a changelog for this PR (empty: workbench and devDependency only)git commit --signoffon your commits)@vercel/workflowin a comment once the PR is ready, and the above checklist is completeWritten by Claude Opus 5.5
🤖 Generated with Claude Code