Repository navigation
fix(ci): keep locale assets within the installed package budget - #206492
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: passed. What this changesThis PR combines small optional translation dictionaries into bounded, content-hashed assets to reduce installed files. Example: Installing the candidate package through the public installer with Node 24.22.1 and npm 12.0.2.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR addresses a demonstrated installed-package budget failure with a focused change in the existing locale build owner; no actionable patch defects were found. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI Vite locale plugin converts canonical translation catalogs into browser modules; the package includes those assets, and the existing runtime catalog loader registers requested namespaces. flowchart LR
A[Canonical translation catalogs] --> B[Vite locale plugin]
B --> C[Separate boot and error assets]
B --> D[Bounded optional dictionary groups]
C --> E[Installed package]
D --> E
E --> F[Browser namespace loader]
Technical reviewBest possible solution: Keep bounded grouping in the existing locale emitter while preserving independent boot assets and namespace registration. Do we have a high-confidence way to reproduce the issue? Current-main source emits one asset per namespace, and the linked scheduled update failed at the package-update step; the precise over-budget count is reported in the PR rather than independently reproduced during this read-only review. Is this the best way to solve the issue? The change fixes excess files at their producer, adds no runtime cache or competing owner, and preserves the lazy-registration contract. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against bd459c651f12. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +46, Tests +59. Total +105 across 2 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. 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 November 27, 2026, 3:09 AM ET / 08:09 UTC. |
|
Merged via squash auto-merge.
|
* commit 'fd681ab8786e062045fa5ec6261b1b06f60832eb': (2115 commits) fix: keep doctor --fix pending checks from creating SQLite sidecars (#206485) fix(ci): update iOS screenshot reducer gate (#206497) fix: keep chat photo previews sharp within their byte limits (#206461) fix: let agents use short Workboard card IDs fix(tui): run provider sign-in in the local TUI (#200605) improve(config): reduce repeated directory checks for larger agent rosters (#206494) perf(test): reuse the Periphery producer workflow snapshot (#189681) fix(ci): keep locale assets within the installed package budget (#206492) fix: preserve failed Apple chat messages across partial history pages (#205404) improve: avoid merging unrelated settings for agent directory lookups (#206489) fix: show typing while a queued follow-up turn runs (#201920) fix: stop 2026-11-17 main Git checkouts from half-switching on a schema update (#206341) refactor(codex): centralize native completion delivery (#206447) fix(subagents): finish claimed stops after session rotation (#206405) fix: let owners fork a chat with exec after a subagent or exec completion (#206483) test(cli): gate agent --local cold-start processes and workers (#206466) perf(ci): skip baseline inventory when line-cap debt is empty (#189909) refactor(test): share core process-result fixtures (#174149) refactor(ci): reuse canonical budget flag parsing (#189480) fix: recover Codex chats after oversized requests (#206475) ...
* commit 'fd681ab8786e062045fa5ec6261b1b06f60832eb': (923 commits) fix: keep doctor --fix pending checks from creating SQLite sidecars (#206485) fix(ci): update iOS screenshot reducer gate (#206497) fix: keep chat photo previews sharp within their byte limits (#206461) fix: let agents use short Workboard card IDs fix(tui): run provider sign-in in the local TUI (#200605) improve(config): reduce repeated directory checks for larger agent rosters (#206494) perf(test): reuse the Periphery producer workflow snapshot (#189681) fix(ci): keep locale assets within the installed package budget (#206492) fix: preserve failed Apple chat messages across partial history pages (#205404) improve: avoid merging unrelated settings for agent directory lookups (#206489) fix: show typing while a queued follow-up turn runs (#201920) fix: stop 2026-11-17 main Git checkouts from half-switching on a schema update (#206341) refactor(codex): centralize native completion delivery (#206447) fix(subagents): finish claimed stops after session rotation (#206405) fix: let owners fork a chat with exec after a subagent or exec completion (#206483) test(cli): gate agent --local cold-start processes and workers (#206466) perf(ci): skip baseline inventory when line-cap debt is empty (#189909) refactor(test): share core process-result fixtures (#174149) refactor(ci): reuse canonical budget flag parsing (#189480) fix: recover Codex chats after oversized requests (#206475) ...
) (cherry picked from commit ac1d074)
) (cherry picked from commit ac1d074) Follow-up audit: b5023a7 trims test helpers and examples; no locale asset companion needed. Co-authored-by: RomneyDa <[email protected]>
What Problem This Solves
The scheduled published-driver update fails because the installed package contains 47,978 entries, above the 47,500 release budget. Small optional Control UI translation dictionaries each add a separate installed file. Failing main run.
User Impact
The candidate fits the installed-package budget that protects older updaters. Translations still register only when requested, and startup preloads retain their existing URLs. No configuration changes are required.
Why This Change Was Made
The existing locale build owner groups optional dictionaries of at most 3 KiB into content-hashed assets capped at 8 KiB. Boot dictionaries, error groups, and larger dictionaries remain separate. This trades a bounded amount of optional first-use transfer for fewer installed files, without adding a runtime cache or changing the package budget.
Evidence
Route-ready ranges were 118.8–157.2 ms and 113.2–164.6 ms. This is a regression check of the production renderer with a fixture, not a live-Gateway latency claim.
Local ClawSweeper reviewed the complete committed range
b56baaec9b8bd79288e04b9b1f6189df8edc55e0..5bb78277d919dd474f9a9dda9b7c9e998006d00eand found no actionable correctness or security defects. The change adds 46 net production lines and 59 net test lines within the existing build owner.