Skip to content

cleanup: remove flipped quota flag#11351

Merged
tyler-french merged 1 commit intomasterfrom
tfrench/flag-blocked-cleanup
Feb 25, 2026
Merged

cleanup: remove flipped quota flag#11351
tyler-french merged 1 commit intomasterfrom
tfrench/flag-blocked-cleanup

Conversation

@tyler-french
Copy link
Contributor

This is enabled in dev and prod. If a group status is set to blocked, it will behave that way.

This only affects the enterprise/server with quota manager enabled and group statuses.

Copilot AI review requested due to automatic review settings February 18, 2026 21:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the quota.disallow_blocked_groups feature flag which is now permanently enabled in both dev and prod environments. The flag controlled whether blocked groups would be prevented from making requests through the quota manager.

Changes:

  • Removed the feature flag check from the checkGroupBlocked method, making the blocking behavior always active
  • Simplified tests by removing redundant test cases that checked flag-on/flag-off scenarios
  • Consolidated test setup to happen once at the test function level rather than in each subtest

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
enterprise/server/quota/quota_manager.go Removed the disallowBlockedGroupsFlagKey constant and the conditional flag check, making blocked group checking unconditional
enterprise/server/quota/quota_manager_test.go Simplified tests by removing redundant test cases for flag-enabled/disabled scenarios and consolidating test setup

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tyler-french tyler-french force-pushed the tfrench/flag-blocked-cleanup branch from ef6ee9e to c16c931 Compare February 19, 2026 05:30
@tyler-french tyler-french force-pushed the tfrench/flag-blocked-cleanup branch from c16c931 to f55da25 Compare February 23, 2026 21:56
@tyler-french tyler-french force-pushed the tfrench/flag-blocked-cleanup branch from f55da25 to 220562d Compare February 24, 2026 17:37
@tyler-french tyler-french enabled auto-merge (squash) February 24, 2026 18:49
@tyler-french tyler-french requested review from maggie-lou and removed request for bduffany February 24, 2026 22:11
Copy link
Collaborator

@maggie-lou maggie-lou left a comment

Choose a reason for hiding this comment

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

Reminder to cleanup the flag in the -internal repo as well

@tyler-french tyler-french merged commit 957858d into master Feb 25, 2026
13 checks passed
@tyler-french tyler-french deleted the tfrench/flag-blocked-cleanup branch February 25, 2026 14:15
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