0
Fork 0
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:
mastra-platform[bot] 2026-11-12 07:18:23 +00:00
commit 579e3ef14d
3 changed files with 100 additions and 2 deletions