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: Patch taskset with subresources to delete completed node status. Fixes #11489 #12620

Merged
merged 2 commits into from Feb 18, 2024

Conversation

jswxstw
Copy link
Member

@jswxstw jswxstw commented Feb 5, 2024

Fixes #11489

Motivation

Workflow manual retrying does not work for Plugin, because completed node status in WorkflowTaskSet are not deleted successfully.

Modifications

Split the original WorkflowTaskSet patch into tasksPatch and nodesPatch, then patch the nodesPatch with status subresource.

Verification

run locally
add e2e test

@jswxstw jswxstw force-pushed the fix-11489 branch 5 times, most recently from d921fda to 4ab8e89 Compare February 5, 2024 07:27
…ixes argoproj#11489

Signed-off-by: oninowang <oninowang@tencent.com>
@agilgur5 agilgur5 added area/controller Controller issues, panics area/plugins area/retry-manual Manual workflow "Retry" Action (API/CLI/UI). See retryStrategy for template-level retries labels Feb 5, 2024
@isubasinghe isubasinghe self-assigned this Feb 8, 2024
Copy link
Member

@isubasinghe isubasinghe left a comment

Choose a reason for hiding this comment

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

Just a small question I had, will approve after answer.

@isubasinghe isubasinghe enabled auto-merge (squash) February 18, 2024 01:19
@isubasinghe isubasinghe merged commit 4ad0db9 into argoproj:main Feb 18, 2024
26 of 27 checks passed
isubasinghe added a commit to isubasinghe/argo-workflows that referenced this pull request Feb 20, 2024
argoproj#12620)

Signed-off-by: oninowang <oninowang@tencent.com>
Co-authored-by: jswxstw <jswxstw@gmail.com>
Co-authored-by: Isitha Subasinghe <isitha@pipekit.io>
isubasinghe added a commit to isubasinghe/argo-workflows that referenced this pull request Feb 27, 2024
argoproj#12620)

Signed-off-by: oninowang <oninowang@tencent.com>
Co-authored-by: jswxstw <jswxstw@gmail.com>
Co-authored-by: Isitha Subasinghe <isitha@pipekit.io>
isubasinghe added a commit to isubasinghe/argo-workflows that referenced this pull request Feb 28, 2024
argoproj#12620)

Signed-off-by: oninowang <oninowang@tencent.com>
Co-authored-by: jswxstw <jswxstw@gmail.com>
Co-authored-by: Isitha Subasinghe <isitha@pipekit.io>
Signed-off-by: Isitha Subasinghe <isubasinghe@student.unimelb.edu.au>
isubasinghe added a commit to isubasinghe/argo-workflows that referenced this pull request Mar 12, 2024
argoproj#12620)

Signed-off-by: oninowang <oninowang@tencent.com>
Co-authored-by: jswxstw <jswxstw@gmail.com>
Co-authored-by: Isitha Subasinghe <isitha@pipekit.io>
@agilgur5 agilgur5 changed the title fix: Patch taskset with subresources to delete completed node status.… fix: Patch taskset with subresources to delete completed node status. Fixes #11489 Apr 25, 2024
isubasinghe added a commit to isubasinghe/argo-workflows that referenced this pull request May 6, 2024
argoproj#12620)

Signed-off-by: oninowang <oninowang@tencent.com>
Co-authored-by: jswxstw <jswxstw@gmail.com>
Co-authored-by: Isitha Subasinghe <isitha@pipekit.io>
isubasinghe added a commit to isubasinghe/argo-workflows that referenced this pull request May 7, 2024
argoproj#12620)

Signed-off-by: oninowang <oninowang@tencent.com>
Co-authored-by: jswxstw <jswxstw@gmail.com>
Co-authored-by: Isitha Subasinghe <isitha@pipekit.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/controller Controller issues, panics area/plugins area/retry-manual Manual workflow "Retry" Action (API/CLI/UI). See retryStrategy for template-level retries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Workflow Retry Does Not Work for Plugin
3 participants