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

test(core): expect foreach to finish the in-flight item after a remote cancel

Since #26214, foreach items no longer write their own start snapshot; the
foreach checkpoints finished items without holding the queue, so the item
that starts while the first checkpoint is in flight still runs. The next
item sees the rejected checkpoint and stops. Keep main's queue behaviour
and assert that bound instead of one item.

Co-Authored-By: mastra-platform[bot] <284800079+mastra-platform[bot]@users.noreply.github.com>
This commit is contained in:
mastra-platform[bot] 2026-10-26 21:21:15 +00:00
commit dbfd13b587
2 changed files with 6 additions and 2 deletions