Skip to content

CONTRIBUTING: the bump-PR review check flags every valid bump #2145

Closed

Description

@KatalKavya96

What's broken

The bump-PR review check in CONTRIBUTING.md (§ Bumping the dev version) says it "should print nothing" for a valid bump. Since #2047 it prints lines on every valid bump, and its two-dot diff can show thousands of unrelated lines once main moves.

Which layer

CONTRIBUTING.md, lines 1028–1035 ("Reviewing a bump PR is quick …").

How to reproduce

Run the documented filter against a merged bump, e.g. #2116 (062cfbd):

git diff 062cfbd~1..062cfbd | grep '^[-+]' | grep -v '^[-+][-+][-+]' \
    | grep -v 'dev[0-9]\{12\}'

It prints 8 lines, all from .apache-magpie.lock:

-  at:      2026-11-14
+  at:      2026-11-15
-    code-review:                sha256:871da2459ce53192
+    code-review:                sha256:5540df0191ad8033
-    isolated-setup-verify:      sha256:4866c98daeb1e5c4
+    isolated-setup-verify:      sha256:e4037763f0982666
+    pre-release-sweep:          sha256:52048f763e3f5742
+    shepherd:                   sha256:cd4c424406623b33

The same happens on #2074 (4 lines), #2066 (4) and #2054 (2).

Separately, git diff main..<branch> is a two-dot diff, which compares the two tips. When commits land on main after the bump branch was cut, they show up as changes. Comparing the #2074 bump (a5b7b7a) with the main it would have been reviewed against a day later (062cfbd~1) prints 13,795 lines.

Expected vs actual

Expected: the check prints nothing for a valid bump and something for anything else.

Actual: valid bumps always print .apache-magpie.lock lines, so a reviewer either learns to ignore the output (and the check stops catching anything) or blocks a valid PR.

Cause: #2047 added tools/dev/refresh-reconciled-stamp.py to bump-dev-version.yml, which moves the reconciled: block's at: date and per-skill sha256 surface hashes in the same commit. The workflow's PR body describes this, but the review check in CONTRIBUTING.md was not updated.

Surface area (optional)

Only this one check. docs/setup/marketplace.md describes the bump but has no review filter.

Activity

  1. added
    bug
    family:docs
    on Nov 16, 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

    bugfamily:docs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions