Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 25, 2026, 10:41 PM ET / August 26, 2026, 02:41 UTC. ClawSweeper reviewWhat this changesThis PR raises the npm package unpacked-size ceiling from 204 MiB to 210 MiB and updates the release-check boundary test. Merge readinessKeep open for a maintainer release-policy decision. The branch correctly changes the shared release gate, but an open related PR proposes removing the asserted package growth instead; neither package artifact is available locally to establish which policy should be canonical. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: FAIL (failed) — step 1 Assertions:
How this fits togetherThe release check reads npm pack metadata and rejects oversized published artifacts before release. This ceiling therefore controls which package sizes can reach install and startup validation. flowchart LR
A[Package build] --> B[Npm pack metadata]
B --> C[Release size guard]
C --> D{Within ceiling?}
D -->|Yes| E[Release validation continues]
D -->|No| F[Package bloat investigation]
Decision needed
Why: This is a release safety-policy choice between a higher ratchet and an unverified alternative root-cause repair; source review cannot choose the intended package-size contract without maintainers accepting the operational tradeoff. Before merge
Agent review detailsSecurityNone. PR surfaceTests 0, Other +1. Total +1 across 2 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Choose one canonical release path: retain a 210 MiB ceiling only if a fresh final package audit proves it is required, otherwise land an independently verified packaging reduction that preserves the 204 MiB guard. Do we have a high-confidence way to reproduce the issue? No high-confidence reproduction of the claimed 208.82 MiB artifact is available: source proves how that value is evaluated, but the tarball and audit are absent from the checkout and scratch area. Is this the best way to solve the issue? No: the ratchet is mechanically correct, but the open packaging-reduction path may solve the same release problem while preserving the established safety boundary. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against a9303f27e982. 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 (1 earlier review cycle)
|
798fa4f to
8d23bc5
Compare
|
Mechanical refresh onto current fetched The 204 MiB budget remains on current main, so the audited 218,962,508-byte package still requires this 210 MiB cap. |
|
Superseded by #129782, squash-merged as 2b06180. The root cause was the diffs plugins' syntax-highlighting chunks entering the unified core package graph. The landed repair externalizes those plugin distributions, preserves Thanks @RomneyDa for reporting and investigating the regression. Closing this budget-increase alternative as superseded. |
What Problem This Solves
Fixes release validation rejecting the audited 2026.8.1 package because its required runtime grew beyond the previous 204 MiB unpacked-size ceiling.
Why This Change Was Made
Raises only the shared unpacked-size ratchet to 210 MiB. The package contents remain unchanged, and the ceiling remains below the historical 213.6 MiB package associated with low-memory startup and doctor failures.
The exact candidate artifact was 218,962,508 bytes (208.82 MiB), versus 212,736,150 bytes for the last observed below-budget artifact. Direct artifact comparison attributed 6,225,959 of the 6,226,358-byte increase to
dist/; bundled plugin output decreased, and no duplicate extension tree, copied dependency tree, stale build output, or other accidental inclusion was found. A separate bundle-size audit can reduce that required runtime independently of this release gate.User Impact
Release validation accepts the current complete package while continuing to reject growth above 210 MiB. There is no runtime or package-content change.
Evidence
openclaw-2026.8.1.tgz, 218,962,508 unpacked bytes; accepted by the updated exact-value regression.node scripts/run-vitest.mjs test/release-check.test.ts— 60 passed.node scripts/check-changed.mjs -- scripts/lib/npm-pack-budget.mts test/release-check.test.ts— all checks before typecheck passed; typecheck was blocked by the shared checkout's stale dependency tree (unrelated markdown-it, Crabline, Google SDK, pi-tui, and pako errors)..agents/skills/autoreview/scripts/autoreview --mode local— clean, no accepted/actionable findings.Production/tooling LOC: +5/-4. Tests: +2/-2. No package bytes added or removed.