Skip to content

Fix CI on main: abort-stream decode cost, wedged-session test deadline - #5682

Open
pranaygp wants to merge 4 commits into
mainfrom
pgp/fix-ci-main
Open

pranaygp wants to merge 4 commits into
mainfrom
pgp/fix-ci-main

Conversation

@pranaygp

@pranaygp pranaygp commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

What

Fixes the two Windows unit-test failures that kept the Tests workflow red on main since Nov 20, both at their cause. The third failure, the express and fastify Vercel lanes, comes from a Nitro bug (nitrojs/nitro#5178) and is fixed by moving to a Nitro nightly in a separate PR.

  • @workflow/core: a legacy abort packet was decrypted once per chunk read. The reader now decodes once per pause in the stream.
  • http-client.test.ts: the wedged-session tests applied their 300ms deadline to healthy requests. The deadline now travels only with the requests aimed at the black-holed connection.

No timeout is raised and no assertion is loosened.

Why

1. Abort stream reader (Unit Tests (windows-latest) on f717314b6)

abort-stream-framing.test.ts › "propagates a split encrypted packet … (framed=false)" timed out at 60s; its sibling passed after 42s; the framed cases took under 0.3s in the same run.

  • A legacy (unframed) abort packet has no length, so readAbortStreamPacket tried to decode it after every read and rebuilt the whole buffer each time.
  • Each attempt is an AES-GCM decryption that fails until the packet is complete.
  • The test feeds the packet one byte per chunk: 2,373 failed decryptions per case, about 0.2s on an idle machine.
  • Under CPU load each attempt slows down. Locally, with 64 CPU burners, the unframed cases went from 0.2s to 3.4–6.0s while the framed ones stayed under 20ms. That the CI runner's 42–60s has the same cause is an inference; I could not run Windows.

The same cost applies in production to any legacy writer's packet that the transport splits.

2. Wedged HTTP/2 test (Unit Tests (windows-latest) on c989836f1)

"recovers after the failure threshold" failed with expected [0, 1, 2, 7] to have a length of 3: request 7, on the rebuilt and healthy pool, failed too.

  • The tests set headersTimeout/bodyTimeout of 300ms on the whole agent, so healthy requests carried it as well.
  • If the test process stalls for more than 300ms after a healthy response has arrived, undici still times the request out, and the test counts a fourth failure.
  • Reproduced deterministically: a 400ms stall injected after request 7's response gives the exact CI message, with a single pool rebuild.
  • The recycler behaved correctly in the failing run: one stray failure did not trigger a second rebuild, and requests 8–11 succeeded.
  • The CI log does not record request 7's error code, so attributing that run to a stall is an inference.

How did you test your changes?

Abort stream reader

  • The per-byte integration test is back to its form on main and now also asserts exactly two decrypt calls.
  • New unit tests count decode attempts, not wall-clock time: one attempt for a packet whose chunks are already buffered, one per pause otherwise, and correct delivery when the stream ends or fails right behind the packet. Eight tests fail against the old reader.
  • A differential test of old against new reader over randomized chunkings found no difference for a single legacy packet, in any chunking, on open and ended streams.
  • Whole @workflow/core unit suite: 258 files, 4,917 tests pass. tsc clean.

Wedged HTTP/2 test

  • http-client.test.ts: 52 tests pass, including under CPU load. With the 400ms stall injected, the old test fails and the new one passes.
  • Breaking the recycler on purpose (never rebuild, or rebuild late) still turns the test red.

Known limits

  • Interior packet boundaries. When a legacy packet is followed by more data in the same burst, the reader tries at most 8 chunk boundaries per call. A legacy packet split into more than 8 chunks with another packet directly behind it waits for the stream to end, where the old reader returned it at once. Abort packets are written in one call and nothing reads a second packet from the same reader.
  • Slow trickle. A transport that pauses between every chunk still costs one decode per chunk.
  • Windows. Neither unit-test fix has run on a Windows runner yet; this PR's Unit Tests (windows-latest) job is the first.

PR Checklist - Required to merge

  • 📦 pnpm changeset was run to create a changelog for this PR (@workflow/core patch, plus an empty one for the test changes)
  • 🔒 DCO sign-off passes (run git commit --signoff on your commits)
  • 📝 Ping @vercel/workflow in a comment once the PR is ready, and the above checklist is complete

Written by Claude Fable 5.2

🤖 Generated with Claude Code

@pranaygp
pranaygp requested a review from a team as a code owner November 23, 2026 21:12
Copilot AI balanced review requested due to automatic review settings November 23, 2026 21:12
@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
example-nextjs-workflow-turbopack Ready Ready Preview, v0 Nov 25, 2026 11:41pm UTC
example-nextjs-workflow-webpack Ready Ready Preview, v0 Nov 25, 2026 11:41pm UTC
example-workflow Ready Ready Preview, v0 Nov 25, 2026 11:41pm UTC
workbench-astro-workflow Ready Ready Preview, v0 Nov 25, 2026 11:41pm UTC
workbench-express-workflow Ready Ready Preview, v0 Nov 25, 2026 11:41pm UTC
workbench-fastify-workflow Ready Ready Preview, v0 Nov 25, 2026 11:41pm UTC
workbench-hono-workflow Ready Ready Preview, v0 Nov 25, 2026 11:41pm UTC
workbench-nestjs-workflow Ready Ready Preview, v0 Nov 25, 2026 11:41pm UTC
workbench-nitro-workflow Ready Ready Preview, v0 Nov 25, 2026 11:41pm UTC
workbench-nuxt-workflow Ready Ready Preview, v0 Nov 25, 2026 11:41pm UTC
workbench-python-workflow Ready Ready Preview, v0 Nov 25, 2026 11:41pm UTC
workbench-sveltekit-workflow Ready Ready Preview, v0 Nov 25, 2026 11:41pm UTC
workbench-tanstack-start-workflow Ready Ready Preview, v0 Nov 25, 2026 11:41pm UTC
workbench-vite-workflow Ready Ready Preview, v0 Nov 25, 2026 11:41pm UTC
workflow-docs Ready Ready Preview, v0 Nov 25, 2026 11:41pm UTC
workflow-swc-playground Ready Ready Preview, v0 Nov 25, 2026 11:41pm UTC
workflow-tarballs Ready Ready Preview, v0 Nov 25, 2026 11:41pm UTC
workflow-web Ready Ready Preview, v0 Nov 25, 2026 11:41pm UTC

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@changeset-bot

changeset-bot Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 623a4e9

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

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

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

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

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

📊 Workflow Benchmarks

commit 623a4e9 · Wed, 25 Nov 2026 23:51:11 GMT · run logs

Backend: vercel · app: nextjs-turbopack

Metric Scenario Best (ms) P75 (ms) P90 (ms) P99 (ms) Samples
TTFS step 183 (+8.3%) 346 🔴 (+25%) 🔻 378 🔴 (-1.3%) 1515 🔴 (+260%) 🔻 30
TTFS stream 148 (-16%) 💚 266 🔴 (-18%) 💚 311 🔴 (-36%) 💚 31861 🔴 (+1572%) 🔻 30
TTFS hook + stream 310 (-1.3%) 440 🔴 (-72%) 💚 481 🔴 (-73%) 💚 521 (-78%) 💚 30
Fan-out TTFS Promise.all(100 steps) 177 (-22%) 💚 454 (+23%) 🔻 455 (+1.8%) 1306 (+169%) 🔻 10
Fan-out TTLS Promise.all(100 steps) 1100 (+0.8%) 3277 (+54%) 🔻 3344 (+40%) 🔻 4115 (+36%) 🔻 10
STSO 1020 steps (inline) 2 (-33%) 💚 8 (-38%) 💚 91 (-31%) 💚 186 (-51%) 💚 1019
WO 1020 steps 24895 (-33%) 💚 24895 (-33%) 💚 24895 (-33%) 💚 24895 (-33%) 💚 1
📈 STSO distribution vs main (inline / queue-hop histograms)

1020 steps (inline)

Cumulative STSO time: main 37103ms → this run 24657ms (Δ -12446ms, -34%)

   0-50 ms  ███████████████████████┃  main 853  this 839   -14
 50-100 ms  █░┃                       main  43  this  98   +55
100-150 ms  █┃                        main  36  this  56   +20
150-200 ms  ┃                         main  31  this  17   -14
200-250 ms  ┃                         main  25  this   3   -22
250-300 ms  ┃                         main  12  this   4    -8
300-350 ms  ┃                         main   7  this   0    -7
350-400 ms  ┃                         main   2  this   0    -2
400-450 ms  ┃                         main   5  this   2    -3
450-500 ms  ┃                         main   2  this   0    -2
500-550 ms  ┃                         main   1  this   0    -1
700-750 ms  ┃                         main   1  this   0    -1
800-850 ms  ┃                         main   1  this   0    -1
📜 Previous results (2)

e9e761a

Mon, 23 Nov 2026 23:36:08 GMT · run logs

vercel / nextjs-turbopack

Metric Scenario Best (ms) P75 (ms) P90 (ms) P99 (ms) Samples
TTFS step 142 (-8.4%) 280 🔴 (+12%) 304 🔴 (+18%) 🔻 561 (-73%) 💚 30
TTFS stream 136 (-5.6%) 257 🔴 (+15%) 307 🔴 (+33%) 🔻 375 (+25%) 🔻 30
TTFS hook + stream 257 (-12%) 387 🔴 (+4.3%) 416 🔴 (±0%) 506 (+1.6%) 30
Fan-out TTFS Promise.all(100 steps) 204 (+4.1%) 488 (+98%) 🔻 506 (+105%) 🔻 1342 (+217%) 🔻 10
Fan-out TTLS Promise.all(100 steps) 1205 (+62%) 🔻 3750 (+212%) 🔻 4466 (+269%) 🔻 4501 (+1.3%) 10
STSO 1020 steps (inline) 3 (±0%) 8 (±0%) 152 (+162%) 🔻 461 (+327%) 🔻 1019
WO 1020 steps 41168 (+142%) 🔻 41168 (+142%) 🔻 41168 (+142%) 🔻 41168 (+142%) 🔻 1

55605fe

Mon, 23 Nov 2026 21:22:23 GMT · run logs

vercel / nextjs-turbopack

Metric Scenario Best (ms) P75 (ms) P90 (ms) P99 (ms) Samples
TTFS step 134 (-28%) 💚 245 🔴 (-23%) 💚 294 (-34%) 💚 460 (-6.5%) 30
TTFS stream 157 (-3.7%) 222 🔴 (-19%) 💚 251 (-22%) 💚 1412 🔴 (+216%) 🔻 30
TTFS hook + stream 293 (-13%) 373 🔴 (-24%) 💚 419 🔴 (-20%) 💚 461 (-30%) 💚 30
Fan-out TTFS Promise.all(100 steps) 198 (-5.3%) 411 (+48%) 🔻 1263 (+318%) 🔻 1551 (+255%) 🔻 10
Fan-out TTLS Promise.all(100 steps) 880 (-5.3%) 3297 (+115%) 🔻 3523 (+16%) 🔻 5076 (+50%) 🔻 10
STSO 1020 steps (inline) 3 (+50%) 🔻 9 (-18%) 💚 83 (-4.6%) 141 (-21%) 💚 1019
WO 1020 steps 21961 (-6.1%) 21961 (-6.1%) 21961 (-6.1%) 21961 (-6.1%) 1
ℹ️ Metric definitions & methodology

The 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). █ = main, ┃ = this run, ░ = fill.

