didericis-claude
9b6788ebad
fix(login): atomic credential write and respect server poll_interval
...
Write credentials via a 0600 temp file + os.replace() so the token file
never appears at its final path with world-readable permissions, even if
the process is interrupted between write and chmod.
Parse poll_interval from the authorization response (clamped to 1–60 s,
falling back to _POLL_SLEEP) so aggressive polling can't trigger console
rate limits.
Tests: add atomicity spy asserting the temp file is 0600 before replace;
patch time.sleep instead of _POLL_SLEEP; add explicit interval-passthrough
assertion.
2026-07-21 13:24:34 -04:00
..
2026-07-14 17:07:56 -04:00
2026-07-14 17:12:12 -04:00
2026-07-08 12:38:15 -04:00
2026-07-17 00:36:43 -04:00
2026-07-11 13:24:47 -04:00
2026-07-14 02:38:20 -04:00
2026-07-20 19:58:14 +00:00
2026-07-19 02:18:07 +00:00
2026-07-11 13:24:47 -04:00
2026-07-21 04:54:40 +00:00
2026-07-14 02:38:20 -04:00
2026-07-14 02:38:20 -04:00
2026-07-11 16:56:17 -04:00
2026-07-20 19:13:08 +00:00
2026-07-14 02:38:20 -04:00
2026-07-18 15:27:29 -04:00
2026-07-21 13:24:34 -04:00
2026-07-20 19:13:08 +00:00
2026-07-20 19:13:08 +00:00
2026-07-20 19:13:08 +00:00
2026-07-14 02:38:20 -04:00
2026-06-25 16:13:19 -04:00
2026-06-07 11:35:35 -04:00
2026-07-14 16:46:46 -04:00
2026-07-14 17:07:56 -04:00
2026-07-21 04:54:40 +00:00
2026-07-01 19:50:38 +00:00
2026-07-16 17:42:36 -04:00
2026-06-25 04:12:43 -04:00
2026-06-30 15:08:14 -04:00
2026-07-19 02:18:07 +00:00
2026-06-03 23:04:17 -04:00
2026-06-26 23:22:18 -04:00
2026-06-25 03:08:47 -04:00
2026-07-14 02:38:20 -04:00
2026-07-14 02:38:20 -04:00
2026-07-16 14:36:54 -04:00
2026-07-16 14:36:54 -04:00
2026-06-30 15:08:14 -04:00
2026-07-19 01:31:06 -04:00
2026-07-18 05:14:27 -04:00
2026-07-14 17:07:56 -04:00
2026-07-18 03:01:41 +00:00
2026-07-18 03:01:41 +00:00
2026-07-14 17:12:12 -04:00
2026-06-25 22:04:27 -04:00
2026-07-17 22:34:28 -04:00
2026-07-21 03:27:16 +00:00
2026-07-14 17:07:56 -04:00
2026-07-19 01:21:23 -04:00
2026-07-14 17:02:08 -04:00
2026-07-19 01:21:23 -04:00
2026-07-19 01:21:23 -04:00
2026-07-21 04:54:40 +00:00
2026-07-18 22:09:05 -04:00
2026-07-14 02:38:20 -04:00
2026-07-17 21:49:30 -04:00
2026-07-09 17:35:28 +00:00
2026-07-14 02:38:20 -04:00
2026-07-16 23:07:12 -04:00
2026-07-18 16:51:31 -04:00
2026-07-17 22:34:28 -04:00
2026-07-17 22:34:28 -04:00
2026-07-21 04:54:40 +00:00
2026-06-24 15:37:57 -04:00
2026-07-21 04:54:40 +00:00
2026-07-08 12:38:15 -04:00
2026-07-21 03:39:18 +00:00
2026-07-20 23:08:59 -04:00
2026-06-23 03:02:03 +00:00
2026-07-21 03:49:19 +00:00
2026-07-20 23:08:59 -04:00
2026-07-21 04:54:40 +00:00
2026-06-22 23:54:02 -04:00
2026-06-25 16:13:19 -04:00
2026-06-24 22:51:27 -04:00
2026-06-25 05:10:03 -04:00
2026-06-22 23:54:02 -04:00
2026-06-22 23:54:02 -04:00
2026-06-26 21:19:27 -04:00
2026-06-22 23:54:02 -04:00
2026-06-22 23:54:02 -04:00
2026-07-09 00:19:24 -04:00
2026-07-14 02:38:20 -04:00
2026-07-21 03:27:16 +00:00
2026-07-21 00:40:59 -04:00
2026-07-21 03:27:16 +00:00
2026-07-14 02:38:20 -04:00
2026-07-17 22:34:28 -04:00
2026-07-21 04:54:40 +00:00
2026-07-14 17:07:56 -04:00
2026-07-21 03:27:16 +00:00
2026-07-21 03:27:16 +00:00
2026-07-11 13:24:47 -04:00
2026-07-14 02:38:20 -04:00
2026-06-01 22:24:17 -04:00
2026-07-14 17:07:56 -04:00
2026-07-21 16:55:06 +00:00
2026-07-16 22:44:47 -04:00
2026-07-16 22:05:21 -04:00
2026-07-14 02:38:20 -04:00
2026-07-18 17:06:04 -04:00
2026-07-14 02:38:20 -04:00
2026-07-18 14:18:39 -04:00
2026-07-09 17:21:57 +00:00