()
| 86 | } |
| 87 | |
| 88 | async fn create_test_run_records() -> Vec<RunRecord> { |
| 89 | let runs = crate::run::InMemoryRunStore::new(); |
| 90 | let run = runs.create_run("session/a", "persist run").await; |
| 91 | runs.record_event( |
| 92 | &run.id, |
| 93 | crate::agent::AgentEvent::Start { |
| 94 | prompt: "persist run".to_string(), |
| 95 | }, |
| 96 | ) |
| 97 | .await; |
| 98 | runs.records().await |
| 99 | } |
| 100 | |
| 101 | // ======================================================================== |
| 102 | // FileSessionStore Tests |
no test coverage detected