Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Worker] Fix will not kill the subprocess in remote when stop a remote-shell task #15570 #15629

Merged
merged 12 commits into from
Apr 10, 2024

Conversation

alei1206
Copy link
Contributor

Purpose of the pull request

fix cannot kill the subprocess when stop a remote-shell task #15570

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(or)

If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

@codecov-commenter
Copy link

codecov-commenter commented Feb 28, 2024

Codecov Report

Attention: Patch coverage is 47.05882% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 39.17%. Comparing base (5050a8e) to head (ba7e7f4).

❗ Current head ba7e7f4 differs from pull request most recent head 8049e3e. Consider uploading reports for the commit 8049e3e to get more accurate results

Files Patch % Lines
...nscheduler/plugin/task/api/utils/ProcessUtils.java 47.05% 6 Missing and 3 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                dev   #15629      +/-   ##
============================================
- Coverage     39.24%   39.17%   -0.08%     
+ Complexity     4910     4893      -17     
============================================
  Files          1323     1323              
  Lines         45184    45187       +3     
  Branches       4810     4810              
============================================
- Hits          17734    17703      -31     
- Misses        25572    25603      +31     
- Partials       1878     1881       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ruanwenjun ruanwenjun changed the title [Worker] fix cannot kill the subprocess when stop a remote-shell task #15570 [Worker] Fix will not kill the subprocess in remote when stop a remote-shell task #15570 Mar 1, 2024
Copy link
Contributor

@rickchengx rickchengx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, wait for CI

Copy link

sonarcloud bot commented Apr 10, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
29.2% Coverage on New Code (required ≥ 60%)

See analysis details on SonarCloud

@rickchengx rickchengx merged commit f93b27e into apache:dev Apr 10, 2024
59 of 60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants