Skip to content

[8.19] Align beats-bump automation config#6730

Open
jeniawhite wants to merge 1 commit into
elastic:8.19from
jeniawhite:evgb-bump-beats-8.19
Open

[8.19] Align beats-bump automation config#6730
jeniawhite wants to merge 1 commit into
elastic:8.19from
jeniawhite:evgb-bump-beats-8.19

Conversation

@jeniawhite
Copy link
Copy Markdown
Contributor

What

Switch the updatecli beats config on 8.19 to the file-edit-only form used by the bump-beats-version.yml workflow, so the update-beats (8.19) job stops failing at config load.

Why

The update-beats workflow (on main) checks out each active branch and runs updatecli apply --config .ci/updatecli/updatecli.d/update-beats.yml. That config is read from the checked-out branch, but 8.19 still had the old config (requiredEnv "GIT_BRANCH" + scms/actions), while the new workflow sets BRANCH_NAME and runs --commit=false:

template: cfg:3:32: executing "cfg" at <requiredEnv "GIT_BRANCH">: error calling requiredEnv: no value found for environment variable GIT_BRANCH

How

  • .ci/updatecli/updatecli.d/update-beats.yml: replace with the BRANCH_NAME / --commit=false config the new workflow expects.
  • .github/workflows/updatecli.yml: remove beats from the matrices (now owned by the dedicated workflow).

Scope note (deliberately config-only)

This PR does not include the elastic/beats version bump. Unlike 9.3/9.4, bumping beats on 8.19 pulls elastic-agent-libs up to v0.43.1, which removes the global observer logging API (logp.ToObserverOutput / logp.ObserverLogs()) still used across ~22 sites in 6 test files on 8.19. That requires backporting the logptest.NewTestingLoggerWithObserver migration (already done on 9.3/main) and is best handled as a separate, deliberate change. With this config fix in place, the automation can run; the resulting bump PR will need that migration before it goes green.

🤖 Generated with Claude Code

Switch the updatecli beats config to the file-edit-only form used by the
bump-beats-version.yml workflow so the update-beats (8.19) job stops failing at
config load.

- .ci/updatecli/updatecli.d/update-beats.yml: use BRANCH_NAME / --commit=false
  config (the old config used requiredEnv GIT_BRANCH + scms/actions, which the
  new workflow does not set).
- updatecli.yml: remove beats from the matrices (now owned by the dedicated workflow).

This is the config-only fix for the failing job. The actual elastic/beats bump on
8.19 is left to the automation; note it will pull elastic-agent-libs v0.43.1, which
removes the global observer logging API (logp.ToObserverOutput / logp.ObserverLogs)
still used in 8.19 test code, so that bump PR will need a separate logptest migration.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jeniawhite jeniawhite requested a review from a team as a code owner June 5, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant