mirror of
https://github.com/mastra-ai/mastra.git
synced 2026-11-17 08:44:46 +00:00
test(mcp): stop the libsql suite leaking writes past Mastra shutdown
Core deletes a background task's workflow run unawaited once the run settles, so a run still in flight at shutdown deletes after storage closes and rejects unhandled. Teardown now cancels and waits for this instance's runs first, and the lost-queue test kills a child server instead of shutting one down, which is the failure it describes. Also waits for the expiry abort instead of racing the projection. Co-Authored-By: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
This commit is contained in:
parent
9437cbad97
commit
6a6c484800
4 changed files with 79 additions and 22 deletions
Loading…
Add table
Add a link
Reference in a new issue