Best/P75/P90/P99 deltas compare against the most recent benchmark run on main at the time of this run. 🔻 flags a delta worse than +15%, 💚 one better than −15%.

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 = start() → first step body (includes dispatch + any cold start); Fan-out TTFS/TTLS = first/last step completion of one Promise.all from the same anchor (the gap is the runtime’s fan-out spread); STSO/WO between step bodies. Streaming delivery performance is measured in durabench.

Cold starts stay in the numbers (real bursty-workload latency, inflates P75+); Best is the warm floor.

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

❌ Some tests failed

❌ Failed E2E Tests

▲ Vercel Production (1 failed)

nuxt-quickjs (1 failed):

  • start({ experimental_hook }) force-claim takes the start Hook of a run that never opens it; that run completes normally

⚠️ Flaky E2E Tests (passed on retry)

These tests failed at least once and passed on a retry. A recurring entry here is a real race worth investigating.

  • awaitChildrenFanOutWorkflow - every child resumes the parent's one completion hook (nuxt · vercel-prod / vercel / quickjs / production)
  • experimental_rateLimit: runs calling one key share its rate (unknown)
  • experimental_rateLimit: runs calling one key share its rate (nextjs-webpack · local-postgres / postgres / quickjs / canary)
  • experimental_retention: 0 purges the run payloads once the run finishes (nuxt · vercel-prod / vercel / quickjs / production)
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race (unknown)
  • parallelStepsThenWebhookWorkflow - no hook_conflict from same-tick replay race (sveltekit · local-postgres / postgres / quickjs / stable)
  • webhookWorkflow (nextjs-webpack · local-postgres / postgres / node / stable)

