mirror of
https://github.com/mastra-ai/mastra.git
synced 2026-11-17 08:44:46 +00:00
[MASTRA-2662] Fix compound subscribers edge case (#3406)
## Description When a compound subscriber is defined after a previous subscriber (having overlapping stepIDs), the second subscriber does not run due to the dependencies array prematurely getting cleared. ## Related Issue(s) Closes #3151 ## Type of Change - [x] Bug fix (non-breaking change that fixes an issue) ## Checklist - [x] I have performed a self-review of my own code - [x] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [x] I have generated a changeset for this PR
This commit is contained in:
parent
789bef3b24
commit
515ebfb8a9
3 changed files with 43 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue