core-agent-ide/codex-rs/app-server/tests/suite
Michael Bolin 5907422d65
feat: annotate conversations with model_provider for filtering (#5658)
Because conversations that use the Responses API can have encrypted
reasoning messages, trying to resume a conversation with a different
provider could lead to confusing "failed to decrypt" errors. (This is
reproducible by starting a conversation using ChatGPT login and resuming
it as a conversation that uses OpenAI models via Azure.)

This changes `ListConversationsParams` to take a `model_providers:
Option<Vec<String>>` and adds `model_provider` on each
`ConversationSummary` it returns so these cases can be disambiguated.

Note this ended up making changes to
`codex-rs/core/src/rollout/tests.rs` because it had a number of cases
where it expected `Some` for the value of `next_cursor`, but the list of
rollouts was complete, so according to this docstring:


bcd64c7e72/codex-rs/app-server-protocol/src/protocol.rs (L334-L337)

If there are no more items to return, then `next_cursor` should be
`None`. This PR updates that logic.






---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/openai/codex/pull/5658).
* #5803
* #5793
* __->__ #5658
2025-10-27 02:03:30 -07:00
..
archive_conversation.rs fix: remove mcp-types from app server protocol (#4537) 2025-10-01 02:16:26 +00:00
auth.rs Add forced_chatgpt_workspace_id and forced_login_method configuration options (#5303) 2025-10-20 08:50:54 -07:00
codex_message_processor_flow.rs [codex][app-server] introduce codex/event/raw_item events (#5578) 2025-10-24 22:41:52 +00:00
config.rs Add forced_chatgpt_workspace_id and forced_login_method configuration options (#5303) 2025-10-20 08:50:54 -07:00
create_conversation.rs [codex][app-server] introduce codex/event/raw_item events (#5578) 2025-10-24 22:41:52 +00:00
fuzzy_file_search.rs feat: add file name to fuzzy search response (#4619) 2025-10-02 18:19:13 -07:00
interrupt.rs [codex][app-server] introduce codex/event/raw_item events (#5578) 2025-10-24 22:41:52 +00:00
list_resume.rs feat: annotate conversations with model_provider for filtering (#5658) 2025-10-27 02:03:30 -07:00
login.rs Fixed flaky unit test (#5654) 2025-10-24 16:31:24 -07:00
mod.rs [app-server] model/list API (#5382) 2025-10-21 11:15:17 -07:00
model_list.rs [app-server] model/list API (#5382) 2025-10-21 11:15:17 -07:00
rate_limits.rs [app-server] read rate limits API (#5302) 2025-10-20 14:11:54 -07:00
send_message.rs [codex][app-server] introduce codex/event/raw_item events (#5578) 2025-10-24 22:41:52 +00:00
set_default_model.rs fix: remove mcp-types from app server protocol (#4537) 2025-10-01 02:16:26 +00:00
user_agent.rs fix: remove mcp-types from app server protocol (#4537) 2025-10-01 02:16:26 +00:00
user_info.rs [app-server] read rate limits API (#5302) 2025-10-20 14:11:54 -07:00