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

Rate limit #2345

Merged
merged 6 commits into from
Aug 16, 2024
Merged

Rate limit #2345

merged 6 commits into from
Aug 16, 2024

Conversation

grahamhar
Copy link
Contributor

Resolves #2344


Before the change?

This change stops the file from being removed from the state when the operation is rate limited, I am unsure if we should also handle 5xx here too.

After the change?

The operation fails with an error due to rate limiting leaving the file in the state.

Pull request checklist

  • [NA] Tests for the changes have been added (for bug fixes / features)
  • [NA] Docs have been reviewed and added / updated if needed (for bug fixes / features)

I don't believe I can add an acceptance test for this, there don't appear to be any unit level tests so have not added anything. Happy to look at this on your guidance.

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

grahamhar and others added 6 commits February 10, 2024 16:31
When running the tests prior to making changes 2 issues were seen

1) With a setting to enable vulnerability alerts the tests failed,
adding them to be on in these tests doesn't impact the results and
allows others in the same position to run the tests.

2) The overwrte tests did not set attributes that were being asserted,
adding the attribures allow the test to pass. Not sure how these
previously passed.
Copy link
Member

@kfcampbell kfcampbell left a comment

Choose a reason for hiding this comment

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

Thank you for the attention to the integration tests. I agree it'd be difficult to write a test with our current setup to force a 429. I'll accept your manual testing for now.

@kfcampbell kfcampbell merged commit 0f84a2a into integrations:main Aug 16, 2024
3 checks passed
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.

[BUG]: Repository files deleted on rate limiting
2 participants