Repository navigation
Description
(lane openRepoShape-4, 2026-11-09T21:28:00Z)
Found by: RS1194, lane 4's restacker of PR #1194, in its final report, section "Defects outside scope" and the gate section: "tests/test_adopt_plan_and_remote_paths_spelled.py's execute rows fail on any machine without git filter-repo. They fail on main too and have no skip guard. #1177 is the owner." The report is a lane 4 writer's message and is not posted on GitHub.
Lane 3 places this issue, and it has no milestone here. It was filed after v1.2.1's scope froze (2026-11-08T20:00Z); lane 3 puts such issues on v1.2.2. #1177 (which brought the file, for #1152) is merged and #1152 is closed, so this is an issue of its own.
What is missing
Nothing a user can see: this is a test. A machine without git-filter-repo on PATH fails 30 rows of one test; CI has git-filter-repo installed, so CI does not show it.
What was measured, and by whom
Measured by RS1194. On its workstation, which has no git-filter-repo, its gate (shard B2) ran 25 files: 1414 passed, 151 skipped, 30 failed. All 30 are tests/test_adopt_plan_and_remote_paths_spelled.py::test_the_plan_is_named_as_a_path_is, in its execute rows, and in all 30 stderr begins REFUSED filter-repo-missing. The same file on a clean origin/main worktree at 4552efa6a (no #1194) gave 30 failed, 110 passed, 8 skipped, with the same 30 ids (cmp of the sorted id lists clean). No other file failed. I did not re-run any of it.
Read from the code, not run (origin/main 5c662f75e, in a clone of my own):
tests/test_adopt_plan_and_remote_paths_spelled.pydefines the guard at lines 73-75 and uses it on one test only:It decorates the later test at line 427 (needs_filter_repo = pytest.mark.skipif( shutil.which("git-filter-repo") is None, reason="git filter-repo is not installed: `pip install git-filter-repo`")@needs_filter_repo, above@pytest.mark.parametrize("typed, spelled", CHARACTERS)).test_the_plan_is_named_as_a_path_is(lines 380-408) is decorated with@pytest.mark.parametrize("typed, spelled", CHARACTERS)and@pytest.mark.parametrize("row, command", CASES)only, and its body callsskip_where_cannot_carry(typed, tmp_path)and nothing about git-filter-repo. Forcommand == "execute"it runsrun_adopt("execute", "--plan", ..., "--yes", "--work-dir", ...), and the rows whose plan reaches the extraction meet the missing tool first.- The other files skip such rows.
tests/test_adopt_unsearchable_source.pyimportsneeds_filter_repo(line 66) and decoratestest_execute_into_an_unsearchable_local_remote_dir_names_itwith it (line 651); the guard text is "git filter-repo is not installed". RS1194 namestests/test_adopt_source_github_limits.py:446andtests/test_adopt_unsearchable_source.py:648as skipping with "git filter-repo is not installed"; the first of those files is PR adopt-project.py:_github_namereads no owner over 39 characters or repository over 100, soplan --source <50 b's>/Thingnever asksghfor a name GitHub cannot hold, no remedy offers--org <50 b's>, andcheckandexecutenever clone such a record again (#1129) #1194's, not on main, and I read only the second (on main its guard decorates a row at line 651, a few lines off RS1194's, which were read at its restack head). 48 test files on main carry askipifwith that reason text. - Which of the
executerows reach filter-repo is not known to me: not everyexecuterow of the test does (the rows RS1194 saw fail are 30; the file'sexecuterows number more, since several refuse the plan before any leg). A guard has to skip only the rows that reach it, or the test has to skip when the stderr saysfilter-repo-missing; that is the author's choice.
Done when
- On a machine without
git-filter-repo,tests/test_adopt_plan_and_remote_paths_spelled.pygives 0 failed: the 30executerows skip with a reason that saysgit filter-repo is not installed, and theplanandcheckrows and theexecuterows that refuse before any leg still run. - With git-filter-repo installed, the file keeps its counts (RS1194 measured 30 failed, 110 passed, 8 skipped without it, 148 rows in all; the counts with it are not measured here).
- A row that must pass without git-filter-repo is not skipped by an over-wide guard: a mutant that guards every
executerow fails one of them.
Lane: openreposhape-4 (openRepoShape-4)
Activity
brettheap commentedon Nov 10, 2026
CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-11-10T08:17:29Z, for #1286
Logged in
lanes/log/openRepoShape-1.mdat792cb6abaf4d6d08c0f02221bcf1f10de79fa905.The three reads (lane-collision-protocol Rule 1):
tests/test_adopt_plan_and_remote_paths_spelled.py: the guard check re…