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(sentry apps): remove sentry_app auto disable #88216

Merged
merged 2 commits into from
Apr 3, 2025

Conversation

iamrajjoshi
Copy link
Member

This feature is buggy and doesn't use the organization_service to fetch an org.

from previous change to disable other parts of this feature

We've seen two reported cases where this is not behaving as expected.

Here, i disable the feature and add logging incase we want to investigate this apps in the future

continues #73295

fixes https://sentry.sentry.io/issues/6383663640/

@iamrajjoshi iamrajjoshi self-assigned this Mar 28, 2025
@iamrajjoshi iamrajjoshi requested review from a team as code owners March 28, 2025 16:39
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 28, 2025
Copy link

codecov bot commented Mar 28, 2025

Codecov Report

Attention: Patch coverage is 40.00000% with 3 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/integrations/slack/sdk_client.py 50.00% 1 Missing ⚠️
src/sentry/utils/sentry_apps/webhooks.py 50.00% 1 Missing ⚠️
tests/sentry/sentry_apps/tasks/test_sentry_apps.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #88216      +/-   ##
==========================================
+ Coverage   87.72%   87.74%   +0.02%     
==========================================
  Files        9980    10017      +37     
  Lines      564755   567546    +2791     
  Branches    22235    22235              
==========================================
+ Hits       495414   497977    +2563     
- Misses      68925    69153     +228     
  Partials      416      416              

@@ -63,7 +63,14 @@ def record_response_for_disabling_integration(response: SlackResponse, integrati
if is_response_error(response):
buffer.record_error()
if buffer.is_integration_broken():
disable_integration(buffer, redis_key, integration_id)
# disable_integration(buffer, redis_key, integration_id)
Copy link
Member

Choose a reason for hiding this comment

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

Mark this with a todo to remove in the future.

@iamrajjoshi iamrajjoshi enabled auto-merge (squash) April 3, 2025 15:13
@iamrajjoshi iamrajjoshi merged commit 401026c into master Apr 3, 2025
48 checks passed
@iamrajjoshi iamrajjoshi deleted the raj/turn-disable-sentry-apps-off branch April 3, 2025 15:44
adrian-codecov pushed a commit that referenced this pull request Apr 3, 2025
This feature is buggy and doesn't use the organization_service to fetch
an org.

from previous change to disable other parts of this feature
> We've seen two reported cases where this is not behaving as expected. 

Here, i disable the feature and add logging incase we want to
investigate this apps in the future

continues #73295

fixes https://sentry.sentry.io/issues/6383663640/
andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
This feature is buggy and doesn't use the organization_service to fetch
an org.

from previous change to disable other parts of this feature
> We've seen two reported cases where this is not behaving as expected. 

Here, i disable the feature and add logging incase we want to
investigate this apps in the future

continues #73295

fixes https://sentry.sentry.io/issues/6383663640/
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants