codex: drop empty db-page fallback

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Charles Cunningham
2026-03-25 10:48:19 -07:00
co-authored by Codex
parent 1c890935ee
commit 12839cef8a
-6
View File
@@ -287,12 +287,6 @@ impl RolloutRecorder {
)
.await
{
if search_term.is_none() && db_page.items.is_empty() && !fs_page.items.is_empty() {
tracing::warn!(
"state db discrepancy during list_threads_with_db_fallback: empty_db_page"
);
return Ok(truncate_fs_page(fs_page, page_size, sort_key));
}
return Ok(db_page.into());
}
// If SQLite listing still fails, return the filesystem page rather than failing the list.