Celia Chen
a44afa527c
Track credential storage outcomes and redact sensitive errors ( #49384 )
...
## Why
Successful file fallback can hide a secure-store failure. Storage diagnostics need to distinguish that fallback from explicit file storage while keeping credential values out of error output.
## What changed
- Record credential load, save, delete, and fallback-file cleanup outcomes, including secure-store failures and fallback reasons.
- Preserve the initiating client's attribution across app-server requests, login tasks, sessions, turns, and blocking token persistence.
- Preserve storage error context and typed causes while redacting credential JSON data errors and payload-bearing keyring errors.
- Include sanitized fallback completion warnings in the default `codex login` file logs.
## Testing
Add coverage for storage policy and metric attribution, credential redaction, login diagnostics, concurrent app-server clients, device-code login, and token refresh during a turn.
GitOrigin-RevId: 6d5651c1718d184016fa77befa02aa528750b2ae
2026-09-29 22:24:09 +00:00
..
2026-09-22 10:42:50 +00:00
2026-09-29 14:46:33 +00:00
2026-09-23 00:49:19 +00:00
2026-09-23 00:47:07 +00:00
2026-09-29 22:24:09 +00:00
2026-09-21 13:27:39 +00:00
2026-09-25 19:05:15 +00:00
2026-09-08 19:56:25 +00:00
2026-08-24 21:39:48 +00:00
2026-09-24 00:50:02 +00:00
2026-09-23 00:47:07 +00:00
2026-09-24 18:38:00 +00:00
2026-09-29 22:24:09 +00:00
2026-07-09 00:17:38 +00:00
2026-09-09 03:17:48 +00:00
2026-09-05 13:02:49 +00:00
2026-09-17 19:34:45 +00:00
2026-07-08 00:15:49 +00:00
2026-08-21 20:15:23 +00:00
2026-09-25 19:05:15 +00:00
2026-09-10 21:41:39 +00:00
2026-09-03 02:09:10 +00:00
2026-09-04 18:30:26 +00:00
2026-09-11 12:37:04 +00:00
2026-09-04 18:30:26 +00:00
2026-09-14 22:31:32 +00:00
2026-09-16 21:50:07 +00:00
2026-09-10 13:02:57 +00:00
2026-09-16 03:30:44 +00:00
2026-09-29 22:24:09 +00:00
2026-08-27 08:44:54 +00:00
2026-08-13 21:53:52 +00:00
2026-09-14 20:57:48 +00:00
2026-09-16 00:54:58 +00:00
2026-08-27 00:02:26 +00:00
2026-09-14 23:25:09 +00:00
2026-07-15 05:21:13 +00:00
2026-08-24 06:43:07 +00:00
2026-09-23 20:05:37 +00:00
2026-06-27 19:34:10 +00:00
2026-09-29 14:46:33 +00:00
2026-09-17 01:28:24 +00:00
2026-09-22 22:20:00 +00:00
2026-08-17 12:26:59 +00:00
2026-09-03 06:02:25 +00:00
2026-07-31 16:17:44 +00:00
2026-09-24 17:04:50 +00:00
2026-07-08 00:15:49 +00:00
2026-09-22 06:36:09 +00:00
2026-09-11 21:32:04 +00:00
2026-09-10 16:01:02 +00:00
2026-09-16 10:11:26 +00:00
2026-09-08 20:37:30 +00:00
2026-09-27 22:05:19 +00:00
2026-09-27 20:15:23 +00:00
2026-09-08 20:37:30 +00:00
2026-09-24 18:07:37 +00:00
2026-09-23 18:54:02 +00:00
2026-09-05 12:08:18 +00:00
2026-07-15 20:59:21 +00:00
2026-09-23 07:15:30 +00:00
2026-09-22 06:36:09 +00:00
2026-09-02 21:01:04 +00:00
2026-07-23 15:32:36 +00:00
2026-08-25 19:38:39 +00:00
2026-09-01 22:37:26 +00:00
2026-08-20 17:49:35 +00:00
2026-09-09 22:22:08 +00:00
2026-09-22 10:42:50 +00:00
2026-09-23 00:49:19 +00:00
2026-09-12 00:12:26 +00:00
2026-09-29 14:46:33 +00:00
2026-09-22 06:36:09 +00:00
2026-09-08 12:58:11 +00:00
2026-09-08 14:23:23 +00:00
2026-08-26 18:42:44 +00:00
2026-09-29 22:24:09 +00:00
2026-08-18 06:22:04 +00:00
2026-09-21 01:19:40 +00:00
2026-09-29 02:33:55 +00:00
2026-08-14 01:23:59 +00:00
2026-09-23 00:49:19 +00:00
2026-09-24 20:28:31 +00:00
2026-09-23 00:47:34 +00:00
2026-07-22 16:30:12 +00:00
2026-09-11 00:03:40 +00:00
2026-07-22 16:30:12 +00:00
2026-09-29 14:46:33 +00:00
2026-09-25 08:25:37 +00:00
2026-09-28 23:32:45 +00:00
2026-09-19 00:55:08 +00:00
2026-09-17 23:47:06 +00:00
2026-09-17 04:23:45 +00:00
2026-09-25 08:25:37 +00:00
2026-08-12 13:33:01 +00:00
2026-09-23 18:25:07 +00:00
2026-09-04 21:17:25 +00:00
2026-09-14 22:31:32 +00:00
2026-09-23 00:47:07 +00:00
2026-09-25 00:20:02 +00:00
2026-09-22 22:20:00 +00:00
2026-09-21 02:02:41 +00:00
2026-09-24 12:26:05 +00:00
2026-09-23 00:47:07 +00:00
2026-09-23 04:25:28 +00:00
2026-09-23 00:49:19 +00:00
2026-09-25 06:20:41 +00:00
2026-08-20 07:03:02 +00:00
2026-09-14 23:25:09 +00:00
2026-09-08 20:37:30 +00:00
2026-09-12 00:12:26 +00:00
2026-09-16 20:39:18 +00:00
2026-08-25 18:14:32 +00:00
2026-09-24 20:28:31 +00:00
2026-09-29 15:10:17 +00:00
2026-08-20 08:10:08 +00:00
2026-09-09 00:25:02 +00:00
2026-09-10 13:02:57 +00:00
2026-09-14 20:57:48 +00:00
2026-09-16 01:16:35 +00:00
2026-09-28 00:58:56 +00:00
2026-09-10 15:52:09 +00:00
2026-09-22 11:10:53 +00:00
2026-09-02 23:41:14 +00:00
2026-09-08 20:37:30 +00:00
2026-09-15 02:33:27 +00:00
2026-09-09 22:27:37 +00:00
2026-09-09 17:55:00 +00:00
2026-09-25 20:11:47 +00:00
2026-07-22 16:30:12 +00:00
2026-07-23 19:19:35 +00:00
2026-09-04 21:17:25 +00:00
2026-05-12 18:40:53 -07:00
2026-09-01 22:56:18 +00:00
2026-09-25 17:57:32 +00:00
2026-09-27 22:05:19 +00:00
2026-09-25 17:57:32 +00:00
2026-08-10 23:32:42 +00:00
2026-09-16 16:46:34 +00:00
2026-08-28 18:07:40 +00:00
2026-09-29 18:50:36 +00:00
2026-09-22 06:36:09 +00:00
2026-09-21 21:22:01 +00:00
2026-09-23 00:49:19 +00:00
2026-09-02 18:18:54 +00:00
2026-09-23 00:49:19 +00:00
2026-09-17 21:25:34 +00:00
2026-09-09 17:56:33 +00:00
2026-09-23 10:18:21 +00:00
2026-09-27 03:26:57 +00:00
2026-08-20 17:46:05 +00:00
2026-09-21 07:01:52 +00:00
2026-09-08 21:48:53 +00:00
2026-09-08 20:37:30 +00:00
2026-07-23 00:02:15 +00:00
2026-09-24 19:29:53 +00:00
2026-09-23 00:47:07 +00:00