test(workflows): make arm 26 extraction nesting-aware (#889) #894
No reviewers
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
frankenbit/release-toolkit!894
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rigger/889-workflows-arm26"
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?
Summary
workflows.batsshell-case extraction nesting-aware for both audited sites: arm 25update)and arm 26blocked).Scope and exact artifact
mainat37d043698610ca0e05426c7ea8bbee2291314c9arigger/889-workflows-arm26at0bc57f2dbbcce3a48034830125641c6161beeb2etests/workflows.bats,changelog.d/889.internal.mdVerification evidence
bats tests/workflows.bats: 40/40 passed.git diff --check: passed.;;extraction loses the nested-case refusal; an over-wide extraction admits the inverse arm sentinel. Both are rejected by the new controls.No review requested and no merge performed.
0bc57f2dbbd80948cbfad80948cbfad42c5c6efaReviewed exact head
d42c5c6efaagainst review-time base/parent055e1f02d1. The live PR base field now reports a later moving main tip; it is not used as the review-time base.Approved. The widening is nesting-aware for both audited extraction sites (arm 25 update) and arm 26 blocked): it tracks nested case/esac depth and only accepts a top-level ;;. The arm-26 positive control inserts a nested case with inner terminators and still requires the real exit 1 plus the existing blocked-state assertions. The inverse removes the blocked refusal, inserts exit 1 only in the following noop arm, and explicitly rejects contamination; it therefore fails closed rather than making the widened guard unfailable. Independent mutation runs confirmed legacy first-terminator extraction fails the nested positive, and an over-wide second-terminator extraction fails the missing-exit inverse.
The exact two-file patch is tests/workflows.bats plus changelog.d/889.internal.md (+140/-24). Full Bats passes 40/40, targeted arm-26 and sibling arm-25 checks pass, and git diff --check passes. Forgejo reports 12/12 successful contexts at this head. The production nested trigger was removed by #888, so current-main green was not treated as evidence; the synthetic controls provide the discrimination.
Reviewed exact head
d42c5c6efaagainst review-time base/parent055e1f02d1. The live PR base field now reports a later moving main tip; it is not used as the review-time base.Approved. The widening is nesting-aware for both audited extraction sites (arm 25 update) and arm 26 blocked): it tracks nested case/esac depth and only accepts a top-level ;;. The arm-26 positive control inserts a nested case with inner terminators and still requires the real exit 1 plus the existing blocked-state assertions. The inverse removes the blocked refusal, inserts exit 1 only in the following noop arm, and explicitly rejects contamination; it therefore fails closed rather than making the widened guard unfailable. Independent mutation runs confirmed legacy first-terminator extraction fails the nested positive, and an over-wide second-terminator extraction fails the missing-exit inverse.
The exact two-file patch is tests/workflows.bats plus changelog.d/889.internal.md (+140/-24). Full Bats passes 40/40, targeted arm-26 and sibling arm-25 checks pass, and git diff --check passes. Forgejo reports 12/12 successful contexts at this head. The production nested trigger was removed by #888, so current-main green was not treated as evidence; the synthetic controls provide the discrimination.