jif
e16d098c00
Instrument exec-server shell snapshot capture ( #40620 )
...
## What changed
- Emit `codex.shell_snapshot` and `codex.shell_snapshot.duration_ms` for each
exec-server capture attempt, including success and failure tags.
- Label exec-server metrics as `v2` and existing core snapshot metrics as `v1`
so the two implementations can be distinguished.
- Use the exec server's metrics client when available and fall back to the
configured global client for local execution.
## Testing
- Extend the bounded-retry and single-flight snapshot test to verify metric
counts and tags for first-attempt success, retries, recovery, and exhaustion.
GitOrigin-RevId: 94f73e58a4a1a90c518fa102f138ca7ee29b5627
2026-08-25 14:34:25 +00:00
..
2026-08-25 10:29:26 +00:00
2026-08-24 22:40:35 +00:00
2026-08-25 03:38:24 +00:00
2026-08-25 13:10:24 +00:00
2026-08-20 07:37:52 +00:00
2026-08-25 14:04:32 +00:00
2026-08-17 22:26:27 +00:00
2026-08-21 06:41:28 +00:00
2026-08-25 05:16:45 +00:00
2026-08-25 14:04:32 +00:00
2026-08-23 06:10:44 +00:00
2026-08-25 13:59:52 +00:00
2026-08-25 13:10:24 +00:00
2026-08-24 19:52:27 +00:00
2026-08-25 13:10:24 +00:00
2026-07-28 23:49:37 +00:00
2026-08-25 05:16:45 +00:00
2026-08-25 05:16:45 +00:00
2026-08-25 05:16:45 +00:00
2026-08-25 05:16:45 +00:00
2026-08-20 19:19:41 +00:00
2026-08-10 10:50:49 +00:00
2026-08-24 18:22:13 +00:00
2026-08-24 21:39:48 +00:00
2026-08-23 10:06:57 +00:00
2026-08-25 14:04:32 +00:00
2026-08-23 20:08:40 +00:00
2026-07-23 19:32:26 +00:00
2026-08-05 18:19:22 +00:00
2026-08-20 19:19:41 +00:00
2026-08-21 03:31:56 +00:00
2026-08-21 03:31:56 +00:00
2026-08-23 21:29:11 +00:00
2026-08-23 21:29:11 +00:00
2026-08-23 21:29:11 +00:00
2026-08-20 19:19:41 +00:00
2026-08-23 21:29:11 +00:00
2026-07-30 16:44:18 +00:00
2026-08-23 20:08:40 +00:00
2026-08-17 22:26:27 +00:00
2026-08-17 22:26:27 +00:00
2026-08-25 05:16:45 +00:00
2026-08-04 00:51:53 +00:00
2026-08-20 17:36:22 +00:00
2026-08-10 01:44:30 +00:00
2026-08-10 17:02:19 +00:00
2026-08-20 05:07:17 +00:00
2026-08-20 07:03:02 +00:00
2026-08-25 05:16:45 +00:00
2026-08-14 00:18:29 +00:00
2026-08-25 05:16:45 +00:00
2026-08-20 17:16:52 +00:00
2026-08-21 21:17:42 +00:00
2026-08-25 10:29:26 +00:00
2026-08-23 22:23:40 +00:00
2026-08-23 22:23:40 +00:00
2026-08-22 00:42:19 +00:00
2026-08-25 05:16:45 +00:00
2026-08-19 01:26:16 +00:00
2026-08-25 05:16:45 +00:00
2026-08-25 05:16:45 +00:00
2026-08-06 13:37:07 +00:00
2026-08-06 13:37:07 +00:00
2026-08-19 01:26:16 +00:00
2026-08-20 17:46:05 +00:00
2026-08-17 19:06:53 +00:00
2026-08-15 16:58:08 +00:00
2026-08-17 04:01:37 +00:00
2026-08-17 04:01:37 +00:00
2026-08-18 18:41:40 +00:00
2026-08-24 03:34:15 +00:00
2026-08-21 19:11:05 +00:00
2026-07-23 19:32:26 +00:00
2026-08-14 16:23:17 +00:00
2026-08-03 09:46:38 +00:00
2026-07-23 19:19:35 +00:00
2026-08-17 21:49:30 +00:00
2026-08-20 23:26:59 +00:00
2026-08-17 21:49:30 +00:00
2026-08-20 23:26:59 +00:00
2026-08-23 20:08:40 +00:00
2026-08-24 10:56:54 +00:00
2026-08-15 16:58:08 +00:00
2026-08-19 12:56:08 +00:00
2026-08-25 14:34:25 +00:00
2026-08-20 06:03:25 +00:00
2026-08-20 06:03:25 +00:00
2026-08-11 21:09:29 +00:00
2026-08-13 11:11:26 +00:00
2026-08-20 19:46:29 +00:00
2026-08-20 19:46:29 +00:00
2026-08-04 15:23:43 +00:00
2026-08-25 05:16:45 +00:00
2026-08-24 23:23:18 +00:00
2026-08-11 19:30:12 +00:00
2026-08-11 19:30:12 +00:00
2026-07-22 02:19:45 +00:00
2026-07-22 02:19:45 +00:00
2026-08-23 04:59:28 +00:00
2026-08-25 05:16:45 +00:00
2026-08-20 19:19:41 +00:00
2026-07-25 16:06:54 +00:00
2026-07-20 13:45:29 +00:00
2026-07-20 13:45:29 +00:00
2026-07-21 21:06:04 +00:00
2026-07-21 21:06:04 +00:00
2026-08-20 06:29:32 +00:00