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

elastic / cloudbeat / 23345627428 / 1
49%
main: 76%

Build:
Build:
LAST BUILD BRANCH: gd-test
DEFAULT BRANCH: main
Ran 20 Mar 2026 02:01PM UTC
Files 312
Run time 7s
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

20 Mar 2026 01:45PM UTC coverage: 49.311% (-0.004%) from 49.315%
23345627428.1

push

github

web-flow
[8.19](backport #4052) chore: update Go version to 1.26.1 (#4054)

## Summary
- Update Go toolchain version to 1.26.1 across the project
- Upgrade golangci-lint from 2.4.0 to 2.11.3 (required — 2.4.0 was built
with Go 1.25 and can't lint Go 1.26.1 code)
- Disable newly introduced revive rules that flag pre-existing code
patterns
- Fix 3 prealloc issues by preallocating slices with known capacity

## Changes

### Go version bump
| File | From | To |
|------|------|----|
| `.go-version` | 1.25.5 | 1.26.1 |
| `go.mod` | 1.25.5 | 1.26.1 |
| `scripts/update_assets_md/go.mod` | 1.24.0 | 1.26.1 |
| `docs/version.asciidoc` | 1.25.4 | 1.26.1 |
| `bin/.go-1.25.5.pkg` | renamed | `bin/.go-1.26.1.pkg` |
| `bin/go` | `.go-1.25.5.pkg` | `.go-1.26.1.pkg` |
| `bin/gofmt` | `.go-1.25.5.pkg` | `.go-1.26.1.pkg` |

### golangci-lint upgrade
| File | From | To |
|------|------|----|
| `bin/.golangci-lint-2.4.0.pkg` | renamed |
`bin/.golangci-lint-2.11.3.pkg` |
| `bin/golangci-lint` | `.golangci-lint-2.4.0.pkg` |
`.golangci-lint-2.11.3.pkg` |
| `.golangci.yaml` | — | Disable 6 new revive rules |

### Prealloc fixes
- `internal/resources/fetching/fetchers/azure/assets_enricher.go`
- `internal/resources/providers/awslib/rds/provider.go`
- `internal/resources/providers/gcplib/inventory/provider.go`

## Test plan
- [ ] CI pipeline passes with the new Go version
- [ ] Linter passes (`golangci-lint run` exits 0)
- [ ] Build and unit tests succeed<hr>This is an automatic backport of
pull request #4052 done by [Mergify](https://mergify.com).

---------

Co-authored-by: Oleg Sucharevich <oleg.sucharevich@elastic.co>

13749 of 27882 relevant lines covered (49.31%)

9.44 hits per line

Source Files on job 23345627428.1
  • Tree
  • List 312
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 23345627428
  • e33fb072 on github
  • Prev Job for on 8.19 (#23303515188.1)
  • Next Job for on 8.19 (#23901547153.1)
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