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

[3935] Retry on unsuccessful code too #3954

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rmannibucau
Copy link
Contributor

Before filing a pull request, make sure to do the following:

This helps to reduce the chance of having a pull request rejected.

@sonarcloud
Copy link

sonarcloud bot commented Mar 10, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@fahedouch
Copy link

Hello, thank you for your effort, Is it possible to handle 502 too ? ( issue raised here)

@rmannibucau
Copy link
Contributor Author

Hi @fahedouch , did you try and got and issue with 502/503? It should be in when possible.

@fahedouch
Copy link

502

thanks a lot :D. yes I got an issue with 502

@rmannibucau
Copy link
Contributor Author

@fahedouch ok, if this patch is not sufficient once applied, maybe clone master, apply this diff, duplicate the test, return a 502 in the test and check the exception thrown cause if with this patch you still have 502 issues it either means the request was not retryable (unlikely but possible in rare cases) or that the IOExceptionHandler does not handle 502 properly which shouldn't and must be fixed in the http dependency.

@fahedouch
Copy link

@fahedouch ok, if this patch is not sufficient once applied, maybe clone master, apply this diff, duplicate the test, return a 502 in the test and check the exception thrown cause if with this patch you still have 502 issues it either means the request was not retryable (unlikely but possible in rare cases) or that the IOExceptionHandler does not handle 502 properly which shouldn't and must be fixed in the http dependency.

Ah Sorry I tried with a tag, I will try with your PR and keep you updated. I hope that jib community move this PR forward.

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.

2 participants