summaryrefslogtreecommitdiff
path: root/makima/src/server/handlers/mesh.rs
diff options
context:
space:
mode:
Diffstat (limited to 'makima/src/server/handlers/mesh.rs')
-rw-r--r--makima/src/server/handlers/mesh.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/makima/src/server/handlers/mesh.rs b/makima/src/server/handlers/mesh.rs
index 5572d95..eb87e17 100644
--- a/makima/src/server/handlers/mesh.rs
+++ b/makima/src/server/handlers/mesh.rs
@@ -709,6 +709,7 @@ pub async fn start_task(
local_only,
auto_merge_local,
supervisor_worktree_task_id: None, // Not spawned by supervisor
+ directive_id: task.directive_id,
};
tracing::info!(
@@ -764,6 +765,7 @@ pub async fn start_task(
local_only,
auto_merge_local,
supervisor_worktree_task_id: None, // Not spawned by supervisor
+ directive_id: task.directive_id,
};
if state.send_daemon_command(alt_daemon_id, alt_command).await.is_ok() {
@@ -1181,6 +1183,7 @@ pub async fn send_message(
local_only,
auto_merge_local,
supervisor_worktree_task_id: None, // Not spawned by supervisor
+ directive_id: updated_task.directive_id,
};
if state.send_daemon_command(new_daemon_id, spawn_cmd).await.is_ok() {
@@ -2825,6 +2828,7 @@ pub async fn reassign_task(
local_only,
auto_merge_local,
supervisor_worktree_task_id: None, // Not spawned by supervisor
+ directive_id: task.directive_id,
};
tracing::info!(
@@ -3165,6 +3169,7 @@ pub async fn continue_task(
local_only,
auto_merge_local,
supervisor_worktree_task_id: None, // Not spawned by supervisor
+ directive_id: task.directive_id,
};
tracing::info!(
@@ -4097,6 +4102,7 @@ pub async fn branch_task(
local_only: false, // No contract, so not local_only
auto_merge_local: false, // No contract, so no auto_merge_local
supervisor_worktree_task_id: None, // Not spawned by supervisor
+ directive_id: None,
};
if let Err(e) = state.send_daemon_command(target_daemon_id, command).await {