Ā© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
[BUG] Context Pollution Between Concurrent Workflow Runs Using .foreach() with Concurrency > 1 - Mastra
M
Mastra
ā¢
2mo ago
ā¢
1 reply
Guido
[BUG] Context Pollution Between Concurrent Workflow Runs Using .foreach() with Concurrency > 1
Workflows
Reported this
https://github.com/mastra-ai/mastra/issues/12029
I cannot share our code freely to show the specific implementation but if it helped showing our setup in a call happy to do so
.
We
're really liking Mastra so far and eager to launch our product with it soon
(aiming to be in prod in the next few weeks
)
Thanks for all the work
!
GitHub
[BUG] Context Pollution Between Concurrent Workflow Runs Using .for...
[BUG
] Context Pollution Between Concurrent Workflow Runs Using
.foreach
(
) with Concurrency
>
; 1 Summary When multiple independent workflow runs execute concurrently and each spawns child workflow
.
.
.
Mastra
Join
The TypeScript Agent FrameworkFrom the team that brought you Gatsby: prototype and productionize AI features with a modern JavaScript stack.
5,321
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Can we pass runtime context between two workflow runs
M
Mastra / help-bugs-problems
3mo ago
Workflow error using .map after .foreach
M
Mastra / help-bugs-problems
3mo ago
Workflow pollution is this meant to happen?
M
Mastra / help-bugs-problems
4mo ago