Skip to content

Conversation

qiuosier
Copy link
Member

When deleting a job, there is an option to force_delete all job runs. However, job run can only be cancelled if it is "in progress", "accepted" or "need attention". Otherwise there will be error. This PR updates the ADS to cancel only the job runs that can be cancelled. There is no need to a cancel job run before deleting if it is in other states.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 22, 2024
@qiuosier qiuosier requested a review from lu-ohai July 22, 2024 19:40
Copy link

📌 Cov diff with main:

Coverage-0%

📌 Overall coverage:

Coverage-20.70%

Copy link

📌 Cov diff with main:

Coverage-50%

📌 Overall coverage:

Coverage-60.42%

@qiuosier qiuosier merged commit dc168a5 into main Aug 2, 2024
Copy link

github-actions bot commented Aug 2, 2024

📌 Cov diff with main:

No lines with coverage information in this diff.

📌 Overall coverage:

Coverage-60.42%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants