mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-11-09 04:20:34 +00:00
* fix(gateway): keep batch cancellation running when the scheduler store fails _run_completion_hook awaited scheduled_task_service.handle_run_completion before batch_continuations.source_finished, so a scheduler store outage aborted the hook and skipped batch cancellation entirely: a claimed follow-up of a hard-stopped run stayed in the dispatching state instead of being cancelled. The scheduler notification is now best-effort (logged as non-fatal); batch cancellation always runs. Fixes #7969. * fix(gateway): isolate batch cancellation failures and trace completion warnings --------- Co-authored-by: Willem Jiang <willem.jiang@gmail.com>