Skip to content

Home relabels every row after a cold start #1035

Closed

Description

@ivanfenenko

Problem

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

  1. added
    bug
    on Nov 14, 2026
  2. added a commit that references this issue on Nov 14, 2026
  3. added a commit that references this issue on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions