Align compaction tests with incoming-item and empty-history behavior

This commit is contained in:
Charles Cunningham
2026-02-12 15:07:54 -08:00
parent 8b2f5066a5
commit 15730c2fcb
10 changed files with 176 additions and 672 deletions

View File

@@ -203,11 +203,6 @@ async fn thread_compact_start_triggers_compaction_and_returns_empty_response() -
skip_if_no_network!(Ok(()));
let server = responses::start_mock_server().await;
let sse = responses::sse(vec![
responses::ev_assistant_message("m1", "MANUAL_COMPACT_SUMMARY"),
responses::ev_completed_with_tokens("r1", 200),
]);
responses::mount_sse_sequence(&server, vec![sse]).await;
let codex_home = TempDir::new()?;
write_mock_responses_config_toml(