Skip to content

docs: missing test coverage audit and iOS Remote caching plan - #39

Closed
sambitcreate wants to merge 2 commits into
feature/bots-and-iosfrom
cursor/test-coverage-and-ios-cache-plan-da62
Closed

docs: missing test coverage audit and iOS Remote caching plan#39
sambitcreate wants to merge 2 commits into
feature/bots-and-iosfrom
cursor/test-coverage-and-ios-cache-plan-da62

Conversation

@sambitcreate

@sambitcreate sambitcreate commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Two research documents from a source inventory of tests, Remote HTTP, Electron IPC, and iOS load paths. No runtime code changes.

Documents

  1. docs/testing/missing-test-coverage-audit.md — missing cases, CI holes, unregistered files, handler/iOS/E2E gaps.
  2. docs/plans/ios-remote-caching-strategy-plan.md — catalog of Mac-exposed APIs (IPC vs Remote HTTP) and a phased iOS caching plan.

docs/plans/README.md indexes the caching plan as Planned.

Findings (short)

Tests. Hosted npm test skips several registered suites (test:preflight, provider scripts, test:concentrate, most of test:coverage). Three files have no npm owner. iOS XCTest is compile-only in CI. Do not “fix” renderer .test.tsx paths — they already match; scanners that match .ts first are wrong. Highest-value missing cases: chat-list payload size, IPC handler semantics (not just channel inventory), aiden-remote-attachments.ts, iOS SSE/Keychain/App Intents.

Caching. GET /chats hydrates every full transcript. iOS Workspace home does not use AidenChatCache and waits on a connecting overlay even when disk is warm. Bots home is already cache-first — copy that. Do not enable URLSession HTTP cache for bearer JSON. Do not add a composite /mobile-bootstrap unless Phase 0 traces show handshake RTT dominating payload size.

Implementation of the cache plan is not in this PR.

Research method

Three parallel explore agents covered tests, Remote APIs, and iOS cache/load. The requested Deepseek v4 flash 0731 model is not available here; research used the default Cursor agent model. Parent triage discarded a .tsx registration false positive.

Open in Web Open in Cursor 

cursoragent and others added 2 commits August 24, 2026 07:51
Add a coverage audit of registered vs unregistered suites, CI holes, and
untested handlers/iOS/E2E paths, plus a triaged plan to shrink Workspace
chat-list payloads and make iOS Workspace home cache-first like Bots.

Co-authored-by: Sambit Biswas <sambitcreate@users.noreply.github.com>
Record first-paint overlay and duplicate chat-open GETs, reject a mega
bootstrap unless traces demand it, and add IPC/E2E semantic gaps that
inventory-only contract tests do not cover.

Co-authored-by: Sambit Biswas <sambitcreate@users.noreply.github.com>
@sambitcreate

Copy link
Copy Markdown
Owner Author

Closing because this draft targets the superseded feature/bots-and-ios base after the consolidated mobile/Bots work moved to #41. The source branch is intentionally preserved because its research documents are not included in #41.

@sambitcreate
sambitcreate deleted the cursor/test-coverage-and-ios-cache-plan-da62 branch August 25, 2026 14:35
@sambitcreate
sambitcreate restored the cursor/test-coverage-and-ios-cache-plan-da62 branch August 25, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants