Repository navigation
fix(ios): page session rosters and restore approval guidance - #112004
Conversation
|
Codex review: found issues before merge. Reviewed August 26, 2026, 1:17 AM ET / 05:17 UTC. ClawSweeper reviewWhat this changesThe PR pages iOS session rosters, labels incomplete dashboard totals, and restores approval-guidance navigation. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readinessKeep open: the prior P2 remains on the current head. The shared loader now paginates Command Center’s explicitly 200-row recent-session requests, expanding them to up to 50 Gateway calls and 10,000 rows; likely related person: steipete (high confidence). Priority: P2 Review scores
Verification
Live VerificationCommand: Result: FAIL (failed) — execution before step 1 Assertions:
How this fits togetherThe iOS client loads session rows from the authenticated Gateway for both the sidebar and Command Center. Those rows drive session lists, dashboard counts, token summaries, and recovery navigation. flowchart LR
A[Authenticated Gateway] --> B[Session list request]
B --> C[Shared roster collector]
C --> D[Sidebar roster]
C --> E[Command Center recent sessions]
C --> F[Dashboard counts and tokens]
G[Approval guidance] --> H[Notifications recovery route]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceOther +290. Total +290 across 7 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Make full roster collection an explicit sidebar-owned mode, retain Command Center’s one-page 200-row behavior, and add caller-level regression coverage for both Command Center paths. Do we have a high-confidence way to reproduce the issue? Yes: source proves that a Gateway response with hasMore=true causes the two Command Center 200-row callers to continue paging through the shared collector. Is this the best way to solve the issue? No: full pagination is appropriate only where the sidebar needs a complete roster; applying it implicitly to Command Center’s recent-session paths defeats their declared bound. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against f4ebfd59a757. LabelsLabel 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 (15 earlier review cycles; latest 8 shown)
|
3a8a972 to
7ce07c6
Compare
b6bc90d to
c563b5f
Compare
c563b5f to
0836dd8
Compare
|
Land-ready exact head 0836dd8: iOS session rosters truncated large result sets and approval navigation could fail; unbounded advancing pagination could also loop forever. Use canonical bounded paginated session collection, preserve partial results and ownership, and repair iOS approval navigation without exhausting the UI. Large real session rosters load completely up to the shared 50-page and 10000-row safety contract, while approval navigation remains correct and endless pagination stops. 389 actual iOS Simulator tests pass; exact full hosted iOS build, real iPhone and iPad screenshots, screenshot evidence, native localization, artifact build and required CI gate all pass; independent fresh full-branch P1 review is clean. |
|
Merged via squash.
|
…w#112004) * fix(ios): page session rosters and restore approval guidance * test(ios): align lifecycle guard and native locale inventory * fix(ios): bound advancing session roster scans
Problem
iOS could not load large session rosters and approval-remediation navigation could dead-end. The old branch also risked mixing Gateways and discarding successfully fetched pages.
Repair
Bind every paginated request to the exact physical authenticated Gateway route, load all pages without an arbitrary cap, preserve partial results safely, expose incomplete counts honestly, and restore direct approvals navigation.
Verification
Real iPhone 17 / iOS 27 Simulator: three failures reproduced before repair; 90 Swift and SwiftUI behavior tests passed afterward. Independent review passed.