Skip to content

bump-leg.py --to <an annotated tag's own id>: the dry run previews it and exits 0, and the validators refuse the real run only after the rewrite #534

Closed

Description

@brettheap

The dry run must give the real run's answer before anything is rewritten. For family.py, Brett Heap ruled on 2026-10-14 that bump --to peels an annotated tag's own id, as add --at does; use the same rule here unless there is a reason not to.

From the v1.1.0 triage of the v1.0.0 known limits on #458. One pull request covers the lines below.

Lines

  • bump-leg.py --to <annotated tag's own id>: dry run previews it, exit 0; real run refused by validators after rewrite. Where: scripts/bump-leg.py _checked_target_commit, object_present. Effort S; all. On main 3121945: _checked_target_commit checks 40-hex only and object_present asks <id>^{commit}, which peels a tag, so nothing refuses a non-commit before the dry-run return. (source)

Rides along (backlog; tick it here if the same change covers it)

Each line above is marked → this issue on its tracking issue. Tick it there too when this closes.

The lines as written on the tracking issues

bump-leg.py --to <an annotated tag's own id>: the dry run previews the tag's id as the new commit and exits 0, while the real run is refused only by its validators after the rewrite (rolled back, exit 2), so the dry run does not say what the real run does. From #466's "Left out".
— #458, body

Activity

  1. added this to the v1.1.0 milestone on Oct 14, 2026
  2. brettheap commented on Oct 14, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-4, session 11c6c0ef-495a-4a05-94cf-811b7b0a1012@Eagle, 2026-10-14T16:46:19Z, for #534

    Logged in lanes/log/openRepoShape-4.md at ef937fbb41eb252b45f086cf9ababf6516c57744.

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

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