Skip to content

ci: keep the v1 tag on the latest tested commit - #4

Merged
PabloCodes7 merged 1 commit into
mainfrom
ci/sync-v1-tag
Jul 14, 2026
Merged

ci: keep the v1 tag on the latest tested commit#4
PabloCodes7 merged 1 commit into
mainfrom
ci/sync-v1-tag

Conversation

@PabloCodes7

Copy link
Copy Markdown
Contributor

Everyone pins patchrail/ci-triage-action@v1, but the test suite only ever ran against the commit, never the tag. The two had already drifted: v1 pointed at 546ebaa, two commits behind main, which means the fix-guide slug guard added in #3 was validating code that no user actually runs. A merged fix could stay invisible to every user indefinitely, with CI green the whole time.

This adds a sync-v1 job that fast-forwards the tag to each main commit that passes both fix-guide-slugs and smoke, so @v1 is always the newest tested code.

The retag itself is behavior-preserving: action.yml is byte-identical between v1 and main, and scripts/annotate.py differs only in comments (FIX_GUIDE_SLUGS is unchanged), so no current user sees a behavior change when the tag moves.

README also documents that @v1 floats within the v1 line, with full-SHA pinning as the alternative for anyone who wants to review every change.

Everyone pins patchrail/ci-triage-action@v1, but CI only ever tested the
commit. The tag had fallen two commits behind main, so the guide-slug guard
added in #3 was validating code that no user actually runs.

Move v1 to each main commit that passes both jobs, and document in the README
that v1 floats within the v1 line (with SHA pinning as the alternative).
@PabloCodes7
PabloCodes7 merged commit 0299e5f into main Jul 14, 2026
3 checks passed
@PabloCodes7
PabloCodes7 deleted the ci/sync-v1-tag branch July 14, 2026 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant