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

Fix scribereader imports to work with newer package #58

Merged
merged 3 commits into from
Jun 5, 2024

Conversation

jfongatyelp
Copy link
Contributor

@jfongatyelp jfongatyelp commented Jun 5, 2024

After Yelp/paasta#3868 sticht can no longer read from scribe in order to detect slack button presses.

This is a quick fix to the imports that are needed for sticht to support scribereader as-is.

We may need to update this to use the replacement log infra later, but slack webhook logs are currently still going to our default scribe stream.

Testing

Building the wheel w/ python setup.py bdist_wheel and then installing this in a local paasta build does fix slack functionality:
Screenshot 2024-06-05 at 12 41 33 PM

Copy link
Member

@nemacysts nemacysts left a comment

Choose a reason for hiding this comment

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

.

sticht/slack.py Show resolved Hide resolved
@jfongatyelp jfongatyelp merged commit b5205d3 into master Jun 5, 2024
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.

2 participants