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

(CONT-1241) - Retrying when response body is nil or empty but response code is 200 #221

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

Ramesh7
Copy link
Contributor

@Ramesh7 Ramesh7 commented Jul 24, 2023

Summary

We have seen multiple failures where the response is not expected but the response code is 200, so while parsing it fails which lead to pipeline failure.
So added retry when response is empty or while parsing it fails.
Eg : https://github.com/puppetlabs/puppetlabs-lvm/actions/runs/5639289396/job/15274332392

Additional Context

  • N/A

Related Issues (if any)

  • N/A

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified.

@Ramesh7 Ramesh7 requested a review from a team as a code owner July 24, 2023 07:51
@Ramesh7 Ramesh7 force-pushed the CONT-1241-retry branch 6 times, most recently from bc4a3e9 to 2cd719c Compare July 24, 2023 12:01
@Ramesh7 Ramesh7 changed the title (CONT-1241) - Retrying when response is failed to parse (CONT-1241) - Retrying when response is nil/empty Jul 25, 2023
@Ramesh7 Ramesh7 changed the title (CONT-1241) - Retrying when response is nil/empty (CONT-1241) - Retrying when response is not expected Jul 25, 2023
@Ramesh7 Ramesh7 changed the title (CONT-1241) - Retrying when response is not expected (CONT-1241) - Retrying when response is not expected (nil/empty) Jul 25, 2023
@Ramesh7 Ramesh7 changed the title (CONT-1241) - Retrying when response is not expected (nil/empty) (CONT-1241) - Retrying when response body is nil or empty but response code is 200 Jul 25, 2023
@jordanbreen28 jordanbreen28 merged commit d63de2b into main Jul 25, 2023
3 checks passed
@jordanbreen28 jordanbreen28 deleted the CONT-1241-retry branch July 25, 2023 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants