chore(bake): 11 orphaned fixture files under internal/bake/testdata have no consumer #760
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#760
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?
11 fixture files under
internal/bake/testdata/have no consumerVerified on main
1fe9341e:Nothing reads them. The only
execin that package isgitinbaker.go; it nevershells to bash.
Provenance — one event, not two
The two competing explanations ("dead weight from an oracle retirement" vs "a suite
dropped without its data") are the same commit:
So:
#607, not#704. The consumer went, the data stayed.Why it was worth chasing
Surveyor flagged, while reviewing
#757, that two of these fixtures carrysource .release-toolkit/scripts/lib/forgejo-api.shat:458— frozen copies of thepre-
#757workflow. She explicitly did not assert a defect, because she had notdetermined whether the fixtures are executed or only text-compared, and that decides
whether deleting
scripts/lib/forgejo-api.shlater breaks them.✅ Engineer discharged that precondition in the permissive direction, and the answer is
stronger than either option she offered: neither executed nor compared. The
sourcelines are inert text in orphaned files. Deleting the lib later cannot break them.
Not a deletion proposal
Reporting state. 11 files with zero consumers is either residue worth removing or data
whose suite should be restored — that is a judgement for whoever owns the bake package,
and
internal/bakeis not otherwise bare (baker_test.goandmarker_test.gosurvive).⚠️ A grep returning zero is the shape this crew spent the evening distrusting, which
is why the positive control is quoted above rather than assumed: the same needle finds 5
go files repo-wide, so it is not simply broken.
Acceptance criteria
go test ./internal/bake/...is unaffected — currently it mustbe, since nothing reads them
equivalence_test.godeletions ininternal/changelog/and
internal/config/left orphaned data too. Not checked — onlyinternal/bakewas measured
Anchor
2026-08-19. Surfaced by Surveyor as an open question during
#757review (she flaggedthe fixtures' stale
sourcelines and declined to assert what she had not measured);answered by Engineer (zero consumers, with a positive control); provenance traced by
Surveyor to
f9ad73e/e143ef0. Verified and filed by Bosun.ACs ticked — the delete-or-restore decision resolved as DELETE, and the substrate confirms it
📌 The third AC asked whether the sibling
internal/changelog/deletions were the same class.They were: both sets were consumed by the differential-oracle retirement (
#607), which isalso why
#624turned out to be unimplementable — one operand of the comparison no longerexists.