core-agent-ide/codex-rs/mcp-server/tests
Michael Bolin a62510e0ae
fix: verify notifications are sent with the conversationId set (#2278)
This updates `CodexMessageProcessor` so that each notification it sends
for a `EventMsg` from a `CodexConversation` such that:

- The `params` always has an appropriate `conversationId` field.
- The `method` is now includes the name of the `EventMsg` type rather
than using `codex/event` as the `method` type for all notifications. (We
currently prefix the method name with `codex/event/`, but I think that
should go away once we formalize the notification schema in
`wire_format.rs`.)

As part of this, we update `test_codex_jsonrpc_conversation_flow()` to
verify that the `task_finished` notification has made it through the
system instead of sleeping for 5s and "hoping" the server finished
processing the task. Note we have seen some flakiness in some of our
other, similar integration tests, and I expect adding a similar check
would help in those cases, as well.
2025-08-13 17:54:12 -07:00
..
common fix: verify notifications are sent with the conversationId set (#2278) 2025-08-13 17:54:12 -07:00
codex_message_processor_flow.rs fix: verify notifications are sent with the conversationId set (#2278) 2025-08-13 17:54:12 -07:00
codex_tool.rs Fix flaky test_shell_command_approval_triggers_elicitation test (#1802) 2025-08-03 10:19:12 -04:00
create_conversation.rs MCP: add conversation.create tool [Stack 2/2] (#1783) 2025-08-01 22:18:36 +00:00
interrupt.rs chore: refactor exec.rs: create separate seatbelt.rs and spawn.rs files (#1762) 2025-07-31 13:11:47 -07:00
send_message.rs [env] Remove git config for now (#1884) 2025-08-06 08:05:17 -07:00