qiuyanjun888 opened a new pull request, #18367: URL: https://github.com/apache/dolphinscheduler/pull/18367
## Was this PR generated or assisted by AI? YES. AI assisted with code implementation and PR preparation. I reviewed the changes before submission. ## Purpose of the pull request Improve shell task termination by making the task process run in its own process group, so the worker can kill the whole shell task process group instead of relying only on the parent process tree. Closes #18311. ## Brief change log - Add a configurable shell task process group kill switch. - Wrap local Linux shell task commands with process-group setup support. - Add process-group kill utilities for shell task termination. - Add unit coverage for shell interceptor process-group command generation and process-group kill behavior. - Document the new configuration in common properties, Helm values, and configuration docs. ## Verify this pull request This change added tests and can be verified as follows: - `./mvnw -pl dolphinscheduler-task-plugin/dolphinscheduler-task-api -am -Dspotless.check.skip=true -Djacoco.skip=true -Dtest=ProcessUtilsTest,BaseLinuxShellInterceptorBuilderTest test` ## Pull Request Notice [Pull Request Notice](https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/contribute/join/pull-request.md) If your pull request contains incompatible change, you should also add it to `docs/docs/en/guide/upgrade/incompatible.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]
