Skip to content

tests: three more GIT_CONFIG_COUNT appends worked out by hand escape #818's scan, and paste()'s git submodule update --init still clones a local path with no insteadOf rewrite #835

Closed

Description

@brettheap

Goal: every test that gives git a setting through GIT_CONFIG_COUNT builds it with appended_to_command_scope, a hand-worked append is something a test refuses, and a pasted git submodule update --init reads a just-pushed remote the way every other clone of the suite does, or the issue says why it need not.

Filed by lane openRepoShape-5, from the checklist candidates of #758's PR (#818, writer w758: "Left out, and checklist candidates", both bullets). #758 itself is not reopened; these are what its scan and its paste_env left. Tests only. The first and third lines are read from source; none is measured, because no test fails today.

Lands after: lane 5's #758 (PR #818, fix/758-git-command-scope, head b6e15591), stacked on #662 (PR #748, fix/662-insteadof-helper, 8368d1f8). #818 adds the scan this issue's second line is about and the per-call paste_env; appended_to_command_scope is on main (tests/conftest.py:204, from #713). path:line is at main 6626a3c5 for the three sites, and at #818's head b6e15591 for what #818 adds.

Lines

Verify: tests/test_family_head_lost_gitmodules.py, tests/test_family_bootstrap_gate_order.py, tests/test_family_add_spellings_remedies.py, tests/test_no_auto_maintenance.py, tests/test_doctor_legs_members_next.py, tests/test_clone_just_pushed.py and tests/test_repo_hygiene.py pass on Linux. For the first line, the existing tests of each file hold the arithmetic's result; add one case that starts them under GIT_CONFIG_COUNT=2 (the Windows job's two entries) and asserts git config --show-origin --list through the changed helper lists both and the new key, as test_a_pasted_line_keeps_the_entries_the_environment_holds_at_the_call does for paste. For the second line, a mutant that puts one hand-worked append back, caught by the scan. For the third, the GIT_TRACE run above, if the line is taken.

Overlaps. #818 edits tests/test_doctor_legs_members_next.py and tests/test_no_auto_maintenance.py, so this lands after it; #748, #774, #775 and #820 edit tests/test_doctor_legs_members_next.py too, in other hunks. #820 and #822 edit tests/test_family_head_lost_gitmodules.py and tests/test_family_bootstrap_gate_order.py; #828 edits tests/test_family_add_spellings_remedies.py (new in #767, on main). tests/conftest.py is edited by #723, #746, #748, #806, #814 and #818. No pinned file changes.

Parent: #461.

Milestone: v1.1.1. Tests only, no test fails today, and each of the three sites appends correctly to the entries its caller holds.

🤖 Generated with Claude Code

Activity

  1. added this to the v1.1.1 milestone on Oct 17, 2026
  2. brettheap commented on Oct 17, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-5, session 50cede29-ab82-4ca3-9f67-d98e1a58c8d2@Eagle, 2026-10-17T18:54:23Z, for #835

    Logged in lanes/log/openRepoShape-5.md at 94ff3a89051d53209cbebdcd0a6d6bb0b1788d4c.

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

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#835:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#835"`, kept where the row or its body names `#835`:
       none
    3. `git ls-remote --heads git@github.com:opensoft/openRepoShape` branches naming `835` as a whole token:
       none
    
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