🛠 Infra Events (absorbed by the harness)

Platform anomalies the e2e harness detected and worked around (e.g. a run the queue never picked up, replaced by a fresh run). Clustered timestamps indicate a backend blip; a steady drip indicates a platform issue worth escalating.

11 infra events
  • run-pickup-stall · runs app-generated source against a registered step (tanstack-start) · at 23:42:50Z · abandoned wrun_01M8AHDWXF0529890Y9QJ48RNE
  • cold-start-warmup · suite warmup (tanstack-start) · at 23:42:57Z · abandoned wrun_01M8AHDWXWY5FQ7YBBB6GE9P28
  • run-pickup-stall · awaitChildReturnValueWorkflow - parent waits on the child-run completion hook (fail: false) (nuxt) · at 23:44:49Z · abandoned wrun_41M8AHHFC40GQSXH2TY9MM39A3
  • run-pickup-stall · resumes in flight during the takeover are never lost: each lands in exactly one log (nextjs-webpack) · at 23:48:15Z · abandoned wrun_01M8AHQTRAV14642W670H0CV1B
  • run-pickup-stall · runs app-generated source against a registered step (fastify) · at 00:06:30Z · abandoned wrun_41M8AJS5SN0GVYD8C27ZRTSTF9
  • run-pickup-stall · stores the generated code with the child run (fastify) · at 00:06:47Z · abandoned wrun_41M8AJSPV50GN9NDAVVF9W84W8
  • run-pickup-stall · replays a suspended child by reading its stored code back (fastify) · at 00:07:09Z · abandoned wrun_41M8AJTCB40GS9351WP2BCF46P
  • run-pickup-stall · replays a suspended child by reading its stored code back (fastify) · at 00:09:09Z · abandoned wrun_41M8AJY26E0GND12VTDSK8F2P2
  • run-pickup-stall · fails the child when its source calls a step it was not given (fastify) · at 00:09:32Z · abandoned wrun_41M8AJYQNJ0GWSV80PBNQNFBRC
  • run-pickup-stall · derives the same workflow id for the same generated source (fastify) · at 00:11:34Z · abandoned wrun_41M8AK2FDN0GQPPEGKH056ZD24
  • run-pickup-stall · derives the same workflow id for the same generated source (fastify) · at 00:13:35Z · abandoned wrun_41M8AK65AB0GWQ6YCQ3RD8E85V

