Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 chore: fix tests for ai issue summary in slack to prevent feature flag pollution #88408

Merged
merged 1 commit into from
Apr 1, 2025

Conversation

iamrajjoshi
Copy link
Member

updating the tests for slack ai issue summary so we don't mock feature flag checks. broke down the tests in the 2 cases where the feature flags are enabled and disabled

when we mock feature flag checks, we are susceptible to feature flag pollution where we end up not evaluating feature flags correctly and with_feature doesn't work as its supposed to.

ran into feature flag pollution in this pr: #88380

@iamrajjoshi iamrajjoshi requested review from a team April 1, 2025 00:49
@iamrajjoshi iamrajjoshi self-assigned this Apr 1, 2025
@iamrajjoshi iamrajjoshi changed the title 🔧 chore: fix tests for ai issue summary in slack 🔧 chore: fix tests for ai issue summary in slack to prevent feature flag pollution Apr 1, 2025
@iamrajjoshi iamrajjoshi requested a review from a team April 1, 2025 01:01
Copy link
Member

@roaga roaga left a comment

Choose a reason for hiding this comment

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

ty

@iamrajjoshi iamrajjoshi merged commit 17934c3 into master Apr 1, 2025
47 checks passed
@iamrajjoshi iamrajjoshi deleted the raj/fix-issue-summary-ff-pollution branch April 1, 2025 14:15
andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
…lag pollution (#88408)

updating the tests for slack ai issue summary so we don't mock feature
flag checks. broke down the tests in the 2 cases where the feature flags
are enabled and disabled

when we mock feature flag checks, we are susceptible to feature flag
pollution where we end up not evaluating feature flags correctly and
`with_feature` doesn't work as its supposed to.

ran into feature flag pollution in this pr:
#88380
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants