-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a public API `TriggerResponse` proto message which is now returned from the Trigger function call. This message contains a Result enum which encompasses signalling the existing SUCCESS and FAILURE job trigger results, as well as a new UNDELIVERABLE result. It can be the case that a job hasn't necessarily failed, but it actually just can't be delivered to the target at this time. To prevent the Job going into a failure loop, receiving the `UNDELIVERABLE` result will put the job into a new "staging" queue. This puts the job into a holding pattern until it can be delivered. The consumer can use the new `DeliverablePrefixes` call to register the set of prefixes whose matching job names can be delivered. The returned `CancelFunc` is used to de-register this prefix. Prefixes are registered as a pool in that multiple identical prefixes can be registered and which will remain active until all are de-registered via cancellation. Signed-off-by: joshvanl <[email protected]>
- Loading branch information
Showing
42 changed files
with
2,335 additions
and
406 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.