mirror of
https://github.com/mastra-ai/mastra.git
synced 2026-11-17 08:44:46 +00:00
fix(core): prevent stopped runs from starting queued tool side effects
Check the composed abort signal before foreground or background dispatch so a carried deadline that already expired cannot start a tool. Cover expired, aborted, and healthy calls with real background tasks, and clarify cooperative cancellation in the core changeset. Co-Authored-By: mastra-platform[bot] <284800079+mastra-platform[bot]@users.noreply.github.com>
This commit is contained in:
parent
678eb617e8
commit
579e3ef14d
3 changed files with 100 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue