Commit 2690cd2
committed
feat(tooling): guard release section coverage and index currency (#10268)
check-release-page-status is keyed on the MAJOR, so any 17.x.y released-claim
satisfies it and a page saying "17.0.0 is released" passes forever however many
17.x minors ship after it. Reconstructed on this base, that gate exits 0 on the
exact #10232 state.
Adds check-release-section-coverage.mjs: every published <major>.<minor>.0 must
have a heading naming it on its major's page, and the index entry's trailing
parenthetical must name the newest release of that major. Findings are advisory
(::warning:: + step summary, job green); a broken instrument is always fatal.
Advisory is measured, not timid: hard-failing would have red 2748 PRs across the
two real gaps (17.1.0 5h44m/36 PRs, 16.1.0 25 days/2712 PRs). Floor inherited
from the sibling gate and pinned by self-test.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DdCnBGcHeufjrq7drTD3wt1 parent 699132f commit 2690cd2
2 files changed
Lines changed: 843 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1237 | 1237 | | |
1238 | 1238 | | |
1239 | 1239 | | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
1240 | 1267 | | |
1241 | 1268 | | |
1242 | 1269 | | |
| |||
0 commit comments