Repository navigation
Closed
Milestone
Description
Goal: where a member's own command refuses (exit 2), the family root's make bootstrap says exited 2, whatever its make ran and ignored before it.
Filed by lane openRepoShape-5, from rv884's NIT 1 and NIT 2 in its re-check of #886 (#884) at dbd3a6dd, #886 issuecomment-6249507909. #886 lands at dbd3a6dd, and these follow it so that its head and lane 3's gate over it stay as they are.
Lines
- Two nested-make shapes read a member's refusal as a finding (
MakeErrors.said, the(ignored)branch).- Scenario 1: the member runs
$(MAKE) mid, then its ownexit 2;midruns-$(MAKE) inner, andinnerexits 1.- make prints
make[3]: *** … Error 1, thenmake[2]: [mid] Error 2 (ignored), thenmake[1]: *** [bootstrap] Error 2. - At
dbd3a6ddthe(ignored)line moves the depth back to 2, the ignoring make's own, so the member'sError 2is passed over and the line saysexited 1.281df263said 2.
- make prints
- Scenario 2:
$(MAKE) inner || true, then-false, thenexit 2.Error 1 (ignored)is not a marker atdbd3a6dd, so it saysexited 1. - Direction: an
(ignored)line for any code resets the depth fully (self.depth = -1).- rv884's argument: in a sequential run, a make that printed
(ignored)keeps going, and if it fails later it prints its own***line first, which sets the depth again. So noError 2after an(ignored)line, with no deeper***line between, can be a make reporting a failed sub-make. - Measured: over 224 case-modes at both depths, the change differs from
dbd3a6ddin 5, each one wheredbd3a6ddnames 1 and the change names the member's ownexit 2, as281df263did. No case reads worse.
- rv884's argument: in a sequential run, a make that printed
- Scenario 1: the member runs
-
MakeErrors' list of limits misses a-kshape. Under-k,a: $(MAKE) innerA(exits 1), thenb: -$(MAKE) innerB(exits 3), the line names 3: the code of the sub-make a-let fail, though the failing command exited 1.82a84f88,dbd3a6ddand281df263all name 3.- Direction: name it in the docstring's limits, beside
|| true(now "with no(ignored)line between"),env -u MAKELEVEL,-jinterleaving and a member's own line shaped like make's.
- Direction: name it in the docstring's limits, beside
Branch: fix/884-ignored-depth at d2be39dc holds both lines, written by w884 as one commit on dbd3a6dd.
INNERMOSTgainsLetsBelow(Scenario 1),PassesThenLets(Scenario 2) andThenLets(a-kfinding, then-false).- 42 mutants, 38 caught; the 4 survivors are equivalent.
- 1049 passed on git 2.43 and on 2.47.1.
- It merges clean with main
0d5d2b11and with lane 4's validate-family.py and bootstrap.py: the holder's remedies, typed as printed in order, put a.gitmodulesgone from the work tree back once and never over another remedy's write, stage it before a gitlink'sgit rmand after a section written back, and name a checkoutgit mvmoved before the update, and bootstrap fails where git's init in this holder stopped with every member checked out, so no remedy undoes another or exits 128 (#879) #889. On a commit at the merge with main, the texts file,test_family_gitmodules_values.pyandtest_pinned_copy_text.pygave 291 passed. - It opens as a PR once the family root's bootstrap.py: make's stderr is read a line at a time and the innermost command named, so a member whose make runs another no longer reads
exited 2for a finding, andmake -kkeeps itsErrorline (#884) #886 lands, restacked onto the family root's bootstrap.py: make's stderr is read a line at a time and the innermost command named, so a member whose make runs another no longer readsexited 2for a finding, andmake -kkeeps itsErrorline (#884) #886's squash.
Verify:
- Scenario 1 and Scenario 2 read
exited 2at both depths. Their tests fail atdbd3a6ddand pass after. - rv884's mutants I1, I4 and I17 are caught.
tests/test_family_holder_bootstrap_texts.py,tests/test_family_bootstrap_gate_order.py,tests/test_bootstrap_spelling.py,tests/test_pinned_copy_text.pyand the trio pass.templates/family-root/scripts/bootstrap.pyis inFAMILY_COPIED_VERBATIM, so each holder takes oneupstream-changedrow for it.
Milestone: none set; lane 3's call. These are rarer nested-make shapes with a -, and a docstring line, after #886's main rule.
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
No labels
Activity
brettheap commentedon Oct 18, 2026
CLAIMED — lane openRepoShape-5, session 50cede29-ab82-4ca3-9f67-d98e1a58c8d2@Eagle, 2026-10-18T12:28:28Z, for #890
Logged in
lanes/log/openRepoShape-5.mdat85d42ff6fa12e022496037c133b7317a7b5eb163.The three reads (lane-collision-protocol Rule 1):
the family root's bootstrap.py: a signal's `(ignored)` line is a mark…
tests/test_family_holder_bootstrap_texts.py: a `-` command SIGTERM en…
the family root's bootstrap.py: an `(ignored)` line, for any code or …