ci: reject off-main Release Please tags - #2946
Merged
Merged
Conversation
f-trycua
force-pushed
the
codex/fix-release-please-driver-history
branch
from
August 6, 2026 15:17
8dc7c7e to
2096122
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Root cause
cua-driver-rs-v0.18.0currently points to726cbbfdc452b2696fed61eadcedffccae8f2c43, a release-metadata PR-head commit outsidemain. Its equivalent squash commit is onmain, but Release Please matches exact SHAs. Release Please therefore could not find the 0.18 boundary while scanningmainand included older Driver commits in #2912.This PR does not modify #2912 or its release branch. It prevents another malformed update while the divergent 0.18 tag is current; after #2912 merges, the missing 0.19 tag remains an allowed state for Release Please to create.
Validation
uv run --with pytest pytest -q .github/scripts/tests(158 passed, 6 subtests passed)uv run black --check .github/scripts/validate_release_please_tags.py .github/scripts/tests/test_validate_release_please_tags.pyuv run ruff check .github/scripts/validate_release_please_tags.py .github/scripts/tests/test_validate_release_please_tags.pygit diff --check