Skip to content

feat(flags): Remove graduated dashboards-mep feature flag#108809

Merged
wedamija merged 6 commits intomasterfrom
flag-burner/ga/dashboards-mep
Feb 23, 2026
Merged

feat(flags): Remove graduated dashboards-mep feature flag#108809
wedamija merged 6 commits intomasterfrom
flag-burner/ga/dashboards-mep

Conversation

@wedamija
Copy link
Member

Summary

Removes the organizations:dashboards-mep feature flag that has been enabled at 100% via flagpole with no conditions.

This flag has been fully rolled out and its behavior is now the default.

Test plan

🤖 Generated with Claude Code

@wedamija wedamija requested review from a team as code owners February 21, 2026 02:17
@github-actions github-actions bot added Scope: Frontend Automatically applied to PRs that change frontend components Scope: Backend Automatically applied to PRs that change backend components labels Feb 21, 2026
@github-actions
Copy link
Contributor

🚨 Warning: This pull request contains Frontend and Backend changes!

It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently.

Have questions? Please ask in the #discuss-dev-infra channel.

@wedamija wedamija force-pushed the flag-burner/ga/dashboards-mep branch from 0fd6e4d to 3af47e9 Compare February 23, 2026 18:11
wedamija and others added 6 commits February 23, 2026 10:23
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The previous commit simplified use_metrics in organization_events_stats.py
and organization_events_timeseries.py but missed 5 other files that had
the same `or True` dead code pattern. This removes the dead feature flag
checks and unused batch_features variables where applicable.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…rics_features methods

Since dashboards-mep flag is graduated, use_metrics is always True.
Pass True directly instead of through a variable. Remove dead
get_features from timeseries endpoint and dead get_metrics_features
from dashboard/discover serializers that were only used for computing
use_metrics.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Master already removed use_metrics_layer from the query builder in
#108755. Remove the references that were incorrectly preserved during
rebase conflict resolution. Also remove now-dead get_features method
and batch_features variable from events_meta endpoint.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@wedamija wedamija force-pushed the flag-burner/ga/dashboards-mep branch from 3af47e9 to 37e05e3 Compare February 23, 2026 18:26
Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@wedamija wedamija merged commit 07cfb5c into master Feb 23, 2026
87 checks passed
@wedamija wedamija deleted the flag-burner/ga/dashboards-mep branch February 23, 2026 21:41
mchen-sentry pushed a commit that referenced this pull request Feb 24, 2026
## Summary
Removes the `organizations:dashboards-mep` feature flag that has been
enabled at 100% via flagpole with no conditions.

This flag has been fully rolled out and its behavior is now the default.

## Test plan
- [ ] CI passes
- [ ] Corresponding sentry-options-automator PR to remove flagpole
config

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
wedamija added a commit that referenced this pull request Feb 24, 2026
## Summary
Removes the `organizations:dashboards-mep` feature flag that has been
enabled at 100% via flagpole with no conditions.

This flag has been fully rolled out and its behavior is now the default.

## Test plan
- [ ] CI passes
- [ ] Corresponding sentry-options-automator PR to remove flagpole
config

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions bot locked and limited conversation to collaborators Mar 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants