Skip to content

fix(update): keep first upgrade alive after package replacement - #136395

Merged
vincentkoc merged 32 commits into
openclaw:mainfrom
fuller-stack-dev:codex/update-first-hop-bridge
Sep 3, 2026
Merged

vincentkoc merged 32 commits into
openclaw:mainfrom
fuller-stack-dev:codex/update-first-hop-bridge

Conversation

@fuller-stack-dev

@fuller-stack-dev fuller-stack-dev commented Sep 2, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes an issue where updating from the published v2026.8.2 package could install the candidate successfully, then fail with a missing hashed runtime chunk while the old updater process was restoring the managed service. The command exited 1 and left the service stopped even though package replacement had already succeeded.

The same failure affects the exact untagged d413 updater artifact. Its support here is tied to immutable package digest 74919d75d6a9ce8204cc49164947c56cc93d890aac11fd7b36b4fb477a7550de, not every package labeled 2026.8.1.

Why This Change Was Made

Package postbuild now emits the two exact legacy filenames and their old resolveNodeRunner export ABI as tiny, self-contained Node built-in modules. That lets an already-running supported updater finish after the package root has been replaced without retaining an arbitrary historical chunk graph or copying code from the incumbent installation.

Regression coverage runs each unmodified old packaged updater through three observable stages: a negative candidate with the compatibility input removed, the repaired candidate, and a distinct fake-future package. This is intentionally separate from npm rollback in #135462 and from future coherent self-replacement, service-intent restoration, and crash-journal work.

User Impact

The next release can serve as the one-hop bridge from v2026.8.2: the old command completes after installing it, and the managed service returns to its active intent. The bridge also covers the exact d413 artifact above. Other untagged builds with different hashed imports are outside the supported boundary.

Compatibility Window

Maintainer acceptance: retain exactly shared-Y6bNiw2w.js and shared-DTaQo6Hi.js, with the frozen resolveNodeRunner ABI, until the supported upgrade window for published v2026.8.2 and the exact d413 artifact closes. Removal requires an explicit window decision plus replacement-path proof; renaming either file or changing its export earlier would strand those running updaters again.

Evidence

  • Exact PR head: 05201df7ed95df449f3968db69cfb27588194b10, directly extending owner-accepted head f3972ecdef9df2b67c788493fb70c7acb33758af. The post-review repair changes only the five canonical lane catalog/workflow/test files; the accepted two-file ABI window and existing first-hop scenario are byte-for-byte unchanged.
  • ClawSweeper P2 repair: registered update-first-hop-compat in the package-update maintenance catalog, the release package-update-self-upgrade chunk, package/product acceptance profiles, and release package acceptance. The matrix planner already schedules that chunk for minimum, beta, stable, and full profiles, so it required no edit.
  • Pre-fix focused reproduction: release self-upgrade partitions remained [5,2,2] instead of [5,2,3] for all four release profiles, and package/product acceptance omitted update-first-hop-compat. Those exact assertions pass after the catalog repair.
  • Local post-repair proof: test/scripts/docker-e2e-plan.test.ts passed 76/76; test/scripts/package-acceptance-workflow.test.ts passed 333/333; runtime-postbuild plus first-hop fixture tests passed 44/44; the four release-profile matrix assertions passed 4/4. The full matrix file's sole local failure was its unrelated Bash 4 lowercase expansion under macOS Bash 3.2.
  • Targeted changed-file checks: conflict markers, changelog attribution, doctor registry, extension boundaries, duplicate coverage, dependency pins, formatting, patch guard, temporary-file audit, tsgo boundaries, script erasability, script/test typechecks, coercion declarations, Docker E2E boundaries, script lint, and changed-test lint passed. git diff --check passed.
  • Hosted checks for 05201df7ed9 started automatically from the contributor-branch push. No Testbox, manual CI, FRV campaign, publication, or merge was dispatched for this head.
  • Published package contract: [email protected] archive SHA-256 20e9c2f16742dfcebfb21504e51067d31e000a19577126ff4fab117e5e87dbe2; its updater imports shared-Y6bNiw2w.js after replacement.
  • Exact d413 contract: commit d413210bc7420923d101ce64211511cdac7b9464; successful CI run 33613782124, artifact 9840260310, artifact ZIP SHA-256 3818ddeff1f0048ee5df32839eea28aa67ca35147c243587e47d8240d1e7203c. Its updater imports shared-DTaQo6Hi.js. Both old chunks expose the same resolveNodeRunner implementation reproduced by this bridge.
  • Fresh Testbox proof: provider blacksmith-testbox, lease tbx_01m1hf5f5562pbdep7hkw8h6jq, hydration Actions run 33655065437. Delegated sync retained main as remote HEAD, so exact PR content was verified separately: all seven product/harness changed-file blob hashes matched code head 47640f0ba50, combined digest 6bec4ff6740184572fec550a55d5d381dce8e10d02342578f0be4f6b49b7eefd. The remaining PR-unique commits add only the changelog entry and clean-dist test-fixture repair; the exact tip then merges unrelated main changes.
  • Packaged Testbox E2E: source v2026.8.2 -> negative/repaired/future exits 1/0/0; the negative lane reproduced missing shared-Y6bNiw2w.js and left the service inactive; repaired and future hops preserved active service intent with distinct PIDs 1774/3259/4863; transaction residue 0/0. Candidate archive SHA-256 d9ccf0525d7984066ae3c94007871e7386ab50cdc6a2cb2b7cd7172ef1fe4248. Runtime: 6m18s.
  • Exact focused Testbox checks: script TypeScript graph passed in 65.8s; test/scripts/docker-build-helper.test.ts passed 275/275; runtime-postbuild and package-fixture suites passed 44/44.
  • Exact compact-shard repair: src/infra/run-node.test.ts passed 90/90 with test/vitest/vitest.infra.config.ts in 3.38s; oxfmt and git diff --check passed.
  • Exact-head CI run 33659738248: checks-node-compact-small-25 passed on 0034a3fc512; 227 checks passed. check-guards failed only after its checks completed when Git credentials were unavailable (exit 128), and build-artifacts reproduced the known SQLite flip-proof baseline at assertion line 7. As of 2026-09-02 17:30 UTC, 11 CI prerequisites remained queued with no runner and zero executed steps, so openclaw/ci-gate had not been emitted.
  • Native landing admission: OPENCLAW_TESTBOX=1 OPENCLAW_ALLOW_ROOT_CHANGELOG_PR=1 scripts/pr prepare-run 136395 revalidated the exact review artifact, then stopped because no successful recent CI workflow exists for 0034a3fc512. The retained operation lock was recovered after verifying no child tools remained. No unchanged broad CI/FRV graph was rerun.
  • Local focused checks before push: the same regression set passed; formatting, conflict-marker, dependency-pin, package-lock, SDK export/boundary, wrapper-shadowing, package-patch, script-erasability, and Control UI catalog checks passed. The local script typecheck lacked current optional workspace dependencies; the hydrated exact-blob Testbox rerun passed.
  • Fresh autoreview against current main: scoped clean at P0/P1, no accepted findings, correctness confidence 0.88.

Prior CI Differential

The original-head CI had one branch regression: checks-node-compact-small-66 showed the new Docker runner bypassed the canonical generated-package cleanup variable. Code commit 47640f0ba50 uses PACKAGE_TGZ and the existing cleanup contract now passes in the 275-test Docker helper suite.

The next exact-head graph exposed test-fixture fallout in checks-node-compact-small-25: all 16 failures were in src/infra/run-node.test.ts because its canonical clean-dist scaffold omitted the two newly required postbuild outputs. Head b6e109bda38 adds those outputs to the scaffold and the existing missing-core-output coverage; the exact file now passes 90/90.

The known SQLite baseline failure, assigned runners that executed zero steps, and post-test Git credential loss are not branch regressions. Unrelated gateway/session failures are likewise not attributed without a changed-surface differential. No unchanged broad CI or FRV graph was rerun.

LOC Judgment

Total diff is +578/-5 across thirteen files:

  • Production runtime: +19 in scripts/runtime-postbuild.mts.
  • Package command/config: +1 in package.json.
  • Release/CI tooling: +12/-3 across the canonical Docker lane catalog and package acceptance workflows.
  • Test and test-support harness: +546/-2 across the Docker scenario, fixtures, and focused tests.

The larger surface is isolated package-replacement proof. It exercises archive replacement, the old running updater, managed-service restoration, a negative control, a later update, and cleanup; no smaller unit-only test proves that boundary.

@clawsweeper

clawsweeper Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts docker Docker and sandbox tooling size: L maintainer Maintainer-authored PR labels Sep 2, 2026
@clawsweeper

clawsweeper Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 2, 2026, 6:11 PM ET / 22:11 UTC.

ClawSweeper review

What this changes

The branch emits two legacy runtime modules and adds a Docker package-update scenario so old updaters can finish a package replacement and restore the managed gateway service.

Merge readiness

⛔ Blocked before merge - 3 items remain

Keep open. This MEMBER-authored, maintainer-labeled PR has an explicitly accepted, bounded compatibility window; the exact introduced diff has no actionable correctness finding, and the packaged upgrade evidence supports the intended repair.

Priority: P1
Reviewed head: 4092c1129e6d34144274d4ddcb6db448238c7a18

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused compatibility repair with strong packaged behavior evidence and no identified introduced defect.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The changed production owner emits the bridge during package postbuild, and the supplied Testbox terminal evidence records the relevant packaged flow: released source to negative/repaired/future candidates exited 1/0/0, repaired hops restored active service intent with new PIDs, and residue was zero.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The changed production owner emits the bridge during package postbuild, and the supplied Testbox terminal evidence records the relevant packaged flow: released source to negative/repaired/future candidates exited 1/0/0, repaired hops restored active service intent with new PIDs, and residue was zero.
Evidence reviewed 7 items Introduced compatibility bridge: The verified PR-introduced diff adds exactly two generated modules for the stated old updater chunk names, with a narrow resolveNodeRunner implementation and an explicit removal condition.
Updater owner and caller: The existing updater resolves its node runner from shared.js, and the service command dynamically imports that module immediately before invoking the updated package entrypoint; the bridge preserves that small ABI rather than retaining an old chunk graph.
Package output ownership: The Docker package build runs runtime-postbuild, and runtime-postbuild writes the bridge before build provenance is recorded, placing it in the produced package rather than relying on the replaced installation.
Findings None None.
Security None None.

How this fits together

OpenClaw’s package updater replaces the installed package while an older CLI process may still be executing. The package postbuild step must retain the exact runtime modules that process imports until it can finish service restoration.

flowchart LR
  A[Running old updater] --> B[Package replacement]
  B --> C[Postbuild package output]
  C --> D[Legacy runtime bridge]
  D --> E[Managed service restoration]
  F[Packaged Docker upgrade test] --> A
  E --> G[Active gateway service]
Loading

Before merge

  • Resolve merge risk (P1) - The two retained hashed filenames and frozen ABI are an intentional compatibility contract; renaming or removing either before the accepted v2026.8.2/d413 upgrade window closes could again strand a running updater and leave its service stopped.
  • Resolve merge risk (P1) - The bug repair adds 20 production/package-command lines; the increase is justified because a static hash import cannot be satisfied by the existing stable-alias mechanism without emitting the exact bridge modules.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

Tests +118, Config +1, Other +459. Total +578 across 13 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 5 120 2 +118
Docs 0 0 0 0
Config 3 4 3 +1
Generated 0 0 0 0
Other 5 459 0 +459
Total 13 583 5 +578

Review metrics

Metric Value Why it matters
Production versus test delta production +20; CI/workflow +12/-3; test/support +551/-2 Most growth is the package-replacement harness; the production increase is the minimal emitted bridge plus its package command.

Stored data model

