Summary
The Unit Test (Node.js v24) CI job intermittently dies with Segmentation fault (core dumped) → Process completed with exit code 139. It is specific to Node.js v24 — on the same commits, Unit Test (Node.js v22) and Unit Test (Node.js v26) pass every time. Re-running the job usually goes green, so it is a flake, not a deterministic failure.
Exact signature
Segmentation fault (core dumped)
##[error]Process completed with exit code 139.
The crash consistently lands at the end of the mocha run that contains the schema-change / index-rebuild tests (unitTests/resources/update-schema.test.js "Schema change", unitTests/resources/validation.test.js "Types Validation"), immediately after an index-rebuild state dump (indexingPID, lastIndexedKey: undefined, resolve: null) and two [main/0] [error]: Transaction was open too long and has been committed, from table: SchemaChanges/ warnings.
No native/JS stack is captured (no --report-on-fatalerror / abort handler), so only the OS-level segfault line is in the log.
Why it's a flake, not a code bug
Observed on plain main pushes (unrelated PR diffs). Passes on re-run with no code change. v24-only while v22/v26 are clean points to a Node v24 / native-addon (rocksdb-js / msgpackr) interaction during schema-change + background runIndexing, not a JS logic error.
Affected job / runtime
Unit Test (Node.js v24) only.
Evidence (all main, attempt 1)
- run 27718772847 / job 81998436331
- run 27718421204 / job 81997233958
- run 27696972188 / job 81922701975
Notes / next steps
Filed by Claude (Opus 4.8) during CI flake triage while shepherding #1363/#1371/#1374.
Summary
The
Unit Test (Node.js v24)CI job intermittently dies withSegmentation fault (core dumped)→Process completed with exit code 139. It is specific to Node.js v24 — on the same commits,Unit Test (Node.js v22)andUnit Test (Node.js v26)pass every time. Re-running the job usually goes green, so it is a flake, not a deterministic failure.Exact signature
The crash consistently lands at the end of the mocha run that contains the schema-change / index-rebuild tests (
unitTests/resources/update-schema.test.js"Schema change",unitTests/resources/validation.test.js"Types Validation"), immediately after an index-rebuild state dump (indexingPID,lastIndexedKey: undefined,resolve: null) and two[main/0] [error]: Transaction was open too long and has been committed, from table: SchemaChanges/warnings.No native/JS stack is captured (no
--report-on-fatalerror/ abort handler), so only the OS-level segfault line is in the log.Why it's a flake, not a code bug
Observed on plain
mainpushes (unrelated PR diffs). Passes on re-run with no code change. v24-only while v22/v26 are clean points to a Node v24 / native-addon (rocksdb-js / msgpackr) interaction during schema-change + backgroundrunIndexing, not a JS logic error.Affected job / runtime
Unit Test (Node.js v24)only.Evidence (all
main, attempt 1)Notes / next steps
node --report-on-fatalerror(or--report-uncaught-exception) to the unit job so the next occurrence yields a native stack — currently we only get "Segmentation fault".Filed by Claude (Opus 4.8) during CI flake triage while shepherding #1363/#1371/#1374.