Repository navigation
fix(release): keep bundled plugin package verification complete - #114497
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 27, 2026, 8:15 AM ET / 12:15 UTC. ClawSweeper reviewWhat this changesThis PR snapshots the complete bundled-plugin package inventory so release and installed-package verification continue requiring every packaged plugin manifest after a build-filter environment variable changes. Merge readiness⛔ Blocked until stronger real behavior proof is added - 4 items remain The patch appears to correct a real release-verification invariant, but the real package-build/install proof in the PR body names commit Priority: P2 Review scores
Verification
How this fits togetherThe npm postpublish verifier checks the assembled OpenClaw package before release or installation. It derives the packaged plugin inventory, selects runtime sidecars, and reports missing bundled manifests so incomplete tarballs do not reach users. flowchart LR
A[Build filter environment] --> B[Bundled plugin inventory]
B --> C[Package verification snapshot]
C --> D[Runtime sidecar selection]
C --> E[Required plugin manifests]
D --> F[Release package checks]
E --> F
F --> G[Published npm package]
Decision needed
Why: The patch is narrow and the supplied prior proof is strong, but it predates the head commit that changes the build-filter handling and this protected release-verification PR requires explicit maintainer handling. Before merge
Agent review detailsSecurityNone. PR surfaceTests +76, Other +7. Total +83 across 2 files. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep one canonical full packaged-plugin inventory for all verifier decisions, then refresh the branch and capture package-build, installed-binary, and missing-manifest corruption proof for the exact merge candidate. Do we have a high-confidence way to reproduce the issue? No high-confidence current-head execution was independently established in this review. The source path and added regression test make the old failure mode reproducible in principle by setting the bundled-plugin build filter after the verifier snapshot is created. Is this the best way to solve the issue? Yes, conditionally: a single canonical unfiltered inventory is the narrowest maintainable way to keep sidecar and manifest verification consistent. The solution still needs real package proof for the latest merge candidate because the recorded proof predates its central follow-up commit. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 885e690f3e6c. 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) |
|
Merged via squash.
|
…claw#114497) * perf(release): reuse bundled plugin package inventory * fix(release): ignore inherited bundled plugin build filters
What Problem This Solves
Fixes an issue where release and installed-package verification could silently stop checking bundled plugin manifests and runtime sidecars when a plugin build filter was inherited before verifier startup or changed afterward. The verifier also repeatedly rescanned the bundled plugin inventory.
Why This Change Was Made
Compute one deterministic complete packaged-plugin inventory with the build-only selection filter explicitly cleared, then reuse that snapshot for published runtime sidecars and required installed manifests. Preserve all other release environment values, root package exclusions, private QA exclusions, provider boundaries, and existing package contracts.
User Impact
Published OpenClaw installations consistently require every actually packaged bundled plugin, including Ollama and LM Studio. A selected build cannot make release verification silently accept an incomplete package, and package verification avoids repeated synchronous repository scans.
Evidence
Verified exact head:
07ec13aaa54011f30cc63bd3c65977d439d6d3c3.30264807650: passed, including the requiredopenclaw/ci-gate, build artifacts, release verification, guards, core and test types, lint, dependencies, and security checks.node scripts/run-vitest.mjs test/openclaw-npm-postpublish-verify.test.ts: 51 passed.OPENCLAW_BUNDLED_PLUGIN_BUILD_IDS=ollamaalready in its inherited environment: verified both the Ollama and LM Studio installed manifests are independently required.oxfmt --checkandgit diff --check: passed.cd775c7f104923096f858d721c67128f220ad72b: Linux Testbox changed gate, 252 release/package tests, canonical production npm pack, strict bundled-workspace tarball validation, lifecycle-enabled real npm installation, and intact/missing-Ollama/missing-LM-Studio/missing-root corruption controls all passed. The exact-head fresh-process regression above specifically covers the inherited-filter correction added after that parent.AI-assisted; independently reviewed and verified.