Repository navigation
fix(release): stage Codex for npm onboarding candidates - #130360
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 26, 2026, 7:46 PM ET / 23:46 UTC. ClawSweeper reviewWhat this changesStages the candidate Regression provenancePossible regression — probable (failure trace; reviewed change). No predecessor PR is attributed. Merge readinessKeep open: no patch defect was found, but this maintainer-owned release-validation change should await successful exact-head hosted Docker candidate lanes before merge. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: FAIL (failed) — step 1 Assertions:
How this fits togetherRelease validation packages candidate plugins into an immutable registry artifact, mounts it into Docker onboarding scenarios, and starts a local registry before npm installation. The scenarios then verify candidate package resolution and onboarding behavior. flowchart LR
A[Docker lane plan] --> B[Candidate registry artifact]
B --> C[Artifact identity check]
C --> D[Mounted local registry]
D --> E[Onboarding npm install]
E --> F[Docker scenario result]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +65, Other +35. Total +100 across 7 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the shared artifact-to-container lifecycle and merge after exact-head hosted candidate lanes demonstrate successful resolution and cleanup. Do we have a high-confidence way to reproduce the issue? Yes, from source and the reported hosted failure: these lanes previously omitted the candidate package, while the planner and runner now select, mount, and start it before npm installation. Is this the best way to solve the issue? Yes: one shared helper owns the immutable artifact-to-Docker tuple and mounted-registry startup, avoiding separate lane-specific implementations. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 0b450013ea0f. 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
HistoryReview history (3 earlier review cycles)
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Resolved the exact-head P1 by refreshing onto current Exact head: Direct Codex contract inspected at upstream checkout
Proof:
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Expanded release-mode audit for exact head
Red/green reproduction: changing the helper back to unconditional A fresh hosted exact-head Plugin Prerelease run is now active: https://github.com/openclaw/openclaw/actions/runs/33011747715. This supersedes the earlier run, which started before |
…date-codex-registry
What Problem This Solves
Plugin prerelease npm onboarding lanes validate an unpublished
[email protected]candidate. After #129855 made required runtime installation fail closed, those lanes attempted to install the matching@openclaw/[email protected]from public npm, where only beta and older stable versions exist.Observed failures:
Both stopped during non-interactive onboarding with
Package not found on npm: @openclaw/[email protected].Root Cause
The Docker scenario catalog did not declare
@openclaw/codexas a candidate companion for the five npm onboarding lanes. Consequentlytest-docker-alldid not build its verified prerelease plugin registry artifact. The onboarding harness also lacked the shared mount/start path needed to expose that artifact inside the container.Canonical Fix
prepublish-plugin-registry.shThis changes validation tooling only. It does not publish a package, add a runtime fallback, or alter the version-cohort selection established by #129195.
Evidence
npm view @openclaw/codex version dist-tags --jsonreports stable2026.7.1-1, beta2026.8.1-beta.3, and no2026.8.1.@openclaw/codex.docker-build-helper,docker-e2e-plan,prepublish-plugin-registry-shell).git diff --check, and autoreview passed; autoreview reported no actionable findings (0.98).check:changedpassed all gates through script typecheck, which stopped on the local shared checkout's unrelated missing@types/pako; exact-head hosted CI uses a clean dependency install.Scope and LOC
The release-tooling delta is net smaller than the first patch while adding one canonical lifecycle owner shared by both consumers.