Repository navigation
fix(release): avoid SIGPIPE in artifact verification - #283
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed October 1, 2026, 2:39 AM ET / 06:39 UTC. ClawSweeper reviewWhat this changesThe PR captures complete macOS inspection-tool output before parsing it, adds a large-output regression test, and documents recovery using the trusted release verifier. Merge readiness✅ Ready for maintainer review The fix remains necessary: current main retains both vulnerable pipelines. The patch is focused, preserves release validation, and introduces no actionable correctness finding. Priority: P2 Review scores
Verification
How this fits togetherClickClack’s macOS release verifier checks built server archives before publication. Local packaging and the release workflow use its results to accept or reject release candidates. flowchart TD
A[Built macOS archives] --> B[Checksum and extraction checks]
B --> C[Signature and notarization checks]
C --> D[Capture complete tool output]
D --> E[Runtime and minimum OS checks]
E --> F[Accept or reject release candidates]
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Keep release validation strict while fully consuming inspection-tool output before parsing it. Do we have a high-confidence way to reproduce the issue? Yes, the source establishes a focused reproduction path: large tool output feeds an early-exiting parser under pipefail. The added subprocess regression exercises that mechanism; this review did not execute it. Is this the best way to solve the issue? Yes. Fully capturing output is a narrow repair that preserves tool exit-status checks and existing validation criteria. AGENTS.md: found, but no applicable review policy affected this item. Codex review notes: model internal, reasoning medium; reviewed against 2408cf117adc. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
Prevent valid macOS release artifacts from failing verification with exit 141. Under
pipefail,grep -qcould close thecodesignoutput pipe early; this was reproduced against the signed, notarized 0.7.0 server archive. Capture completecodesignandotooloutput before applying early-exiting parsers.The real verifier now passes both preserved 0.7.0 server archives, including Foundation identity, explicit notarization, architecture, minimum OS, and native version checks. Six focused tests pass, including a subprocess regression with large tool output; independent P0–P2 review is clean.
Document recovery through the trusted main verifier, which the release workflow already checks out separately from the immutable release tag. The signed tag and built code are unchanged.