Skip to content

docs: disclose that a pre-v0.39.0 tag push skips the version-order guard - #964

Merged
fdaviddpt merged 1 commit into
mainfrom
fix-892-release-tag-guard
Oct 7, 2026
Merged

fdaviddpt merged 1 commit into
mainfrom
fix-892-release-tag-guard

Conversation

@fdaviddpt

Copy link
Copy Markdown
Contributor

#856's check_version_order.py refusal only exists in release-branch.yml as of v0.39.0. An ordinary push: tags: trigger runs the workflow file as it exists at the tagged commit, not the copy on main, so a patch tag pushed directly for a release line older than v0.39.0 runs that line's own pre-#856 copy of the workflow -- which has no guard step at all -- and the version-regression refusal never fires.

This is a docs-only fix: the underlying GitHub Actions trigger-semantics behaviour is not fixable in this repo's code, and the issue's own suggested remedy was to document the caveat, which is what this diff does.

docs/releasing.md now states the caveat right after the existing #856 guard description: any release line before v0.39.0 must be published via workflow_dispatch from main rather than a direct tag push, until no reachable release line predates the guard.

TDD: tests/test_releasing_doc_pretag_guard_892.py fails red against the pre-fix doc (missing workflow_dispatch/v0.39.0/892 in the guard section) and passes green after the edit, alongside a positive-control test confirming the pre-existing allow_version_regression description is not deleted by the same change.

Closes #892.

[AI-generated]

…er guard

#856's check_version_order.py refusal only exists in release-branch.yml as of
v0.39.0. An ordinary `push: tags:` trigger runs the workflow file as it is at
the tagged commit, not the one on main, so pushing a patch tag directly for a
release line older than v0.39.0 runs that line's own pre-#856 copy of the
workflow -- which has no guard at all -- and the version-regression refusal
never fires. docs/releasing.md now says to publish any such line through
workflow_dispatch from main instead.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@fdaviddpt
fdaviddpt merged commit bec8999 into main Oct 7, 2026
19 checks passed
@fdaviddpt
fdaviddpt deleted the fix-892-release-tag-guard branch October 7, 2026 16:43
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.

#856's check_version_order.py refusal only runs for a tag cut from v0.39.0+; a patch tag on an older line pushed directly skips it

1 participant