rewindex

ChangesBuildkiteJobs not starting on hosted agents and agent-stack-k8s

Buildkite: Major incident: Jobs not starting on hosted agents and agent-stack-k8s

Major incidentoutage (model (Jev), 100%)Changed Detected stspg.io (opens in new tab)
Summary

Buildkite reported a major Agent API outage: jobs failed to start on hosted agents, agent-stack-k8s and other implementations using acquire job. The incident started at 2026-05-07 08:48 UTC and was resolved at 2026-05-07 09:37 UTC, lasting 49 minutes. Buildkite reverted a change that supplied stale environment variables to acquire job.

Machine-written from the diff below (Sol; type: incident outage). Check the diff before relying on it.

Incident page: the full timeline of updates

What changed

Struck in red is what Buildkite removed; blue is what they added. Muted text is unchanged context.

AddedTitle#1
Before: not present
After: Jobs not starting on hosted agents and agent-stack-k8s
AddedImpact#2
Before: not present
After: major
AddedStatus#3
Before: not present
After: postmortem
AddedStart time#4
Before: not present
After: 2026-05-07 08:48 UTC
AddedResolved time#5
Before: not present
After: 2026-05-07 09:37 UTC
AddedAffected components#6
Before: not present
After: Agent API
AddedUpdateinvestigating#7
Before: not present
After: We've spotted that something has gone wrong. We're currently investigating the issue with new builds not starting.
AddedUpdateinvestigating#8
Before: not present
After: We've identified issue with job acquiring endpoint. We're rolling back now. We'll provide next update in ~20 minutes.
AddedUpdateidentified#9
Before: not present
After: We're currently seeing recovery at 50% rate. We'll provide next update soon.
AddedUpdateresolved#10
Before: not present
After: We've reverted a change that caused stale environment variables provided to acquire job used in Hosted Agents, agent-stack-k8s and other agent implementations using acquire job.
AddedUpdatepostmortem#11
Before: not present
After: ## Service Impact On May 7th between 08:14 and 09:25 UTC customers using [hosted agents](https://buildkite.com/docs/agent/buildkite-hosted), the [k8s stack](https://buildkite.com/docs/agent/self-hosted/agent-stack-k8s) and the Buildkite agent [acquire job feature](https://buildkite.com/docs/agent/cli/reference/start#run-a-single-job) experienced failures when starting a job, resulting in an error message `Missing agent. See: buildkite-agent bootstrap --help`. ## Incident Summary As part of our efforts to improve the performance of our platform we shipped a change to how database commits were grouped together. This change inadvertently caused certain job environment variables to be omitted when a job was assigned via the acquire method. These variables are key to our integration with hosted agents as well as customers using our Kubernetes stack and their omission caused any jobs launched via this method to fail. While we had test coverage that ensured these variables were populated, these tests did not exercise the code path used by acquire job effectively enough to indicate this problem before it was deployed. Furthermore, while parts of the change were placed behind a feature flag, the refactor of the code that caused this bug were not. Attempts to restore service by rolling back this change were hindered by the current revision being selected for deploy instead of the previous. The initial rollback was triggered at around 08:40 UTC, but it wasn’t until 09:05 we realised the mistake and began the rollback to the correct revision. The rollback started deploying at 09:16 and at 09:25 service was fully restored. ‌ ![](https://lh3.googleusercontent.com/d/1VjNtAjf5IiIFcG7iYSH-9xHWNc5KCu-n) ## Changes we're making We have added additional rollback gates making it easier to identify when the incorrect revisions has been selected. Our test suite will be expanded to include contract tests for APIs used by Hosted Agent and the Kubernetes stack. Additionally, we are configuring Hosted Agent synthetic tests to automatically page on-call engineers when failures occur, improving our response times.

First version of this incident archived by Rewindex. View the live incident (opens in new tab).

Archive proof

Rewindex commits each version of an incident it captures to a daily checkpoint, chains it to the day before, and has the checkpoint timestamped by FreeTSA and DigiCert. That proves this record existed by then and has not been changed since, by anyone, Rewindex included.

How the archive is checked, and what it cannot prove.

History of this incident

Thursday, May 7

1 incident change

Cite this

Major incident: Jobs not starting on hosted agents and agent-stack-k8s on Buildkite’s status page, changed 2026-05-07 08:48 UTC (change 1 of 1).

Title
Major incident: Jobs not starting on hosted agents and agent-stack-k8s
Vendor
Buildkite
Date
URL
https://rewindex.com/change/i007ca0c579609e

All Buildkite changesBuildkite profileMarkdownJSON