fix: codex delegate cancellation (#7092)

This commit is contained in:
jif-oai
2025-11-24 17:59:09 +01:00
committed by GitHub
parent 99bcb90353
commit 920239f272
2 changed files with 170 additions and 45 deletions

View File

@@ -2436,6 +2436,9 @@ use crate::features::Features;
#[cfg(test)]
pub(crate) use tests::make_session_and_context;
#[cfg(test)]
pub(crate) use tests::make_session_and_context_with_rx;
#[cfg(test)]
mod tests {
use super::*;
@@ -2712,7 +2715,7 @@ mod tests {
// Like make_session_and_context, but returns Arc<Session> and the event receiver
// so tests can assert on emitted events.
fn make_session_and_context_with_rx() -> (
pub(crate) fn make_session_and_context_with_rx() -> (
Arc<Session>,
Arc<TurnContext>,
async_channel::Receiver<Event>,