Skip to content

fix(ci): unblock releases with different tooling package managers - #139259

Merged
steipete merged 2 commits into
mainfrom
codex/release-tooling-package-manager
Sep 5, 2026
Merged

steipete merged 2 commits into
mainfrom
codex/release-tooling-package-manager

Conversation

@steipete

@steipete steipete commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Resolves a problem where OpenClaw release publication stops before publishing any packages when the frozen release and trusted tooling require different pnpm versions. Publication run 33981169516 selected pnpm 12.1.0 for tooling requiring 12.3.4.

Why This Change Was Made

Corepack resolves the package manager from the current directory before forwarding pnpm arguments. Run both existing install attempts inside the trusted harness directory, using a subshell so later planning and the dependency link still belong to the release source root. This follows the existing setup-release-harness action's ownership rule.

User Impact

Release publication can use its independently pinned tooling without changing the frozen candidate, dependency versions, install flags, or version checks. Application behavior is unchanged. Workflow delta is +2/-2; the executable regression adds 35 test lines and its routing expectation adds one.

Evidence

  • Reproduced the original failure with real Corepack 0.35.0, a Source root requiring pnpm 12.1.0, and nested tooling requiring 12.3.4. Inspected Corepack loadSpec and executePackageManagerRequest directly.
  • Executed the corrected YAML step: pnpm 12.3.4 installs successfully, the planner remains at the Source root, and its node_modules link resolves to the trusted install.
  • The executable regression fails against the old YAML and passes against the fix. It checks install cwd, caller cwd, and the dependency link rather than matching shell text.
  • Three publication/workflow guards and the full changed-file gate passed for the bootstrap repair; all 457 routing/bootstrap tests and fresh independent P0–P2 review passed for the final tree. The actual protected publication workflow will verify recovery after landing; no package publication is claimed by the local proof.

@clawsweeper

clawsweeper Bot commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Sep 5, 2026
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 5, 2026
@clawsweeper

clawsweeper Bot commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 5, 2026, 2:18 PM ET / 18:18 UTC.

ClawSweeper review

What this changes

Runs release-tooling installation from its own directory so its pnpm version is selected correctly, with regression coverage for directory isolation and dependency linking.

Merge readiness

✅ Ready for maintainer review

The repair remains necessary on the inspected main revision. No blocking correctness or security findings were identified, and the latest commit completes regression-test routing.

Priority: P1
Reviewed head: 5af7f929494065f661484c2ccb630ac1004d7f47

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused owner-boundary repair with useful executable regression coverage and no identified blocking defect.
Proof confidence 🌊 off-meta tidepool Not applicable: The maintainer-authored PR is exempt from the external-contributor proof gate. Its body reports real Corepack installation recovery at the changed bootstrap boundary; protected publication was not exercised or independently verified.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The maintainer-authored PR is exempt from the external-contributor proof gate. Its body reports real Corepack installation recovery at the changed bootstrap boundary; protected publication was not exercised or independently verified.
Evidence reviewed 9 items Introduced repair and caller boundary: The publish job checks out frozen source and trusted tooling separately. Both install attempts run inside a subshell in .release-harness; the dependency symlink and subsequent planner retain the release-root working directory.
Current main still needs the repair: The fetched main revision still invokes pnpm from the release root with --dir .release-harness. The latest-release inspection was unavailable, so no shipped-fix claim is made.
Direct dependency contract: The changed workflow comment and PR explanation explicitly depend on Corepack. Inspected Corepack v0.35.0: executePackageManagerRequest resolves the project specification using cwd before forwarding arguments to runVersion. Source: https://github.com/nodejs/corepack/blob/v0.35.0/sources/Engine.ts#L316-L326.
Findings None None.
Security None None.

How this fits together

Release publication combines a frozen release checkout with separately pinned trusted tooling. The bootstrap installs that tooling before the release planner prepares package publication.

flowchart LR
  A[Frozen release checkout] --> D[Release bootstrap]
  B[Trusted tooling checkout] --> C[Select tooling package manager]
  C --> D
  D --> E[Tooling dependencies]
  E --> F[Planner at release root]
  A --> F
  F --> G[Package publication]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +36, Config 0. Total +36 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 36 0 +36
Docs 0 0 0 0
Config 1 2 2 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 38 2 +36

Review metrics

Metric Value Why it matters
Production versus test growth Production/tooling net 0; tests +36 The bootstrap repair adds behavior coverage without growing the production implementation.

Technical review

Best possible solution:

Keep package-manager selection inside the trusted tooling directory while preserving frozen-source planning and existing installation safeguards.

Do we have a high-confidence way to reproduce the issue?

Yes, from source: different packageManager pins in the release root and nested tooling expose the cwd-selection mismatch. This review did not execute the reproduction.

Is this the best way to solve the issue?

Yes. Changing the install process directory repairs the selection boundary directly; changing frozen pins or relaxing version checks would weaken the existing contract.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 717f824924fe.

Labels

Label justifications:

  • P1: The reported package-manager mismatch stops actual release publication before packages are published.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The maintainer-authored PR is exempt from the external-contributor proof gate. Its body reports real Corepack installation recovery at the changed bootstrap boundary; protected publication was not exercised or independently verified.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-09-05T18:07:23.067Z sha 94c1197 :: needs maintainer review before merge. :: none

@steipete
steipete merged commit d0c0a2c into main Sep 5, 2026
136 checks passed
@steipete

steipete commented Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

@steipete
steipete deleted the codex/release-tooling-package-manager branch September 5, 2026 18:20
vincentkoc added a commit that referenced this pull request Sep 5, 2026
* commit '911d7d5b0c107f7274f2415ca9655dcc6105f0e8': (867 commits)
  fix(skills): deliver pending Workshop approval controls (#139248)
  fix(gateway): deliver loopback ask_user prompts to the originating channel (#138831)
  docs: keep root agent instructions focused on repository policy (#139258)
  fix(matrix): exclude archived state roots from scans and selection (#112329)
  perf(agents): prepare exact tool names once per catalog batch (#139267)
  fix: preserve Swarm progress and simplify owner plumbing (#139269)
  fix(tailscale): release claims after gateway process-group exit (#139261)
  refactor(cli): simplify lazy command registration (#139108)
  test(ui): retain synthetic widget failure evidence (#139229)
  fix(buzz): keep implicit replies at thread root (#138879)
  test(diagnostics): await graceful Gateway shutdown before cleanup (#139247)
  fix(ci): unblock releases with different tooling package managers (#139259)
  feat(ui): add social preview links for private sessions (#139250)
  fix(codex): retain failed conversations for guarded continuation (#139246)
  chore(ui): refresh control ui locales (#139200)
  fix(ci): run browser checks for real-gateway inputs (#139256)
  fix(llama-cpp): reconcile managed router state before requests (#136363)
  chore(i18n): refresh native locales (#139237)
  refactor(worker): unify inference payload handling (#139245)
  refactor(terminal): replay wrapped prefixes in one pass (#139240)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 6, 2026
…enclaw#139259)

* fix(ci): select release tooling package manager from its own directory

* test: include release bootstrap proof in workflow routing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P1 High-priority user-facing bug, regression, or broken workflow. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant