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: triggers should include all comments #365

Merged

Conversation

devinburnette
Copy link
Contributor

Noticed in my testing of #361 the code responsible for triggering evaluation was incomplete. Rules for methods that were more recently added weren't being evaluated until a user clicked on the details page in the github status link instead of at the time of the webhook event. This attempts to solve that.

Also added some tests for the Trigger method so that we can catch it in the future.

Copy link
Member

@bluekeyes bluekeyes left a comment

Choose a reason for hiding this comment

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

Good catch, and thank you for increasing the test coverage!

@bluekeyes bluekeyes merged commit 7c7dbb5 into palantir:develop Jan 14, 2022
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