shangeyao opened a new pull request, #18382: URL: https://github.com/apache/dolphinscheduler/pull/18382
## Summary - Add Kahn topological sort validation in `WorkflowGraph` constructor on the master server - Throw `IllegalArgumentException` when workflow task relations contain a cycle - Add `WorkflowGraphCheckIfDAGTest` covering single task, valid DAG, and cyclic graph cases Closes #17057 ## Test plan - [x] `./mvnw -pl dolphinscheduler-master -am test -Dtest=WorkflowGraphCheckIfDAGTest -Dsurefire.failIfNoSpecifiedTests=false -Djacoco.skip=true` - [ ] CI green Made with [Cursor](https://cursor.com) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
