fix(core): annotate watchdog positional literals

This commit is contained in:
Friel
2026-03-28 11:26:37 -07:00
parent 2b0f370fd8
commit b4ea255a9f
2 changed files with 17 additions and 7 deletions

View File

@@ -374,8 +374,8 @@ impl AgentControl {
config,
self.clone(),
session_source,
false,
None,
/*persist_extended_history*/ false,
/*metrics_service_name*/ None,
inherited_shell_snapshot,
inherited_exec_policy,
)
@@ -443,7 +443,7 @@ impl AgentControl {
initial_history,
self.clone(),
session_source,
false,
/*persist_extended_history*/ false,
inherited_shell_snapshot,
inherited_exec_policy,
)

View File

@@ -302,8 +302,13 @@ impl WatchdogManager {
"watchdog helper cleanup failed: {err}"
);
}
self.update_after_spawn(target_thread_id, generation, now, None)
.await;
self.update_after_spawn(
target_thread_id,
generation,
now,
/*active_helper_id*/ None,
)
.await;
return;
}
@@ -347,8 +352,13 @@ impl WatchdogManager {
}
Err(err) => {
warn!("watchdog spawn failed for target {target_thread_id}: {err}");
self.update_after_spawn(target_thread_id, generation, now, None)
.await;
self.update_after_spawn(
target_thread_id,
generation,
now,
/*active_helper_id*/ None,
)
.await;
}
}
}