v7.7.0 (2026-10-16)
Changed
- Update buildkite-agent to v4.6.0 #1931 (@renovate[bot])
- Start the CloudWatch agent on boot on Windows #1930 (@petetomasik)
Fixed
- Stop restarting the Windows agent after it exits #1924 (@petetomasik)
- Retry transient errors before terminating without decrement #1929 (@petetomasik)
- Log the Windows shutdown fallback result and ship Windows instance logs to CloudWatch #1930 (@petetomasik)
Internal
Agent Changelog (v4.6.0)
v4.6.0
What's Changed
🔒 Security
- Stop running Git hooks from shared mirrors when
git-mirrors-pathis set, so anyone who can write to a mirror can't run code in the next job that updates it. Hooks put in a mirror on purpose no longer run by @isaacsu in buildkite/agent#4501
✨ Added
Job errors are an experimental feature that's only enabled for Buildkite's own pipelines. It isn't available to other organizations, and it may change or be removed.
- Report failed local Git commands in the default checkout as job errors when a step sets
BUILDKITE_CAPTURE_GIT_ERRORS: "true"by @pinzonjulian in buildkite/agent#4486 - Report failed Git fetches and clones as job errors, with codes for missing refs, rejected credentials and network failures by @pinzonjulian in buildkite/agent#4487
- Report checkout failures outside Git commands as job errors, such as checkout and lock timeouts, invalid refs and a missing
git-lfsby @pinzonjulian in buildkite/agent#4488 - Add the experimental
BUILDKITE_CAPTURE_AGENT_ERRORSopt-in for reporting failures the agent observes as job errors, and warn when the experimentalbuildkite-agent job capture-erroris given a code starting with the reservedbuildkite.prefix by @pinzonjulian in buildkite/agent#4464 - Report failed hooks as job errors, with the end of their output by @pinzonjulian in buildkite/agent#4469
- Report failed commands as job errors, with the end of their output by @pinzonjulian in buildkite/agent#4470
- Report secret and plugin failures as job errors by @pinzonjulian in buildkite/agent#4471
- Report failed pipeline uploads, secret and OIDC token requests, and Git credential lookups as job errors by @pinzonjulian in buildkite/agent#4472
- Report failed artifact uploads and downloads, and cache saves and restores, as job errors by @pinzonjulian in buildkite/agent#4473
- Report why the agent refused a job as a job error, such as a signature that doesn't verify or a value an allowlist refuses, and report Kubernetes containers that never connect or are lost by @pinzonjulian in buildkite/agent#4474
🐛 Fixed
- Correct the
--cancel-cleanup-timeouthelp text: it gives a stopping agent time to upload the job log, not artifacts by @scadu in buildkite/agent#4514
🔧 Changed
- Stop sending experimental
buildkite-agent job capture-errorreports for a job once Buildkite refuses one because the job's error quota is full or error capture isn't available by @123sarahj123 in buildkite/agent#4497
🏠 Internal
- Treat breaking experimental surface as a minor release change by @moskyb in buildkite/agent#4517
Full Changelog: buildkite/agent@v4.5.0...v4.6.0
Upgrading
Follow the v7 upgrade guide before updating. Remove or replace retired parameters in parameter files and deployment automation. If you use a custom AMI through ImageId or ImageIdParameter, rebuild it from the v7 base AMI and update it in the same stack update; a v6-based AMI might not boot under the v7 template depending on the configuration.
Perform a CloudFormation stack update with the following URL:
https://s3.amazonaws.com/buildkite-aws-stack/v7.7.0/aws-stack.yml
If you want to launch a new stack, you can use this link (make sure not to use your production AWS account, create a new one for CI):
Full Changelog: v7.6.0...v7.7.0