Repository navigation
ci: four tooling comments keep tree sizes by hand, and all four drifted in a day - #1055
Merged
nihalpasham merged 2 commits intoAug 20, 2026
Merged
Conversation
…ed in a day NVIDIA#1032 added one example, `redux_f32`, and eight catalog entries. That single merge falsified numbers in four places: | site | said | now | |---|--:|--:| | `check-example-license-policy.sh` (x3) | 217 locks | 218 | | `check-example-license-policy.sh` (x2) | 215 examples | 216 | | `check-example-license-policy.sh` | 13871 packages, floor 2170 | 13934, 2180 | | `cargo-deny.yml` | 31 runs instead of 217 | ... of 218 | | `Justfile` | 986 catalog entries | 1010 | | `examples-compile.yml` | 210 example crates | 216 | Six of those transcriptions are mine, from NVIDIA#1043 and NVIDIA#1044, written the day before. Refreshing them buys one day. The counts are not load-bearing in any of the four -- each is there to make a structural point -- so state the structure and let the code report the numbers: - The license-policy guard already announced its representative count. It now announces the lock count beside it, so the grouping ratio is observable output rather than a comment to keep in step: Checking deny.toml over 31 representative example workspaces, grouped from 218 example lock files. - Its scope comment and its enumeration cross-check now say "one lock per example directory, plus one per nested sub-workspace" instead of naming today's totals. - The parsed-package floor is computed as ten per lock, so the comment says that rather than quoting the current product. - `cargo-deny.yml` says one run per distinct dependency set instead of one per lock file, and points at the script's own output. - The `Justfile` comment's point was that the generated path dominates, which 35 generated op modules against 7 hand-written makes without an entry count. Module counts are structural and have not moved through any of these merges. - `examples-compile.yml`'s number only justified a timeout, so "every example crate" does the same job. One number is kept and re-labelled rather than removed: the `[a-m]*` glob illustration in the cross-check comment now reads "measured once ... 137 of the 217 locks then present", matching the timestamped-measurement idiom the same file already uses two paragraphs above. The argument needs a concrete ratio; making it explicitly historical stops it being a live claim. Verified: the guard passes unchanged -- 31 representatives grouped from 218 lock files, `deny.toml holds over every example workspace outside POLICY_EXEMPT_EXAMPLES`, exit 0. `bash -n` clean, `just --list` parses, all eleven workflows parse, and dialect-nvvm really does hold 35 generated and 7 hand-written op modules. Signed-off-by: Vyncint Ng <[email protected]>
Collaborator
|
nihalpasham
approved these changes
Aug 20, 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.
#1032 added one example (
redux_f32) and eight catalog entries. That single merge falsified numbers in four places:check-example-license-policy.sh(×3)check-example-license-policy.sh(×2)check-example-license-policy.shcargo-deny.ymlJustfileexamples-compile.ymlSix of those transcriptions are mine, from #1043 and #1044, written the day before. Refreshing them buys one day. None is load-bearing — each is there to make a structural point — so state the structure and let the code report the numbers.
What changes
The license-policy guard already announced its representative count. It now announces the lock count beside it, so the grouping ratio is observable output rather than a comment to keep in step:
Its scope comment and enumeration cross-check now say "one lock per example directory, plus one per nested sub-workspace" instead of naming today's totals.
The parsed-package floor is computed as ten per lock, so the comment says that rather than quoting the current product.
cargo-deny.ymlsays one run per distinct dependency set instead of one per lock file, and points at the script's own output.The
Justfilecomment's point was that the generated path dominates, which 35 generated op modules against 7 hand-written makes without an entry count. Module counts are structural and did not move through any of these merges.examples-compile.yml's number only justified a timeout, so "every example crate" does the same job.One number kept, and re-labelled
The
[a-m]*glob illustration in the cross-check comment now reads "measured once … 137 of the 217 locks then present", matching the timestamped-measurement idiom the same file already uses two paragraphs above. The argument needs a concrete ratio; making it explicitly historical stops it being a live claim.Verification
The guard passes unchanged — 31 representatives grouped from 218 lock files,
deny.toml holds over every example workspace outside POLICY_EXEMPT_EXAMPLES, exit 0.bash -nclean,just --listparses, all eleven workflows parse, and dialect-nvvm really does hold 35 generated and 7 hand-written op modules.