E2E Test Summary

Summary
Passed Failed Skipped Total
❌ ▲ Vercel Production 4076 1 845 4922
✅ 💻 Local Development 5417 0 789 6206
✅ 📦 Local Production 5417 0 789 6206
✅ 🐘 Local Postgres 5562 0 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 908 0 162 1070
✅ vercel-multi-region 27 0 0 27
✅ vercel-queue-hold 4 0 0 4
✅ vercel-spec8 399 0 29 428
✅ vercel-ws-transport 556 0 86 642
Total 23258 1 3875 27134
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
✅ hono-node 176 0 38
✅ hono-quickjs 175 0 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 176 0 38
✅ nitro-quickjs 175 0 39
✅ nuxt-node 176 0 38
❌ nuxt-quickjs 174 1 39
✅ python-node 66 0 148
✅ sveltekit-node 195 0 19
✅ sveltekit-quickjs 194 0 20
✅ tanstack-start-node 176 0 38
✅ tanstack-start-quickjs 175 0 39
✅ vite-node 176 0 38
✅ vite-quickjs 175 0 39

✅ 💻 Local Development

App Passed Failed Skipped
✅ astro-stable-node 177 0 37
✅ astro-stable-quickjs 176 0 38
✅ express-stable-node 177 0 37
✅ express-stable-quickjs 176 0 38
✅ fastify-stable-node 177 0 37
✅ fastify-stable-quickjs 176 0 38
✅ hono-stable-node 177 0 37
✅ hono-stable-quickjs 176 0 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 177 0 37
✅ nitro-stable-quickjs 176 0 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 177 0 37
✅ tanstack-start-quickjs 176 0 38
✅ vite-stable-node 177 0 37
✅ vite-stable-quickjs 176 0 38

✅ 📦 Local Production

App Passed Failed Skipped
✅ astro-stable-node 177 0 37
✅ astro-stable-quickjs 176 0 38
✅ express-stable-node 177 0 37
✅ express-stable-quickjs 176 0 38
✅ fastify-stable-node 177 0 37
✅ fastify-stable-quickjs 176 0 38
✅ hono-stable-node 177 0 37
✅ hono-stable-quickjs 176 0 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 177 0 37
✅ nitro-stable-quickjs 176 0 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 177 0 37
✅ tanstack-start-quickjs 176 0 38
✅ vite-stable-node 177 0 37
✅ vite-stable-quickjs 176 0 38

✅ 🐘 Local Postgres

App Passed Failed Skipped
✅ astro-stable-node 182 0 32
✅ astro-stable-quickjs 181 0 33
✅ express-stable-node 182 0 32
✅ express-stable-quickjs 181 0 33
✅ fastify-stable-node 182 0 32
✅ fastify-stable-quickjs 181 0 33
✅ hono-stable-node 182 0 32
✅ hono-stable-quickjs 181 0 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 182 0 32
✅ nitro-stable-quickjs 181 0 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 182 0 32
✅ tanstack-start-quickjs 181 0 33
✅ vite-stable-node 182 0 32
✅ vite-stable-quickjs 181 0 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
✅ 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
✅ hono 176 0 38
✅ nextjs-turbopack 204 0 10
✅ nitro 176 0 38
✅ vite 176 0 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
✅ nextjs-turbopack 204 0 10
✅ vite 176 0 38

📋 View full workflow run

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Sim World

Simulated world deterministic testing for races. Traces

🟢 world-sim scenario book — 0 fail of 45 total
scenario outcome events virt replay violations
✅ smoke-no-steps completed 3 0ms ok 0
✅ smoke-one-step completed 5 0ms ok 0
✅ hook-at-step-started completed 9 0ms ok 0
✅ hook-at-step-completed completed 9 0ms ok 0
✅ hook-at-hook-created completed 9 0ms ok 0
✅ claim-hook-at-registration completed 9 0ms ok 0
✅ claim-hook-at-step-started completed 9 0ms ok 0
✅ deadline-hook-wins completed 6 1.0h ok 0
✅ deadline-expires completed 6 1.0h ok 0
✅ step-vs-timer-early-settlement completed 6 1.0h ok 0
✅ long-sleep completed 9 30.0d ok 0
✅ hook-never-arrives stalled 3 0ms skipped 0
✅ step-retries-twice completed 9 2.0s ok 0
✅ parallel-steps completed 7 0ms ok 0
✅ hook-on-execution-state completed 9 0ms ok 0
✅ peek-hook-before-branch completed 9 0ms ok 0
✅ peek-hook-after-branch completed 9 0ms ok 0
✅ peek-hook-at-registration completed 9 0ms ok 0
✅ race-hook-before-probe completed 9 0ms ok 0
✅ race-hook-after-probe completed 9 0ms ok 0
✅ race-duplicate-delivery completed 10 0ms ok 0
✅ attr-hook-before-step completed 9 0ms ok 0
✅ attr-hook-after-step completed 9 0ms ok 0
✅ attr-from-step-body completed 10 0ms ok 0
✅ fork-hook-after-timeout completed 11 1.0m ok 0
✅ fork-hook-before-timeout completed 11 1.0m ok 0
✅ count-hook-after-timeout completed 13 1.0m ok 0
✅ count-hook-before-timeout completed 15 1.0m ok 0
✅ stale-read-step-count-fork completed 15 1.0m ok 0
✅ stale-read-equal-step-counts completed 11 1.0m ok 0
✅ step-vs-step-fork completed 9 0ms ok 0
✅ step-vs-step-fork-fenced completed 9 1.0s ok 0
✅ fence-catches-benign-direction completed 9 1.0s ok 0
✅ run-ahead-fenced-overlap completed 10 1.0s ok 0
✅ in-flight-before-decision completed 15 1.0m ok 0
✅ in-flight-before-decision-counted completed 13 1.0m ok 0
✅ in-flight-after-decision completed 15 2.0m ok 0
✅ stale-read-step-count-fork-fenced completed 15 1.0m ok 0
✅ fork-hook-wins completed 10 1.0m ok 0
✅ fork-timeout-wins completed 10 1.0m ok 0
✅ unclaimed-payload-under-fork completed 14 1.0m ok 0
✅ claimed-payload-under-fork completed 14 1.0m ok 0
✅ writers-independent-step-bodies completed 9 0ms ok 0
✅ writers-scripted-tempo completed 9 0ms ok 0
✅ cancel-mid-step cancelled 6 0ms skipped 0

