Repository navigation
build(just): check-guards runs the naming guard too, and says it does not - #957
Merged
nihalpasham merged 2 commits intoAug 17, 2026
Merged
Conversation
… not `check-guards` has run `scripts/check-reserved-prefixes.sh` since NVIDIA#835, but both places that describe its scope name only two workflows: # Run the status-guard and cargo-deny CI jobs (needs cargo-deny, python3) # `check-guards` covers the status-guard and cargo-deny workflows in full That script is naming-guard.yml's `reserved-symbols-guard` job, not a status-guard one. The recipe is correct; the description undersells it, which is the direction that costs someone a redundant CI round trip -- a contributor touching a `cuda_oxide_*` literal reads this, concludes the reserved-prefix guard is CI-only, and finds out after pushing. Names all three workflows in both places. The mapping now checks out job for job: status-guard's seven, naming-guard's one, and cargo-deny's four are the eleven scripts plus two `cargo deny` invocations this recipe runs. Comment-only; `just --list` and `just -n check-guards` are unchanged apart from the wording. Signed-off-by: Vyncint Ng <[email protected]>
The paragraph above the recipe still described coverage as status-guard plus "all three cargo-deny jobs": it listed five of status-guard's seven jobs (book-api-names and device-only-build were missing), the cargo-deny workflow has four jobs (the SPDX source-headers job was missing), and the naming-guard's reserved-prefix search went unnamed, which is the same undersell this PR exists to remove. Also widen "either workflow" to all three and rewrap the over-long merged line in the check header comment.
Collaborator
|
Verified the recipe against the workflows - it really does mirror all three, job for job. Layered one commit, because there was a third stale description:
Merging. |
nihalpasham
approved these changes
Aug 17, 2026
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.
The drift
check-guardshas runscripts/check-reserved-prefixes.shsince #835, but both descriptions of its scope name only two workflows:That script is naming-guard.yml's
reserved-symbols-guardjob, not a status-guard one.The recipe is correct; the description undersells it, which is the direction that costs a round trip — a contributor touching a
cuda_oxide_*literal reads this, concludes the reserved-prefix guard is CI-only, and finds out after pushing.After
The mapping now checks out job for job:
check-reserved-prefixes.shcargo denyruns + 2 scripts= the eleven scripts and two
cargo denyinvocationscheck-guardsruns.Comment-only;
just --listandjust -n check-guardsare unchanged apart from the wording. No GPU.