Repository navigation
fix(ci): restore cold checkout and Control UI startup validation - #150455
Conversation
|
🦞👀 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. |
Remove the fixed dependency bag and monitor forwarding in favor of the existing delivery owners. Preserve the contextual reply-error callback, runtime.channel.line injection, delivery ordering and recovery behavior. Move delivery fixtures to scoped module spies without dropping assertions. Validation: prior 147-case original-diagnostic, fixture-port and cutover epochs, a full build and a native runtime-barrel import. The later test-only toReversed correction passed focused lint and the complete changed gate. Proof is local and synthetic, not real LINE service delivery.
|
Codex review: blocked before merge. Reviewed September 16, 2026, 10:37 PM ET / September 17, 2026, 02:37 UTC (Revision 2). ClawSweeper reviewWhat this changesDefers Usage-page English text, repairs cold-checkout fixture inputs, and adds manifest-driven provisioning coverage to CI. Merge readiness⛔ Blocked before merge - 1 item remains The PR retains useful Usage startup and CI coverage changes that fetched main does not contain. The related PR overlaps only part of this work, and no blocking defect was found. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI loads English labels alongside its pages. Separately, CI selects tests for changed source files, including files copied into isolated PR tooling worktrees. flowchart TD
A[English catalogs] --> B[Small startup catalog]
A --> C[Lazy Usage page]
C --> D[Usage labels]
E[Changed source files] --> F[CI test selection]
G[Wrapper file inventory] --> F
F --> H[Provisioning and import checks]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +197, Tests +678, Docs +36, Other +25. Total +936 across 59 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Technical reviewBest possible solution: Keep page-only copy behind the existing lazy catalog boundary and derive provisioning coverage from the single canonical wrapper inventory. Do we have a high-confidence way to reproduce the issue? Yes: the original cold fixture omits a statically imported helper, and the supplied main-CI failure plus production-build measurements identify the startup-budget failure. Neither was executed during this read-only review. Is this the best way to solve the issue? Yes: the patch uses existing lazy catalog registration and CI policy watches, preserves shared labels and ordinary test ownership, and leaves thresholds unchanged. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c7436e77ca81. LabelsLabel 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)
|
* fix(plugins): exclude scaffold tests from published packages * fix(plugins): preserve feature compilation and verify scaffold packages
) Preserve literal Space keyboard input from the Control UI Browser panel through the shared browser action normalizer. Refs #150298. Reviewed-by: @shakkernerd
* improve: reduce audit event persistence overhead * refactor: isolate prepared audit event queries
Co-authored-by: Jason (Json) <[email protected]>
* fix(update): retain configuration and plugin failure details * test(update): share diagnostic progress fixtures
Restore the required plugin discovery and configuration validation modules in fresh PR wrapper snapshots so review initialization completes. Fixes #150449.
|
Merged via squash.
|
…nclaw#150455) Keep Control UI startup within its existing asset budget by loading Usage-only English with the page. Preserve all labels, shared search copy, translation order, and UI behavior. Protect native PR provisioning through the canonical wrapper inventory: select the real provisioning test when copied source changes and verify its complete eager import closure. Include the newly imported bundled-source helper in the cold-worktree fixture. These changes preserve the reviewed work from openclaw#150465 and the original Usage and cold-fixture commits. Validation: exact-head CI 35174399666 passed; 135 integrated tests passed with one existing platform skip; all selected type, lint, i18n, and boundary checks passed; independent P0-P2 review was clean. The integrated startup bundle is 361,237 bytes gzip against the unchanged 362,588-byte limit. The English catalog is byte-identical, and inspected before/after screenshots render in the PR.
Related: #150465
What Problem This Solves
Main CI fails when the Control UI startup bundle exceeds its existing size limit or the cold-worktree fixture omits a newly imported source helper. Copied PR-wrapper dependencies also need CI coverage when their source changes.
User Impact
Control UI startup downloads less JavaScript while Usage labels and interactions stay unchanged. Cold-worktree tests exercise the complete real script dependency chain, and future PR-wrapper source changes select provisioning proof automatically. No configuration, dependency versions, thresholds, allowances, or snapshots change.
Why This Change Was Made
Move 135 Usage-only English strings into the existing lazy catalog mechanism, preserving shared labels and complete translation composition. Add the missing bundled-source helper to the cold fixture. Derive the provisioning test watch from the existing wrapper inventory and verify that every extracted component includes its eager runtime imports. The inventory's three missing entries are already repaired on main; this change protects that repair without replacing normal source-owned tests.
Evidence
Prior failures: main startup budget and cold-worktree fixture.
The integrated production UI build measures 361,237 bytes startup gzip, leaving 1,351 bytes below the unchanged 362,588-byte limit, with seven startup requests. The original same-source comparison reduced startup gzip by 1,494 bytes. The complete 621,923-byte English catalog and key order remain identical, and the Usage fragment stays in the deferred page bundle.
The UI files are byte-identical to the reviewed source that passed 251 focused Usage/i18n tests and all 10 bundled Usage analysis E2E scenarios. The integrated CI-planning, cold-worktree, and native provisioning suites pass: 135 tests passed, with one existing Linux-only case skipped on macOS. The APFS cold/warm and sparse-transition case passed in 81.3 seconds. The full selected formatting, type, i18n, lint, dead-export, and boundary checks pass. Fresh combined P0–P2 review is clean.
Before/after screenshots show the same synthetic Usage scenario; both PNGs and the owning UI source are unchanged.
Before:
After: