-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix presubmit retry of missing builder (#3708)
Currently the presubmit LUCI pubsub handler has a couple of un-ACK'd messages because the PR has a ci.yaml that references a builder that was recently removed. The current code to determine whether to retry the job is throwing an uncaught exception when validating the config, causing the handler to return a 500. This catches that error, and forces the job not to retry, so that the message can be processed. Not retrying is the correct behavior, since it would fail again anway.
- Loading branch information
1 parent
7a8903e
commit 8d621c6
Showing
3 changed files
with
74 additions
and
6 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