Repository navigation
Conversation
…the SIGKILL escalation never runs
|
No actionable comments were generated in the recent review. Walkthrough
Severity of issue fixed: Low Merge Risk:
|
| process.execPath, | ||
| [ | ||
| "-e", | ||
| `const fs = require("node:fs"); process.on("SIGTERM", () => fs.appendFileSync(${JSON.stringify(log)}, " SIGTERM")); setInterval(() => {}, 1_000); setTimeout(() => process.exit(0), 4_000); fs.appendFileSync(${JSON.stringify(log)}, "ready")`, |
| process.execPath, | ||
| [ | ||
| "-e", | ||
| `const fs = require("node:fs"); process.on("SIGTERM", () => fs.appendFileSync(${JSON.stringify(log)}, " SIGTERM")); setInterval(() => {}, 1_000); setTimeout(() => process.exit(0), 4_000); fs.appendFileSync(${JSON.stringify(log)}, "ready")`, |
Review ledgerRound 1: 87a57b4 {"findings":[{"id":"R1","role":"code","class":"testing 2","outcome":"fixed","path":"src/ports/process-runner.test.ts:825","round":"1","detail":"mutation survives, grace equals timeout","fix":"b8d5d16b6ccbbae30988ce520a00c16f79bf74d1"}]}Written by an agent. |
Closes #1986
Status
Implement: fix done Review: round 2 at b8d5d16, passed Hardware: n/a Gate: red 1x
Next: the gate again
Ledger:
src/ports/process-runner.test.tsthe grace moves from 100 to 250 and the advance from 99 to 249. The lens ran four mutants againstsrc/ports/node-process-runner.ts:options.timeoutMs: the test fails. I saw the same result in my own mutation.sigkillGraceMs + 1: the test fails.this.sigkillGraceMs: 5 tests fail.State: {"issue":1986,"branch":"bug/1986","pr":1995,"last":"ce1d1fa08a57","done":"gate","mode":"fix","built":1,"audited":true,"assessment":"complete","rounds":["1:87a57b4ab4f8ae5424fb6742bf4785284ac13c93","2:b8d5d16b6ccbbae30988ce520a00c16f79bf74d1"],"round":"2","commit":"b8d5d16b6ccbbae30988ce520a00c16f79bf74d1","checkedBase":"13afddf1697e165cd9ce57164788b4bd8d89e21b","reviewBase":"13afddf1697e165cd9ce57164788b4bd8d89e21b","lenses":1,"findings":"/var/folders/tb/j39z273s5kn7lb9tz1dhk8l00000gn/T/review-1995.nCzuqQ/findings.json","gate":{"red":1,"fixes":0,"refusal":"not merged: CI not green on PR fix(test): the SIGKILL escalation test no longer passes without SIGKILL #1995: fail Quality;cancel Swift tests;","merged":null},"unknown":["job Quality (CI run 46461848563)"]}
Done when
src/ports/process-runner.test.ts). — audit removed the SIGKILL at 87a57b4: the test failed onsignal: 'SIGKILL'; b8d5d16 changes only the durations. The clock starts after the child logs ready, so start time does not matter; triage passed the same design with children 0, 300 and 3000 ms late.Assumptions
none
Review
Spec review: 0 blocking, 0 fixed, 0 notes. Code review: 1 blocking, 1 fixed, 0 notes. Claims review: 0 blocking, 0 fixed, 0 notes.
Rounds: 2. Tokens: 1.2M.
Runs: 9. Cost USD: 1.3009. Agent seconds: 803.
Assessment: complete
Written by an agent.