Repository navigation
fix(release): allow the sqlite-store worker bundle its self-contained size - #155877
Conversation
… size The portable cloud SQLite worker added in #154711 is a self-contained worker deploy bundle (~46 MiB) like worker.mjs, but the installed-package verifier still applied the 6 MiB root dist cap to it, failing Full Release Validation's npm package contents check for 2026.9.6.
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 22, 2026, 2:05 PM ET / 18:05 UTC (Revision 2). ClawSweeper reviewWhat this changesThe PR gives the self-contained SQLite worker the existing 80 MiB package-verification allowance and includes a required config module in extracted maintainer tooling. Merge readiness✅ Ready for maintainer review The fixes remain necessary on current main, and no actionable patch defect was found. The previous contributor-proof blocker does not apply to this verified repository administrator. Priority: P2 Review scores
Verification
How this fits togetherRelease tooling checks built and installed npm package contents before accepting artifacts. Separately, maintainer tooling extracts a declared source inventory so its commands can load their dependencies. flowchart TD
A[Built npm package] --> B[Package verifier]
B --> C[Select artifact size limit]
C --> D[Validate contents and dependencies]
E[Wrapper source inventory] --> F[Extract maintainer tooling]
F --> G[Resolve required imports]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceOther +3. Total +3 across 2 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep the exact-artifact allowance and complete the existing wrapper inventory while preserving all other package and source-verification checks. Do we have a high-confidence way to reproduce the issue? Yes, from source: main applies the 6 MiB cap to the larger SQLite artifact and omits a directly imported module from wrapper extraction. No tests or release commands were executed during this read-only review. Is this the best way to solve the issue? Yes. Both changes extend the existing owners at the precise omission, without duplicating validation or changing runtime contracts. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against fd069fef6d33. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
#155344 made src/config/io.runtime.ts import ./io.runtime-write-finalization.js but scripts/pr-lib/wrapper-components.txt was not updated, so test/scripts/eager-import-closure.test.ts fails on main with "src/config/io.runtime.ts: unresolved ./io.runtime-write-finalization.js".
|
Merged via squash auto-merge.
|
… size (#155877) * fix(release): allow the sqlite-store worker bundle its self-contained size The portable cloud SQLite worker added in #154711 is a self-contained worker deploy bundle (~46 MiB) like worker.mjs, but the installed-package verifier still applied the 6 MiB root dist cap to it, failing Full Release Validation's npm package contents check for 2026.9.6. * fix(scripts): list the write-finalization module in the wrapper closure #155344 made src/config/io.runtime.ts import ./io.runtime-write-finalization.js but scripts/pr-lib/wrapper-components.txt was not updated, so test/scripts/eager-import-closure.test.ts fails on main with "src/config/io.runtime.ts: unresolved ./io.runtime-write-finalization.js". (cherry picked from commit f6e970f)
… size (openclaw#155877) * fix(release): allow the sqlite-store worker bundle its self-contained size The portable cloud SQLite worker added in openclaw#154711 is a self-contained worker deploy bundle (~46 MiB) like worker.mjs, but the installed-package verifier still applied the 6 MiB root dist cap to it, failing Full Release Validation's npm package contents check for 2026.9.6. * fix(scripts): list the write-finalization module in the wrapper closure openclaw#155344 made src/config/io.runtime.ts import ./io.runtime-write-finalization.js but scripts/pr-lib/wrapper-components.txt was not updated, so test/scripts/eager-import-closure.test.ts fails on main with "src/config/io.runtime.ts: unresolved ./io.runtime-write-finalization.js".
Full Release Validation for 2026.9.7 (parent 36466521174) failed two release-tooling checks that main never exercises: - The installed-package verifier applied the 6 MiB root-dist cap to dist/package-update-activation-recovery.mjs, the ~66 MB sealed self-contained recovery helper added by #158491. Treat it like the other self-contained bundles (80 MiB cap, no reparse), as #155877 did for the sqlite-store worker. Every main-based FRV since #158491 failed here. - plugin-npm-security-scan had no reviewed inventory for release/2026.9.7. Freeze the 9.6 counts, record four post-9.6 test-file-only findings (codex auth-refresh harness spawn, feishu proxy env test, imessage client test #156334, signal socket probe count after #159648) in the current inventory, and map release/2026.9.7 to it, as #153372 did for 9.6.
#160717) fix(release): admit 2026.9.7 recovery helper and plugin scan inventory Full Release Validation for 2026.9.7 (parent 36466521174) failed two release-tooling checks that main never exercises: - The installed-package verifier applied the 6 MiB root-dist cap to dist/package-update-activation-recovery.mjs, the ~66 MB sealed self-contained recovery helper added by #158491. Treat it like the other self-contained bundles (80 MiB cap, no reparse), as #155877 did for the sqlite-store worker. Every main-based FRV since #158491 failed here. - plugin-npm-security-scan had no reviewed inventory for release/2026.9.7. Freeze the 9.6 counts, record four post-9.6 test-file-only findings (codex auth-refresh harness spawn, feishu proxy env test, imessage client test #156334, signal socket probe count after #159648) in the current inventory, and map release/2026.9.7 to it, as #153372 did for 9.6.
openclaw#160717) fix(release): admit 2026.9.7 recovery helper and plugin scan inventory Full Release Validation for 2026.9.7 (parent 36466521174) failed two release-tooling checks that main never exercises: - The installed-package verifier applied the 6 MiB root-dist cap to dist/package-update-activation-recovery.mjs, the ~66 MB sealed self-contained recovery helper added by openclaw#158491. Treat it like the other self-contained bundles (80 MiB cap, no reparse), as openclaw#155877 did for the sqlite-store worker. Every main-based FRV since openclaw#158491 failed here. - plugin-npm-security-scan had no reviewed inventory for release/2026.9.7. Freeze the 9.6 counts, record four post-9.6 test-file-only findings (codex auth-refresh harness spawn, feishu proxy env test, imessage client test openclaw#156334, signal socket probe count after openclaw#159648) in the current inventory, and map release/2026.9.7 to it, as openclaw#153372 did for 9.6.
Problem
Full Release Validation 35760444831 (2026.9.6 candidate) fails in
Prepare npm artifacts / Check npm package contents:installed package root dist file 'worker/sqlite-store.worker.mjs' is invalid or exceeds 6291456 bytes.The portable cloud SQLite worker bundle from #154711 is a self-contained worker deploy artifact (~46 MiB) likeworker/worker.mjs, butscripts/openclaw-npm-postpublish-verify.tsonly exempted the main worker and rsync receiver from the 6 MiB root dist cap.Solution
Add
worker/${WORKER_BUNDLE_SQLITE_STORE_PATH}toSELF_CONTAINED_WORKER_DEPLOY_DIST_PATHSso it uses the existing 80 MiB self-contained worker limit. Two lines.Second commit: main-red repair from the #155344/#155869 merge race; lists
src/config/io.runtime-write-finalization.tsinscripts/pr-lib/wrapper-components.txtsotest/scripts/eager-import-closure.test.tsresolves the newio.runtime.tsimport.Impact
Unblocks the 2026.9.6 npm artifact qualification; no runtime change.
Evidence
node scripts/run-vitest.mjs run test/openclaw-npm-postpublish-verify.test.ts: 171 passed.