From e6f412f2d8118766a0006579271ff8eedadd08d4 Mon Sep 17 00:00:00 2001 From: Friel Date: Sat, 28 Mar 2026 11:48:18 -0700 Subject: [PATCH] test(core): annotate auto-unarchive literals --- codex-rs/app-server/tests/suite/v2/thread_resume.rs | 2 +- codex-rs/core/tests/suite/rollout_list_find.rs | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/codex-rs/app-server/tests/suite/v2/thread_resume.rs b/codex-rs/app-server/tests/suite/v2/thread_resume.rs index c49d005073..42bcfe56e9 100644 --- a/codex-rs/app-server/tests/suite/v2/thread_resume.rs +++ b/codex-rs/app-server/tests/suite/v2/thread_resume.rs @@ -238,7 +238,7 @@ async fn thread_resume_unarchives_archived_rollout() -> Result<()> { "Saved user message", Vec::new(), Some("mock_provider"), - None, + /*git_info*/ None, )?; let active_rollout_path = rollout_path(codex_home.path(), filename_ts, &conversation_id); let archived_rollout_path = codex_home.path().join("archived_sessions/2025/01/05").join( diff --git a/codex-rs/core/tests/suite/rollout_list_find.rs b/codex-rs/core/tests/suite/rollout_list_find.rs index 74dbc1fcf7..86b48589c8 100644 --- a/codex-rs/core/tests/suite/rollout_list_find.rs +++ b/codex-rs/core/tests/suite/rollout_list_find.rs @@ -274,7 +274,10 @@ async fn find_does_not_move_unrelated_file_for_stale_archived_db_path() { let runtime = StateRuntime::init(home.path().to_path_buf(), "test-provider".to_string()) .await .unwrap(); - runtime.mark_backfill_complete(None).await.unwrap(); + runtime + .mark_backfill_complete(/*last_watermark*/ None) + .await + .unwrap(); runtime .mark_archived( requested_thread_id,