0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00

fix(core): close observers on every server when a parked run is aborted

The abort terminal was only published when the server holding the local
abort fence refused a later approval. When the approval was refused on a
different server (the storage-canceled path), no terminal was sent and
observers on both servers stayed open.

The call that wins the suspended -> canceled write now publishes the abort
terminal on the shared bus right away. A failed publish does not undo the
stored cancel; it releases the per-process reservation so a refused resume
on that server retries it. The Lance regression test now uses a unique
temp directory.

Co-Authored-By: mastra-platform[bot] <284800079+mastra-platform[bot]@users.noreply.github.com>
This commit is contained in:
mastra-platform[bot] 2026-11-09 21:48:43 +00:00
commit 6d444bee4f
3 changed files with 73 additions and 17 deletions