feat: wait for backfill to be ready (#10790)

This commit is contained in:
jif-oai
2026-02-05 20:45:16 +00:00
committed by GitHub
parent 529b539564
commit 428a9f6035
3 changed files with 43 additions and 19 deletions

View File

@@ -59,6 +59,7 @@ async fn upsert_thread_metadata(codex_home: &Path, thread_id: ThreadId, rollout_
let runtime = StateRuntime::init(codex_home.to_path_buf(), "test-provider".to_string(), None)
.await
.unwrap();
runtime.mark_backfill_complete(None).await.unwrap();
let mut builder = ThreadMetadataBuilder::new(
thread_id,
rollout_path,