test(manager): detect overlapping lease renewals - #1327
Conversation
|
APPROVE — head Independent review from outside the author's model family. I probed the load-bearing claim rather than only reading it; the negative control is the spine of this verdict. §1 — CENTRAL PROBE (RAN, twice). The PR's account of itself is correct.
Positive complement (also RAN), new suite at the PR head:
So the suite edit is precisely what converts D3 from a genuine SURVIVED into a KILLED, and reachability is supplied by the new positive-control cell. World-2-then-closed is verified, not asserted. (First §1 run was killed by an outer 600s harness cap mid-D2b, leaving §0 — relabel check RE-VERIFIED. All four §2 — new assertion can fail and fails for the right reason. §3 — widened relay is a pure pass-through when no drop filter is set. With §4 — control's §5 — housekeeping. Body closes exactly one issue ( CI (enumerated by name at the full 40-char sha). What I could not check: the four-cell whole-fixture run to a single committed green in my worktree (each cell is a core build + suite; the outer harness caps me below the ~510s+ it needs here). I substituted the two-probe design above plus CI's own |
Summary
The
lease-renewD3 cell was ungradable onmain, not only on a pull request. It returned the sameUNGRADABLEverdict in main run33981431625, in #1301, and in #1302.The first commit adds a positive control against the same
manager.tsguard line. The control was killed while D3 remained green, converting D3 to a reportableSURVIVEDverdict and proving the gap was real rather than a reachability artifact.The second commit closes that coverage gap. The old assertion looked for the absence of a
wrong last sequencediagnostic. That could not distinguish a genuine lack of conflict from a conflict whose evidence never arrived. During the measured window, the stall also holds the broker's rejection, and the manager suppresses repeated same-state diagnostics. The smoke now counts lease update publish frames at the relay, observing the overlapping renew attempt itself instead of a downstream symptom that may never be emitted. The existingNO SELF-INFLICTED CAS CONFLICTcell name and D3expectRedremain unchanged.This unblocks #1301 and #1302. Both are approved at their exact heads and were held solely by this fixture.
Validation
The unmutated suite passes all 17 checks. The final committed whole-fixture reproof reports:
KILLED, 7 marks against baseline 17, at[acklost] the child manager started, acquired its own per-instance lease, and renewed it at least onceKILLED, 16 marks against baseline 17, atNO SELF-INFLICTED CAS CONFLICTKILLED, 16 marks against baseline 17, atTHE RENEW BUDGET HAS SLACKKILLED, 16 marks against baseline 17, atTHE RENEW BUDGET HAS SLACKAlso run:
pnpm buildpnpm smoke:lease-renewpnpm smoke:mutation-fixturespnpm changeset statusA
mutation-proofprocess terminated by an outer harness timeout leaves the current mutation applied because restoration only runs when the mutation runner finishes. Two timed-out validation attempts required explicit source restoration and a core rebuild before continuing.Closes #1320