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

elastic / cloudbeat / 27023381872
76%

Build:
DEFAULT BRANCH: main
Ran 05 Jun 2026 03:33PM 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

05 Jun 2026 02:56PM UTC coverage: 75.771% (-0.04%) from 75.807%
27023381872

push

github

web-flow
Update elastic/beats and drop removed otelconsumer import (#6725)

### What
Bump `github.com/elastic/beats/v7` to the latest `main` commit
(`a6d4c42eeb5a`) and fix the build break it surfaces by removing an
obsolete blank import in `cmd/root.go`.

### Why
The automated beats-bump (`update-beats` workflow) has been failing at
`go mod tidy`:

```
github.com/elastic/cloudbeat/cmd imports
    github.com/elastic/beats/v7/x-pack/libbeat/outputs/otelconsumer:
    module github.com/elastic/beats/v7@latest found (v7.17.29), but does not contain package
```

beats elastic/beats#49929 ("Move otelconsumer out of x-pack") relocated
the package (`x-pack/libbeat/outputs/otelconsumer` →
`libbeat/otel/otelconsumer`) **and removed its
`outputs.RegisterType("otelconsumer", …)` registration** — it is no
longer a named output type and is now wired internally by the OTel
output controller. cloudbeat's only reference was a side-effect blank
import in `cmd/root.go`, so bumping beats past that move broke `go mod
tidy`.

No beat imports the package anymore and cloudbeat uses no symbol from
it, so the blank import is simply removed (not repointed — the new
package has no registration `init()`).

### How
- `cmd/root.go`: drop `_
"github.com/elastic/beats/v7/x-pack/libbeat/outputs/otelconsumer"`.
- `go.mod` / `go.sum`: `go get github.com/elastic/beats/v7@a6d4c42eeb5a`
+ `go mod tidy`.

The bump bot only edits `go.mod`/`go.sum`, so it cannot apply the source
fix itself; landing this unblocks future automated bumps.

### Verification (local, real toolchain)
- `go mod tidy` → exit 0
- `go build ./...` with `GOEXPERIMENT=jsonv2` → exit 0, clean
- No references remain to the other paths #49929 moved (`otelctx`,
`otelmap`).

🤖 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.

9726 of 12836 relevant lines covered (75.77%)

16.39 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
82.74
0.0% internal/resources/providers/gcplib/inventory/provider.go
Jobs
ID Job ID Ran Files Coverage
1 27023381872.1 05 Jun 2026 03:33PM UTC 235
75.77
GitHub Action Run
Source Files on build 27023381872
  • Tree
  • List 235
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 35770967 on github
  • Prev Build on gh-readonly-queue/main/pr-6642-d6bcede063e9edb89c895101b9313bbb0b1b5e23 (#26978280525)
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