Full trace: world-sim.txt

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor
Framework Flow route Step reg. Framework output
hono 308.3 KiB (±0) 126.8 KiB (±0) 2.45 MiB (+1.1 KiB)
nextjs-turbopack 399.9 KiB (±0) 491 B (±0) 1.15 MiB (+224 B)
About these numbers

Sizes are gzip; parentheses show the change against main.
Flow route and Step reg. gate this job, on raw bytes rather than the gzip shown, at max(2%, 50.0 KiB). Framework output is informational.

623a4e9 · run

pranaygp and others added 2 commits November 23, 2026 17:20
… unit tests

Nitro's Vercel node entry redefines req.socket.remoteAddress on every
request without configurable: true, so a reused socket throws and the
express and fastify workbench deployments answer 500. Patch it.

Also stop two unit tests from timing out on loaded Windows runners.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: Pranay Prakash <pranay.gp@gmail.com>
abort-stream: a legacy unframed abort packet was decrypted again after
every read, so a packet split into n chunks cost n failed decryptions.
The reader now decodes once per pause in the transport. The per-byte
test is back to its original form and pins the decrypt count.

http-client test: the wedged-session tests put their 300ms deadline on
the whole agent, so it also applied to healthy requests on the rebuilt
pool. The deadline now travels with the requests aimed at the
black-holed connection. Timeout and deadline changes are reverted.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: Pranay Prakash <pranay.gp@gmail.com>
@pranaygp pranaygp changed the title Fix CI on main: patch Nitro's remoteAddress crash, steady two Windows unit tests Fix CI on main: abort-stream decode cost, wedged-session test deadline, Nitro remoteAddress crash Nov 23, 2026
…y lanes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Peter Wielander <peter.wielander@vercel.com>
@VaguelySerious VaguelySerious changed the title Fix CI on main: abort-stream decode cost, wedged-session test deadline, Nitro remoteAddress crash Fix CI on main: abort-stream decode cost, wedged-session test deadline Nov 25, 2026
@VaguelySerious

Copy link
Copy Markdown
Member

(AI) Removed the Nitro patch from this PR (commit 89627f6 restores pnpm-workspace.yaml and pnpm-lock.yaml, deletes patches/nitro@3.0.260610-beta.patch, and rewords the empty changeset). The express/fastify fix now lands in #5733 by moving to the Nitro nightly that carries nitrojs/nitro#5178. This PR keeps the abort-stream fix and the wedged-session test fix; your commits are unchanged. The description is updated to match.

Signed-off-by: Peter Wielander <peter.wielander@vercel.com>

This branch was successfully deployed

1 active deployment
Preview – workflow-docs — 623a4e97 Deployed Nov 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants