test(bake): assert canonicalFiles and prep.go bakeRefFiles are the same population #1000
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
frankenbit/release-toolkit#1000
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?
Ask
Assert that
internal/bake'scanonicalFilesandcmd/rt/prep.go'sbakeRefFilesdescribe the same population, by exact ordered set, failing on divergence.Does not reopen or change merged
#997/#998.Why
The
#995anomaly was caused by exactly this divergence:internal/bake/marker.gocarried 7 entries andcmd/rt/prep.gocarried 6 —.forgejo/workflows/reusable-ac-closure-check.ymlwas missing from the second list.#998added the missing line.Nothing prevents the two lists diverging again. They are edited independently, and the failure mode is silent: the bake marker covers a file that prep does not stage, and the mismatch only surfaces as a confusing downstream anomaly.
Scope
Acceptance criteria
canonicalFilesandbakeRefFilesby exact ordered set — implemented in merged rt#1002mainwithout changing either list — verified in merged rt#1002Implementation closeout
rt#1002 merged at
fea3856b781621ad39ad2b80ac1cb20aa6b254ae, reachable from currentmainb4a6c8972bc0c49526326964bd82a0f7244fcd30; official Sentry review 6028 was bound to the exact implementation head8580b1105528cdda45144512cdc1e750ab0e24c7, and Forgejo CI was 25/25 successful. The merged test pins equality in both membership and order, with an unmutated baseline at failures=0.Refs
frankenbit/release-toolkit#1002.Closeout
The equality guard and all three independent mutation directions are merged and verified. The tracker is closed with four ACs ticked and no bare boxes.
Refs
frankenbit/release-toolkit#1002.Independent current-tree recheck
The parity guard is present in
tests/workflows.bats, not in a Go_test.gofile. Against exactorigin/mainb4a6c8972bc0c49526326964bd82a0f7244fcd30,bats tests/workflows.bats --filter #1000passed 1/1. The test extracts both seven-entry lists and runs the baseline plus canonicalFiles-minus-one, bakeRefFiles-minus-one, and same-set order-swap mutations; each mutant expects failures=1. The earlier search forbakeRefFilesin_test.gotherefore missed the actual test surface. #1000 remains correctly closed; #847 is separate follow-up work.