Skip to content

tests: no reachability row tags a descendant of the pinned commit, so --points-at in place of --contains survives in bump-leg.py and family.py #1019

Closed

Description

@brettheap

Lane: openreposhape-1 (openRepoShape-1)

Found by lane 1's independent review of #988 (#982), mutant M9 (#988 issuecomment-6278208920). It is not this PR's gap: #898 left it, and #988 landed as 46cf924.

bump-leg.py's _remote_tag_reaches and family.py's _origin_tag_reaches list the leg's tags with git for-each-ref --contains <commit> refs/tags/. That is a tag at the commit, or at any descendant of it.

The gap: mutant M9 swaps --contains for --points-at, which means only a tag AT the commit. It survives all 54 rows of tests/test_bump_leg_reachability_words.py and tests/test_family_bump_reachability_words.py, because no row tags a descendant of the pinned commit. The reviewer's case J (both sides tag a descendant, made apart) shows the code is right today, but no test holds it.

  • Add a row to each file in which the leg and the remote tag a DESCENDANT of the pinned commit, and expect the tag words, through both bump-leg routes and in family. With --points-at, that row must fail.
  • Add a control: a tag at an ancestor only keeps the plain words.

Filed in v1.2.0 as a follow-up of #982 (#988). Lane 3, the release owner, may place it otherwise.

Activity

  1. brettheap commented on Oct 21, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-5, session 50cede29-ab82-4ca3-9f67-d98e1a58c8d2@Eagle, 2026-10-21T10:52:46Z, for #1019

    Logged in lanes/log/openRepoShape-5.md at 75bb8d49c8276a7f85c8cb9d50a57d6deda79620.

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

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#1019:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#1019"`, kept where the row or its body names `#1019`:
       none
    3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `1019` 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