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: retry ExecutorPlugin invocation on transient network errors Fixes: #9664 #9665

Merged
merged 3 commits into from
Sep 27, 2022

Conversation

Suckzoo
Copy link
Contributor

@Suckzoo Suckzoo commented Sep 23, 2022

Fixes: #9664

Say how you tested your changes. If you changed the UI, attach screenshots.

  • Added unit test testcase in util/errors/errors_test.go: tests *url.Error also can be a transient network error.

@Suckzoo Suckzoo marked this pull request as draft September 23, 2022 03:46
@Suckzoo Suckzoo changed the title fix: retry ExecutorPlugin invocation on transient network errors fix: retry ExecutorPlugin invocation on transient network errors Fixes: #9664 Sep 23, 2022
@Suckzoo Suckzoo marked this pull request as ready for review September 23, 2022 04:47
Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

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

Why not reusing IsTransientErr?

@Suckzoo
Copy link
Contributor Author

Suckzoo commented Sep 26, 2022

@terrytangyuan Thanks for pointing out. I wrote that function while I was investigating the problem(with some extra logs). Merged them into IsTransientErr.

Signed-off-by: Seokju Hong <seokju@vessl.ai>
Signed-off-by: Seokju Hong <seokju@vessl.ai>
Signed-off-by: Seokju Hong <seokju@vessl.ai>
@terrytangyuan terrytangyuan merged commit b219d85 into argoproj:master Sep 27, 2022
chenyangxueHDU pushed a commit to chenyangxueHDU/argo that referenced this pull request Sep 29, 2022
juchaosong pushed a commit to juchaosong/argo-workflows that referenced this pull request Nov 3, 2022
@argoproj argoproj locked as resolved and limited conversation to collaborators Apr 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Transient network errors are not handled properly for plugin API calls
3 participants