Repository navigation
fix(ci): deduplicate Control UI skeleton styles - #133787
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: found issues before merge. Reviewed August 31, 2026, 12:48 AM ET / 04:48 UTC. ClawSweeper reviewWhat this changesThe branch shares identical skeleton palette variables between attachment checking and model-picker loading, and shortens attachment-loading CSS to restore the existing Control UI CSS-size budget. Merge readinessKeep this maintainer PR open for the existing P2 proof follow-up. The CSS deduplication targets a real current-main build-budget path, but the supplied after-fix clips document terminal build output rather than the attachment-checking and model-loading UI states whose geometry is also rewritten. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI chat stylesheet controls loading placeholders for attachment availability checks and the model picker. It is bundled into the browser CSS sidecar, whose compressed size is checked during the UI build. flowchart LR
A[Chat loading state] --> B[Attachment skeleton]
A --> C[Model picker skeleton]
B --> D[Shared skeleton palette]
C --> D
D --> E[Control UI stylesheet]
E --> F[CSS size gate]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource -3. Total -3 across 1 file. View PR surface stats
Review metrics
Mantis proof suggestionA redacted Control UI chat capture of the two loading states would directly settle the remaining visual-equivalence question. A maintainer can ask Mantis to capture proof by posting this exact PR comment: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the shared palette rule and attach a sanitized built-Control-UI screenshot or short video showing both the checking attachment card and loading model trigger before merge. Do we have a high-confidence way to reproduce the issue? Yes. Is this the best way to solve the issue? Yes, conditionally. Sharing the identical palette is the narrowest repair, but rendered Control UI evidence is still needed before accepting the accompanying geometry rewrites as equivalent. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 072aabb19a1c. 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)
|
EvidenceBase control-ui-css-budget-red.mp4Exact head control-ui-css-budget-green-75e1013d.mp4Proof manifest, contract, checksums, and summary The videos are cropped to the Terminal content area and contain no local path or credential. The focused UI run passed 3 files and 256 tests. The exact E2E file that rejected the first head now passes all 16 cases. |
899cf26 to
3c5bd80
Compare
3c5bd80 to
75e1013
Compare
|
Merged via squash.
|
Summary
Root cause
PR #133628 moved attachment loading styles into the boot stylesheet. Its parent passes the existing limit, while that exact merge and current
mainproduce a 54,809-byte largest CSS sidecar against the 54,784-byte limit. The boot sheet then held two copies of the same skeleton palette.The patch declares that palette once and expresses the same loading geometry with fewer declarations. The 53.5 KiB limit remains unchanged.
Verification
pnpm ui:buildpasses; the largest CSS sidecar is 54,781 bytespnpm check:changedpassesNegative control: unmodified canonical
mainat8249fd61a9183a14063278741093645f8f3b238ffails the same build at 54,809 bytes. Later base movement through10f5ef53cdc1619d9a8271c66c71ad6e83892934does not touch UI styles, the performance checker, or dependencies.