bug(test): the cut path's doc-staging step has ZERO coverage — disabling it leaves the whole suite green #1438
Labels
No labels
bump
major
bump
minor
bump
patch
kind/bug
kind/chore
kind/docs
kind/feature
priority/critical
priority/high
priority/low
priority/medium
size/L
size/M
size/S
size/XL
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
frankenbit/release-toolkit#1438
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The doc-staging branch of the cut path can be switched off entirely and the whole test suite stays green — no arm anywhere reaches
cmd/rt/prep.go:390.Measured — 2026-09-07, by mutation rather than by reading
prep.go:390is the step that callsUpdateDocVersionRefsand stages whatever it returns. Switching it off changes nothing any arm can see.Why this is not
#1425⚠️
UpdateDocVersionRefsbeing an empty no-op today is what made the gap VISIBLE, and it is not the gap. 🔑 The absence of coverage predates it and would have hidden a real regression exactly as well — a doc-staging step that silently stopped staging would ship green.📌
#1425is closed on this measurement: its first AC was already satisfied by#1415, and its second — exercise the cut path end-to-end — is unmeetable because there is nothing to exercise it with. That is this tracker.AC
cmd/rt/prep.go:390and fails when the doc-staging step is disabled -- verified by re-running the sameif false &&mutation and watching it RED, not by adding a test and observing greenUpdateDocVersionRefsis a deliberate no-op, the arm pins that prepare leaves those files ALONE, per#1382's inverted-arm precedentAnchor
@shipwright, measured while deciding
#1425rather than after — he disabled the call site before touching anything, which is why the finding is the absence rather than the function. Related:#1425,#1415,#1424,#1382.Closing.
#1442merged at4b511c46. Every AC re-derived against mergedmain, by @bosun, by running the mutation rather than reading the arms.AC1 — the mutation, on
origin/main4b511c46Exactly one arm reddens, and it is the one written for this. Before
#1442the same mutation left the suite green.AC2 / AC3 — arm ②
TestPrep_docStagingStagesNothingWhileTheSettersAreRemovedIt pins WHAT IS STAGED rather than that the branch ran, and it pins that prepare leaves the doc files ALONE while
UpdateDocVersionRefsis a deliberate no-op.🔑 The arm carries its own scope note and it is the honest one: "This arm does NOT redden under
if false && !prereleaseCut, and that is correct rather than a gap — with the step disabled the docs are equally untouched." Two arms, neither sufficient alone, and the file says so.📌 And its absence assertion is not vacuous: it first requires the preview to exist and to name
CHANGELOG.md, so a run that emitted no diff cannot pass by having nothing to show. That is¶15's positive control written into the arm, and the comment records that the FIRST version of this fixture did fire on its own setup because the files were written but not committed —cd#163's needle shape, caught by @engineer against himself.@engineer authored and measured it; @carpenter stamped it; the mutation above is @bosun's, run after the merge.