Skip mid-turn compaction error event on interruption

This commit is contained in:
Charles Cunningham
2026-02-17 22:50:48 -08:00
parent a9c6219d85
commit 868019da9b

View File

@@ -4538,6 +4538,9 @@ pub(crate) async fn run_turn(
)
.await
{
if matches!(err, CodexErr::Interrupted) {
return None;
}
let event = EventMsg::Error(
err.to_error_event(Some("Error running auto compact task".to_string())),
);