Fail Fast with Amazon EventBridge
The text discusses a feature called "Fail Fast" that allows developers to cancel long-running builds as soon as they detect a failure. This is achieved by using an AWS EventBridge notification service to listen for Buildkite webhooks and extract the build state from the returned information. The recommended event pattern for this purpose includes job.finished, soft_failed, and associated event bus details. Upon detecting a failed build, the rest of the build is canceled, and users can see the reason for cancellation and link to the failed job's log output. This feature helps save developer time and reduce costs by providing quicker feedback loops.
Company
Buildkite
Date published
April 13, 2021
Author(s)
Jason Jacob
Word count
424
Hacker News points
None found.
Language
English