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-06-01 21:49:38 +00:00
2026-05-26 16:38:46 -07:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-02 17:04:11 +02:00
2026-05-28 14:54:39 -07:00
2026-05-26 20:59:47 -07:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-04 09:39:20 -07:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-02 13:18:59 -07:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-02 22:27:52 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-03 12:39:13 -07:00
2026-06-03 12:39:13 -07:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:25:42 -07:00
2026-06-01 21:49:38 +00:00
2026-06-02 17:01:02 -07:00
2026-06-02 13:18:59 -07:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 23:33:42 +00:00
2026-06-01 21:49:38 +00:00
2026-06-04 11:24:12 -07:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-05-12 18:40:53 -07:00
2026-06-02 13:18:59 -07:00
2026-06-02 13:18:59 -07:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 23:33:42 +00:00
2026-06-02 13:18:59 -07:00
2026-06-01 21:49:38 +00:00
2026-06-02 13:18:59 -07:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-02 12:46:14 -07:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00