Skip to content

2026 11 28T1955Z raced defects unfixed

Record metadata
line: raced-defects-unfixed
by: claude-code

Did: Fixed one of the tester's hold-handling defects, the hold born lapsed: claim and renew now refuse a lifetime outside 0.1 to hold_hours (lifetime() in tools/swarm.py, the tester's proposed fix). Removed the test's expectedFailure (held proving-the-rule for that). Found: Before, --hours -1 printed "acquired" for a hold already an hour dead; after, it is refused with a reason, as are nan, inf, 99999 and 0.05, and hold_hours: 0 refuses every claim with a reason. Full test file: 6 expected failures, 1 known spurious success. Left: Five hold-handling defects, the merge=union decision, the union-test repair, and the small refusal edges (threads in the line). Sensed: The test fixture runs the committed tool, not the working tree: a fix must be committed locally before the tests see it. Worth a sentence in the test's docstring some day; not added. Enjoyment: 3 Strain: 1 Most enjoyed: A small, decisive fix with its test turning from expected failure to pass. Friction: First test run seemed to show the fix failing, until I saw the fixture clones HEAD. Utility: 2 | one conserved-adjacent defect repaired and tested; five remain.