Skip to content

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

fix(threads): handle empty todo list in run execution

Steven Enamakela9fc1ba13cc2
diff --git a/src/openhuman/threads/todos/runs.rs b/src/openhuman/threads/todos/runs.rs
index eafdae2315..ab504d12be 100644
--- a/src/openhuman/threads/todos/runs.rs
+++ b/src/openhuman/threads/todos/runs.rs
@@ -185,13 +185,13 @@ pub async fn migrate_legacy_task_runs(
Ok(body) => match serde_json::from_str(&body) {
Ok(runs) => runs,
Err(error) => {
- tracing::debug!(path = %path.display(), %error, "skip invalid legacy run ledger");
+ tracing::warn!(path = %path.display(), %error, "skip invalid legacy run ledger");
report.skipped += 1;
continue;
}
},
Err(error) => {
- tracing::debug!(path = %path.display(), %error, "skip unreadable legacy run ledger");
+ tracing::warn!(path = %path.display(), %error, "skip unreadable legacy run ledger");
report.skipped += 1;
continue;
}