Repository navigation
fix(ci): run remaining trusted installs from tooling checkout - #136325
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: blocked before merge. Reviewed September 2, 2026, 5:44 PM ET / 21:44 UTC. ClawSweeper reviewWhat this changesThe PR runs two trusted npm-preflight installs from the tooling checkout and adds executable coverage that each trusted pnpm command uses that checkout’s package-manager version. Regression provenancePossible regression — probable (reviewed change; known regression link). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 2 items remain The patch is correct on source review: it repairs the two remaining trusted-tooling installs. Keep this maintainer-owned PR open until its exact-head release-qualification checks complete. Priority: P2 Review scores
Verification
How this fits togetherThe npm preflight workflow validates a release target using separately checked-out trusted tooling. The tooling-owned install must select pnpm from that tooling checkout before package dependency and contents qualification continue. flowchart LR
A[Release target checkout] --> B[NPM preflight workflow]
C[Trusted tooling checkout] --> D[Trusted pnpm install]
B --> D
D --> E[Dependency and contents qualification]
E --> F[Release validation evidence]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +68, Config 0. Total +68 across 2 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the tooling-directory invocations and merge only after the exact-head release-preflight checks confirm them in the hosted runner environment. Do we have a high-confidence way to reproduce the issue? Yes. Corepack resolves the package-manager specification from its initial working directory, and the focused test models conflicting target/tooling pins; the old target-root invocation therefore reproduces the defect by source contract. Is this the best way to solve the issue? Yes. Moving only the two remaining tooling-owned installs into the tooling checkout matches the already-landed SDK pattern; changing target-owned setup globally would broaden the fix without addressing the ownership boundary more directly. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 2aa614d5866a. 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 (4 earlier review cycles)
|
d3b1b9b to
ba74bc7
Compare
ba74bc7 to
aff8d07
Compare
aff8d07 to
385bc66
Compare
|
Merged via squash.
|
Summary
check_dependencies_npmandcheck_contents_npminto that checkoutRoot cause
Full Release Validation run 33610645422 paired a historical release target pinned to pnpm 11.2.2 with trusted tooling pinned to pnpm 12.1.0. Corepack selects the package manager from the process working directory before pnpm processes
--dir.PR #136233 fixed that owner boundary for the two
check_sdk_npmcommands. Current main still invoked the trusted dependency and package-content installs aspnpm --dir .artifacts/plugin-sdk-release-tooling ...from the release target root, so those two jobs retained the same failure mode.The release tooling checkout owns these installs and its package-manager version. This follow-up runs the two remaining installs from that checkout while leaving the landed SDK block and all target-owned commands unchanged.
Credit and relationship
Dallin Romney's merged PR #136233 established the trusted-checkout owner boundary for SDK installation and API comparison. This PR is a narrow follow-up for the two remaining install sites and preserves the contributor's landed implementation unchanged.
Verification
pnpm --dirtbx_01m1h49x71m4pw2e65ywy8q2vv, https://github.com/openclaw/openclaw/actions/runs/33634891448Test audit
The regression executes the merged SDK subshell and both follow-up install commands at the shell boundary with a target pinned to pnpm 11.2.2 and trusted tooling pinned to pnpm 12.1.0. Existing coverage statically protects the SDK block; this test adds executable four-site package-manager ownership proof without a production test seam.
LOC
No changelog entry: this is an internal release-pipeline correctness fix.
Agent Transcript
Redacted implementation session