pub(crate) async fn fleet_bulk_stop_with_override(
state: &AppState,
by: &str,
targets: Vec<String>,
signal: Option<&str>,
staged: Option<StagePlanInput>,
) -> (FleetActionResult, Vec<PendingView>)Expand description
FleetBulkStop from an agent (the HTTP path; the Swarm UI’s own
fleet.bulk-stop is the user and stops at once): every target running on
this instance waits for its user’s 15 s override, all windows in parallel
(docs/specs/SPEC_AGENT_SELF_QUIT_2026_09_24.md §6.5). A target running on
another instance on this machine is asked there, in that instance’s own
window (forward_stop_pending). Targets running nowhere go through
fleet_bulk_stop_impl as before, staged included.