Repository navigation
fix(release): prevent bundled plugin lock timeouts - #117730
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 9:38 PM ET / August 2, 2026, 01:38 UTC. ClawSweeper reviewWhat this changesThe branch removes both npm bundled-dependency manifest aliases only from the temporary manifest used to generate plugin package locks, preventing bundled-plugin lock generation from timing out. Merge readinessKeep this PR open for explicit release/code-owner review. The narrow lock-manifest normalization appears correct and current main still lacks it, but this is a maintainer-owned change on the beta publish path with remaining exact-head gates in progress. Priority: P1 Review scores
Verification
How this fits togetherOpenClaw’s release tooling temporarily overlays a plugin’s publish manifest, then generates an npm package lock used by the package publishing workflow. The lock generator receives that staged manifest and produces a validated lock without changing the plugin manifest that is ultimately packed and published. flowchart LR
A[Plugin publish manifest] --> B[Release manifest overlay]
B --> C[Bundled dependency metadata]
C --> D[Temporary lock manifest]
D --> E[npm package-lock generation]
E --> F[Validated plugin publish lock]
Decision needed
Why: The patch changes maintainer-owned release automation and the item carries the protected maintainer label, so a human should explicitly accept the release-path behavior despite the focused evidence. Before merge
Agent review detailsSecurityNone. PR surfaceTests +4, Other +2. Total +6 across 2 files. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the temporary-manifest normalization, confirm the completed exact-head release checks, and land it with the release owner’s approval so bundled plugins retain their normal publish metadata while lock generation stays shallow and bounded. Do we have a high-confidence way to reproduce the issue? Yes. The current lock-generation path writes the staged publish manifest directly to a temporary npm project, while the release overlay supplies bundledDependencies; the PR body also reports before-and-after bundled-package dry-runs, although their raw logs were not available in the review context. Is this the best way to solve the issue? Yes. Removing packaging-only fields at the temporary lock-manifest boundary is narrower than changing package publishing or dependency installation, and it preserves the original staged manifest and dependency set. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 846a454d9219. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
…elf-release * commit '10a390ed7fa88d09da0d4523c3ed1e3550ece5c6': (4646 commits) fix(release): allow larger npm plugin artifacts (openclaw#117745) refactor(macos): consolidate gateway process fixtures (openclaw#117740) fix(ui): preserve complete persisted log messages (openclaw#117666) fix(ui): decode artifact previews as UTF-8 (openclaw#117657) fix(control-ui): restore sandbox media previews (openclaw#117689) fix(plugins): link host declared as direct dependency (openclaw#117738) fix(macos): avoid self-named defaults suite (openclaw#117690) fix(inference): preserve run ownership and completion delivery (openclaw#117731) test(talk): align browser E2E tool completion test: consolidate OpenClaw E2E fixtures (openclaw#117701) fix(release): ignore bundle fields in npm locks (openclaw#117730) fix(meeting-bot): keep configured host options internal refactor(line): remove dead card helpers (openclaw#117729) perf(cli): attribute command startup stages (openclaw#117720) refactor(whatsapp): deduplicate reply delivery test fixtures (openclaw#117710) docs(changelog): note bounded WebRTC tool calls docs(changelog): note meeting audio bounds fix(meeting-bot): preserve node host SDK surface test(talk): split WebRTC tool lifecycle coverage fix(meeting-bot): break node host import cycle ... # Conflicts: # package.json # src/agents/model-auth.ts
What Problem This Solves
Fixes an issue where release operators publishing plugins with bundled dependencies could hit repeated
npm install --package-lock-onlytimeouts, blocking the beta release. The failure reproduced in the frozen beta WhatsApp publish run 30726242416 after the normal source-package lock validation had passed.Why This Change Was Made
The augmented publish manifest contains
bundleDependenciesandbundledDependencies, which are packaging directives rather than dependency-resolution inputs. The lock normalizer now removes both fields while preserving the existing shallow lock strategy and dependency set.User Impact
Plugin packages with bundled dependencies can complete release lock generation and publish normally. There is no runtime or public API change.
Evidence
node scripts/run-vitest.mjs test/scripts/generate-npm-package-lock.test.ts: 26 tests passed.baileys,audio-decode, andtypeboxbundled.