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

fix(core): keep the previous segment's deadline timer off a warm resume's controller

The deadline timer read entry.abortController when it fired. A warm Inngest
resume swaps a fresh controller onto the same registry entry, so until the
resumed segment's first step re-synced the deadline, the previous segment's
timer could still fire and abort the resumed run. Bind the timer to the
controller it was armed for, and re-arm when the entry's controller changes.

Co-Authored-By: mastra-platform[bot] <284800079+mastra-platform[bot]@users.noreply.github.com>
This commit is contained in:
mastra-platform[bot] 2026-11-10 06:47:17 +00:00
commit 7d85cf142c
2 changed files with 49 additions and 7 deletions