Persistent data-model change detected: migration/backfill/repair: scripts/e2e/lib/upgrade-survivor/update-first-hop-compat.sh, migration/backfill/repair: scripts/lib/docker-e2e-scenarios.mts, serialized state: scripts/e2e/lib/update-first-hop-package-fixtures.mjs, serialized state: scripts/e2e/update-first-hop-compat-docker.sh, unknown-data-model-change: scripts/e2e/lib/update-first-hop-package-fixtures.mjs, unknown-data-model-change: scripts/e2e/lib/upgrade-survivor/update-first-hop-compat.sh, and 1 more. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Keep the accepted bridge window (recommended)
    Retain exactly the two frozen bridge modules until replacement-path proof supports their removal.
  2. Pause the compatibility bridge
    Do not merge if maintainers no longer accept preserving the legacy filenames and ABI for the stated upgrade window.

Technical review

Best possible solution:

Keep exactly the two documented bridge modules through the accepted source-artifact window, then remove them only after an owner-approved replacement-path proof shows affected updaters no longer import them.

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

Yes — the supplied packaged Testbox evidence exercises released v2026.8.2 through negative, repaired, and future hops, while the checked-in harness asserts exit status, selected package, service state/PID, missing-import absence, and residue.

Is this the best way to solve the issue?

Yes — emitting two self-contained modules at the package postbuild owner preserves the precise old import ABI without retaining an arbitrary historical runtime graph, matching the repository’s existing legacy-chunk approach.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 868aae3c56db.

Labels

Label justifications:

  • P1: The repaired package-update path can otherwise leave a managed gateway service stopped after a successful replacement.
  • merge-risk: 🚨 compatibility: The PR intentionally preserves historical hashed module names and ABI for already-installed updaters.
  • merge-risk: 🚨 availability: A broken or prematurely removed bridge would prevent the old updater from completing managed-service restoration.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The changed production owner emits the bridge during package postbuild, and the supplied Testbox terminal evidence records the relevant packaged flow: released source to negative/repaired/future candidates exited 1/0/0, repaired hops restored active service intent with new PIDs, and residue was zero.
  • proof: sufficient: Contributor real behavior proof is sufficient. The changed production owner emits the bridge during package postbuild, and the supplied Testbox terminal evidence records the relevant packaged flow: released source to negative/repaired/future candidates exited 1/0/0, repaired hops restored active service intent with new PIDs, and residue was zero.

Evidence

What I checked:

  • Introduced compatibility bridge: The verified PR-introduced diff adds exactly two generated modules for the stated old updater chunk names, with a narrow resolveNodeRunner implementation and an explicit removal condition. (scripts/runtime-postbuild.mts:197, 4092c1129e6d)
  • Updater owner and caller: The existing updater resolves its node runner from shared.js, and the service command dynamically imports that module immediately before invoking the updated package entrypoint; the bridge preserves that small ABI rather than retaining an old chunk graph. (src/cli/update-cli/update-command-service-command.ts:60, 4092c1129e6d)
  • Package output ownership: The Docker package build runs runtime-postbuild, and runtime-postbuild writes the bridge before build provenance is recorded, placing it in the produced package rather than relying on the replaced installation. (package.json:1557, 4092c1129e6d)
  • Boundary-level upgrade coverage: The new harness installs a released source package, runs a missing-module negative control, then verifies repaired and subsequent upgrades select the expected package, replace the service PID, preserve active service state, and leave no transaction residue. (scripts/e2e/lib/upgrade-survivor/update-first-hop-compat.sh:138, 4092c1129e6d)
  • Regression registration: The Docker lane is registered in the package-update maintenance catalog, release self-upgrade partition, package/product acceptance profiles, and their focused tests. (scripts/lib/docker-e2e-scenarios.mts:247, 4092c1129e6d)
  • Maintainer-accepted compatibility contract: A repository member independently inspected the d413 artifact and accepted retention of exactly the two filenames and frozen ABI until the stated source upgrade window closes.

Likely related people:

  • Peter Steinberger: 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 (7 earlier review cycles)
  • reviewed 2026-09-02T15:44:06.196Z sha e9a402fa00d019db5371a5b815051b65f6667520 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-02T16:50:07.946Z sha 47640f0 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-02T17:23:00.902Z sha 0034a3f :: found issues before merge. :: [P2] Remove the release-owned changelog entry
  • reviewed 2026-09-02T17:40:01.410Z sha 0034a3f :: found issues before merge. :: [P2] Remove the release-owned changelog entry
  • reviewed 2026-09-02T18:20:13.138Z sha f3972ec :: needs maintainer review before merge. :: none
  • reviewed 2026-09-02T18:33:01.543Z sha f3972ec :: needs changes before merge. :: [P2] Register the first-hop upgrade scenario in release lanes
  • reviewed 2026-09-02T18:55:35.376Z sha 05201df :: needs maintainer review before merge. :: none

