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

Removing the check about whether a slack channel exists #2386

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

pkaramol
Copy link
Contributor

@pkaramol pkaramol commented Jul 13, 2022

This PR removes the check about the existence of a slack channel.

This is done to:

  • avoid the necessity of channels:read scope to the corresponding bot (this is a broad scope and many orgs may be reluctant providing it)
  • the specific check hits the conversations.list endpoint that has a lower rate limit that may be also related to this issue

@pkaramol pkaramol requested a review from a team as a code owner July 13, 2022 12:41
@jamengual
Copy link
Contributor

@pkaramol so what happens if the channel does not exist? does altlantis could still get rate limit or blocked because is trying to send messages to a non existing channel that could be like a DDOS?

@jamengual jamengual added waiting-on-response Waiting for a response from the user bug Something isn't working labels Jul 14, 2022
@pkaramol
Copy link
Contributor Author

@jamengual what will happen is just a send failure here.

I have used this client many times and it just errors our, no connection with any DDoS imho.

@pkaramol
Copy link
Contributor Author

@jamengual should we proceed with this one? anything else needed?

@jamengual
Copy link
Contributor

yes, sorry, I forgot to merged foe the prerelese

@jamengual jamengual merged commit 8691b5f into runatlantis:master Jul 28, 2022
@pkaramol
Copy link
Contributor Author

yes, sorry, I forgot to merged foe the prerelese

Νο problem and thanks for the review

krrrr38 pushed a commit to krrrr38/atlantis that referenced this pull request Dec 16, 2022
woodonggyu pushed a commit to woodonggyu/docker-atlantis that referenced this pull request Dec 24, 2022
@nitrocode nitrocode added this to the v0.19.8 milestone Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting-on-response Waiting for a response from the user
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants