Repository navigation
fix(release): isolate npm preflight tooling checkout - #156332
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 September 23, 2026, 4:21 AM ET / 08:21 UTC. ClawSweeper reviewWhat this changesThe PR temporarily moves release tooling outside the candidate workspace during npm source checks, restores it afterward, and updates the workflow assertions. Merge readiness✅ Ready for maintainer review The fix remains useful: current main still exposes the tooling checkout to candidate source checks. No actionable defect was found in the introduced patch, and this member-authored PR is protected from automated closure. Priority: P2 Review scores
Verification
How this fits togetherNpm preflight validates a frozen release candidate using separately pinned release tooling. Successful source checks produce evidence consumed by package qualification before publication. flowchart TD
A[Frozen release candidate] --> C[Candidate workspace]
B[Pinned release tooling] --> D[Temporary external directory]
C --> E[Source checks]
D --> F[Restore tooling]
E --> F
F --> G[Verify identity and seal evidence]
G --> H[Package qualification]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +3, Config +9. Total +12 across 2 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep candidate validation scoped to candidate files while preserving the pinned tooling and its integrity checks for evidence sealing. Do we have a high-confidence way to reproduce the issue? Yes, a concrete preflight entrypoint and failed source-check job are identified, and source inspection supports nested tooling entering aggregate checks; the exact formatting failure was not rerun or independently read from logs. Is this the best way to solve the issue? Yes. Moving the tooling only around candidate-owned checks addresses the workspace collision without modifying the frozen candidate or weakening subsequent tooling verification. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e7fbe5389e0b. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
(cherry picked from commit 9db79f3)
Follow-up to the openclaw#156332 and size/perf-limit backports: the release branch has no pluginCompatibility preflight step and no runtime-worker URL helper for the test-group-report probe, so the tests use the branch forms.
What Problem This Solves
Extended-stable 2026.8.33 npm preflight run 35833934574 failed after source checks because candidate pnpm check recursively formatted the trusted .release-harness checkout. Six tooling files that are intentionally ignored at their own repository-root paths were seen under the nested prefix and reported as format failures.
Why This Change Was Made
Temporarily move the trusted harness checkout outside the candidate workspace only while the candidate-owned aggregate check runs, then restore it through an EXIT trap. This keeps candidate validation scoped to candidate source while preserving the immutable tooling checkout for ancestry and evidence sealing.
User Impact
Restores npm preflight source validation without changing the frozen candidate, release identity, package contents, tag, or publication state.
Evidence
No tag or publish action was performed.