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

elastic / cloudbeat / 23345644873
76%
main: 76%

Build:
Build:
LAST BUILD BRANCH: renovate/main-google.golang.org-grpc-1.x
DEFAULT BRANCH: main
Ran 20 Mar 2026 02:01PM UTC
Jobs 1
Files 229
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

20 Mar 2026 01:45PM UTC coverage: 76.211% (+0.008%) from 76.203%
23345644873

push

github

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

## 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>

3 of 3 new or added lines in 3 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

9611 of 12611 relevant lines covered (76.21%)

16.74 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
95.79
-2.11% internal/vulnerability/snapshot.go
Jobs
ID Job ID Ran Files Coverage
1 23345644873.1 20 Mar 2026 02:01PM UTC 229
76.21
GitHub Action Run
Source Files on build 23345644873
  • Tree
  • List 229
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8a2fab68 on github
  • Prev Build on 9.2 (#23303522673)
  • Next Build on 9.2 (#23346578241)
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