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

Upgrade underlying Argo SDK #38

Merged
merged 25 commits into from
Jan 9, 2022
Merged

Upgrade underlying Argo SDK #38

merged 25 commits into from
Jan 9, 2022

Conversation

flaviuvadan
Copy link
Collaborator

@flaviuvadan flaviuvadan commented Jan 8, 2022

This PR tackles issue #7. In addition, it fixes some of the type issues that we encountered in the past with deserializing responses post workflow submission. It's also worth noting that the new underlying Argo SDK requires limit rather than duration and max_duration for retries. This introduces a get_limit in the Retry object that computes the limit based on max_duration // duration, which should typically correspond to the intended limit. There are some leftover TODOs that will be added as GitHub Issues after this is merged.

It would be ideal to add some more tests to this prior to release but leaving it open for any watchers.

Signed-off-by: flaviuvadan <[email protected]>
Signed-off-by: flaviuvadan <[email protected]>
Signed-off-by: flaviuvadan <[email protected]>
Signed-off-by: flaviuvadan <[email protected]>
Signed-off-by: flaviuvadan <[email protected]>
Signed-off-by: flaviuvadan <[email protected]>
Signed-off-by: flaviuvadan <[email protected]>
Signed-off-by: flaviuvadan <[email protected]>
Signed-off-by: flaviuvadan <[email protected]>
…alls so we avoid client-side deserialization errors for actually valid responses

Signed-off-by: flaviuvadan <[email protected]>
…bination required for retries

Signed-off-by: flaviuvadan <[email protected]>
…del instantiation, usages through `mock_model`, and model docs/type errors that were caught by tests

Signed-off-by: flaviuvadan <[email protected]>
Signed-off-by: flaviuvadan <[email protected]>
@flaviuvadan
Copy link
Collaborator Author

I tested all the examples in an Argo cluster with version 3.2.4. Retries are fine, along with task parallelism and all currently supported features.

@flaviuvadan flaviuvadan merged commit 9fb642b into main Jan 9, 2022
@flaviuvadan flaviuvadan deleted the fv/upgrade-argo-py-sdk branch January 9, 2022 22:48
flaviuvadan added a commit that referenced this pull request Jan 9, 2022
flaviuvadan added a commit that referenced this pull request Jan 9, 2022
flaviuvadan added a commit that referenced this pull request Jan 9, 2022
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.

1 participant