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

ref(slack): remove workspace app code #23545

Merged
merged 4 commits into from
Feb 3, 2021
Merged

Conversation

MeredithAnya
Copy link
Member

@MeredithAnya MeredithAnya commented Feb 2, 2021

We removed any organization integrations that were still using the slack workspace app in #23211.

In removing a lot of the code, many tests had to be updated because they were using the workspace integrations to test. There is a field in the integration metadata for Slack integrations called installation_type. This type can either be migrated_to_bot or born_as_bot. Workspace integrations do not have this type set.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2021

size-limit report

Path Base Size (94a6bc7) Current Size Change
public/app.js 313.25 KB 313.17 KB -0.03% 🔽
public/vendor.js 609.3 KB 609.3 KB 0%
public/sentry.css 26.12 KB 26.12 KB 0%

@@ -171,7 +171,4 @@ def reauthorize(self, data):
Each provider may have their own way of reauthorizing the
integration.
"""
if self.provider == "slack":
Copy link
Contributor

Choose a reason for hiding this comment

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

@MeredithAnya i think we can just remove this method and where it's used, no?

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah i wasn't sure if we should keep it if we needed to reauth in the future but like im removing all the frontend code and can always re-implement so yeah ill take that out

@scefali
Copy link
Contributor

scefali commented Feb 2, 2021

@MeredithAnya we also have a related TODO here:
https://github.com/getsentry/sentry/blob/master/src/sentry/api/serializers/models/integration.py#L86-L88

We can take care of that after but just want to make sure it doesn't get forgotten

@MeredithAnya MeredithAnya merged commit f835959 into master Feb 3, 2021
@MeredithAnya MeredithAnya deleted the removeslack/API-1632 branch February 3, 2021 23:26
@github-actions github-actions bot locked and limited conversation to collaborators Feb 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants