Skip to content

fix(cli): flaky gateway configuration after redeploying #35

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

Merged
merged 2 commits into from
Jun 27, 2023

Conversation

cyclimse
Copy link
Contributor

Summary

What's changed?

  • When doing scw-serverless deploy, the step Enabling metrics can be flaky and sometimes fail with a 403 from envoy. Currently, since this is not a json this crashes the CLI and in addition, is not properly handled (we should retry / wait for the gateway to be running)

Why do we need this?

  • Make scwgw deploy more reliable

How have you tested it?

  • Ran scwgw deploy a few times and did not get the 403 issue

Checklist

  • I have reviewed this myself
  • There is a unit test covering every change in this PR
  • I have updated the relevant documentation

Details

@cyclimse cyclimse added the bug Something isn't working label Jun 26, 2023
Copy link
Collaborator

@Shillaker Shillaker left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Didn't know about Retry from urllib3, very clean.

@cyclimse cyclimse merged commit 1bb4e1c into main Jun 27, 2023
@cyclimse cyclimse deleted the fix/flaky-configuration-after-deployment branch June 27, 2023 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants