Repository navigation
fix(release): run SDK tooling from its checkout - #136233
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed September 2, 2026, 9:50 AM ET / 13:50 UTC. ClawSweeper reviewWhat this changesThe PR runs Plugin SDK API installation and comparison from the trusted workflow-tooling checkout so Corepack selects that checkout’s pnpm version. Regression provenancePossible regression — probable (reviewed change; failure trace). No predecessor PR is attributed. Merge readinessThe focused workflow fix is correct and still needed: fetched current main retains the failing invocation shape, while the PR moves both pnpm calls into the verified tooling checkout. Its supplied exact-head Testbox trace addresses the prior proof request; this maintainer-owned release-workflow change should remain open for owner review and exact-head CI resolution. Priority: P2 Review scores
Verification
How this fits togetherThe extended-stable npm release workflow validates a candidate package with trusted Plugin SDK tooling before publication. The tooling checkout supplies the package-manager contract and produces the SDK qualification evidence used by downstream release gates. flowchart LR
A[Release candidate] --> B[Extended-stable preflight]
B --> C[Trusted tooling checkout]
C --> D[Corepack selects pnpm]
D --> E[SDK API qualification]
E --> F[Release evidence artifact]
Decision needed
Why: This member-owned PR changes release qualification and has a protected maintainer label; the remaining failed check cannot be resolved from source inspection alone. Before merge
Agent review detailsSecurityNone. PR surfaceTests +7, Config +3. Total +10 across 2 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the checkout-bound invocation, confirm the remaining exact-head workflow status is not a defect in this change, then merge the focused repair without altering target, evidence, or publication inputs. Do we have a high-confidence way to reproduce the issue? Yes: current main retains the invalid invocation form, and Corepack resolves the package-manager contract from cwd before pnpm receives its arguments. The supplied exact-head Testbox trace independently records the failing and repaired selections. Is this the best way to solve the issue? Yes: executing both pnpm calls in the already verified tooling checkout corrects the owner boundary without changing the candidate SHA, comparison inputs, or evidence output paths. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 645c0ac609ab. 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
History |
0273830 to
bff3edf
Compare
bff3edf to
995d37f
Compare
|
Merged via squash.
|
Summary
Fixes frozen-target full validation before any candidate child lane runs. The Plugin SDK API qualification checks out trusted workflow tooling, but invoked its pnpm 12.1 commands from a 2026.6.35 target pinned to pnpm 11.2. Corepack resolves the package manager from the current directory before
--dir, so qualification failed before SDK analysis.The two pnpm commands now run in the already-verified trusted tooling checkout. Target SHA, diff inputs, and artifact paths remain unchanged.
Evidence
pnpm buildsucceeds; trusted tooling then rejects pnpm 11.2 for its required 12.1.995d37f824a8798ed2bbed0f4f96048836dfb7ae: focused workflow contract test passes 16/16.actionlint .github/workflows/openclaw-npm-preflight.ymlpassed.oxfmt --checkpassed for both changed files.git diff origin/main...HEAD --checkpassed.pnpm check:workflowsis blocked solely because the configured package index does not providepre-commit==4.6.2(its newest available version is 4.3.0).995d37f824a8798ed2bbed0f4f96048836dfb7aepassed in Blacksmith Testboxtbx_01m1h5am68rdbc40bj63h8p9t1(run 33636697471). In the same fixture, candidate cwd pluscorepack pnpm --dir tooling --versionselected pnpm11.2.0and failed as expected; entering the tooling cwd beforecorepack pnpm --versionselected12.1.0and the command exited 0. Crabbox then stopped the successful one-shot lease, so the backing Actions Testbox step records the documented lifecycle cancellation.checks-node-compact-small-21failure exhausted checkout retries before setup or tests ran; targeted replacement job100277006799passed checkout and the shard, then aggregateopenclaw/ci-gatejob100278692825passed.Scope
Main harness only; no candidate/package/tag/npm state changed.
Production LOC: +5/-2 (net +3) | Tests: +8/-1 (net +7)