# Address review round 2 on the offline library · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/dba69679763dc89381e438956fbe4b79dbc8c30f)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: dba69679763dc89381e438956fbe4b79dbc8c30f

Requested commit: dba69679763dc89381e438956fbe4b79dbc8c30f

Commit: dba69679763dc89381e438956fbe4b79dbc8c30f

Tree: 8799809cbcee2178f15bca4b36a4d1145734bfb5

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Address review round 2 on the offline library

- A setup still running when Supabase turns out unreachable is judged by
  where the session is when it ends, not where it began: offline stays
  offline and keeps retrying. While Supabase can't refresh the token, a
  timeout on a connected server is the outage, not a refusal.
- Deleting an account's copy is newer than every answer that arrived
  before it, so a library list disposed after Supabase signs the account
  out, another account signs in, or a sign-out here can't write the
  record back. Answers after a new sign-in land.
- The library copy runs its writes one at a time in the order they were
  asked for, so an older folder tree finishing late can't prune a newer
  folder's list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [cd8046259eb4b1f5161fec5cd306cfa23ebf7ed1](https://git.cafe/dara/icarus/commit/cd8046259eb4b1f5161fec5cd306cfa23ebf7ed1?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/dba69679763dc89381e438956fbe4b79dbc8c30f?format=markdown)
