Repository navigation
fix(ci): record legitimate Control UI startup growth - #125156
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 17, 2026, 3:59 AM ET / 07:59 UTC. ClawSweeper reviewWhat this changesUpdates the Control UI startup-JavaScript gzip baseline and its reason to record the measured size of the merged session-placement controls. Merge readinessKeep open: this narrow maintainer-labeled CI repair is still needed because current main retains the prior 337,511 B baseline. The proposed 338,704 B record fits the existing bounded ratchet mechanism and leaves the 350 KiB ceiling unchanged. Priority: P3 Review scores
Verification
How this fits togetherThe Control UI build emits compressed startup assets that a CI script compares with a recorded baseline, a small variance allowance, and a fixed hard ceiling. The result determines whether the build-artifacts job accepts the bundle. flowchart LR
A[Control UI source] --> B[Production UI build]
B --> C[Compressed startup assets]
D[Recorded gzip baseline] --> E[Budget evaluation]
C --> E
E --> F[Build-artifacts CI result]
Before merge
Agent review detailsSecurityNone. PR surfaceOther 0. Total 0 across 1 file. View PR surface stats
Review metrics
Technical reviewBest possible solution: Land the measured baseline record after exact-head CI confirms the build-artifacts check, while retaining the checker’s fixed ceiling, tolerance, and ratchet safeguards. Do we have a high-confidence way to reproduce the issue? Yes, from the CI artifact measurement stated in the PR: the current 337,511 B record plus the checker’s 1,056 B tolerance yields a 338,567 B limit, below the reported 338,704 B artifact. This read-only review did not rerun a UI build. Is this the best way to solve the issue? Yes. The existing checker explicitly supports bounded CI-measured baseline records; this uses that path without weakening the fixed 350 KiB ceiling or tolerance. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against e446679131a7. 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
|
|
Merged via squash.
|
|
Operator approval: Peter explicitly approved the Control UI startup-budget baseline update from 337511 to 338704 with reason session placement move controls as the sanctioned CI unbreak. |
What Problem This Solves
Resolves the red
build-artifactsjob onmain, where the Control UI startup-JavaScript gzip ratchet rejected a legitimate 219-byte increase from the session-placement move controls landed in #125036.The last green push, CI run 32005436217 at
2a556234c, measured 338,485 B against an effective limit of 338,567 B, leaving 82 B of headroom. CI run 32005779745 at7fd6d0684measured 338,704 B: 219 B larger and 137 B over the ratchet.Why This Change Was Made
The crossing change was
f59e945013d/ #125036. It adds the session-placement move controls and English strings without changing package or lockfile inputs. The move dialog and catalog helpers remain dynamically imported in separate lazy chunks, so this is legitimate feature growth rather than a duplicate dependency or unintended heavy startup import.This updates only the CI-measured startup baseline from 337,511 B to 338,704 B. The fixed 350 KiB ceiling and 1,056 B platform/build variance tolerance remain unchanged.
This leaves 19,696 B of committed-baseline headroom under the 358,400 B hard cap. The maintainer explicitly approved recording the measured 338,704 B baseline; this records legitimate feature growth rather than silencing a regression.
Follow-up: #123709's pinned pre-C04 reader compatibility test cold-boots a historical checkout under TSX inside the unit shard. It took 54.7s in run 32005779745 and 76.3s in run 32006111932. Both
checks-node-compact-large-2jobs passed, but this valuable downgrade proof should move to or be prebuilt in a dedicated compatibility/package lane rather than raising the 120s timeout.User Impact
No runtime behavior changes. Main CI accepts the intentionally larger Control UI startup bundle while retaining the existing hard performance ceiling.
Evidence
node --import tsx scripts/check-control-ui-performance.mts --jsonreports no violations with the 338,704 B recorded baseline.pnpm ui:buildpnpm test test/scripts/control-ui-performance.test.ts— 13 tests passed.pnpm check:changed.agents/skills/autoreview/scripts/autoreview --mode uncommitted ...— clean, no accepted/actionable findings.AI-assisted; the code path, bundle ownership, and CI provenance were manually inspected.