Skip to content

validate-family.py, validate-pins.py and both bootstrap.py copies: a git that is not a Win32 application ([WinError 193]) ends in a traceback, exit 1, not git-not-runnable #1001

Closed

Description

@brettheap

What happens. #983 (#928) makes validate-family.py's git-not-runnable count only the OSErrors that mean git itself could not run, with the rule validate-pins.py and both bootstrap.py copies already carry (byte-identical at validate-family.py:352-355 and validate-pins.py:727 on #983's head a2e818e0).

On Windows, a git on PATH that is not a valid Win32 application makes subprocess raise an OSError with winerror 193 ([WinError 193]) and no file name. None of the four copies counts it, so it ends in a traceback, exit 1 (validate-family.py:339, #983's parity row winerror-193). Before #983, validate-family.py told it as git-not-runnable, exit 2, with the remedy to put git on PATH; the other three copies already ended in the traceback. #983 discloses this, and RV983 (lane 3's independent review, #983 issuecomment-6269371615) asks for this follow-up as its SHOULD 1.

Direction.

Verify. The winerror-193 row in each copy: exit 2, git-not-runnable, the put-git-on-PATH remedy, and no traceback. The rows of test_validate_family_git_not_runnable.py, test_validate_pins_without_git.py and the bootstraps' own test still pass.

Follows #928 (PR #983).

Lane: openreposhape-4 (openRepoShape-4)

Activity

  1. added this to the v1.2.0 milestone on Oct 19, 2026
  2. brettheap commented on Oct 20, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-4, session 11c6c0ef-495a-4a05-94cf-811b7b0a1012@Eagle, 2026-10-20T00:09:16Z, for #1001

    Logged in lanes/log/openRepoShape-4.md at 5de34b26e4471ebac64ff5912253768a10b84194.

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

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#1001:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#1001"`, kept where the row or its body names `#1001`:
    983	validate-family.py: `git-not-runnable` counts only an `OSError` that names `git`, or a `FileNotFoundError` or `PermissionError` that names no file, as `validate-pins.py` counts it, and only around the git calls, so a member's checkout git could not enter, or a member check's own step, is never told to put git on PATH (#928)	fix/928-git-not-runnable-member-oserror	OPEN
    3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `1001` as a whole token:
       none
    
  3. added 3 commits that reference this issue on Oct 20, 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