fanzhongyu opened a new issue, #17991: URL: https://github.com/apache/dolphinscheduler/issues/17991
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened i find when deleteWorkerGroupById. you will check workerGroup is referenced by workflowInstances or checkWorkerGroupDependencies <img width="1387" height="798" alt="Image" src="https://github.com/user-attachments/assets/7b88c23c-0410-4161-b0b8-3f84327e962c" /> but rename workerGroupName , you only checkWorkerGroupDependencies <img width="1035" height="795" alt="Image" src="https://github.com/user-attachments/assets/8025ef41-d5f1-4af0-84bc-77f1d43d7165" /> ### What you expected to happen i think rename workerGroupName also should check workerGroup is referenced by workflowInstances or checkWorkerGroupDependencies ### How to reproduce Check the difference between the update WorkerGroupName check in the saveWorkerGroup(User loginUser, int id, String name, String addrList, String description) function and the delete check in deleteWorkerGroupById(User loginUser, Integer id). ### Anything else _No response_ ### Version 3.4.0 ### 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](https://www.apache.org/foundation/policies/conduct) -- 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]
