Skip to content

fix: Caches slack events in order to prevent resends firing#104

Merged
BigSpaceships merged 32 commits intomainfrom
main-dev
May 3, 2026
Merged

fix: Caches slack events in order to prevent resends firing#104
BigSpaceships merged 32 commits intomainfrom
main-dev

Conversation

@WeatherGod3218
Copy link
Copy Markdown
Collaborator

What

what the PR changes
This PR adds a cache using the Slack event ids and trigger ids as a hash.

Why

why these changes were made
These changes were made in order to stop jumpstart sending two requests per announcement, along with adding a failsafe if slack throttles

Test Plan

how did you verify these changes did what you expected
Rerouted the jumpstart bot to the dev branch, to verify that all slack actions worked

Env Vars

did you add, remove, or rename any environment variables
No

Documentation

did you add or update any documentation. PRs should, at the minimum, update documentation when they make existing documentation out of date.
Documentation was added directly in the code, however /docs has not been updated

Checklist

  • Tested all changes locally

WeatherGod3218 and others added 24 commits April 12, 2026 16:41
fix: Slack immediately responds
fix: await await await await await await await await await
fix: Body argument in the wrong position
fix: actually return the correct thing
fix: Adds correct event has (im too tired)
fix: Slack lies to you, and it lied to me too
Copy link
Copy Markdown
Member

@pikachu0542 pikachu0542 left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Copy Markdown

@BigSpaceships BigSpaceships left a comment

Choose a reason for hiding this comment

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

overall fire, just two little things

Comment thread src/core/slack.py Outdated
Comment thread src/core/slack.py Outdated
Copy link
Copy Markdown

@BigSpaceships BigSpaceships left a comment

Choose a reason for hiding this comment

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

cooked 🔥

@BigSpaceships BigSpaceships merged commit 8014907 into main May 3, 2026
1 check passed
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.

3 participants