ci: pin Node 24.x matrix to 24.18.0 (worker-teardown crash) - #1000
ci: pin Node 24.x matrix to 24.18.0 (worker-teardown crash)#1000kriscendobot wants to merge 1 commit into
Conversation
4dad128 to
a588239
Compare
…-5bcdff64 [id:endojs/endo-but-for-bots#1000:conductor-needs-weave]
Node 24.19.0 regressed process teardown with a use-after-free in CleanupHookThunkRun, which crashes better-sqlite3 11.10.0 AVA workers in RemoveEnvironmentCleanupHook (Assertion failed: (env) != nullptr). The floating 24.x matrix advanced 24.18.0 -> 24.19.0 mid-cycle and turned 'test (24.x, ubuntu-latest)' red across unrelated PRs. Pin the four 24.x matrix entries to 24.18.0 (last known-good) so the float stops. Lift once the Node fix ships. Refs: nodejs/node#65195 Refs: nodejs/node#65196
a588239 to
692f480
Compare
|
Closing as superseded. The functional pin landed independently on After the rebase this PR is comment-only: it would substitute a more detailed comment (use-after-free in The diagnosis this PR carried was verified against real CI logs: the red runs resolved node v24.19.0 and aborted AVA workers in Note the pin is temporary on both accounts and should be lifted once a Node 24 patch carrying the upstream fix ships. |
…d] by endolin-garden2-5bcdff64 — blocked on a PR that will never land: this job waits on endojs/endo-but-for-bots#1000 (pins the four Node 24.x matrix entries in ci.yml to 24.18.0), and #1000 is CLOSED, never merged. The rerun it gates can never fire. If the floating Node-24.x CI failure still matters, that needs a fresh job against current llm, not this one (2026-09-01 muster)
Problem
test (24.x, ubuntu-latest)has been failing across unrelated PRs (e.g. #340, #877, #475) with one shared root cause — a CI-infrastructure issue, not a per-PR defect..github/workflows/ci.ymlfloats its Node matrix on24.x. That float advanced from 24.18.0 → 24.19.0 mid-cycle. Node 24.19.0 regressed process teardown with a use-after-free inCleanupHookThunkRun, which crashesbetter-sqlite3@11.10.0native workers as AVA tears down its worker threads:Confirmed against the actual job logs: the red
test (24.x, ubuntu-latest)run resolvesnode: v24.19.0; the last runs on 24.18.0 were green. (The regression is intermittent on 24.19.0 — some 24.19.0 runs pass — but 24.19.0 is what introduced it.)Upstream:
CleanupHookThunkRunfor everynode::ObjectWrapalive at teardown nodejs/node#65195Change
Pin the four
24.xmatrix entries to24.18.0(last known-good) so the float stops, each with a comment citing the upstream issue. Lift the pin once the Node fix ships. This is the narrowest change that stops the float; the22.xlane is untouched.