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

fix: Mark Pending pod nodes as Failed when shutting down. Fixes #13210 #13214

Merged
merged 2 commits into from
Jun 23, 2024

Conversation

jswxstw
Copy link
Member

@jswxstw jswxstw commented Jun 18, 2024

Fixes #13210

Motivation

see #13210 (comment)

Modifications

Mark Pending nodes of pod type Failed when shutting down.

Verification

updated UT

@jswxstw jswxstw marked this pull request as draft June 18, 2024 12:03
Signed-off-by: oninowang <oninowang@tencent.com>
@jswxstw jswxstw marked this pull request as ready for review June 18, 2024 13:26
@agilgur5 agilgur5 added the area/controller Controller issues, panics label Jun 18, 2024
@agilgur5 agilgur5 changed the title fix: Mark Pending nodes of pod type Failed when shutting down. Fixes #13210 fix: Mark Pending pod nodes as Failed when shutting down. Fixes #13210 Jun 18, 2024
@agilgur5
Copy link
Member

agilgur5 commented Jun 23, 2024

Ah we've discussed this before, in #11493 (comment) and the feature request for a "Canceled" status that would more accurately describe this: #11849.

Nice analysis that the current behavior affects retries @jswxstw!

Copy link
Member

@agilgur5 agilgur5 left a comment

Choose a reason for hiding this comment

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

This already has a appropriate message "workflow shutdown with strategy: ", so this makes sense to me

@agilgur5 agilgur5 self-assigned this Jun 23, 2024
@agilgur5 agilgur5 merged commit 6c33cbb into argoproj:main Jun 23, 2024
30 checks passed
agilgur5 pushed a commit that referenced this pull request Jul 6, 2024
…13210 (#13214)

Signed-off-by: oninowang <oninowang@tencent.com>
Co-authored-by: jswxstw <jswxstw@gmail.com>
(cherry picked from commit 6c33cbb)
agilgur5 pushed a commit that referenced this pull request Jul 6, 2024
…13210 (#13214)

Signed-off-by: oninowang <oninowang@tencent.com>
Co-authored-by: jswxstw <jswxstw@gmail.com>
(cherry picked from commit 6c33cbb)
@agilgur5 agilgur5 added this to the v3.4.x patches milestone Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/controller Controller issues, panics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

retry stopped workflow not correct due to skipped pending node
2 participants