ruanwenjun opened a new pull request, #18597: URL: https://github.com/apache/dolphinscheduler/pull/18597
## Was this PR generated or assisted by AI? YES. The implementation and regression tests were assisted by AI. ## Purpose of the pull request Validate sub-workflow references consistently before task definitions are persisted or activated. close #18596 ## Brief change log - Add a checker for referenced sub-workflows and their target projects. - Apply the check to workflow creation and updates, workflow-instance updates, version switches, and online or release operations. - Return the existing generic unavailable-resource result for missing or unavailable references. - Add unit and service-level regression tests. ## Verify this pull request This change added tests and can be verified as follows: - `./mvnw verify -B -pl dolphinscheduler-api -DskipE2E=true -DskipITs -Dmaven.test.skip=false -DskipUT=false -Danalyze.skip=true` - API module result: 734 tests run, 0 failures, 0 errors, 10 skipped. ## Pull Request Notice [Pull Request Notice](https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/contribute/join/pull-request.md) -- 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]
