(&self, workflow_id: &str)
| 569 | } |
| 570 | |
| 571 | async fn delete_workflow_checkpoint(&self, workflow_id: &str) -> Result<()> { |
| 572 | let path = self.workflow_checkpoint_path(workflow_id); |
| 573 | if path.exists() { |
| 574 | fs::remove_file(&path).await.with_context(|| { |
| 575 | format!( |
| 576 | "Failed to delete workflow checkpoint for {}: {}", |
| 577 | workflow_id, |
| 578 | path.display() |
| 579 | ) |
| 580 | })?; |
| 581 | } |
| 582 | Ok(()) |
| 583 | } |
| 584 | |
| 585 | async fn health_check(&self) -> Result<()> { |
| 586 | // Verify directory exists and is writable |