ai newsMo., 19. Okt.
EilmeldungEmbeddingGemma 2 Expands Beyond Text to Support Code, Images, Video, and Audio

Buildkite Adds Scoped Secrets and New Agentic CI Tools

Continuous integration provider Buildkite has introduced pipeline-scoped secrets and new Model Context Protocol tools for validating pipelines, diagnosing failed builds and repairing webhooks. The company has also added Linux arm64 support to its GitHub Actions compatibility layer and expanded Open

InfoQMontag 11:00 · 19.10.4 Min. Lesezeit
Bild: InfoQ

The new secrets view is available under Pipeline settings. It lets engineers create cluster secrets whose access is restricted to the current pipeline, rather than managing every secret from the wider cluster interface. Teams can add conditions for a branch, queue, build source or build creator. Secret values remain hidden after creation.

Matt Mejia, writing in Buildkite's announcement, says the change "keeps pipeline-specific secrets together" while showing how many other secrets the cluster manages. Users need permission both to edit the pipeline and manage its cluster. GitHub Actions pipelines also display a prompt linking to secret configuration before their first workflow runs.

The Buildkite CLI now includes a command for migrating GitHub Actions secrets. Version 3.59.1 fixes handling of relative workflow paths during that migration. Agent v4.0.9 also redacts Buildkite tokens by prefix in job logs, while v4.0.8 redacts captured job errors using secrets registered for the job.

The work addresses several places where credentials can be exposed or configured incorrectly, although scoped storage does not remove the need to control their use inside steps. InfoQ reported in 2025 that HashiCorp was advocating prevention-first secret management throughout developer tools and CI/CD systems. Buildkite's own documentation advises teams to expose a secret only to the steps that require it.

The most extensive feature changes are in Buildkite's open-source MCP server. The new validate_pipeline tool checks pipeline YAML syntax and structure against Buildkite's official schema without uploading it or starting a build. It returns paths and error messages that an AI coding agent can use to correct invalid steps. The check does not cover environment variable interpolation, plugin configuration, dependency references or dynamically generated steps.

A second tool, compare_builds, compares a failed build with the most recent earlier successful build on the same branch, or with another selected build. It reports steps that have newly failed, recovered or remained broken, together with changes in runtime and retries. For up to three newly failing steps, it includes the end of the job log so an agent has some immediate diagnostic context.

The MCP release also adds Test Engine execution traces and slowest-execution queries. Another tool, create_pipeline_webhook, can add a missing GitHub webhook to an existing pipeline, avoiding the need to recreate it. Version 1.23.0 changed create_pipeline so that callers must specify create_webhook, which is a breaking change.

Buildkite reversed one earlier default after running evaluations, with failure summaries now again including jobs that never ran because making that behaviour optional led agents to issue extra tool calls. Remote MCP connections can now be pinned to one Buildkite organisation by adding it to the server URL. The option works with both toolset and read-only URLs.

Giving agents discrete validation, comparison and repair tools should reduce their reliance on parsing full logs and composing lower-level API calls. Permissions remain important because webhook repair and pipeline creation can modify CI configuration. InfoQ's coverage of GitHub agentic workflows describes a related security model based on isolated execution, restricted permissions and auditable actions.

Buildkite's GitHub Actions compatibility layer can now run its importer and generated jobs on Linux arm64 agents. Labels such as ubuntu-24.04-arm require an explicit queue mapping and do not fall back to x86-64 or emulation. The feature allows organisations with arm64 CI fleets to retain that architecture when bringing compatible Actions workflows to Buildkite.

Other compatibility fixes resolve environment values, named secrets, runtime variables and matrix values in service-container configuration. Buildkite has also exposed more strategy.* values to job and step expressions. The changed-file limit used by path filters has risen from 300 to 3,000, alongside a fix for push workflows where a branch moved after the original push.

Agent v4.1.0 adds cache save and restore durations and sizes to Buildkite telemetry. OpenTelemetry job spans now include the commit, pull request and build author. These fields add context for teams investigating slow jobs or retry patterns. Pinterest previously described using Honeycomb with Buildkite to separate agent waiting time from script execution and identify jobs behind build-time spikes.

The associated Elastic CI Stack v7 release brings Agent v4 to Linux and Windows instances on AWS. It removes Agent v3 support and retires or replaces some tracing and cancellation parameters. Buildkite advises users to review custom parameter files, deployment automation and values supplied through AgentEnvFileUrl before upgrading. Support for all Agent v3 releases ends on 3 September 2027.

Presented by: Martin Reynolds - Field CTO at Harness, and Barani Mohandoss - Director, Cloud Governance, FinOps & E-Tools at Trimble

Quelle: InfoQ (InfoQ). Original öffnen