From 612cecc5bd5dbfc73d4a3a9d38626378eaf39041 Mon Sep 17 00:00:00 2001 From: soryu Date: Wed, 4 Feb 2026 01:59:40 +0000 Subject: Remove chain supervisor capability Chains no longer spawn a supervisor task. Checkpoint contracts will be automatically run as part of the DAG execution when dependencies complete. - Remove supervisor task creation from start_chain handler - Remove chain supervisor CLI commands - Remove supervisor_task_id from StartChainResponse - Remove withSupervisor option from frontend Co-Authored-By: Claude Opus 4.5 --- makima/src/db/repository.rs | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'makima/src/db/repository.rs') diff --git a/makima/src/db/repository.rs b/makima/src/db/repository.rs index fb430ab..ec233ba 100644 --- a/makima/src/db/repository.rs +++ b/makima/src/db/repository.rs @@ -5687,22 +5687,6 @@ pub async fn get_chain_definition_graph( })) } -/// Set the supervisor task ID for a chain. -pub async fn set_chain_supervisor_task( - pool: &PgPool, - chain_id: Uuid, - supervisor_task_id: Option, -) -> Result<(), sqlx::Error> { - sqlx::query( - "UPDATE chains SET supervisor_task_id = $2, updated_at = NOW() WHERE id = $1", - ) - .bind(chain_id) - .bind(supervisor_task_id) - .execute(pool) - .await?; - Ok(()) -} - /// Update chain status. pub async fn update_chain_status( pool: &PgPool, -- cgit v1.2.3