Skip to content

feat(flags): Remove graduated team-replay user-feedback AI flags#108811

Merged
wedamija merged 1 commit intomasterfrom
flag-burner/ga/team-replay-1
Feb 23, 2026
Merged

feat(flags): Remove graduated team-replay user-feedback AI flags#108811
wedamija merged 1 commit intomasterfrom
flag-burner/ga/team-replay-1

Conversation

@wedamija
Copy link
Member

Summary

Removes 5 user-feedback AI feature flags owned by team-replay that have been enabled at 100% via flagpole with no conditions:

  • organizations:user-feedback-ai-categorization
  • organizations:user-feedback-ai-categorization-features
  • organizations:user-feedback-ai-summaries
  • organizations:user-feedback-ai-summaries-cache
  • organizations:user-feedback-ai-titles

These flags have been fully rolled out and their 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:33
@linear
Copy link

linear bot commented Feb 21, 2026

@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.

const summary = feedbackIssue.metadata.summary;
const isAiSummaryEnabled =
areAiFeaturesAllowed && organization.features.includes('user-feedback-ai-titles');
const isAiSummaryEnabled = areAiFeaturesAllowed;
Copy link
Member

Choose a reason for hiding this comment

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

Huh I'm surprised linter doesn't yell -- ideally we'd get rid of this in a follow-up

@wedamija
Copy link
Member Author

@billyvg I just had a thought - is this relying on Seer? Since Seer isn't in self hosted, I might not be able to remove these...

@wedamija
Copy link
Member Author

Maybe it's not a big deal, since this just seems to be trying to read these summaries from a cache, and if not present then it won't fail

@billyvg
Copy link
Member

billyvg commented Feb 23, 2026

@billyvg I just had a thought - is this relying on Seer? Since Seer isn't in self hosted, I might not be able to remove these...

Ah yeah it does rely on Seer

@wedamija
Copy link
Member Author

@billyvg I just had a thought - is this relying on Seer? Since Seer isn't in self hosted, I might not be able to remove these...

Ah yeah it does rely on Seer

I think it's fine in the end - the seer features are gated by another check, this just helps us clean up some released flags within ai features. So I think I'll still go ahead and remove

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

const summary = feedbackIssue.metadata.summary;
const isAiSummaryEnabled =
areAiFeaturesAllowed && organization.features.includes('user-feedback-ai-titles');
const isAiSummaryEnabled = areAiFeaturesAllowed;
Copy link
Contributor

Choose a reason for hiding this comment

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

Redundant variable assignment creates unnecessary code

Low Severity

The variable isAiSummaryEnabled is assigned the value of areAiFeaturesAllowed without any transformation, creating an unnecessary alias. The variable is used in only two places (lines 55 and 69) where areAiFeaturesAllowed could be used directly. This adds indirection without providing meaningful semantic value, making the code slightly harder to maintain.

Fix in Cursor Fix in Web

@wedamija wedamija merged commit 2fe5594 into master Feb 23, 2026
83 checks passed
@wedamija wedamija deleted the flag-burner/ga/team-replay-1 branch February 23, 2026 23:15
wedamija added a commit that referenced this pull request Feb 24, 2026
After the flag removal in #108811, isAiSummaryEnabled was just an alias
for areAiFeaturesAllowed. Use areAiFeaturesAllowed directly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
mchen-sentry pushed a commit that referenced this pull request Feb 24, 2026
…8811)

## Summary
Removes 5 user-feedback AI feature flags owned by team-replay that have
been enabled at 100% via flagpole with no conditions:
- `organizations:user-feedback-ai-categorization`
- `organizations:user-feedback-ai-categorization-features`
- `organizations:user-feedback-ai-summaries`
- `organizations:user-feedback-ai-summaries-cache`
- `organizations:user-feedback-ai-titles`

These flags have been fully rolled out and their 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
…8811)

## Summary
Removes 5 user-feedback AI feature flags owned by team-replay that have
been enabled at 100% via flagpole with no conditions:
- `organizations:user-feedback-ai-categorization`
- `organizations:user-feedback-ai-categorization-features`
- `organizations:user-feedback-ai-summaries`
- `organizations:user-feedback-ai-summaries-cache`
- `organizations:user-feedback-ai-titles`

These flags have been fully rolled out and their 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
- Follow-up to #108811 (merged) per review comment from @billyvg
- After the `user-feedback-ai-titles` flag removal, `isAiSummaryEnabled`
became a redundant alias for `areAiFeaturesAllowed`
- Removes the variable and uses `areAiFeaturesAllowed` directly

## Test plan
- [x] `feedbackItemUsername.spec.tsx` passes (9/9 tests)

🤖 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

claude-code-assisted 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