codeburn/app/electron
iamtoruk 5f09d9735f fix(windows): make the cross-process lock test poll, not spin, so it passes on Windows
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.
2026-09-03 11:28:01 -07:00
..
quota fix(windows): make the cross-process lock test poll, not spin, so it passes on Windows 2026-09-03 11:28:01 -07:00
cli-win32-reap.test.ts fix: bound the serve drain, reap orphans on Windows, and de-flake the grace test 2026-08-22 10:36:58 -07:00
cli-win32-tree-kill.test.ts fix(app): actually kill the CLI process tree on Windows 2026-09-02 22:10:37 -07:00
cli.test.ts test(app): give the orphan-reaping tests room too 2026-09-02 06:27:46 -07:00
cli.ts fix(app): actually kill the CLI process tree on Windows 2026-09-02 22:10:37 -07:00
main.test.ts fix(app): the tray companion works with only the desktop app installed 2026-09-02 22:10:37 -07:00
main.ts fix(app): typed IPC patches, the staged-msi flag, and honest consent copy 2026-09-03 03:06:13 -07:00
menubar.test.ts fix(app): remember a pending restart across a desktop app restart 2026-09-03 04:52:31 -07:00
menubar.ts fix(windows): close three holes in the cross-process preference lock 2026-09-03 10:28:05 -07:00
preload.ts feat(app): read and write the tray app's own settings 2026-09-02 06:28:05 -07:00
telemetry.test.ts feat(app): send the CLI's telemetry snapshot and a few interaction events 2026-09-03 01:18:23 -07:00
telemetry.ts feat(app): send the CLI's telemetry snapshot and a few interaction events 2026-09-03 01:18:23 -07:00
tray-settings-atomic.test.ts fix(windows): wait out a reader when replacing a preference file 2026-09-03 11:10:33 -07:00
tray-settings-lock.test.ts fix(windows): close three holes in the cross-process preference lock 2026-09-03 10:28:05 -07:00
tray-settings.test.ts fix(app): typed IPC patches, the staged-msi flag, and honest consent copy 2026-09-03 03:06:13 -07:00
tray-settings.ts fix(windows): wait out a reader when replacing a preference file 2026-09-03 11:10:33 -07:00
updates.test.ts feat(app): update-available notifications 2026-07-17 04:58:13 -07:00
updates.ts feat(app): update-available notifications 2026-07-17 04:58:13 -07:00