Skip to content

templates/family-root/scripts/bootstrap.py: credential_advice says a member's failed clone lets git's update go on, which only a leg's does, and killed_said says the update "went on" where git itself was killed (rv1076's NITs 1 and 2 on #1076) #1085

Closed

Description

@brettheap

Goal: the two texts #1076 (#1056) left in the family root's bootstrap.py say what git does. A member's clone that fails ends git's update, and a run whose git was itself killed is not said to have gone on.

State

Both are on main c13c3985, where #1076 landed at 22:49Z. rv1076, lane 5's independent reviewer, found them (#1076 issuecomment-6302104583), and #1076's ask left them to this follow-up (#473 issuecomment-6303484900).

  • NIT 1, credential_advice's docstring (bootstrap.py:859-861): "a clone that fails, a member's or a leg's, gives 1, and git's update goes on (rv996's NIT 2 on the family root's bootstrap.py: git's update ended by a signal fails the run by name, and B4 with a token in use is told from fetches redone without a trace, so the token reaches no file (#998, #996) #1045)".
    • That is true for a leg's clone, and rv996's NIT 2 said it of a leg only.
    • For a member's clone it is not. In git 2.47.1's builtin/submodule--helper.c, a clone that fails a second time sets suc->quickstop = 1 (:2276-2280). update_submodules then does if (suc.quickstop) { ret = 1; goto cleanup; } (:2737-2740), so no gitlink at that level is checked out after it.
    • The related gap in ended_on's docstring (:915-918). "128 + N ... and no gitlink after it failed" is not enough on its own.
      • A member's git submodule--helper clone killed by a signal never reaches the update's own code. It is retried, then ends in quickstop's 1, even with nothing after it.
      • So with a token in use, a member's clone killed twice reads as the credential's skip. With no token, the trace path names it.
    • rv1076 read this from git's source and did not run it.
  • NIT 2, killed_said (bootstrap.py:964-967). Where git's update returns -N, Python's code for git itself killed, and the trace holds an earlier child's signal, the line reads: "a git that git's update ran died of signal 9 (SIGKILL, exit 137), and git's update went on and ended with exit -9."
    • Git's update did not go on and end: it was killed.
    • rv1076 reached the line by calling killed_said(Died(9, 137), -9) directly. No row reaches it. A real run that would is the OOM killer taking a checkout, and later the top git.

Direction

Verify

  • The docstrings read true against git's source (2.43 and 2.47.1).
  • The new row fails on main's bootstrap.py and passes with the change, and the stops-named file's 48 rows still pass on git 2.43 and 2.47.1.

Found by lane 5's independent review of #1076 (#1056), rv1076 (#1076 issuecomment-6302104583).

Milestone: v1.2.0 (placement is lane 3's call).

Lane: openreposhape-5 (openRepoShape-5)

Activity

  1. brettheap commented on Oct 20, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-5, session 50cede29-ab82-4ca3-9f67-d98e1a58c8d2@Eagle, 2026-10-20T22:55:37Z, for #1085

    Logged in lanes/log/openRepoShape-5.md at 5889c6bf78a940d569b44d9e7c883fbe625324b4.

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

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#1085:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#1085"`, kept where the row or its body names `#1085`:
       none
    3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `1085` as a whole token:
       none
    
  2. added this to the v1.2.1 milestone on Oct 23, 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