You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "qiuyanjun888 (via GitHub)" <gi...@apache.org> on 2026/06/22 05:06:21 UTC

[PR] [Improvement-18311][Task] Support killing shell task process group [dolphinscheduler]

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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Improvement-18311][Task] Support killing shell task process group [dolphinscheduler]

Posted by "SbloodyS (via GitHub)" <gi...@apache.org>.
SbloodyS closed pull request #18367: [Improvement-18311][Task] Support killing shell task process group
URL: https://github.com/apache/dolphinscheduler/pull/18367


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org