Skip to content

chore: Remove graduated feature flags (performance-spans-new-ui, performance-vitals-standalone-cls-lcp, starfish-mobile-appstart, statistical-detectors-rca-spans-only)#111117

Merged
wedamija merged 3 commits intomasterfrom
danf/ga/perf-standalone-module-flags
Mar 24, 2026
Merged

Conversation

@wedamija
Copy link
Member

These flags are fully rolled out. Remove the flag registrations and simplify all gated code paths to use the graduated behavior directly rather than leaving behind trivially-true variables.

…ormance-vitals-standalone-cls-lcp, starfish-mobile-appstart, statistical-detectors-rca-spans-only)

These flags are fully rolled out. Remove the flag registrations and
simplify all gated code paths to use the graduated behavior directly
rather than leaving behind trivially-true variables.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@wedamija wedamija requested review from a team as code owners March 19, 2026 18:11
@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 Mar 19, 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.

- Fix aggregateSpanDiff tests to mock the spans endpoint (now the
  primary data source) instead of the old RCA endpoint
- Fix webVitals detail panel test to use fcp (non-spans web vital)
  since lcp now uses the spans column order
- Rename hasNewSpansUIFlag to hasInsightModules since the
  performance-spans-new-ui flag was removed

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gggritso gggritso self-requested a review March 19, 2026 19:56
Since inp is always a spans web vital, the isInp branch was redundant
with the isSpansWebVital check in the else branch. Collapse to a
single GridEditable with the isSpansWebVital condition.
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.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@wedamija wedamija merged commit 92af3a4 into master Mar 24, 2026
88 checks passed
@wedamija wedamija deleted the danf/ga/perf-standalone-module-flags branch March 24, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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