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

KusionStack / kusion / 38733887864
46%
main: 46%

Build:
Build:
LAST BUILD BRANCH: ci/golangci-lint-v2
DEFAULT BRANCH: main
Ran 15 Oct 2026 12:25PM UTC
Jobs 1
Files 336
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

15 Oct 2026 12:11PM UTC coverage: 46.351% (+0.04%) from 46.315%
38733887864

Pull #1466

github

Iamrushabhshahh
style: fix findings reported by golangci-lint v2

The linters bundled with golangci-lint v2 report findings that v1 did
not. All are small and do not change behaviour, except the slog calls,
which logged the error as the message and produced a !BADKEY attribute.

- govet slog: logger.Error(err.Error(), "msg", "error", err) becomes
  logger.Error("msg", "error", err).
- staticcheck SA1006: fmt.Errorf(s) becomes errors.New(s), and
  fmt.Printf(s) becomes fmt.Print(s).
- staticcheck S1009: drop nil checks that len() already covers.
- predeclared: rename local "max" variables, which shadow the Go 1.21
  builtin, to "maxItems".
- prealloc: preallocate slices in non-test code.
- gofumpt: reformat k8s_printer.go.

Co-authored-by: Iamrushabhshahh <rushabhshah842@gmail.com>
Signed-off-by: Iamrushabhshahh <rushabhshah842@gmail.com>
Pull Request #1466: ci: migrate golangci-lint to v2

19 of 55 new or added lines in 16 files covered. (34.55%)

11383 of 24558 relevant lines covered (46.35%)

0.51 hits per line

Uncovered Changes

Lines Coverage ∆ File
18
5.29
0.0% pkg/engine/printers/printer/k8s_printer.go
10
55.52
0.0% pkg/server/route/route.go
3
51.4
-0.01% pkg/engine/operation/models/change.go
2
0.0
0.0% pkg/oci/client/client.go
1
83.45
0.69% pkg/engine/operation/watch.go
1
88.89
0.0% pkg/engine/runtime/terraform/tfops/tferrors.go
1
0.0
0.0% pkg/server/handler/endpoint/endpoint.go
Jobs
ID Job ID Ran Files Coverage
1 38733887864.1 15 Oct 2026 12:25PM UTC 336
46.35
GitHub Action Run
Source Files on build 38733887864
  • Tree
  • List 336
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1466
  • PR Base - main (#38716524375)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc