You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci(book): nothing ties the dialect-nvvm page's catalog stamp to catalog.json #1090
build-relatedBuild scripts, toolchain discovery, or compilation setupdocumentationImprovements or additions to documentationintrinsicsDevice intrinsics and libdevice math mappings
#1052 refreshed the dialect-nvvm book page after two op-adding PRs rotated the catalog stamp, and the review found the page has no automated freshness check: the page prints the catalog SHA and its own rule says a mismatch means every count is stale, but nothing in CI compares the printed stamp against intrinsics/catalog.json. The page failed its own test for weeks (560 printed vs 570 in the tree) and only a hand audit caught it.
A small gate closes this permanently:
hash intrinsics/catalog.json (first 8 hex of SHA-256, the format the page prints),
grep the stamp out of cuda-oxide-book/compiler/mlir-dialects.md,
fail with a message pointing at the page when they differ.
That turns "the counts are stale" from a silent rot into a red check on the op-adding PR itself, the same pattern the generated-reference check gate uses for intrinsics/generated-reference.md. Counts themselves stay hand-written; only the stamp needs machine checking, since the page's own protocol derives staleness from it.
build-relatedBuild scripts, toolchain discovery, or compilation setupdocumentationImprovements or additions to documentationintrinsicsDevice intrinsics and libdevice math mappings
Activity
ci(book): gate the dialect page's catalog stamp against catalog.json (N…