Repository navigation
fix(ci): keep transcript geometry tests within file budget - #148030
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review blockedAutomated review did not run, so no review verdict was produced. Reason: The input-safety check could not safely complete for this revision. ClawSweeper will not retry this unchanged revision. Next step: No contributor action is requested. Maintainers should inspect the linked workflow run. |
|
Codex review: needs maintainer review before merge. Reviewed September 14, 2026, 3:32 AM ET / 07:32 UTC (Revision 2). ClawSweeper reviewWhat this changesMoves transcript geometry tests into a separate isolated suite and shares their size helper to satisfy the existing test-file limit. Merge readiness✅ Ready for maintainer review This remains a useful, narrowly scoped CI repair: the test bodies are preserved, isolation is retained, and fetched main does not contain the split. No actionable patch defects were found. Priority: P3 Review scores
Verification
How this fits togetherControl UI transcript tests exercise chat rendering, resizing, and scroll preservation. The shared test registry routes suites requiring fresh DOM and module state into isolated Vitest runners. flowchart LR
A[Transcript regression tests] --> B[Controller suite]
A --> C[Geometry suite]
B --> D[Shared DOM helpers]
C --> D
B --> E[Isolation registry]
C --> E
E --> F[Isolated test runners]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +28. Total +28 across 4 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep the geometry coverage in a focused sibling suite under the existing isolation owner without relaxing file limits or changing runtime behavior. Do we have a high-confidence way to reproduce the issue? Not applicable to a product defect: this reorganizes existing tests; source inspection verifies the reduced file size and preserved definitions. Is this the best way to solve the issue? Yes. A sibling suite using the existing helpers and isolation registry is a narrow repair that preserves coverage and the lint threshold. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 43bf86e1ef4f. 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)
|
f1fcf28 to
7ae9838
Compare
7ae9838 to
846f0e2
Compare
|
Merged via squash.
|
Related: #147612
What Problem This Solves
Required CI fails because the transcript controller test grew past the 1,000-line test-file limit after the hidden-viewport geometry coverage landed.
User Impact
No user-visible behavior changes. The existing transcript tests fit the unchanged lint limit.
Why This Change Was Made
Move four geometry test definitions (five cases) into a sibling suite and share the existing transcript-size assertion helper. Both suites retain the same isolated runner, DOM setup and cleanup; all 24 test-definition bodies remain byte-for-byte unchanged.
This maintainer-requested prerequisite unblocks qualification of #143610. Production delta: zero. Test/support/routing delta: +237/-209 (net +28).
Evidence
2f769840eae57cbdb0768445d25ef42514cc3a53passed all 90 relevant cases in hosted isolated UI tests: controller 35, geometry 5, invalidation 18 and render 32. That run used merge7fc018b979631c11541d63bbd324a086331f76b9; its required lint failed the older sidebar helper, and it did not complete type/aggregate qualification.f1fcf286e179674e23711e259b19730cf94eaa15reapplies those exact four file changes on43bf86e1ef4f81a80a6eacfee25c7ea830b9597a, which contains the separately landed sidebar fix. Fresh candidate CI remains pending.