This repository has been archived by the owner on Nov 22, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pulse messages that are not processed should not show up on Treeherder (
#93) We have some pulse messages which we filter out (i.e. ignore) and we don't want them to submit a 'Sch' job to Treeherder. This change adds to each of the handlers an ignore() method which allows us to quickly know if a message will be processed or not. In such cases we don't submit a Treeherder 'Sch' job. There are also other significant changes in here: * all handlers now return an exit code * the exit code is used to set the colour of the 'Sch' job * we log more info for each request * all handlers now have the same function name to process a pulse message * this will be important in the future when wanting to normalize all handlers
- Loading branch information
Showing
5 changed files
with
186 additions
and
114 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
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
Oops, something went wrong.