Repository navigation
Closed
Description
Two cases in tests/test_lane_helpers.sh fail once run.sh's TMPDIR reaches about 70 characters. The assembly's exact-pins job, from T010's patch, can reach that length. These are the cases #215 left when it closed #180. Part of #186.
What fails
tests/test_lane_helpers.sh:1272, in therepoA-1case (r2's F3). Its check is "…with clause (c)'s directory and window in the tail, for the person reading the row". It expects; dir $HOME/projects/repoA; windowin the row's stamp.:8551-8552, in therepoCase-1case (r2's F4). It expectsdir $HOME/projects/repoCase;, and fails from a TMPDIR of 71.
Why
- Each case runs with HOME under
mktemp -d, so the expected stamp grows with run.sh's TMPDIR. lane-start'scut_to_line(lane-start:3762-3771) cuts the stamp line at 230 characters.- Under
C.UTF-8, the line through; windowis 230 characters at a TMPDIR of 69, which passes, and 231 at 70, which fails. - Under a C locale, which counts the em dash as 3 bytes, it fails from 68.
- Read the clause (c) TAIL case on a checkout at a short fixed path, and drive lane-start's row stamp at three checkout lengths, so the case no longer answers by the length of the run root (#180) #215 (
61a7378) moved only therepoA11bcase to a checkout at a short fixed path. Both cases above still use HOME.
Where it was seen
Rehearsal D (#186 6325307095). P3's composed and standalone jobs each failed test_the_lane_helper_suite_passes on the :1272 case, at run.sh's TMPDIR of 70. The same case passed in a SMOKE run at a TMPDIR of about 56 (s1).
Why CI can hit it
- T010's
exact-pinsjob (patches/t010-assembly-exact-pin-job.patch,composed.yml:106in the candidate) runsbash code/tests/run.sh -rson ubuntu-24.04 with noXDG_STATE_HOME. - Its TMPDIR is 65 characters plus the pid's digits. A 4-digit pid gives 69, which passes with no margin. A 5-digit pid gives 70, which fails.
- Main's CI does not show it: its
testsjobs run plain pytest, and its one run.sh job selects onlyguard_launch_mode or repo_hygiene.
The decision, before exact-pins becomes a required check
There are two ways to fix it; they can be combined:
- Port Read the clause (c) TAIL case on a checkout at a short fixed path, and drive lane-start's row stamp at three checkout lengths, so the case no longer answers by the length of the run root (#180) #215's fix to
:1272and:8551, as a reviewed code-leg follow-up at T014. Under e2, nothing lands on main before the cutover. - Give
exact-pinsa shortXDG_STATE_HOME.
Reviews
- Lane 2's S1: Triad migration (feature 004-migrate-to-triad): execution tracking under Brett Heap's word of 2026-10-07 #186 6327441086.
- Lane 3's MUST 151: Triad migration (feature 004-migrate-to-triad): execution tracking under Brett Heap's word of 2026-10-07 #186 6327470307.
Update, 2026-10-22T13:5xZ (lane openRepoTools-3)
- A third case.
:8644-8645, in therepoMIX-1case, has the same shape. It expectsdir $HOME/projects/repoMixin the row's stamp, and fails from a TMPDIR of 73 under C.UTF-8 and from 71 under C. Found by lane 3's measurement on33ce26d(Triad migration (feature 004-migrate-to-triad): execution tracking under Brett Heap's word of 2026-10-07 #186 6342130291). - Measured thresholds, C.UTF-8 / C:
:1272fails from 70 / 68,:8552from 71 / 69, and:8645from 73 / 71. A grep found no fourth case in the shell suite or intests/*.py. - Brett's ruling on Gate C item 2, given at 13:53:11Z in lane 1's session and relayed in Triad migration (feature 004-migrate-to-triad): execution tracking under Brett Heap's word of 2026-10-07 #186 6342516105:
- Option 1 alone. Port Read the clause (c) TAIL case on a checkout at a short fixed path, and drive lane-start's row stamp at three checkout lengths, so the case no longer answers by the length of the run root (#180) #215's fix into the suite, as a reviewed code-leg follow-up at T014. Not the short
XDG_STATE_HOME, and not both. - The order. The fix goes after
code-0001and before both bumps bybump-leg.py, as a tenth follow-up. The nine pinned digests do not change. - The required check.
composed / exact-pinsbecomes a required check only after the code-leg bump that carries the fix.
- Option 1 alone. Port Read the clause (c) TAIL case on a checkout at a short fixed path, and drive lane-start's row stamp at three checkout lengths, so the case no longer answers by the length of the run root (#180) #215's fix into the suite, as a reviewed code-leg follow-up at T014. Not the short
- The patch is
opt1.diff(sha256a4017809…, test-only, +49 −13), posted in Triad migration (feature 004-migrate-to-triad): execution tracking under Brett Heap's word of 2026-10-07 #186 6342130291. It passed 85/85 at every TMPDIR from 66 to 73. - Before T014, two independent reviews (Triad migration (feature 004-migrate-to-triad): execution tracking under Brett Heap's word of 2026-10-07 #186 6342436124):
- lane 3's, which includes the whole shell file through
tests/run.shat a TMPDIR of 72 on33ce26d; - lane 2's cross-lane review, with the same run on D's candidate code leg
56142ed.
- lane 3's, which includes the whole shell file through
- Under e2 nothing lands on main. The patch stays off main until T014.
Metadata
Metadata
Assignees
Labels
No labels
Activity
Apply lane 2's and lane 3's reviews to D's record: (b) is #304, a case …
D's record, third touch: lane 3's 191 (no suites_d.sh run reaches #304'…
brettheap commentedon Oct 22, 2026
CLAIMED — lane openRepoTools-3, session 83619980-06bb-4469-ae73-2a8c5e61981a@Eagle, 2026-10-22T12:29:59Z, for #304
Logged in
lanes/log/openRepoTools-3.mdat2662b20aacd81c6c94830fd5a8762572ee329bef.The three reads (lane-collision-protocol Rule 1):
brettheap commentedon Oct 22, 2026
Lane openRepoTools-3, 2026-10-22T16:5xZ: the patch for this issue is now v2.
opt1-v2.diff(sha25664ea7093bbd79969…, +62 −13) replaces v1 (a4017809…). v2 folds in both independent reviews:The only change to a check: the
repoCase-1andrepoMIX-1row checks now also read the RESUMED stamp's; window testsess:0 @1. That kills a wrong-window mutant that v1 let through. Everything else is comment text.The changes, the verification and the interdiff are in #186 6346391739. Brett's ruling stands as recorded above: a tenth follow-up at T014, after
code-0001and before both bumps. Nothing lands under e2.Lane: openRepoTools-3
WIP: the Gate B walk's second pass, partial (checkpoint for lane 1's …
Gate B walk at rehearsal D, second version: apply lane 3's and lane 2…
brettheap commentedon Oct 22, 2026
Lane openRepoTools-3, 2026-10-22T21:5xZ: #304's fix is ready to land at T014. Its v2 is verified, and its commit message is pinned.
opt1-v2.diff, sha25664ea7093…, +62 −13, test-only (blob9d166e8→91a85f9). It replaces v1 (6346396180).56142edplus v2, at a TMPDIR of 72,-k lane_helpers. Both were green:LC_ALL=C, 48 passed (Triad migration (feature 004-migrate-to-triad): execution tracking under Brett Heap's word of 2026-10-07 #186 6351133318);C.UTF-8, 48 passed (Triad migration (feature 004-migrate-to-triad): execution tracking under Brett Heap's word of 2026-10-07 #186 6352123849).opt1-v2.msg, sha25662793c91…(Triad migration (feature 004-migrate-to-triad): execution tracking under Brett Heap's word of 2026-10-07 #186 6351564366).code-0001and before both bumps (Brett's round 6, option 1).exact-pinsbecomes a required check after the code bump.Lane: openRepoTools-3
Adopt opensoft/openRepoTools in place as the assembly of the spec leg…
The v1.1.0 notes say that the one-line install names an opensoft/open…
brettheap commentedon Nov 10, 2026
Lane: openRepoTools-3
Verdict: fixed by
1e6f2d1in opensoft/openRepoTools-code#1 (merge2a057a6d, 2026-10-26), which is v1.1.0 itself. Closing as completed.opensoft/openRepoTools-code: "The shell suite's lane-start row-stamp cases no longer answer by the length of run.sh's TMPDIR: repoCase-1 and repoMIX-1 use a short projects root and repoA-1 reads its directory from the lane's log (tests/test_lane_helpers.sh: the repoA-1 and repoCase-1 row-stamp cases fail once run.sh's TMPDIR reaches 70 characters, which T010's exact-pins job can hit (the cases #215 left; part of #186) #304)". It is test-only (+62, -13) and an ancestor of codemain.main9a219ed,tests/test_lane_helpers.sh:1341-1343: therepoA-1case stops at the clause "window renamed, no launch; dir " and takes the directory from the lane's own RESUMED line,"; dir $HOME/projects/repoA;".9a219ed,:8515-8519:repoCase-1andrepoMIX-1useA15_PROOT, asserted to be at most 55 characters wherever run.sh's TMPDIR points (the triage read these lines at:8467-8469at codemain86d635b).cut_to_linestill cuts a row at 230 characters (lane-start:3881-3882, at9a219ed), but the three cases no longer depend on it.36d8d51, which points at2a057a6d, so the fix is already released.Method: read, not run. Lane 3's triage read code
mainat86d635bon 2026-11-10 and ran no tests; one cite per issue was re-read at9a219ed.Brett Heap's word, given in lane openRepoTools-3's session on 2026-11-10 (the NEEDS-BRETT dialog, "Closing the six fixed or obsolete issues": #304, #145, #125, #124, #127 and #91, answered by 12:11:11Z): "Close all six (Recommended)". Its description: "Each gets one evidence comment and is closed, and lane 3 releases its claim on it."
🤖 Generated with Claude Code
brettheap commentedon Nov 10, 2026
RELEASED — lane openRepoTools-3, session 83619980-06bb-4469-ae73-2a8c5e61981a@Eagle, 2026-11-10T12:43:34Z, for #304 — closed: fixed by 1e6f2d1 in opensoft/openRepoTools-code#1 (v1.1.0); evidence 6767587362