kbazzi and GitHub
9e41f8ddbe
[codex-analytics] emit forked thread id on initialization ( #26248 )
...
## Why
- Thread initialization analytics do not identify the source thread for
forked threads.
- The session viewer needs this lineage to construct thread trees.
- Depends on openai/openai#987854 . Do not release this change before
that backend schema change is deployed.
## What Changed
- Adds optional `forked_from_thread_id` to `codex_thread_initialized`.
- Populates it from the existing thread fork lineage for app-server and
in-process subagent initialization paths.
- Keeps it null for non-forked threads.
## Verification
- `just fmt`
- `just test -p codex-analytics`
- `just test -p codex-app-server
thread_fork_tracks_thread_initialized_analytics`
2026-06-04 11:24:12 -07:00
..
2026-05-18 10:32:33 -07:00
2026-05-19 17:54:41 -07:00
2026-05-26 20:59:47 -07:00
2026-05-07 15:44:17 -07:00
2026-04-28 12:35:00 -07:00
2026-06-04 11:24:12 -07:00
2026-05-07 15:44:17 -07:00
2026-06-04 11:24:12 -07:00
2026-06-02 13:18:59 -07:00
2026-05-25 09:41:12 -07:00
2026-06-04 01:25:11 +05:30
2026-05-28 14:54:39 -07:00
2026-06-02 17:01:02 -07:00
2026-06-01 18:45:07 +00:00
2026-06-03 19:08:19 -07:00
2026-05-07 15:44:17 -07:00
2026-05-08 04:07:59 +00:00
2026-06-04 01:25:11 +05:30
2026-05-05 22:22:01 -07:00
2026-06-01 11:04:21 -07:00
2026-06-04 12:20:32 -05:00
2026-06-02 16:41:48 -07:00
2026-05-07 15:44:17 -07:00
2026-05-07 15:44:17 -07:00
2026-05-07 15:44:17 -07:00
2026-06-04 09:39:20 -07:00
2026-06-02 12:10:14 +02:00
2026-06-01 21:25:42 -07:00
2026-05-26 20:59:47 -07:00
2026-05-07 15:44:17 -07:00
2026-06-02 17:04:11 +02:00
2026-05-07 15:44:17 -07:00
2026-06-02 16:26:36 -07:00
2026-05-28 22:08:05 -07:00
2026-06-03 13:32:55 +02:00
2026-06-04 11:24:12 -07:00
2026-05-19 10:19:46 +00:00
2026-06-04 11:21:40 -04:00
2026-06-04 15:28:06 +02:00
2026-06-02 16:22:32 -07:00
2026-06-02 13:18:59 -07:00
2026-06-01 11:53:31 -07:00
2026-05-07 15:44:17 -07:00
2026-05-07 15:44:17 -07:00
2026-06-04 09:39:20 -07:00
2026-06-04 14:16:03 -04:00
2026-06-04 13:13:05 -04:00
2026-06-01 13:01:36 -07:00
2026-05-26 15:59:25 -07:00
2026-05-07 15:44:17 -07:00
2026-06-01 11:53:31 -07:00
2026-05-28 23:09:55 -07:00
2026-05-18 10:53:49 -07:00
2026-06-02 13:18:59 -07:00
2026-06-03 19:08:19 -07:00
2026-05-07 15:44:17 -07:00
2026-05-28 15:26:55 -07:00
2026-05-07 15:44:17 -07:00
2026-05-28 05:40:17 -07:00
2026-06-01 04:33:20 +00:00
2026-06-01 21:25:42 -07:00
2026-06-04 09:53:08 -04:00
2026-05-30 11:54:58 -07:00
2026-05-28 10:29:06 -07:00
2026-06-02 12:10:14 +02:00
2026-06-01 23:23:59 +00:00
2026-06-04 09:53:08 -04:00
2026-05-28 14:07:25 +02:00
2026-05-21 16:11:59 -07:00
2026-05-25 17:26:10 -03:00
2026-06-03 13:32:55 +02:00
2026-06-03 19:49:58 +00:00
2026-05-07 15:44:17 -07:00
2026-04-22 22:24:12 -07:00
2026-05-07 15:44:17 -07:00
2026-06-04 09:53:08 -04:00
2026-06-02 13:05:20 +02:00
2026-06-01 19:57:11 +02:00
2026-06-03 10:41:41 -07:00
2026-05-26 20:59:47 -07:00
2026-05-07 15:44:17 -07:00
2026-05-29 03:00:35 +00:00
2026-05-07 15:44:17 -07:00
2026-05-28 15:11:11 +00:00
2026-06-04 10:12:08 -05:00
2026-05-07 15:44:17 -07:00
2026-05-13 21:23:19 +00:00
2026-05-07 15:44:17 -07:00
2026-05-29 21:35:53 -07:00
2026-06-02 13:05:20 +02:00
2026-06-02 12:00:04 -07:00
2026-06-03 20:30:15 -03:00
2026-05-07 15:44:17 -07:00
2026-05-27 12:59:11 -07:00
2026-05-18 21:33:05 -07:00
2026-05-06 18:10:30 +00:00
2026-06-03 15:33:34 -07:00
2026-04-24 17:49:29 -07:00
2026-06-04 09:39:20 -07:00
2026-06-04 09:53:08 -04:00
2026-05-13 03:08:01 +00:00
2026-06-04 09:16:03 -07:00
2026-05-26 20:59:47 -07:00