-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if key is in roots map of Processor (#718)
Before notifying, we should ensure the key is in the roots map to prevent attempts to notify check run on invalid, empty repo metadata. There is a chance the root map can miss a key if multiple revisions come in quickly and a new Processor for the latest revision is receiving a signal on an old revision. We shouldn't care about this signal since we already perform a clean defer to cancel those check runs on shutdown of the old revision Processor.
- Loading branch information
1 parent
268ec39
commit f17c2eb
Showing
2 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters