mirror of
https://github.com/mastra-ai/mastra.git
synced 2026-11-17 08:44:46 +00:00
docs(core): document the stored cancellation of aborted parked runs
Addresses review on #29799. The docs still told users to stop a parked run with abortRunStream in the process that holds it, and said the abort route answers { aborted: false } for a parked run; both are wrong now that the route records the cancellation in storage. The changeset is scoped to DurableAgent (Inngest agents are not covered) and states the best-effort limit on stores without concurrent updates. Adds a test where a resume claims the run between the abort's status read and its guarded write: the abort answers { aborted: false } and the run stays running. Removing the expectedStatus guard turns it red. Co-Authored-By: mastra-platform[bot] <284800079+mastra-platform[bot]@users.noreply.github.com>
This commit is contained in:
parent
6d444bee4f
commit
1e0af6b5e8
4 changed files with 31 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue