Skip to content

ratelimits: Fix transaction building for Failed Authorizations Limit#7344

Merged
beautifulentropy merged 3 commits into
mainfrom
fix-ratelimits-failed-authorizations
Mar 6, 2024
Merged

ratelimits: Fix transaction building for Failed Authorizations Limit#7344
beautifulentropy merged 3 commits into
mainfrom
fix-ratelimits-failed-authorizations

Conversation

@beautifulentropy

@beautifulentropy beautifulentropy commented Feb 29, 2024

Copy link
Copy Markdown
Member
  • Update the failed authorizations limit to use 'enum:regId:domain' for transactions while maintaining 'enum:regId' for overrides.
  • Modify the failed authorizations transaction builder to generate a transaction for each order name.
  • Rename the FailedAuthorizationsPerAccount enum to FailedAuthorizationsPerDomainPerAccount to align with its corrected implementation. This change is possible because the limit isn't yet deployed in staging or production.

Blocks #7346
Part of #5545

@github-actions

Copy link
Copy Markdown
Contributor

@beautifulentropy, this PR appears to contain configuration and/or SQL schema changes. Please ensure that a corresponding deployment ticket has been filed with the new values.

@beautifulentropy beautifulentropy force-pushed the fix-ratelimits-failed-authorizations branch 3 times, most recently from 6471d3d to cd1b41b Compare February 29, 2024 16:16
@beautifulentropy beautifulentropy marked this pull request as ready for review February 29, 2024 16:16
@beautifulentropy beautifulentropy requested a review from a team as a code owner February 29, 2024 16:16
@beautifulentropy beautifulentropy force-pushed the fix-ratelimits-failed-authorizations branch from 288d159 to 3a6a21e Compare February 29, 2024 16:37
pgporada
pgporada previously approved these changes Feb 29, 2024

@aarongable aarongable left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM modulo one optional comment

Comment thread ratelimits/bucket.go
@beautifulentropy beautifulentropy merged commit 529157c into main Mar 6, 2024
@beautifulentropy beautifulentropy deleted the fix-ratelimits-failed-authorizations branch March 6, 2024 18:48
@beautifulentropy

Copy link
Copy Markdown
Member Author

@beautifulentropy, this PR appears to contain configuration and/or SQL schema changes. Please ensure that a corresponding deployment ticket has been filed with the new values.

I have informed SRE of the configuration changes made in this PR.

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.

3 participants