From f6f08d19a86acb72b1c984810a9b2038b6174f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Wed, 11 Mar 2026 23:16:45 -0700 Subject: [PATCH] Add changelog for #4006 --- changelog/4006.fixed.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog/4006.fixed.md diff --git a/changelog/4006.fixed.md b/changelog/4006.fixed.md new file mode 100644 index 000000000..ba12beea7 --- /dev/null +++ b/changelog/4006.fixed.md @@ -0,0 +1 @@ +- Fixed a race condition where `EndTaskFrame` could cause the pipeline to shut down before in-flight frames (e.g. LLM function call responses) finished processing. `EndTaskFrame` and `StopTaskFrame` now flow through the pipeline as `ControlFrame`s, ensuring all pending work is flushed before shutdown begins. `CancelTaskFrame` and `InterruptionTaskFrame` remain immediate (`SystemFrame`).