You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a cold app launch (for example after iOS ends the process in the background), Home looks like it hard-refreshes even when nothing changed on the server. It paints the cached session list, then within ~3 s every row changes.
Reproduced with the scenario harness on a v2 server, for one repository with several git worktrees:
The cached paint builds rows without the repository's worktree list and branches (they are not cached), and before the project grouping is seeded.
When the live inventory and branch lookups land, every row's subtitle changes 2–3 times: no worktree label → folder name (acme-invoices-pdf-export) → branch (pdf-export). The project chip changes from the folder path to "All 4 worktrees".
A new process also starts each directory's session window at one page (50). A cache that held a larger window (after load more) shrinks on the first refresh and grows back on the next load more.
Home and the app root show the full-screen "Loading sessions" status stack from the first frame, even when the cached paint lands a moment later.
Expected
A cold start with a Session Cache paints Home the way the live load will show it, then only real server changes (new sessions, status changes) update the list.
Acceptance criteria
The Session Cache remembers each added path's worktree list and branches; the cold paint seeds them, with project resolutions, before building rows (both apps).
The first live session window asks for as many rows as the cache painted (whole pages, capped) (both apps).
The full-screen Home / app-root loader appears only after a short grace (both apps).
Unit tests on both platforms; recorded before/after evidence against the scenario harness.
Activity
#1035 Keep Home's cached paint stable on a cold start (#1036)
#1039 Show tool-result images: cache thumbnails, full image on tap (#…