codeburn/app/electron/quota
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
..
antigravity.test.ts fix(quota): Antigravity looks for its language server the Windows way 2026-09-02 07:00:22 -07:00
antigravity.ts fix(quota): Antigravity looks for its language server the Windows way 2026-09-02 07:00:22 -07:00
claude.test.ts fix(app): quota connects via macOS keychain + Connect affordance 2026-07-16 06:20:44 -07:00
claude.ts fix(app): quota connects via macOS keychain + Connect affordance 2026-07-16 06:20:44 -07:00
codex-refresh.test.ts fix(windows): make the cross-process lock test poll, not spin, so it passes on Windows 2026-09-03 11:28:01 -07:00
codex.test.ts fix(app): persist a rotated Codex refresh token in the desktop quota reader 2026-09-02 22:10:37 -07:00
codex.ts fix(windows): close three holes in the cross-process preference lock 2026-09-03 10:28:05 -07:00
copilot.test.ts fix(quota): skip zero-entitlement and unlimited Copilot windows instead of showing 100% used 2026-08-31 03:26:19 -07:00
copilot.ts fix(quota): skip zero-entitlement and unlimited Copilot windows instead of showing 100% used 2026-08-31 03:26:19 -07:00
gemini.test.ts feat: live quota for Gemini, Copilot, and Antigravity in the desktop app 2026-08-23 03:13:47 -07:00
gemini.ts feat(menubar): add native Capacity Dock (#1167) 2026-08-29 00:37:30 -07:00
index.test.ts feat(app): Kimi Code live quota on the Plans page (#1136) 2026-08-24 12:28:32 -07:00
index.ts feat(app): Kimi Code live quota on the Plans page (#1136) 2026-08-24 12:28:32 -07:00
kimi.test.ts feat(app): Kimi Code live quota on the Plans page (#1136) 2026-08-24 12:28:32 -07:00
kimi.ts feat(menubar): add native Capacity Dock (#1167) 2026-08-29 00:37:30 -07:00
security.test.ts feat: live quota for Gemini, Copilot, and Antigravity in the desktop app 2026-08-23 03:13:47 -07:00
security.ts fix(app): persist a rotated Codex refresh token in the desktop quota reader 2026-09-02 22:10:37 -07:00
types.ts feat(app): Kimi Code live quota on the Plans page (#1136) 2026-08-24 12:28:32 -07:00