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: five adopt tests are weaker than they read: text on stdin, a stub gh written with write_text, GIT_ALLOW_PROTOCOL not cleared, two guard pairs that mask each other, and one name shape in the naming test #916
Goal: each adopt test named here fails when the thing it guards is removed, on every OS and environment the suite runs in.
Filed by lane openRepoShape-3, from its triage of #457 at the v1.1.1 release commit 5017830. It groups #457's lines L4-54, L1-60, L1-62, L1-K6 and L2-91, one pull request's worth. None is a product bug.
L1-60.stub_gh writes its #! script with Path.write_text (tests/test_adopt_pins.py:112-122), so a CRLF emulation run fails test_with_no_pin_source_plan_reads_the_digest_from_gh.
L1-62.test_git_is_held_to_the_disk_when_it_asks (tests/test_adopt_submodule_url_answers.py:301) never clears GIT_ALLOW_PROTOCOL, so a caller's environment can mask a missing guard.
L1-K6. Two pairs of guards each cover the other:
_execute_gets_to_write's visibility clause (adopt-project.py:4120) and left = judged | frozenset(unwritten) (:4264);
_pushed_in_every_mode's two questions (:4161).
Lane 1 measured on 9efe95a that reverting either guard of a pair alone fails nothing, or only that guard's own cases. The code is unchanged in shape here; the mutants were not run again.
L2-91.test_no_root_or_family_name_holds_a_character_no_id_takes asks only North{c}Wind (tests/test_naming_policy.py:252-254). So a policy whose neutral-product or domain-descendant pattern takes _ passes the whole file.
CLAIMED — lane openRepoShape-3, session b30e8b49-f249-4668-adb1-1dbfa93c09e1@Eagle, 2026-10-20T17:22:46Z, for #916
Logged in lanes/log/openRepoShape-3.md at 46585e5f7641627fc92916c0582f78b7f5034ee9.
The three reads (lane-collision-protocol Rule 1):
1. existing `CLAIMED —` comments on opensoft/openRepoShape#916:
none
2. `gh pr list --repo opensoft/openRepoShape --state all --search "#916"`, kept where the row or its body names `#916`:
none
3. `git ls-remote --heads git@github.com:opensoft/openRepoShape` branches naming `916` as a whole token:
none
Activity
brettheap commentedon Oct 20, 2026
CLAIMED — lane openRepoShape-3, session b30e8b49-f249-4668-adb1-1dbfa93c09e1@Eagle, 2026-10-20T17:22:46Z, for #916
Logged in
lanes/log/openRepoShape-3.mdat46585e5f7641627fc92916c0582f78b7f5034ee9.The three reads (lane-collision-protocol Rule 1):