A local call waiting for a slot is reached by a stop, a delete or a cancel and ends without running; what a call emits after its flow was stopped is dropped as its result is; a node run by hand whose flow is stopped or deleted tells its caller but publishes no node_error; cancelling a node also ends its calls on workers
Docs / docs (push) Successful in 33s
Playwright Tests / test-playwright (1, 2) (push) Successful in 3m45s
Playwright Tests / test-playwright (2, 2) (push) Successful in 2m47s
pre-commit / pre-commit (push) Successful in 3m44s
Test Backend / test-backend (3.12) (push) Failing after 5m55s
Test Backend / test-backend (3.14) (push) Failing after 5m31s
Compose Smoke Test / test-compose (push) Successful in 33s
Playwright Tests / merge-reports (push) Successful in 1m19s

This commit is contained in:
2026-11-11 12:27:33 +01:00
parent 7132d26f36
commit 8dcceecd95
11 changed files with 219 additions and 35 deletions
+5
View File
@@ -545,6 +545,11 @@ class RemoteWorkerHub:
"""Kill whatever this run has executing on any attached worker."""
return sum(worker.end_calls(f"{run_id}:") for worker in self.workers())
def cancel_node(self, node_id: str) -> int:
"""End what a live node has running on any attached worker, its calls
being ``flow.node:…``."""
return sum(worker.end_calls(f"{node_id}:") for worker in self.workers())
def cancel_flow(self, flow: str) -> None:
"""End what a live flow has running on any attached worker.