Skip to content

Conversation

Zabuzard
Copy link
Member

@Zabuzard Zabuzard commented Aug 1, 2022

Overview

We have an ongoing issue with the question overview in #active_questions being posted twice (a moderator is then usually pinged and deletes the duplicate). This happens roughly once or twice a week.

The cause of this are likely Discord hicups where the codes history-lookup can not locate the message, even though it is actually there.

This mitigates the issue, while still preserving the intended feature of having a fresh message post if the message is truly not the recent message in the channel, by allowing it to fail up to 3 times before it decides to send a fresh message.

@Zabuzard Zabuzard added enhancement New feature or request priority: normal labels Aug 1, 2022
@Zabuzard Zabuzard self-assigned this Aug 1, 2022
@Zabuzard Zabuzard requested review from a team as code owners August 1, 2022 10:57
@Zabuzard Zabuzard force-pushed the feature/make_active_questions_robust branch from e9c80f6 to ecbe112 Compare August 1, 2022 10:58
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 1, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@Zabuzard Zabuzard merged commit 6eb914c into develop Aug 13, 2022
@Zabuzard Zabuzard deleted the feature/make_active_questions_robust branch August 13, 2022 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request priority: normal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants