Repository navigation
fix(ci): release workflow checks fail on macOS Bash 3.2 - #121669
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
33f4423 to
5551a63
Compare
5551a63 to
a7faf24
Compare
|
Codex review: needs maintainer review before merge. Reviewed August 10, 2026, 7:01 PM ET / 23:01 UTC. ClawSweeper reviewWhat this changesThis PR changes the release-check workflow so a QA-only live filter can leave its repository-filter array empty under macOS Bash 3.2, and aligns focused regression assertions after rebases. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readinessKeep open: current main still has the Bash 3.2-sensitive expansion, and the branch supplies the narrow portable replacement with aligned boundary coverage. No blocking patch defect found; wait for exact-head CI before merge. Likely related people: steipete (high) and Ayaan Zaidi (medium). Priority: P2 Review scores
Verification
How this fits togetherThe release-check workflow normalizes manual release inputs into QA and repository live-suite filters, then passes those filters to downstream validation jobs. The changed branch handles the QA-only case before those jobs are scheduled. flowchart LR
A[Release workflow input] --> B[Normalize live-suite filter]
B --> C[Split QA and repository selections]
C --> D{QA-only selection?}
D --> E[Emit empty repository filter]
D --> F[Emit repository suite filter]
E --> G[QA validation jobs]
F --> H[Repository live validation]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +3, Tests +29, Config 0. Total +32 across 10 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the portable empty-array expansion and land it once the current head has green workflow and package-acceptance validation. Do we have a high-confidence way to reproduce the issue? No high-confidence local reproduction on Bash 3.2 was available; the current workflow and its QA-only boundary test clearly reach the empty-array expansion path. Is this the best way to solve the issue? Yes; replacing only the empty-array expansion preserves the existing output contract without adding a second workflow path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against a77021851819. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (2 earlier review cycles)
|
ce5fe05 to
4e3c33f
Compare
95cbb91 to
0e84bd4
Compare
0e84bd4 to
f1781ac
Compare
|
Merged via squash.
|
) * fix(ci): keep release workflow checks portable on macOS * fix(ci): repair current main compact shard regressions * fix(ci): repair latest main validation drift * fix(approvals): restore native account ownership gates * fix(ci): repair skill workshop validation drift * fix(ci): align approval route selection with main * fix(ci): remove stale skill workshop test exports * fix(ci): align repairs with latest main
What Problem This Solves
Fixes an issue where maintainers running the package-acceptance workflow tests on macOS would hit
repo_filter_tokens[*]: unbound variablewhen a QA-only live filter left the repo filter array empty under Bash 3.2 nounset semantics. It also preserves focused proof for deterministic current-main blockers exposed while validating that release-workflow fix.Why This Change Was Made
The release input owner now uses Bash's default-value array expansion, which yields an empty repo filter for QA-only selections while preserving comma-joined nonempty filters on newer Bash/Linux. The matching workflow assertion follows that contract, and adjacent timeout data uses a closed beta/stable/full object.
The required red-main repair established that Gateway wizard sessions distinguish runner settlement from setup-target admission settlement, preventing an immediate replacement setup from racing the still-held file lock. Cron tests assert canonical generic operator alerts while proving raw errors and diagnostics remain in job state/history. Agent lifecycle tests assert the normalized closed event shape, and changed-target routing includes package-acceptance as a direct consumer of the release matrix planner.
Successive exact-head runs exposed current-main protocol, Plugin SDK, approval, architecture, and Skill Workshop drift. Required conflict rebases preserved this PR's unique assertions while allowing current
mainto absorb the runtime fixes, generated Swift and SDK refreshes, approval event-kind cases, and Knip ownership. The final Skill Workshop assertions inject copy failures through the real module boundary and compare canonicalrealpathvalues on macOS. Per-account approval runtimes report raw candidates while the route coordinator rejects unbound multi-account groups as ambiguous before delivery.User Impact
Maintainers can run the release workflow and changed-gate paths on macOS without changing release lane scheduling or product behavior. The adjacent assertions protect setup cleanup, generic cron alerts with durable diagnostics, normalized lifecycle events, approval coordinator ownership, and release-planner routing.
Evidence
repo_filter_tokens[*]: unbound variable.git diff --checkpassed.sourcekitdInProc.framework; currentmainsubsequently absorbed the generated Swift repair, and the final 10-file changed gate no longer selected the app lane.test-projects.test.tstargeted proof timed out after 120 seconds in repository import scanning under heavy host load. The exact executable resolver probe returned the required package-acceptance, release-matrix-plan, and direct-run target set; hosted exact-head CI is the final proof for this lane.31440287630completed green forf1781ac96dab7e13686006ba6c12237bd40e1a16; the bounded watcher ended withSTATUS state=SUCCESS pending=0 superseded=14andGREEN.31428302094,31429747456, and31431731058exposed the successive current-main blockers repaired or absorbed here. Run31437193944remained green while pending but stopped when advancingmainmade the merge ref conflicting, which triggered the required rebase.Final branch delta: production +3/-0, tests +97/-68, and CI/tooling +1/-1. The production lines are lifecycle-settlement and coordinator-ownership comments; runtime fixes already landed on current
mainduring the required rebases.AI-assisted: yes. The patch was inspected and understood by the maintainer.