getunblocked.com/integrations/buildkite
Connect Buildkite with Unblocked to analyze CI failures
Unblocked’s CI Failure Agent reads your Buildkite build logs, analyzes failures across your pipelines, and posts a root-cause report with a suggested fix directly to the pull request.
Buildkite integration details
What the Buildkite integration adds
Buildkite supplies detailed build output while Unblocked supplies the surrounding code and pull-request history. The CI Failure Agent combines those inputs to turn a failed build into a concise, confidence-gated explanation at the point where the change is being reviewed.
Because Unblocked already understands your codebase, pull requests, and team discussions, its analysis is grounded in that context — it explains what broke and suggests a fix, with links back to the relevant code and history.
Buildkite connects with a read-only API token plus a build-finished webhook, so Unblocked is notified the moment a build fails. Reports post as a comment on the pull request and are gated by confidence.
What you get
- Build-log failure analysis — The CI Failure Agent reads your Buildkite build logs and analyzes failures across pipelines to find the root cause.
- Root-cause reports on the PR — When confident, Unblocked posts a comment on the pull request explaining the failure and suggesting a fix.
- Grounded in your codebase — Analysis draws on your indexed code, pull requests, and discussions, so suggestions fit how your project actually works.
- Confidence-gated, per-developer control — Reports post only when Unblocked is highly confident, and each developer can toggle them for their own PRs in Personal Settings → Preferences.
How to connect Buildkite to Unblocked
Need screenshots or troubleshooting?This is a concise connection summary. Follow the complete setup guide ↗
Prerequisites
- An Unblocked account (free to start).
- Your source code connected to Unblocked — the CI Failure Agent runs on your connected repositories.
- A Buildkite API Access Token with read scopes, with Unblocked’s IP ranges allowlisted, plus permission to add a webhook notification.
Connect Buildkite to Unblocked
- In Unblocked, open Settings → Continuous Integration, click Add CI Provider, and click the Buildkite tile.
- Create a Buildkite API Access Token with the read_build_logs, read_builds, read_organizations, read_pipelines, and read_user scopes, and add Unblocked’s CIDR ranges to Allowed IP Addresses.
- Add a Buildkite webhook (Notification Services): paste Unblocked’s Webhook URL and Token, select the build-finished event, and enable all pipelines.
- Toggle the repositories you want to enable, then click Save Settings.
Buildkite failures the agent can analyze
Examples of Buildkite failures the CI Failure Agent can investigate:
Why did the Buildkite build fail on this pull request?
What is the root cause of the failing step in the pipeline?
Which recent change most likely caused the build failure?