mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-24 13:57:02 +00:00
The rename retry landed, but its test kept the watcher reading in a tight loop, and on real Windows that lost 8 runs in 12: a reader holding the file open every instant is a race no bounded retry can win, because an open handle blocks a rename until it closes. That is not a reader either app has. The watcher now polls at 1ms, which still samples the file thousands of times and still catches a lost update, while leaving the writers room to rename. The locked path passes 15 of 15 on Windows, and the unlocked path still reports a rolled-back write. Also restores the lineage case the review asked for: a refresh where the account id and refresh token are unchanged and only the id_token subject moves, so the subject comparison is what discards the write. Both copies. |
||
|---|---|---|
| .. | ||
| dist | ||
| Scripts | ||
| src | ||
| src-tauri | ||
| .gitignore | ||
| DEVELOPMENT.md | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| tokens.json | ||
| tsconfig.json | ||
| vite.config.ts | ||