hive-c0re/hivectl/hive-agent: pause as a job-queue DAG node (closes #3056)
This commit is contained in:
parent
a92f7351d9
commit
20a7a21053
13 changed files with 316 additions and 27 deletions
|
|
@ -254,6 +254,13 @@ pub(crate) async fn dispatch_shared(
|
|||
coord.clear_graceful_stop(agent);
|
||||
hive_core_agent_sock::Response::Ok
|
||||
}
|
||||
hive_core_agent_sock::Request::PauseAcknowledged => {
|
||||
// Harness saw its own pause marker flip between turns: clear
|
||||
// the fence so the pause DAG's drain node (which polls this
|
||||
// flag) resolves without waiting out its timeout.
|
||||
coord.clear_pause_pending(agent);
|
||||
hive_core_agent_sock::Response::Ok
|
||||
}
|
||||
hive_core_agent_sock::Request::GetHostJournal {
|
||||
unit,
|
||||
container,
|
||||
|
|
|
|||
Loading…
Reference in a new issue