[Bug] [Complement] A workflow that depends on multiple workflows is launched with multiple instances.
Search before asking
- [x] I had searched in the issues and found no similar issues.
What happened
When there is a diamond-shaped dependency structure, if backfill is performed with "dependency mode" and "all leveldependent" enabled, and workflow A is executed, workflow C will be triggered twice.
What you expected to happen
Because C depends on B1 and B2, it should only be executed once.
How to reproduce
Workflow A Workflow B1, dependent on A (A → B1) Workflow B2, dependent on A (A → B2) Workflow C, dependent on both B1 and B2 (B1 → C and B2 → C)
Anything else
No response
Version
3.2.x
Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Hi @F7kyyy I tried to reproduce the issue but was unsuccessful. In complement mode, when running workflow A, the downstream workflows B1 and B2 are not triggered. What specific configuration is required to reproduce the diamond dependency scenario where workflow C gets triggered twice?