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

PodGC delete_delay_duration bug Fixed with issue #1292 #1299

Conversation

Jun0922
Copy link

@Jun0922 Jun0922 commented Jan 8, 2025

bug fixed with delete_delay_duration. not Duration class but str only for Go struct json Unmarshal.

Pull Request Checklist

Description of PR
Currently, to use pod_gc with workflow, we need to make PodGC class and set delete_delay_duration. And this delete_delay_duration should be the Duration class but for Go Unmarshal, it seems to be just string. So I changed some code and the bug fixed. See the following changes.

before the commit (v1_1.Duration)
image


after the commit (str)
image


As you can see, the error code does not appear on my fastAPI app, and I also can check the pod deleted after around 30s on Pod Success, which means no logs on my argo dashboard.
image

This PR adds/changes/fixes...

… for Go struct json Unmarshal.

Signed-off-by: 도준혁 <[email protected]>
@elliotgunton
Copy link
Collaborator

elliotgunton commented Jan 9, 2025

Hi @Jun0922, thanks for being proactive to fix this, but the 3.6 change is in progress in #1293, where there are multiple type changes including this one (here) that we need to test and verify. The PR has been delayed because of the holidays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hera does not have AW 3.6 types (pod_gc on WorkflowTemplate is not rendered correctly)
2 participants