Skip to content

chore: Revert "chore(err): temp disable quota limits" #31170

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 1 commit into from
Apr 14, 2025

Conversation

daibhin
Copy link
Contributor

@daibhin daibhin commented Apr 14, 2025

Reverts #30832

Should be ok to roll this out again now that any beta users are on the correct plan

@daibhin daibhin requested review from a team, hpouillot and oliverb123 April 14, 2025 07:47
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR reverts a previous change that temporarily disabled quota limits in the billing system, now that beta users have been properly assigned to the correct plans.

  • Renamed parameter from _context to context in rust/cymbal/src/pipeline/billing.rs to indicate it's now being actively used
  • Uncommented the code block that checks if a token is limited based on billing plans
  • Re-enables the quota limiting functionality that was previously disabled due to concerns about users not on any plan
  • The change is now safe to implement since beta users have been properly assigned to correct billing plans

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@oliverb123
Copy link
Contributor

Let me circle back on this, I want to modify it slightly so the dropped events get reported in our metrics

@daibhin daibhin changed the title Revert "chore(err): temp disable quota limits" chore: Revert "chore(err): temp disable quota limits" Apr 14, 2025
@oliverb123
Copy link
Contributor

Actually, this is fine, merging

@oliverb123 oliverb123 enabled auto-merge (squash) April 14, 2025 08:48
@oliverb123 oliverb123 merged commit 74b68f3 into master Apr 14, 2025
85 of 86 checks passed
@oliverb123 oliverb123 deleted the revert-30832-err/disable-quota-limit branch April 14, 2025 08:48
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.

2 participants