chore: remove graduated feature flags (data-browsing batch 7)#108802
chore: remove graduated feature flags (data-browsing batch 7)#108802
Conversation
|
🚨 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 |
daad948 to
d949bfd
Compare
|
@nicholas-codecov are the search builder flags safe to remove? |
…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>
d949bfd to
fc27930
Compare
There was a problem hiding this comment.
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.
static/app/components/searchQueryBuilder/tokens/useSortedFilterKeyItems.tsx
Show resolved
Hide resolved
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>
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 v2organizations:downsampled-date-page-filter— Downsampled date page filterorganizations:search-query-builder-add-boolean-operator-select— Search query builder boolean operator selectorganizations:search-query-builder-conditionals-combobox-menus— Search query builder conditionals combobox menusorganizations:visibility-explore-equations— Explore equations visibilityTest plan
🤖 Generated with Claude Code