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

feat(api usage): Extra Flagsmith checks for API overage charges #4251

Merged
merged 4 commits into from
Jun 26, 2024

Conversation

zachaysan
Copy link
Contributor

Changes

This is a simple change to introduce another Flagsmith feature check for one of the more dangerous tasks that we have in the API usage alerting code.

How did you test this code?

The change also fixes a number of tests that broke with the change and introduces a large test for checking whether the Flagsmith client will successfully guard against non-use when disabled.

@zachaysan zachaysan requested a review from a team as a code owner June 26, 2024 15:39
@zachaysan zachaysan requested review from novakzaballa and removed request for a team June 26, 2024 15:39
Copy link

vercel bot commented Jun 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Jun 26, 2024 3:39pm
flagsmith-frontend-preview ⬜️ Ignored (Inspect) Jun 26, 2024 3:39pm
flagsmith-frontend-staging ⬜️ Ignored (Inspect) Jun 26, 2024 3:39pm

@zachaysan zachaysan requested a review from matthewelwell June 26, 2024 15:39
@github-actions github-actions bot added api Issue related to the REST API feature New feature or request labels Jun 26, 2024
@matthewelwell matthewelwell removed the request for review from novakzaballa June 26, 2024 15:41
Copy link
Contributor

github-actions bot commented Jun 26, 2024

Uffizzi Preview deployment-53537 was deleted.

Copy link

codecov bot commented Jun 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.57%. Comparing base (182ea04) to head (fef930f).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4251   +/-   ##
=======================================
  Coverage   96.57%   96.57%           
=======================================
  Files        1190     1190           
  Lines       38754    38804   +50     
=======================================
+ Hits        37426    37476   +50     
  Misses       1328     1328           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matthewelwell matthewelwell added this pull request to the merge queue Jun 26, 2024
Merged via the queue into main with commit ca2b13b Jun 26, 2024
28 checks passed
@matthewelwell matthewelwell deleted the feat(api-usage)/extra-flagsmith-checks branch June 26, 2024 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants