• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

elastic / cloudbeat / 28493679187
76%
main: 76%

Build:
Build:
LAST BUILD BRANCH: 9.4
DEFAULT BRANCH: main
Ran 01 Jul 2026 04:49AM UTC
Jobs 1
Files 235
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Jul 2026 04:11AM UTC coverage: 75.779% (-0.04%) from 75.814%
28493679187

push

github

web-flow
[9.4] Update elastic/beats and align beats-bump automation (#6728)

### What
Backport the dedicated beats-bump automation to `9.4` and bump
`elastic/beats` to the latest `9.4` commit, fixing the build/lint breaks
it surfaces.

### 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 `9.4` still had the old config
(`requiredEnv "GIT_BRANCH"` + `scms`/`actions`), while the new workflow
sets `BRANCH_NAME` and runs `--commit=false`. So the `update-beats
(9.4)` job failed at config load:

```
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
file-edit-only config the new workflow expects.
- **`.github/workflows/updatecli.yml`**: remove `beats` from the
matrices (now owned by the dedicated workflow).
- **`cmd/root.go`**: drop the `x-pack/libbeat/outputs/otelconsumer`
blank import — beats moved it out of x-pack and de-registered it as an
output type (elastic/beats#49929), which is present on the `9.4` beats
branch.
- **`internal/launcher/launcher.go`**: replace deprecated
`Manager.Start` with `PreInit`/`PostInit` (staticcheck SA1019).
- **`go.mod`/`go.sum`**: bump to beats `9.4` tip;
**`cloudbeat.reference.yml`**: regenerated (autodiscover `labels.dedot`
default flipped to `true`).

### Verification (local, real toolchain)
- `go mod tidy`, `go build ./...` (`GOEXPERIMENT=jsonv2`), `staticcheck
-checks SA1019 ./internal/launcher/`, `go test ./internal/launcher/` →
all pass.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

0 of 5 new or added lines in 1 file covered. (0.0%)

4 existing lines in 2 files now uncovered.

9727 of 12836 relevant lines covered (75.78%)

16.41 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
79.56
-2.73% internal/launcher/launcher.go

Coverage Regressions

Lines Coverage ∆ File
2
79.56
-2.73% internal/launcher/launcher.go
2
83.06
0.0% internal/resources/providers/gcplib/inventory/provider.go
Jobs
ID Job ID Ran Files Coverage
1 28493679187.1 01 Jul 2026 04:49AM UTC 235
75.78
GitHub Action Run
Source Files on build 28493679187
  • Tree
  • List 235
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 15fd78a2 on github
  • Prev Build on gh-readonly-queue/9.4/pr-7112-2581c3d00ef96ac86d4d373fe48c3ba58a30a058 (#28456779121)
  • Next Build on 9.4 (#28501204120)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc