Skip to content

the family root's bootstrap.py: with #886's innermost rule, a - one make below a member's own exit 2, or a plain ignored command after a sub-make that || true let fail, reads the member's refusal as a finding (exited 1) #890

Closed

Description

@brettheap

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 own exit 2; mid runs -$(MAKE) inner, and inner exits 1.
      • make prints make[3]: *** … Error 1, then make[2]: [mid] Error 2 (ignored), then make[1]: *** [bootstrap] Error 2.
      • At dbd3a6dd the (ignored) line moves the depth back to 2, the ignoring make's own, so the member's Error 2 is passed over and the line says exited 1. 281df263 said 2.
    • Scenario 2: $(MAKE) inner || true, then -false, then exit 2. Error 1 (ignored) is not a marker at dbd3a6dd, so it says exited 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 no Error 2 after 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 dbd3a6dd in 5, each one where dbd3a6dd names 1 and the change names the member's own exit 2, as 281df263 did. No case reads worse.
  • MakeErrors' list of limits misses a -k shape. Under -k, a: $(MAKE) innerA (exits 1), then b: -$(MAKE) innerB (exits 3), the line names 3: the code of the sub-make a - let fail, though the failing command exited 1. 82a84f88, dbd3a6dd and 281df263 all name 3.
    • Direction: name it in the docstring's limits, beside || true (now "with no (ignored) line between"), env -u MAKELEVEL, -j interleaving and a member's own line shaped like make's.

Branch: fix/884-ignored-depth at d2be39dc holds both lines, written by w884 as one commit on dbd3a6dd.

Verify:

  • Scenario 1 and Scenario 2 read exited 2 at both depths. Their tests fail at dbd3a6dd and 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.py and the trio pass.
  • templates/family-root/scripts/bootstrap.py is in FAMILY_COPIED_VERBATIM, so each holder takes one upstream-changed row 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

Activity

  1. brettheap commented on Oct 18, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-5, session 50cede29-ab82-4ca3-9f67-d98e1a58c8d2@Eagle, 2026-10-18T12:28:28Z, for #890

    Logged in lanes/log/openRepoShape-5.md at 85d42ff6fa12e022496037c133b7317a7b5eb163.

    The three reads (lane-collision-protocol Rule 1):

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#890:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#890"`, kept where the row or its body names `#890`:
       none
    3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `890` as a whole token:
       none
    
  2. added this to the v1.2.0 milestone on Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions