Parallel Steps `writer.custom` throwing writer is locked
Works for sequencial steps, but getting error for parallel
5 Replies
π Created GitHub issue: https://github.com/mastra-ai/mastra/issues/10152
π If you're experiencing an error, please provide a minimal reproducible example to help us resolve it quickly.
π Thank you @arpitBhalla for helping us improve Mastra!
GitHub
Parallel Steps
writer.custom throwing writer is locked Β· Issue #...This issue was created from Discord post 1439609729952514170: Works for sequencial steps, but getting error for parallel
Stack Overflow
How to create a Minimal, Reproducible Example - Help Center
Stack Overflow | The Worldβs Largest Online Community for Developers
Could you please post more information and a minimal reproduction? Thanks!
Something like this
It's on the list to get these things solved this week
I have a fix for this here https://github.com/mastra-ai/mastra/pull/10463/files
GitHub
Parallel stream fix by abhiaiyer91 Β· Pull Request #10463 Β· mastra...
Fixes #10152
Summary by CodeRabbit
Improvements
Custom writer method now returns a Promise, ensuring writes are performed sequentially with proper serialization.
Tests
Added comprehensive t...