Repository navigation
fix(app): load sessions beyond the first 200 records - #4783
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Warden review summary — ClearNative findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (103777 ms), confidentiality-review (47965 ms), spec-provenance-review (161583 ms), desktop-den-sync-review (85159 ms). Blockers
Advisories
Needs recheck
Observed review-thread metrics
Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority. |
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (88e7ec9359c6cef0311a96e3e6c8fa17dfc07df2). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
|
Passed · 6/6 tests · 7/7 assertions · 5 images Commit |
Passed — session inventory regression evidenceVerified commit: Local lane (Daytona credentials unavailable). Command: Source spec and executable assertions. Source records are under 1. Passed — v1 explicit expanding limitsSource run: Assertions: all 0, 199, 200, 201, 400, 401, and 1201 synthetic sessions were returned exactly. Requests doubled explicit limits from 200 until exhaustion, retained the owning credential, and sent no cursor. 2. Passed — v1 older active roots and workspace isolationSource run: Assertions: 251 active roots behind 230 archives and 230 children were recovered, including an older root with archived=0. Preview showed six roots; expansion returned all 251 without another request. Pinning retained the older root. Concurrent remote loading returned only its 401 sessions; directories and credentials stayed isolated. Each workspace used limits 200, 400, 800. 3. Passed — v1 atomic errors and bounded retrySource run: Assertions: later-page 401, 403, 404, 503 and socket failures rejected instead of returning partial history. Status/code remained intact. Only 503 retried, restarting at limit=200; one retry recovered all 201 sessions in four total requests. No request changed remote identity. 4. Passed — v2 older active roots and filtered-empty pagesSource run: Assertions: recovered the same 251 active roots behind archives/children; preview, expansion and pinning retained their semantics. Each workspace traversed seven limit=200 requests, continuing through pages emptied by workspace filtering. No remote sessions or credentials crossed workspace boundaries. 5. Passed — v2 atomic errors and bounded retrySource run: Assertions: later-page HTTP and socket failures never produced partial success. Authorization/not-found failures were not retried. One 503 retry restarted without a cursor and recovered all 201 sessions in five total requests, preserving remote mount and credential. 6. Passed — v1 stale prefix replacementSource run: Assertions: after a synthetic deletion and title change between requests, the expanded read exactly matched the replacement snapshot. Removed records and stale titles were not retained. Exactly two authenticated requests occurred. 7. Passed — v2 boundary exhaustion and tied timestampsSource run: Assertions: all IDs were returned in order for 0, 199, 200, 201, 400, and 401 sessions with the same timestamp. Exactly ceil(count/200)+1 requests followed the cursor through the terminal empty page; a short page was not mistaken for exhaustion. 8. Passed — v2 overlap, cycles and malformed responsesSource run: Assertions: overlapping pages returned each ID once and preserved an opaque cursor with URL-sensitive characters. A two-cursor cycle rejected after three requests. Non-array data and numeric next-cursor payloads each rejected after one request instead of silently truncating history. Additional verification
Workflow jobs excluded by path/schedule classification are not claimed as executed tests. |
Root cause
Workspace session loading requested one prefix of 200 records. Archived records and sub-agent children consumed that budget before sidebar filtering; Show more only expanded the already-loaded subset. Older active conversations were therefore undiscoverable in large workspaces.
Fix
Verification
On PR head 88e7ec9, local lane (Daytona credentials unavailable):
Testkit assertion evidence will be attached to this PR. This proof exercises real SDK/adapter HTTP transports and sidebar row derivation, not an Electron UI run. No private session data or screenshots are included.