@vincentkoc
vincentkoc force-pushed the codex/update-first-hop-bridge branch from e9a402f to 47640f0 Compare September 2, 2026 16:42
@vincentkoc vincentkoc self-assigned this Sep 2, 2026
@vincentkoc

Copy link
Copy Markdown
Member

@clawsweeper re-review

Exact head 47640f0ba50fbedbf5fb02ebe9bf75fe6c446758 is rebased onto current main. The PR body now records fresh exact-blob Testbox proof, the cleanup-contract repair, the production/test LOC split, and explicit acceptance of the two-file compatibility retention window.

@clawsweeper

clawsweeper Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. 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 2, 2026
@vincentkoc

Copy link
Copy Markdown
Member

Maintainer resolution of the remaining ClawSweeper rank-up move:

  • Independently inspected the exact d413 artifact from successful CI run 33613782124, artifact 9840260310 (artifact ZIP SHA-256 3818ddeff1f0048ee5df32839eea28aa67ca35147c243587e47d8240d1e7203c).
  • Its dist/build-info.json identifies commit d413210bc7420923d101ce64211511cdac7b9464, and update-command-service-maintenance-CgmGeF2m.js imports shared-DTaQo6Hi.js after replacement.
  • shared-DTaQo6Hi.js exports resolveNodeRunner from shared-DWuNffVK.js; the basename/node.exe implementation matches the frozen bridge ABI.
  • Accepted retention contract: keep exactly the two named compatibility modules until the published v2026.8.2 and exact d413 upgrade window closes. Removal or ABI change requires an explicit window decision and replacement-path proof.

This resolves the reviewer-side promisor limitation without expanding the supported artifact boundary.

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed 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 2, 2026
@vincentkoc

Copy link
Copy Markdown
Member

Maintainer exact-head landing disposition:

  • Authorized head remains 0034a3fc512de02f36eb634f7cb5bf900e79e2f5; current main is 764ba7a9854e0b2347382e4c104aff42fdb95cf4, with zero changed-file overlap and clean merge-tree 0a5f25c6e92b934969b897afc5e846daa6939446.
  • ClawSweeper's CHANGELOG.md removal finding is explicitly skipped for this landing. The maintainer authorized this exact head under the active FRV reliability closeout; changing the release-note line would mutate the frozen authorized head. Native preparation therefore uses the repository's maintainer closeout override, OPENCLAW_ALLOW_ROOT_CHANGELOG_PR=1.
  • Exact-head CI run 33659738248: checks-node-compact-small-25 passed. check-guards is the proven post-test Git credential-loss baseline (exit 128), and build-artifacts is the proven SQLite flip-proof baseline at assertion line 7. No unchanged broad CI graph will be rerun.
  • Packaged Testbox proof passed the negative/repaired/future sequence with exits 1/0/0, service states inactive/active/active, and zero transaction residue. Lease tbx_01m1hf5f5562pbdep7hkw8h6jq was released.
  • Canonical main-qualification status reports release_hold: null. The authorized repository-native Crabbox AWS exact-head gate/admin squash bypass is the remaining landing path.

Abort conditions remain: head change, merge conflict, active release hold, or a new branch-owned failure.

@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Sep 2, 2026
@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Exact-head resolution for the three remaining review checklist items on 4092c1129e6d34144274d4ddcb6db448238c7a18:

  • The compatibility risk is accepted and bounded: retain exactly shared-Y6bNiw2w.js and shared-DTaQo6Hi.js with the frozen resolveNodeRunner ABI until the published v2026.8.2 and exact d413 upgrade window closes. Removal requires replacement-path proof.
  • The +20 package/production lines are accepted. An old process imports exact hashed filenames after replacement, so the existing stable alias cannot satisfy this contract; two emitted modules are the smallest candidate-side closure.
  • This PR has no persistent data-model change. The files identified by the heuristic only create and inspect disposable package tarballs inside the test harness; no SQLite schema, migration, runtime store, config shape, or persisted product state changes.

