Repository navigation
perf(ui): defer plugin-management copy from chat boot - #174939
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. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex review: needs maintainer review before merge. What this changesThis PR keeps three ClawHub labels eager while deferring the remaining plugin-management English catalog. Example: Open Chat with a ClawHub recommendation card.
Review scores
ProductKind: Performance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-directed optimization removes unnecessary chat boot copy without changing labels or interactions; no introduced correctness defect was found. Priority: P3 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe Control UI loads shared English during startup and registers larger catalogs at their consuming surfaces; host tooling composes the complete translation catalog and generates route boot groups. flowchart TD
A[Chat boot] --> B[ClawHub card]
B --> C[Shared English labels]
D[Plugin management surface] --> E[Lazy English catalog]
E --> C
C --> F[Host catalog composer]
E --> F
Technical reviewBest possible solution: Retain this focused catalog split and generated boot capture while resolving the existing required-check failures through the normal landing workflow. Do we have a high-confidence way to reproduce the issue? Current main directly imports and registers the full plugin-management catalog from the chat card, establishing the unnecessary eager dependency without executing target code. Is this the best way to solve the issue? The patch uses the existing shared-English owner, preserves lazy consumer registration and translation order, and removes the eager dependency without adding another loading mechanism. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against acd27635ccdc. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceSource 0, Tests +23, Other +1. Total +24 across 6 files. Added test files: 1. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 16, 2026, 9:53 PM ET / October 17, 2026, 01:53 UTC. |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
Problem and change
ClawHub transcript cards use three plugin labels but registered the full plugin-management English catalog at import time. Keep those labels in shared English, reuse them in the lazy catalog, and remove the card's eager catalog registration. The host-side catalog composer retains the exact original flattened key order. Refresh the generated boot capture so the cold catalog no longer joins chat boot.
No tags, CSS, visible text, foreign translation keys, or interaction timing change. No screenshots are needed because rendering is unchanged.
Measured proof
Same machine and toolchain, fixed build timestamp/identity. Base:
343fb38d08cd7d6159405247c0df93b219839f73. Route totals include startup once.Both production builds and strict checks pass with zero violations. The small increases buy three synchronous shared labels; no budget increases. An initial head build confirmed that removing only the import saved nothing while the stale generated capture still grouped the catalog into boot; the final measurement includes the canonical regenerated capture.
git diff --check: pass. The typecheck caught a missing explicit shared-label type; adding it is type-only and the next check passes.ci:full.The existing effect synchronizes catalog status through the Gateway, documented at its owner. The three production lines added provide the shared catalog shape and exact-order composition; no new abstraction or state. The generated capture removes two entries, including one deleted chat module.
CI attribution
Full run 38991642040 passes every UI unit/E2E, browser-extension, and real-Gateway job. The only failed root job is the mock-export ratchet for
src/cli/update-cli/update-command-service-maintenance-native.test-support.ts:52, mocking./update-command-database-context.js. The update-cli tree, checker, and mock-export baseline are identical in the tested merge and its actual main parent. Native admin admission uses the operator-authorized unrelated-failure route, not a green-CI claim. A combined run of the existing ClawHub tests and new loading test also passes (27 tests); no registry guard or production change was needed.