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

fix: ignore rate limits for autoconfirm #1810

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

kangmingtay
Copy link
Member

@kangmingtay kangmingtay commented Oct 22, 2024

What kind of change does this PR introduce?

  • feat: configurable email and sms rate limiting #1800 fixes a long-standing bug where rate limits were not applied if the MAILER_AUTOCONFIRM / SMS_AUTOCONFIRM settings are enabled. However, this may be a breaking change for some since they may expect having AUTOCONFIRM enabled to bypass the rate limit restrictions. This PR attempts to restore the original behaviour temporarily while we figure out a plan to roll out this breaking change smoothly.

What is the current behavior?

Please link any relevant issues here.

What is the new behavior?

Feel free to include screenshots if it includes visual changes.

Additional context

Add any other context or screenshots.

@kangmingtay kangmingtay requested a review from a team as a code owner October 22, 2024 18:37
@hf hf merged commit 9ce2340 into master Oct 22, 2024
3 checks passed
@hf hf deleted the km/fix-ignore-rate-limits-for-autoconfirm branch October 22, 2024 18:44
@coveralls
Copy link

Pull Request Test Coverage Report for Build 11466436916

Details

  • 7 of 16 (43.75%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 57.172%

Changes Missing Coverage Covered Lines Changed/Added Lines %
internal/api/phone.go 4 6 66.67%
internal/api/mail.go 3 10 30.0%
Totals Coverage Status
Change from base Build 11456845366: 0.01%
Covered Lines: 9574
Relevant Lines: 16746

💛 - Coveralls

hf pushed a commit that referenced this pull request Oct 22, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.163.2](v2.163.1...v2.163.2)
(2024-10-22)


### Bug Fixes

* ignore rate limits for autoconfirm
([#1810](#1810))
([9ce2340](9ce2340))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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