Repository navigation
fix(packaging): accept frozen releases with their shipped MCP patches - #158098
Conversation
Select only trusted exact 1.8.0 and 1.9.0 artifact contracts from the package pin. Keep bootstrap policy and all byte, asset, manifest and CLI checks intact. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]> Co-authored-by: steipete <[email protected]> Co-authored-by: jalehman <[email protected]>
|
🦞👀 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. |
|
@steipete — the tooling PR is blocked by a reproducible catalog-contract failure on its existing main base, not by these five packaging files. This is in the discovery/publication path from #157459 and the first-discovery protection in commit 36def8b. Original failed CI job: models-list.discovery-lifecycle.integration.test.ts:187 expects Learned/learned after an unavailable refresh but receives an empty array.
Please resolve this in the catalog owner while preserving the first-failure starter guard and authoritative-empty retirement semantics. I am keeping this PR limited to the frozen-package integrity blocker; no model repair, CI rerun, source rebase or gate bypass was performed. Local tests used Node 26.8.2 versus CI 24.19.0; the exact CI assertion and base/control comparisons are established, not full runtime-environment equivalence. The backport’s separate source qualification continues. Required tooling CI is not qualified by these diagnostic results. |
|
Codex review: needs changes before merge. Reviewed September 25, 2026, 8:05 AM ET / 12:05 UTC. ClawSweeper reviewWhat this changesPackage Acceptance selects a trusted Chrome MCP patch hash contract for the package’s exact 1.8.0 or 1.9.0 dependency pin, with release guidance and regression tests. Regression provenancePossible regression — probable (reviewed change; failure trace). No predecessor PR is attributed. Merge readiness⛔ Needs changes before merge - 1 item remains Keep open: current main rejects the Chrome MCP version pinned by the shipped v2026.9.6 package. This remains a distinct, useful packaging fix for the open release backport. Priority: P2 Review scores
Verification
How this fits togetherPackage Acceptance inspects an installable OpenClaw tarball before release qualification. It reads the package’s dependency pin and bundled files, then reports whether the patched Chrome MCP runtime is intact. flowchart LR
A[Candidate tarball] --> B[Dependency pin]
A --> C[Bundled MCP files]
B --> D[Trusted version hashes]
C --> E[Manifest and byte checks]
D --> E
E --> F[Package acceptance result]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +155, Docs +12, Other +52. Total +219 across 5 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Keep exact trusted contracts for supported frozen releases, retire 1.8.0 when those targets retire, and preserve the bootstrap builder’s current-runtime default. Do we have a high-confidence way to reproduce the issue? Yes. The shipped package pins 1.8.0 while current main’s checker requires 1.9.0, and the linked Package Acceptance attempt reported the resulting integrity failures; this review did not execute the checker. Is this the best way to solve the issue? Yes. Selecting fixed hashes from the candidate’s exact pin repairs frozen-package qualification without changing the candidate dependency or the bootstrap builder’s default. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 71bb516084f5. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
Report successful HTTP discovery and selected account provenance in the catalog lifecycle fixtures. Account retention requires an observed ready outcome; returned rows alone may be advisory static fallback. The learned-row failure reproduced in 20/20 contended Testbox runs. The repaired file passes 20/20 standalone runs, the contended replay, and three complete original-shard replays. Repair the identical missing outcome found by sibling freshness validation. All assertions are retained. No production behavior changes. Carries the already-landed owning fix from PR #158115 unchanged so the packaging PR preserves its hosted ancestry while its failed CI is repaired. Upstream: d5d4952 Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]> Co-authored-by: steipete <[email protected]> Co-authored-by: jalehman <[email protected]>
|
Merged via squash.
|
…openclaw#158098) * fix(packaging): accept frozen releases with their shipped MCP patches Select only trusted exact 1.8.0 and 1.9.0 artifact contracts from the package pin. Keep bootstrap policy and all byte, asset, manifest and CLI checks intact. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]> Co-authored-by: steipete <[email protected]> Co-authored-by: jalehman <[email protected]> * perf(models): correct discovery outcomes in lifecycle fixtures (openclaw#158115) Report successful HTTP discovery and selected account provenance in the catalog lifecycle fixtures. Account retention requires an observed ready outcome; returned rows alone may be advisory static fallback. The learned-row failure reproduced in 20/20 contended Testbox runs. The repaired file passes 20/20 standalone runs, the contended replay, and three complete original-shard replays. Repair the identical missing outcome found by sibling freshness validation. All assertions are retained. No production behavior changes. Carries the already-landed owning fix from PR openclaw#158115 unchanged so the packaging PR preserves its hosted ancestry while its failed CI is repaired. Upstream: d5af36d Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]> Co-authored-by: steipete <[email protected]> Co-authored-by: jalehman <[email protected]> --------- Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]> Co-authored-by: steipete <[email protected]> Co-authored-by: jalehman <[email protected]>
Related: #157531. Unblocks package qualification for #157972; does not change that candidate.
What Problem This Solves
Fixes: Package Acceptance rejects a frozen release candidate when main has upgraded its bundled Chrome MCP dependency, even though the candidate still contains the exact previously shipped patched runtime.
User Impact
No runtime or dependency change. Release operators can qualify supported frozen candidates without importing an unrelated dependency upgrade. Unknown versions, ranges, mixed versions and modified or unpatched bytes remain rejected; no acceptance gate is skipped.
Why This Change Was Made
The checker now selects the trusted 1.8.0 or 1.9.0 hash contract from the exact package dependency pin and requires the bundled manifest to match. All original file hashes, required assets, ESM and CLI checks remain intact. The other consumer—the node bootstrap producer—keeps its existing 1.9.0-only default.
The 1.8.0 contract comes from shipped v2026.9.6, commit eb377ac. It stays supported while a supported frozen target pins it, and retires explicitly with those targets. The candidate supplies neither its expected hashes nor an exception policy.
Evidence
Current qualification
Merged at 2026-09-25 21:14:13 UTC as 4acdf1a, from exact hosted head 679f8e8. CI 36185669143 and its required ci-gate passed. The landed main delta is exactly the five packaging files; the unchanged carried #158115 fixture correction was already on main. Native closeout removed the PR worktree; all four required human co-author trailers and both work-session links were read back.
The exact-head ClawSweeper review artifact from run 36186748701 is complete, high-confidence and without code/security findings. Its archive and review-content digests were verified. The public review comment was still lagging, and native merge admission recorded recent-published-review/head and relevant-mainline-drift warnings under its ordinary policy. No admin or gate bypass was used; those warnings are retained rather than relabeled as clean.
The earlier failure and exact-base control remain recorded in the owner report. A local check of the two fixture files stopped before Vitest at the runtime-publication admission guard, so it supplies no passing test count. No live Gateway was stopped, restricted environment file accessed, or guard bypassed. Required hosted CI is the qualification path. Native publication produced a carrier commit with the exact local prepared tree and retained all contributor trailers.
Limits: This does not qualify the rebuilt backport candidate or any upgrade scenario. The shipped npm artifact still fails the separate strict Docker check because it does not bundle the private workspace AI package; that gate is unchanged. No workflow dispatch, version bump, dependency change, release publication or deployment is part of this PR.
Contributor credit
Prepared during the release-backport work with session contributors @RomneyDa, @vyctorbrzezowski, @steipete and @jalehman. Existing patched-runtime contracts and their upstream attribution are preserved.
Work sessions