codeburn/app/electron
iamtoruk 9640cdd9c7 fix(app): remember a pending restart across a desktop app restart
The reboot-pending flag lived in memory with a comment claiming the
restart it waits for also clears it. Quitting the desktop app and
opening it again cleared it too, and that is not the restart being
waited for, so the next launch started the old tray binary under the new
version's name, which is the confusion the flag exists to prevent.

It is saved as a timestamp now and read back by comparing it against
when Windows last booted, so only a real restart clears it. The test
that asserted the old behaviour crossed the boundary by restarting the
app; it now moves the boot time, and a second test covers restarting the
app without restarting Windows.
2026-09-03 04:52:31 -07:00
..
quota chore(app): tidy a comment in the Codex quota reader 2026-09-02 22:11:49 -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(app): remember a pending restart across a desktop app restart 2026-09-03 04:52:31 -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(app): the tray companion works with only the desktop app installed 2026-09-02 22:10:37 -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(app): typed IPC patches, the staged-msi flag, and honest consent copy 2026-09-03 03:06:13 -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