codex: satisfy realtime startup context clippy (#13593)

This commit is contained in:
Ahmed Ibrahim
2026-03-06 20:34:20 -08:00
parent 484668e073
commit a9406ce8e8
@@ -64,10 +64,10 @@ async fn wait_for_session_updated_allowing_clean_close(
) {
tokio::time::timeout(Duration::from_secs(3), async {
loop {
let event = codex
.next_event()
.await
.expect("realtime conversation event should arrive");
let event = match codex.next_event().await {
Ok(event) => event,
Err(err) => panic!("realtime conversation event should arrive: {err:?}"),
};
match event.msg {
EventMsg::RealtimeConversationRealtime(RealtimeConversationRealtimeEvent {
payload: RealtimeEvent::SessionUpdated { session_id, .. },