Final isolated product proof passed on AWS Linux amd64, lease cbx_a2de3a3a8d93, run run_a5961e8232e4. Before either lane, the runner validated candidate SHA-256 2a99caee843598a5c3f29a324b24ad0413ecddc6549679c9f5e7bbfb19c4eb51 and directly extracted the exact embedded head.

Published v2026.8.2 and exact d413 each produced the intended negative missing-chunk failure, then completed repaired and fake-future hops with exits 1/0/0, exact package selection, active service restoration with new PIDs, no positive-path missing import, and zero transaction residue. The retrieved raw evidence archive SHA-256 is 4a13a61e5b0d7034ae0a808a7cc3fcaf9e227d25ddcf0e0c58b40a3693998735.

Exact-head GitHub CI is also clean: 265 successful checks, 40 skipped, one neutral, and no failed or pending check. The post-push a379bbd7..8ea5c8f0 audit found no bridge, package assembly, Linux fixture, compatibility ABI, or dependency change; merge-tree resolves cleanly, so the frozen artifact remains valid.

@vincentkoc
vincentkoc merged commit 023ce6d into openclaw:main Sep 3, 2026
308 checks passed
@vincentkoc

Copy link
Copy Markdown
Member

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 3, 2026
…claw#136395)

* fix(update): bridge legacy updater runtime chunks

* fix(test): use canonical package cleanup variable

* docs(changelog): note first-hop updater bridge

* test(infra): include updater bridge in runtime scaffold

* chore: remove release-owned changelog entry

* test(release): register updater first-hop lane

* test(update): prove bridge expiry on future hop

---------

Co-authored-by: Vincent Koc <[email protected]>
steipete pushed a commit that referenced this pull request Sep 3, 2026
)

* fix(update): bridge legacy updater runtime chunks

* fix(test): use canonical package cleanup variable

* docs(changelog): note first-hop updater bridge

* test(infra): include updater bridge in runtime scaffold

* chore: remove release-owned changelog entry

* test(release): register updater first-hop lane

* test(update): prove bridge expiry on future hop

---------

Co-authored-by: Vincent Koc <[email protected]>
(cherry picked from commit 023ce6d)
steipete added a commit that referenced this pull request Sep 3, 2026
…ry (#137286)

The first-hop Docker wrapper bypassed the shared package mount owner, so
unpublished companion dependencies failed with ETARGET before the negative
control could replace the installed package. Reuse the registry entrypoint
for the entire lane, including the future fixture's candidate dependencies.
Consolidate update execution to preserve exits and print failure output.

Proof: built and packed frozen caa2719.
The unchanged lane retained 2026.8.2 after ETARGET for @openclaw/[email protected];
the fix passed the negative control and both positive hops in Docker.
A missing-registry probe exposed ETARGET in the main lane log. The wiring
regression failed before the fix; 461 focused tests, check:changed, and
shellcheck passed. Local autoreview through P2 found no actionable issues.

Related: #136395; Full Release Validation run 33728228813.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 4, 2026
…ry (openclaw#137286)

The first-hop Docker wrapper bypassed the shared package mount owner, so
unpublished companion dependencies failed with ETARGET before the negative
control could replace the installed package. Reuse the registry entrypoint
for the entire lane, including the future fixture's candidate dependencies.
Consolidate update execution to preserve exits and print failure output.

Proof: built and packed frozen caa2719.
The unchanged lane retained 2026.8.2 after ETARGET for @openclaw/[email protected];
the fix passed the negative control and both positive hops in Docker.
A missing-registry probe exposed ETARGET in the main lane log. The wiring
regression failed before the fix; 461 focused tests, check:changed, and
shellcheck passed. Local autoreview through P2 found no actionable issues.

Related: openclaw#136395; Full Release Validation run 33728228813.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Docker and sandbox tooling maintainer Maintainer-authored PR merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: L 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.

2 participants