Repository navigation
fix(test): avoid macOS release gate deadlocks - #116972
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 31, 2026, 3:10 PM ET / 19:10 UTC. ClawSweeper reviewWhat this changesThe branch changes two release-gate test fixtures to run workflow heredocs from temporary files and to select macOS system Bash for the release-evidence resolver. Merge readinessThis PR remains necessary: current main still executes the CI-manifest fixture through synchronous Priority: P3 Review scores
Verification
How this fits togetherThe CI workflow-guard test simulates a GitHub Actions flowchart LR
A[CI workflow definition] --> B[Workflow-guard fixture]
B --> C[Temporary shell and module files]
C --> D[Node manifest generation]
E[Release-evidence fixtures] --> F[Resolver shell script]
F --> G[Reuse decision assertions]
D --> H[Release-gate test confidence]
G --> H
Before merge
Agent review detailsSecurityNone. PR surfaceTests +40. Total +40 across 2 files. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the focused fixture repair only after exact-head CI confirms the two test files still pass, preserving the checkout-root module location and macOS system-Bash selection documented by the PR. Do we have a high-confidence way to reproduce the issue? Unclear: the PR gives a concrete repeated macOS fixture-loop path and reports a pre-fix hang followed by ten passing fixed runs, but this read-only environment could not independently execute or fetch the latest PR blobs. Is this the best way to solve the issue? Yes, conditionally: executing the workflow body from a file better mirrors GitHub Actions than AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against eb0087dc7c96. LabelsLabel 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 (1 earlier review cycle)
|
3f6ba3d to
5d38e17
Compare
|
Maintainer gate closeout:
The local full-suite failure is therefore documented baseline noise, not a regression from this PR. Scoped proof remains 130 passed / 1 skipped plus the 10-run release-reuse stress loop. |
…odels-20260729 * origin/main: fix(tui): canonical terminal outcomes, cancellation, and error privacy (#117044) fix(cron): avoid phantom message tool guidance (#116908) fix(test): avoid macOS release gate deadlocks (#116972) fix(openai): canonical Chat cache-hit and billing accounting (#117043) fix(memory-wiki): salvage human Notes before pruning imported source pages (#102294) fix(memory): suggest reindex, not --fix, for a missing qmd index (#116958) chore(msteams): add private Gateway QA adapter fix(ui): make session controls and failures accessible (#117019) docs: fix tilde paths in CLI output examples (#114595) fix(plugins): canonical discovery diagnostics and deterministic lifecycles (#117025) fix(ui): honor Gateway readiness abort and subscription ownership (#117048) fix(updater): harden launchd replacement timing (#117030) fix(gateway): preserve static asset HEAD representation metadata (#117049) fix(gateway): abort embeddings when clients disconnect (#116146) fix(googlechat): retain fallback thread continuity (#117053)
Fix macOS test harness deadlocks in workflow and release evidence fixtures.
Summary
run:fixtures from temporary script files instead ofbash -c.mjsfiles at the simulated checkout rootRoot causes
test/scripts/ci-workflow-guards.test.tsreplayed GitHub Actionsrun:blocks containing Node heredocs through synchronousbash -c. On macOS this could deadlock inside Vitest. The harness now mirrors GitHub Actions by writing script files and materializing inline modules.test/scripts/find-reusable-release-validation.test.tsintermittently deadlocked in nested command substitutions when Homebrew Bash 5.3 was launched through Node's synchronous child runner. GitHub Actions uses system Bash, so the macOS fixture now selects/bin/bash.Validation
./node_modules/.bin/oxfmt --check test/scripts/ci-workflow-guards.test.ts test/scripts/find-reusable-release-validation.test.tsgit diff --checkNo changelog entry: test harness reliability only.