Resuming a suspended workflow in a parallel branch while the other branch is still running
Hi. I have a situation where there are two branches, one that i can suspend and resume in a loop (branch B), and the other that ends right after completing its only step (branch A). I attached a screen to make it easier to understand.
I am encountering the following problem:
- if branch B suspends before branch A finishes, and I resume it before branch A finishes, if branch A ends while branch B is running the second iteration, such iteration is stopped/lost
- if branch B suspends before branch A finishes, I wait for branch A to finish, then I can resume branch B without problems.
This is a problem because I need to ask a bunch of questions in a loop while a much heavier data extraction task is being run in parallel. Is this a bug or am I using the parallel feature in the wrong way?

3 Replies
š Created GitHub issue: https://github.com/mastra-ai/mastra/issues/10746
š If you're experiencing an error, please provide a minimal reproducible example whenever possible to help us resolve it quickly.
š Thank you for helping us improve Mastra!
Hey,
Thanks for reporting! This is already on our radar https://github.com/mastra-ai/mastra/issues/9430
It's high up on our priority list and we will pick this up soon!
GitHub
[FEATURE] Resume suspended steps even if workflow is still running ...
Hook into currently active run, and resume steps Continue execution in already active run
Amazing, thanks!