Move thread name edits to ThreadStore (#21264)

- Route live thread renames through `ThreadStore` metadata updates.
- Read resumed thread names from store metadata with legacy local
fallback preserved in the store.
This commit is contained in:
Tom authored and GitHub committed 2026-05-07 11:12:22 -07:00
1 parent 0dc1885a5c
commit 56823ec46b
4 files changed
+37 -51

No files matched your search

+1 -1
View File
@@ -717,7 +717,7 @@ impl Session {
tx
};
let thread_name =
thread_title_from_state_db(state_db_ctx.as_ref(), &config.codex_home, thread_id)
thread_title_from_thread_store(live_thread_init.as_ref(), &thread_store, thread_id)
.instrument(info_span!(
"session_init.thread_name_lookup",
otel.name = "session_init.thread_name_lookup",