fix(workflow): restore child graph quota abort handling

This commit is contained in:
WH-2099
2026-03-23 11:15:57 +08:00
parent ed7526662d
commit 93e8d856d8
10 changed files with 563 additions and 26 deletions

View File

@@ -213,6 +213,10 @@ class GraphEngine:
self._bind_layer_context(layer)
return self
def request_abort(self, reason: str | None = None) -> None:
"""Queue an abort command for this engine."""
self._command_channel.send_command(AbortCommand(reason=reason or "User requested abort"))
def create_child_engine(
self,
*,