test(build_bake): extract resolve_toolkit_ref logic + bats mutation-verify (Surveyor 56f1 non-blocking suggestion) #174
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#174
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?
Why
Surveyor 56f1 (post-#173-fix verify) flagged the resolve-ref READ side as the regression-prone branch with no bats coverage:
Scope
scripts/lib/build_bake.sh: addresolve_toolkit_ref BAKED_VALUE INPUT_VALUE [INITIAL_PLACEHOLDER]function that emits the resolved ref to stdout. DefaultINITIAL_PLACEHOLDER='main'matches the current_release.yml/_manifest-check.ymlinitial state.tests/build_bake.bats: 3 new fixtures:!=to==→ reds the first two fixturesWorkflow inline-bash: KEEP the inline bash in
_release.yml'sresolve toolkit refstep (it runs before any checkout, so can't source the lib at that point). Add a comment pointing at the canonical bats-tested function for any future maintainer who edits the inline.What this PR will NOT do
bake_toolkit_ref(the write side has full coverage already)Composition
Refs
quartermaster referenced this issue2026-06-27 14:38:13 +02:00