Repository navigation
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Row lowered past a branch a real assertion can reach — 🟡 Minor · Coverage
What: The floors rule allows lowering a row only "where only a test asserting nothing could reach it". Of the branches
#838left uncovered, one ischeckReleaseWiring's declared-dir-without-manifest path atscripts/check-conformance.mjs:4574-4584— and it is drivable through the function's ownrootparameter, which no test passes.release-wiring.test.mjs:487callsawait checkReleaseWiring()with the default root only, which is wired, so theviolations.pusharm never runs. The same fixture root also reaches thecatch { return null }at4559-4563, the other branch the PR body names.A test for these asserts the exact documented diagnostic, so it is not the hollow test the rule excludes. The genuinely unreachable part is
main()'s dispatch (4620-4675), which is where the row legitimately has to give.Why it matters: The gate exists so a drop gets looked at, and the two arms involved are the fail-closed ones: a declared package whose manifest went unreadable, and a workflow file that stopped being readable. Those are the
#706shape the check was written for. Moving the row to the measured value retires the only pressure to cover them, and it gives up more of the floor than the untestable branches account for — covering them lets the row land higher than92.Fix: add one fixture-root case to
scripts/release-wiring.test.mjs, then re-measure the row withpnpm test:scriptsrather than assuming a value:Evidence
pnpm test:scriptson Node 24 after a fullturbo run build, 1122 tests green,check-conformance.mjsat72.47 | 93.07 | 82.70. Its uncovered-line ranges include4562-4563,4578-4584and4620-4664/4671-4675— the read catch, the roster arm, andmain()respectively.grep -rn checkReleaseWiring scripts/returns exactly two call sites: theCHECKStable andrelease-wiring.test.mjs:487, neither passing a root.Note
publishablePackages(root)readspnpm-workspace.yamlwithout a catch, so an empty temp dir throws before reaching the arm — the fixture needs that file, as above.