Repository navigation
Commit 58ce61e
fix(workspace): a purged snapshot is not "recently synced"
`deactivate` removed the tree but left the stamps that say this project synced
a moment ago. Where the purge is followed by a successful sync that is
harmless — the stamps are rewritten. Where it is not, which is exactly the
account switch this change introduces, the next run skipped for a whole poll
interval with nothing on disk.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>1 parent 1a1ffb0 commit 58ce61e
2 files changed
Lines changed: 20 additions & 0 deletions
File tree
- packages/opencode
- src/altimate/workspace
- test/altimate/workspace
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
863 | 863 | | |
864 | 864 | | |
865 | 865 | | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
866 | 873 | | |
867 | 874 | | |
868 | 875 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1872 | 1872 | | |
1873 | 1873 | | |
1874 | 1874 | | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
1875 | 1888 | | |
1876 | 1889 | | |
1877 | 1890 | | |
| |||
0 commit comments