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

queue stop --kill can kill false running status tasks #8713

Merged
merged 1 commit into from
Dec 26, 2022

Conversation

karajan1001
Copy link
Contributor

fix: #8702

  1. replace simple proc.kill in queue stop --kill with the same logic as in queue kill to make it possible to set false status running tasks as faileed.
  2. Modified the tests.

Thank you for the contribution - we'll try to review it as soon as possible. 🙏

@karajan1001 karajan1001 requested a review from pmrowla December 20, 2022 09:54
@karajan1001 karajan1001 self-assigned this Dec 20, 2022
@codecov
Copy link

codecov bot commented Dec 20, 2022

Codecov Report

Base: 93.52% // Head: 93.52% // No change to project coverage 👍

Coverage data is based on head (28848c5) compared to base (28848c5).
Patch has no changes to coverable lines.

❗ Current head 28848c5 differs from pull request most recent head 98e66b3. Consider uploading reports for the commit 98e66b3 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8713   +/-   ##
=======================================
  Coverage   93.52%   93.52%           
=======================================
  Files         457      457           
  Lines       36139    36139           
  Branches     5229     5229           
=======================================
  Hits        33800    33800           
  Misses       1836     1836           
  Partials      503      503           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

fix: iterative#8702

1. replace simple `proc.kill` in `queue stop --kill` with the same logic as in
   `queue kill` to make it possible to set false status `running` tasks
    as faileed.
2. Modified the tests.
@pmrowla pmrowla enabled auto-merge (rebase) December 26, 2022 07:59
@pmrowla pmrowla merged commit 4400fb4 into iterative:main Dec 26, 2022
@karajan1001 karajan1001 deleted the fix8702 branch December 30, 2022 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

dvc queue status shows tasks as running even after system restart.
2 participants