Repository navigation
refactor(ios): stop loading retired Overview data - #208795
Conversation
|
🦞👀 ClawSweeper review completeClawSweeper finished reviewing this revision. |
|
Codex review: passed. What this changesThis PR removes retired Overview cost loading and unused token summaries while preserving sidebar cron attention. Example: A connected iPhone refreshes its sidebar with the Briefing automation in an error state.
Review scores
ProductKind: Refactor · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR removes a verified unused request still present on main, with no actionable regression found in the introduced diff. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherRootTabs periodically refreshes RootSidebarModel, which reads Gateway sessions, personal pins and cron jobs and publishes sidebar rows, search entries and attention indicators; Usage opens its own dashboard route. flowchart TD
A[RootTabs refresh] --> B[RootSidebarModel]
B --> C[Gateway sessions and pins]
B --> D[Gateway cron list]
C --> E[Sidebar and Sessions]
D --> F[Automation attention and search]
G[Usage destination] --> H[Usage dashboard]
Technical reviewBest possible solution: Keep cron attention in the existing sidebar loader and remove the retired Overview request, models, state and exclusive tests. Do we have a high-confidence way to reproduce the issue? Current-main source directly establishes an unused monthly cost request on connected full refreshes; this review ran no target code. Is this the best way to solve the issue? The deletion addresses the obsolete producer directly, reuses the existing cron owner and preserves the separate Usage route without new machinery. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 194acc48e463. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -93, Tests +1. Total -92 across 5 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. Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. 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 readiness starts with the lower of the proof and patch scores. It is capped at 3/6 if the fix is partial, the change offers little benefit, a product decision is still open, or the PR reverses an earlier decision without saying why. ✨ 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 29, 2026, 11:43 PM ET / November 30, 2026, 04:43 UTC. |
|
Merged via squash.
|
* commit 'b21f557c8fa038ebc1842e204e356eb063aea4c6': (46 commits) test(ui): keep real exports in the channel settings distribution mock (#208855) test(normalization): preserve inline code in quoted previews (#208857) fix(ci): restore adaptive priors across large repository trees (#208838) test(agents): cover typography preservation in patch updates (#208851) fix(ci): wait for selected agent during model setup proof (#208847) fix: keep Telegram topic messages out of Home’s chat history (#208778) fix(worktrees): name the session to restore and say agents can't (#208828) fix: tell an idle parent when a child result couldn't reach its chat (#208772) fix: keep the provider search focused when accounts load (#208780) fix(clawrouter): respect permitted speeds on model fallback (#208830) fix(ui): show provider rejection details without Markdown escapes (#208829) fix: make the cloud worker deletion test reliable across reconnects (#208812) fix(update): preserve preparation lock ownership (#207139) chore(release): update appcast for 2026.11.12 (#208820) fix(android): Talk does nothing when mic access is permanently denied (#206609) test(config): preserve media model primaries across repeated edits (#208837) fix(browser): use the mock keychain for new headed macOS profiles (#208814) fix: start source workers without synchronous filesystem reads in the caller (#208789) refactor(ios): stop loading retired Overview data (#208795) perf(knowledge): stop repeating write-input schemas in batch and correct tools (#208617) ...
Closes #208786
Related: #206666
What Problem This Solves
The iOS sidebar still loads monthly cost data for the removed Overview screen. No current UI reads that response, but its request, stored state, decoding types and tests remain. The removed screen also left a token-summary helper with no production caller.
User Impact
The sidebar stops requesting unused cost data. Sessions, personal pins, cron attention and the Usage destination keep their existing behavior. No migration or user action is required.
Why This Change Was Made
The existing cron loader now owns the sidebar's remaining attention read directly. This removes the retired cost models and state, token summary, combined dashboard snapshot and generic request wrapper. Cron pagination, request parameters, timeout, connection checks and retained results after a failed read are preserved.
The five-file change removes 93 production lines net; tests grow by one line net. No shared/public API, permissions, credentials, dependencies or persistence behavior changes.
Evidence
37618950d1ddc3ced66bdec9991fd064e2024027, based on0ab74d7d5a2c1f5e818f32a2cf233a121f6d2d31: iOS app build and 82 tests across RootSidebarRosterLoadingTests, RootSidebarModelSessionEventsTests, RootTabsPresentationTests and CronJobsListLiteTests, plus the two affected SidebarStartupPinsTests, passed, zero failed/skipped. The 80 Swift Testing cases took 0.677 seconds; the two upstream reconnect tests took 0.095 seconds on Xcode 27.2 / iOS 26.5.usage.costrequest. With the two production files restored from the baseline, the same suite failed only at the unwanted cost-request assertion; restoring the candidate passed.git diff --checkpassed.archivedfield, which active-roster requests omit. The fixture now accepts the optional field and retains the existing positive archived-request assertion.The boundary proof uses a mocked WebSocket. No authenticated live Gateway or latency benchmark was run, and no visual change is claimed. The merged reconnect changes from #208682 are incorporated unchanged; their two affected tests pass. #207462 owns the separate native Usage report.