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

bstoll / kne / 28408874944
42%
main: 42%

Build:
Build:
LAST BUILD BRANCH: update-k8s-v1.36
DEFAULT BRANCH: main
Ran 29 Jun 2026 11:14PM UTC
Jobs 1
Files 58
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

29 Jun 2026 11:12PM UTC coverage: 41.982% (-0.08%) from 42.058%
28408874944

Pull #10

github

bstoll
Fix golangci-lint violations and format YAML/Go files

This change aggregates several fixes to address golangci-lint violations, format code files, and update deprecated APIs.

Key changes:
- Refactored Go code to address golangci-lint violations and update deprecated APIs:
  - Replaced deprecated `k8s.io/utils/pointer` with `k8s.io/utils/ptr`.
  - Replaced deprecated `grpc.DialContext` with `grpc.NewClient`.
  - Replaced deprecated `remotecommand.Stream` with `StreamWithContext`.
  - Handled or logged errors from `CloseSend`, `ReadFrom`, `BindPFlags`, etc.
  - Standardized error message capitalization (removed leading capitals and ending punctuation).
  - Simplified boolean expressions and struct field accesses.
  - Addressed various linter-raised spelling errors and style comments (e.g. in `topo/node/sonic` and other nodes).
  - Renamed internal fields for better readability (e.g., `wantInitCtr` to `wantInitContainer` and `wantSonicCtr` to `wantSonicContainer` in `sonic.go`).
- Ran `go fmt` across all Go source files.
- Formatted YAML files and manifests according to linter configurations (added `---` document start markers, fixed spacing/indentation in cloudbuild config, deployments, and various topological templates).
- Updated configuration files for Super-Linter:
  - Added codespell configuration file `.github/linters/.codespellrc`.
  - Adjusted `.golangci.yml` linter settings.
  - Added rules to `.github/linters/.checkov.yaml`, `.github/linters/.gitleaks.toml`, etc.
  - Added dependency cooldown periods in `.github/dependabot.yml`.
- Improved documentation layout and resolved lint issues in `README.md` files.
Pull Request #10: Golangci lint fixes

62 of 134 new or added lines in 26 files covered. (46.27%)

1 existing line in 1 file now uncovered.

5186 of 12353 relevant lines covered (41.98%)

0.48 hits per line

Uncovered Changes

Lines Coverage ∆ File
15
31.45
-0.18% topo/node/node.go
5
61.77
-0.13% deploy/deploy.go
5
80.45
-0.26% topo/topo.go
4
19.43
0.0% topo/node/forward/forward.go
4
0.0
0.0% x/wire/file/client/main.go
4
0.0
0.0% x/wire/forward/main.go
4
0.0
0.0% x/wire/intf/client/main.go
4
36.3
-0.5% x/wire/wire.go
3
4.91
-0.06% cmd/root.go
3
0.0
0.0% flags/flags.go
3
61.43
0.0% load/deploy.go
3
27.83
0.0% topo/node/drivenets/drivenets.go
3
85.59
0.0% topo/node/openconfig/openconfig.go
3
0.0
0.0% x/webhook/main.go
2
58.7
-4.35% api/metallb/clientset/v1beta1/client.go
2
40.28
0.0% cmd/deploy/deploy.go
2
89.61
-0.3% topo/node/cisco/cisco.go
1
86.67
0.0% topo/node/alpine/alpine.go
1
67.56
0.0% topo/node/arista/arista.go
1
51.08
0.0% topo/node/nokia/nokia.go

Coverage Regressions

Lines Coverage ∆ File
1
80.45
-0.26% topo/topo.go
Jobs
ID Job ID Ran Files Coverage
1 28408874944.1 29 Jun 2026 11:14PM UTC 58
41.98
GitHub Action Run
Source Files on build 28408874944
  • Tree
  • List 58
  • Changed 13
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #10
  • PR Base - main (#28269982508)
  • Delete
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