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

test(mcp): cover background-task MCP tasks across instances and restarts on libsql

Two Mastra instances share one libsql file; a child server process is
SIGKILLed mid-task to cover recovery with and without recover. Two cases are
marked as known failures until their core fixes land: an 'auto' task's first
attempt can be dispatched again by another instance's stale-task sweep
(daniel/mcp-tasks-3b2-pinned-pending), and background tasks fail FGA's
user check (daniel/fix-bg-task-fga-internal).

Co-Authored-By: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
This commit is contained in:
Daniel Lew 2026-10-26 17:35:08 -04:00
commit f07975e780
7 changed files with 518 additions and 10 deletions