Repository navigation
fix(release): prevent prerelease upgrade QA from missing official plugins - #120107
Conversation
|
@clawsweeper re-review |
|
🦞👀 Command router queued. I will update this comment with the next step. |
c058c7c to
039e3eb
Compare
|
@clawsweeper re-review |
|
🦞👀 Command router queued. I will update this comment with the next step. |
039e3eb to
c8060d7
Compare
c8060d7 to
7da7707
Compare
|
@clawsweeper re-review Exact head: |
|
🦞👀 Command router queued. I will update this comment with the next step. |
7da7707 to
8214258
Compare
|
@clawsweeper re-review |
|
🦞👀 Command router queued. I will update this comment with the next step. |
8214258 to
32be933
Compare
32be933 to
e19dda6
Compare
|
ClawSweeper rank-up move disposition for exact head The frozen-candidate Package Acceptance proof completed in https://github.com/openclaw/openclaw/actions/runs/31148216845 against Code SHA The remaining gateway startup refusal is the distinct #120086 restart/retry owner after doctor changed plugin migration inputs. The PR body now records that exact disposition. No #120107 rerun is needed. |
|
Merged via squash.
|
…cope * origin/main: fix(qa): bound Matrix scenario preparation separately (#119996) test(msteams): cover occupied webhook port (#120158) fix(agents): clear btw attribution reservations fix(agents): reserve execution attribution atomically fix(agents): reject attribution collisions before capture fix(agents): reject CLI attribution collisions fix(agents): reject private attribution recovery by run id fix(agents): restore runtime check cleanliness fix(agents): refresh rebound run admission time refactor(agents): propagate exact attribution across runtimes fix(release): provide prerelease plugin companions to package QA (#120107) test(macos): stabilize gateway session negotiation tests (#120141) refactor(test): replace logic-bearing vi.mock factories with boundary fakes, batch 2 (#120117) # Conflicts: # src/agents/command/attempt-execution.ts
What Problem This Solves
Fixes prerelease package upgrade QA when the frozen root candidate references official external plugin packages that are not yet published at the exact candidate version.
Why This Change Was Made
The release harness now derives the exact official npm plugin companions required by selected upgrade-survivor recipes, packs them from the same source SHA and candidate version, and transports them as a separate immutable artifact. Docker upgrade QA mounts that artifact read-only and serves it through the existing loopback npm registry while unknown packages continue to proxy to npm.
Artifact/ref validation opts in explicitly. Published npm, URL, and trusted-URL acceptance paths ignore the companion tuple. The manifest binds source SHA, candidate version, package identities, tarball hashes, artifact producer run/attempt, and its own SHA-256; validation fails closed on partial or dirty provenance.
The trusted release harness owns all upgrade-survivor Docker entry points. It starts the registry before
openclaw update, preserves the caller-provided scenario environment, and creates the registry fixture directory only when companion packages are present. Scenario credentials remain scoped to their owning recipe.Root cause: the root prerelease tarball could reference official external plugins before those companions were published, while the release scheduler could route through the frozen candidate's older package alias and start the registry too late. Architectural owner: release candidate preparation plus the trusted upgrade-survivor harness. Canonical fix: produce and consume immutable candidate companions at that boundary and route the selected lane through the trusted harness.
User Impact
Maintainers can run beta package, scheduled-ref, and release-path upgrade QA against one frozen candidate without prematurely publishing official plugin packages.
No product runtime behavior changes. No npm publish is performed, and this does not move the frozen release candidate.
Evidence
e19dda62574f31576b053ac359cf166a072485a8(verified=true,reason=valid).bash -npassed for both upgrade-survivor shell entry points.git diff --checkpassed.272b3098c71af4143882e68e13193437ef605dd9: https://github.com/openclaw/openclaw/actions/runs/31148216845Release/tooling delta: +1022/-47 lines (net +975), justified by the immutable artifact ownership, provenance/security contract, trusted-harness routing, and lifecycle coverage. Test delta: +647/-24 lines (net +623). The final directory-lifecycle repair over the previously reviewed head is +2 release/tooling lines and +10 test lines.