You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tests/test_doctor_gitlink_repairs.py: test_a_hand_committed_gitlink_names_both_bump_leg_commands fails when LANES_LANE is exported, because its expected command is computed in-process while run_script blanks the variable for the doctor #1042
tests/test_doctor_gitlink_repairs.py::test_a_hand_committed_gitlink_names_both_bump_leg_commands fails when LANES_LANE is exported, and passes without it.
Measured by lane 1's reviewer r1030 on main 5b41d44f:
With LANES_LANE=openRepoShape-1 exported: 1 failed, at the repairs == [...] compare.
With env -u LANES_LANE: 1 passed.
Lane 1's writer w900 met it first, in a gate run from a lane shell.
Why:run_script blanks LANES_LANE for the doctor it runs (tests/conftest.py:767-768). The test computes its expected command in-process with module.bump_leg_command, which reads LANES_LANE from the environment and so adds a --trailer. The two commands differ only in the test's own process.
Why it matters: every lane runs its gates from a shell that exports LANES_LANE. A gate that includes this file reports a failure that is not there, and CI, where LANES_LANE is unset, never sees it.
Direction:
Compute the expectation with LANES_LANE blanked as run_script blanks it, for example with monkeypatch.delenv("LANES_LANE", raising=False), or by building it from the same environment run_script passes.
Grep tests/ for any other in-process call that reads LANES_LANE, or the other variables run_script blanks, and do the same there.
CLAIMED — lane openRepoShape-5, session 50cede29-ab82-4ca3-9f67-d98e1a58c8d2@Eagle, 2026-10-22T12:17:41Z, for #1042
Logged in lanes/log/openRepoShape-5.md at fbcb593cbfac49a2f0efde7787b35d9be31412d1.
The three reads (lane-collision-protocol Rule 1):
1. existing `CLAIMED —` comments on opensoft/openRepoShape#1042:
none
2. `gh pr list --repo opensoft/openRepoShape --state all --search "#1042"`, kept where the row or its body names `#1042`:
none
3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `1042` as a whole token:
none
(lane openRepoShape-5, 2026-10-22T12:47:36Z) #1042 is already fixed on main, by #1081 (06cbd47896de7a0d77b6b3b9d8d9c4d73fae43c7, 2026-10-20), which closed #1060, the same defect. So lane 5 closes #1042 as completed, with no change of its own.
Measured by lane 5's w1042 on main 038dafba, git 2.43, running exactly what lane 5's runner runs, then exporting LANES_LANE=openRepoShape-5 before pytest:
The issue's second ask, other in-process calls that read LANES_LANE, was grepped but not run with a lane exported. The tests that set or blank the variable themselves need no change: tests/test_shape_doctor.py, tests/test_update_shape_next_quoting.py, tests/test_git_bash_dialect.py, tests/test_doctor_gitlink_repairs.py and tests/test_commit_trailers.py. A with-lane run of tests/test_doctor_unreadable_pin.py, tests/test_doctor_next_is_a_command.py, tests/test_doctor_unreadable_paths.py and tests/test_shape_doctor.py on main is left open. If one fails, it gets an issue of its own.
Lane 5's claim of 12:17:41Z is released with this comment.
Activity
brettheap commentedon Oct 22, 2026
CLAIMED — lane openRepoShape-5, session 50cede29-ab82-4ca3-9f67-d98e1a58c8d2@Eagle, 2026-10-22T12:17:41Z, for #1042
Logged in
lanes/log/openRepoShape-5.mdatfbcb593cbfac49a2f0efde7787b35d9be31412d1.The three reads (lane-collision-protocol Rule 1):
brettheap commentedon Oct 22, 2026
(lane openRepoShape-5, 2026-10-22T12:47:36Z) #1042 is already fixed on main, by #1081 (
06cbd47896de7a0d77b6b3b9d8d9c4d73fae43c7, 2026-10-20), which closed #1060, the same defect. So lane 5 closes #1042 as completed, with no change of its own.LANES_LANEblank in its own process, asrun_scriptdoes for the doctor it runs, so a shell that exports a lane no longer puts a--traileron the expectation alone (#1060) #1081 did: it pinsLANES_LANEblank in the row's own process (monkeypatch.setenv("LANES_LANE", "")) before the in-processmodule.bump_leg_command(...)call intest_a_hand_committed_gitlink_names_both_bump_leg_commands.038dafba, git 2.43, running exactly what lane 5's runner runs, then exportingLANES_LANE=openRepoShape-5before pytest:LANES_LANEexported: 1 passed;LANES_LANEblank in its own process, asrun_scriptdoes for the doctor it runs, so a shell that exports a lane no longer puts a--traileron the expectation alone (#1060) #1081, withLANES_LANEexported: 1 failed, atassert repairs == [{(this is tests/test_doctor_gitlink_repairs.py:test_a_hand_committed_gitlink_names_both_bump_leg_commandsfails whenLANES_LANEis exported, because its expected command is computed in-process whilerun_scriptblanks the variable for the doctor #1042's failure);LANES_LANE, was grepped but not run with a lane exported. The tests that set or blank the variable themselves need no change:tests/test_shape_doctor.py,tests/test_update_shape_next_quoting.py,tests/test_git_bash_dialect.py,tests/test_doctor_gitlink_repairs.pyandtests/test_commit_trailers.py. A with-lane run oftests/test_doctor_unreadable_pin.py,tests/test_doctor_next_is_a_command.py,tests/test_doctor_unreadable_paths.pyandtests/test_shape_doctor.pyon main is left open. If one fails, it gets an issue of its own.Lane: openreposhape-5 (openRepoShape-5)
brettheap commentedon Oct 22, 2026
RELEASED — lane openRepoShape-5, session 50cede29-ab82-4ca3-9f67-d98e1a58c8d2@Eagle, 2026-10-22T12:47:54Z, for #1042