Repository navigation
refactor: remove UI and native test residue - #124152
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 15, 2026, 7:03 AM ET / 11:03 UTC. ClawSweeper reviewWhat this changesThe PR removes redundant UI and native smoke tests and deletes an unused question-panel clock option from the chat composer path. Merge readiness✅ Ready for maintainer review No blocking findings. This maintainer-owned cleanup preserves stronger owner-boundary coverage; likely related person: steipete (high confidence from current-area history). Priority: P3 Review scores
Verification
How this fits togetherControl UI turns gateway prompts into chat controls and supports dashboard pin actions, while the native apps host their own settings and overlay views. The patch narrows test coverage to the browser flows, registries, and native regressions that own those behaviors. flowchart LR
Gateway[Gateway question prompt] --> Composer[Chat composer]
Composer --> Panel[Question panel]
Canvas[Canvas pin action] --> Dashboard[Dashboard browser flow]
Registry[Settings target registry] --> Settings[Settings pages]
Native[Native overlay and settings] --> NativeTests[Focused native regressions]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource -2, Tests -100, Other -29. Total -131 across 9 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep the browser, registry, and native lifecycle tests that own observable contracts while removing construction-only checks and the unused production option. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR removes test residue rather than repairing a reported runtime failure. Is this the best way to solve the issue? Yes. The retained dashboard browser flow and settings-target registry preserve the deleted behavior assertions, and the removed option has no production read. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 8d5a54deaa15. 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)
|
|
Land-ready proof for
Production delta: -2. Tests: +3/-132, net -129. Total: +3/-134, net -131. No behavior, docs, config, schema, protocol, dependency, or changelog change. |
|
Merged via squash.
|
What Problem This Solves
Removes a final cluster of UI and native tests that duplicated stronger owner-boundary coverage, asserted copied inventories, or only exercised view construction without checking a protected behavior. The stale question-panel clock option also remained in production solely because tests still supplied it.
Why This Change Was Made
The cleanup keeps the real contracts at their owners: Canvas pin failure remains covered through the session-dashboard browser flow, settings routing remains exhaustively covered by the settings-target registry, and the retained native suites continue to exercise the meaningful overlay replacement and settings-hosting regressions. The unused
nowMsoption is deleted instead of preserving a test-only production seam.User Impact
No user-visible behavior changes. The suite is smaller and less coupled to implementation details, while the higher-value browser, routing, build, and native owner coverage remains intact.
Evidence
pnpm ui:buildpassed, including finalized sidecar and performance checks.pnpm ios:buildpassed for the generic iOS Simulator after installing the repository-pinned, checksum-verified XcodeGen into a temporary tool directory.node scripts/check-changed.mjs -- <changed paths>passed. No Crabbox/Testbox provider was ready, so the documented trusted-source local fallback ran UI typecheck/lint/i18n, app lint, macOS CI tests, formatting, dead-export checks, and the native schema guard.git diff --checkpassed.Production delta: -2 lines. Tests: +3/-132, net -129. Total: +3/-134, net -131. No behavior, docs, config, schema, protocol, dependency, or changelog change.
AI-assisted: yes.