Avoid filesystem scans when seeding the agents overview (#43043)

## Why

Seeding recent history for the agents overview should not trigger a startup filesystem scan for unindexed rollouts.

## What changed

Set `use_state_db_only` to `true` on the overview's initial recent-thread list requests so they use only the state database.

## Testing

Extend the shared overview regression test with a newer, unindexed rollout and verify that the overview still contains the expected indexed history and loaded threads.

GitOrigin-RevId: b20861bef5b49fa2aa2a3b0953f069528b6f0c4f
This commit is contained in:
Eric Traut authored and copyberry committed 2026-09-05 15:54:44 +00:00
1 parent 2cfee7de25
commit 89208f09f8
2 files changed
+12 -1

No files matched your search

@@ -197,7 +197,7 @@ impl App {
parent_thread_id: None,
ancestor_thread_id: None,
cwd: None,
use_state_db_only: false,
use_state_db_only: true,
search_term: None,
},
})