Commit 09da6ee
fix(session): reattach sweeps only holders that are actually gone
DialRemote's ErrHolderGone is the license to sweep; a holder that
answered the dial and then failed the handshake is alive, with a
plausibly running session behind it, and its directory is left for a
daemon that can speak to it. A missing or corrupt identity record no
longer costs a live session its reattach either — the hello carries
the spawn-time facts, so a zero record lets the holder's account
stand.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 0fa3005 commit 09da6ee
1 file changed
Lines changed: 16 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
42 | 50 | | |
43 | 51 | | |
44 | 52 | | |
| |||
0 commit comments