(run_id: &str)
| 735 | } |
| 736 | |
| 737 | fn sample_checkpoint(run_id: &str) -> crate::loop_checkpoint::LoopCheckpoint { |
| 738 | crate::loop_checkpoint::LoopCheckpoint { |
| 739 | schema_version: crate::loop_checkpoint::LOOP_CHECKPOINT_SCHEMA_VERSION, |
| 740 | run_id: run_id.to_string(), |
| 741 | session_id: "s-1".to_string(), |
| 742 | turn: 2, |
| 743 | messages: vec![Message::user("hi")], |
| 744 | total_usage: TokenUsage::default(), |
| 745 | tool_calls_count: 1, |
| 746 | verification_reports: Vec::new(), |
| 747 | checkpoint_ms: 1_700_000_000_000, |
| 748 | } |
| 749 | } |
| 750 | |
| 751 | #[tokio::test] |
| 752 | async fn test_memory_store_delete_loop_checkpoint() { |
no outgoing calls
no test coverage detected