pub trait TaskGraphRepository {
// Required methods
fn insert_task_graph_run(&self, run: &NewTaskGraphRun) -> Result<()>;
fn update_task_graph_run_status(
&self,
graph_run_id: &str,
status: &str,
) -> Result<()>;
fn insert_task_graph_snapshot(
&self,
snapshot: &NewTaskGraphSnapshot,
) -> Result<()>;
fn load_task_graph_debug_bundles(
&self,
task_id: &str,
) -> Result<Vec<TaskGraphDebugBundle>>;
}Expand description
Task graph planning records.
Required Methods§
Sourcefn insert_task_graph_run(&self, run: &NewTaskGraphRun) -> Result<()>
fn insert_task_graph_run(&self, run: &NewTaskGraphRun) -> Result<()>
Inserts a new task-graph planning run record.
Sourcefn update_task_graph_run_status(
&self,
graph_run_id: &str,
status: &str,
) -> Result<()>
fn update_task_graph_run_status( &self, graph_run_id: &str, status: &str, ) -> Result<()>
Updates the status of an existing task-graph run.
Sourcefn insert_task_graph_snapshot(
&self,
snapshot: &NewTaskGraphSnapshot,
) -> Result<()>
fn insert_task_graph_snapshot( &self, snapshot: &NewTaskGraphSnapshot, ) -> Result<()>
Persists one task-graph snapshot.
Sourcefn load_task_graph_debug_bundles(
&self,
task_id: &str,
) -> Result<Vec<TaskGraphDebugBundle>>
fn load_task_graph_debug_bundles( &self, task_id: &str, ) -> Result<Vec<TaskGraphDebugBundle>>
Loads debug bundles for graph-planning diagnostics.