From eb53da6c3ab0787f22707fcdc7f26ffd7316055e Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Mon, 16 Nov 2026 02:24:44 +0000 Subject: [PATCH] Fix thread listing migration numbering and test setup (#61730) ## Why The thread listing index migration shares version `0063` with the session model IDs migration, and the sidebar query-plan test omits the required `included_thread_ids` field. ## What changed - Renumber the thread listing index migration to `0064`. - Set `included_thread_ids` to `None` in the sidebar query-plan test. GitOrigin-RevId: 2c4c4ed52dd412fbf379ddbd2ed77324fba3b1ca --- ...hread_listing_indexes.sql => 0064_thread_listing_indexes.sql} | 0 codex-rs/state/src/runtime/threads.rs | 1 + 2 files changed, 1 insertion(+) rename codex-rs/state/migrations/{0063_thread_listing_indexes.sql => 0064_thread_listing_indexes.sql} (100%) diff --git a/codex-rs/state/migrations/0063_thread_listing_indexes.sql b/codex-rs/state/migrations/0064_thread_listing_indexes.sql similarity index 100% rename from codex-rs/state/migrations/0063_thread_listing_indexes.sql rename to codex-rs/state/migrations/0064_thread_listing_indexes.sql diff --git a/codex-rs/state/src/runtime/threads.rs b/codex-rs/state/src/runtime/threads.rs index 7bbcb712c3..e7c1159ab7 100644 --- a/codex-rs/state/src/runtime/threads.rs +++ b/codex-rs/state/src/runtime/threads.rs @@ -2869,6 +2869,7 @@ mod tests { push_list_threads_query( &mut builder, ThreadFilterOptions { + included_thread_ids: None, archived_only: false, allowed_sources: &allowed_sources, model_providers: Some(&model_providers),