Skip to content

chore: remove graduated feature flags (data-browsing batch 7)#108802

Open
wedamija wants to merge 5 commits intomasterfrom
flag-burner/ga/data-browsing-7
Open

chore: remove graduated feature flags (data-browsing batch 7)#108802
wedamija wants to merge 5 commits intomasterfrom
flag-burner/ga/data-browsing-7

Conversation

@wedamija
Copy link
Member

Summary

Removes 5 feature flags owned by data-browsing that have been enabled at 100% via flagpole:

  • organizations:discover-cell-actions-v2 — Discover cell actions v2
  • organizations:downsampled-date-page-filter — Downsampled date page filter
  • organizations:search-query-builder-add-boolean-operator-select — Search query builder boolean operator select
  • organizations:search-query-builder-conditionals-combobox-menus — Search query builder conditionals combobox menus
  • organizations:visibility-explore-equations — Explore equations visibility

Test plan

🤖 Generated with Claude Code

@wedamija wedamija requested review from a team as code owners February 21, 2026 02:07
@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.

@gggritso
Copy link
Member

@nicholas-codecov are the search builder flags safe to remove?

wedamija and others added 4 commits February 23, 2026 10:39
…sampled-date-page-filter, search-query-builder-add-boolean-operator-select, search-query-builder-conditionals-combobox-menus, visibility-explore-equations)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
After removing the downsampled-date-page-filter flag check, both branches
declared `const maxPickableDays` in the same scope. Since
getMaxPickableDaysBySubscription already handles all cases covered by
getLegacyMaxPickableDaysBySubscription, remove the legacy function and
its call entirely.

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

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- useMaxPickableDays: Add fake timers for spans tests since
  getMaxPickableDaysBySubscription now always runs (was gated behind
  downsampled-date-page-filter). Update expected values for profiles
  (now 30/30 with defaultPeriod). Remove spans-with-flag test since
  visibility-explore-range-high is no longer consulted in this path.
- cellAction/tableView/table: Replace getByRole('button', {name: 'Actions'})
  with getByLabelText('Actions') since V2 cell actions use a div trigger
  instead of a Button component.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@wedamija wedamija force-pushed the flag-burner/ga/data-browsing-7 branch from d949bfd to fc27930 Compare February 23, 2026 18:45
@wedamija wedamija requested review from a team as code owners February 23, 2026 18:45
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.

After removing the discover-cell-actions-v2 flag, the cell action trigger
changed from a Button to a div with aria-label="Actions". Updated test
selectors in indirectly affected spec files to use getByLabelText('Actions')
instead of getByRole('button'), and getByText instead of getByRole('cell')
for cells wrapped in the v2 action container.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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