Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(threads): handle missing run in todo list\n\nWhen a todo item references a run that no longer exists, the todo list now gracefully skips that entry instead of panicking. This prevents crashes in cases where runs have been deleted or are otherwise unavailable.\n\nAuto-committed-on: dragonfly\n

Steven Enamakel3736c10db433
diff --git a/src/openhuman/threads/todos/runs.rs b/src/openhuman/threads/todos/runs.rs
index ab504d12be..a1a9bdbbea 100644
--- a/src/openhuman/threads/todos/runs.rs
+++ b/src/openhuman/threads/todos/runs.rs
@@ -206,7 +206,7 @@ pub async fn migrate_legacy_task_runs(
Ok(true) => report.copied += 1,
Ok(false) => report.skipped += 1,
Err(error) => {
- tracing::debug!(path = %path.display(), %error, "skip legacy run ledger: store write failed");
+ tracing::warn!(path = %path.display(), %error, "skip legacy run ledger: store write failed");
report.skipped += 1;
}
}