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

sendSlackMessage: don't send again if the there it increased by one f… #695

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

thypon
Copy link
Member

@thypon thypon commented Oct 24, 2024

…inding every time

use filteredMessage as a way to prevent over notification on slack. This would not send again any notification if there is an extra finding on a given PR, for the previous 50 message, or a day ago.

This would debounce chaingun messages in any slack channel from the main action itself.

It should not have any other side-effect.

This will effectively change the hash function, so invalidate the debounce for all the previous messages.

…inding every time

use filteredMessage as a way to prevent over notification on slack.
This would not send again any notification if there is an extra finding on a given PR,
for the previous 50 message, or a day ago.

This would debounce chaingun messages in any slack channel from the main action itself.

It should not have any other side-effect.

This will effectively change the hash function, so invalidate the debounce for all the previous messages.
@thypon thypon merged commit 1d88eb3 into main Oct 24, 2024
7 checks passed
@thypon thypon deleted the fix/debounce-more branch October 24, 2024 20:03
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