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

OpenCHAMI / ochami / 39440702273
93%

Build:
DEFAULT BRANCH: main
Ran 20 Oct 2026 02:40PM UTC
Jobs 1
Files 207
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 Oct 2026 02:35PM UTC coverage: 92.55% (+81.2%) from 11.399%
39440702273

push

github

web-flow
test: enforce project conventions with linters and source checks (#179)

* build(lint): enable linters that back conventions

Enable linters that enforce conventions the codebase already follows:

- forbidigo: commands use the runtime's streams rather than os.Stdin,
  os.Stdout, or os.Stderr; non-test code doesn't print with fmt.Print*;
  and only cmd/root.go calls os.Exit.
- depguard: pkg/ doesn't import the command tree, internal/cli, or
  internal/configfile, so it stays usable by external consumers without
  CLI state.
- paralleltest: command tests in cmd/ call t.Parallel().
- thelper, usetesting: test helpers call t.Helper() and tests use the
  testing package's own temp-directory, environment, and context helpers.
- nolintlint: every nolint directive names its linter, explains itself,
  and still suppresses something.

Comments in .golangci.yml say what each linter, setting, and exclusion
is for.

nolintlint flagged one directive that no longer suppresses anything, in
pkg/config's example; remove it.

Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>

* style: end doc comments with periods and fix misspellings

Enable godot, misspell, and dupword, and fix what they report:

- End declaration comments with a period, and turn StringToType's
  one-line list of conversions into a sentence.
- Fix "containg", "posesses", "Subcomands", and a doubled "from".
- Use two different xnames in "smd rfe delete"'s example of deleting
  several endpoints; it deleted the same one twice.

godot checks the entries in import, const, and var blocks too, but a
short label for a group of them (// Subcommands) isn't a sentence, so an
exclusion rule exempts those labels. The endpoint tables in BSS's and
SMD's GetStatus docs and SetNestedField's example become godoc code
blocks, which godot doesn't check.

dupword ignores "y", which tests repeat as answers to confirmation
prompts.

Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.githu... (continued)

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

240 existing lines in 92 files now uncovered.

12933 of 13974 relevant lines covered (92.55%)

540.55 hits per line

Coverage Regressions

Lines Coverage ∆ File
17
91.84
44.94% pkg/client/client.go
15
93.65
93.65% pkg/client/smd/smd.go
14
90.45
90.45% cmd/discover/static/static.go
8
97.15
3.67% pkg/discover/discover.go
7
88.64
20.22% pkg/client/patch.go
6
86.67
86.67% cmd/metadata/group/set.go
6
86.67
86.67% cmd/metadata/instance/set.go
6
91.79
91.79% cmd/root.go
6
88.42
88.42% cmd/smd/group/delete.go
6
93.75
93.75% pkg/client/rcs/rcs.go
5
94.2
94.2% cmd/cloud_init/node/get.go
4
88.68
88.68% cmd/bss/service/status.go
4
85.71
85.71% cmd/config/set.go
4
91.96
91.96% cmd/smd/rfe/delete.go
4
94.29
6.98% pkg/client/http.go
3
88.24
88.24% cmd/bss/history/history.go
3
92.75
92.75% cmd/cloud_init/defaults/set.go
3
88.35
88.35% cmd/metadata/group/patch.go
3
88.35
88.35% cmd/metadata/instance/patch.go
3
88.35
88.35% cmd/metadata/peer/patch.go
3
76.74
76.74% cmd/rcs/console/show.go
3
72.22
72.22% cmd/rcs/service/status.go
3
92.86
92.86% cmd/smd/component/add.go
3
94.64
94.64% cmd/smd/group/update.go
3
92.19
31.81% internal/log/log.go
2
93.85
93.85% cmd/boot/config/add.go
2
90.29
90.29% cmd/boot/config/patch.go
2
90.48
90.48% cmd/boot/config/set.go
2
94.24
94.24% cmd/boot/node/add.go
2
90.29
90.29% cmd/boot/node/patch.go
2
90.2
90.2% cmd/boot/node/set.go
2
78.57
78.57% cmd/boot/service/status.go
2
95.79
95.79% cmd/bss/boot/params/set.go
2
81.97
81.97% cmd/bss/hosts/get.go
2
90.29
90.29% cmd/metadata/defaults/patch.go
2
93.89
93.89% cmd/metadata/group/add.go
2
94.34
94.34% cmd/metadata/group/delete.go
2
94.34
94.34% cmd/metadata/instance/delete.go
2
94.34
94.34% cmd/metadata/peer/delete.go
2
87.76
87.76% cmd/metadata/peer/set.go
2
83.84
83.84% cmd/pcs/service/status.go
2
97.44
97.44% cmd/pcs/status/list.go
2
87.5
87.5% cmd/pcs/status/show.go
2
85.19
85.19% cmd/rcs/console/connect.go
2
83.33
83.33% cmd/rcs/console/list.go
2
95.54
95.54% cmd/smd/compep/delete.go
2
82.35
82.35% cmd/smd/compep/get.go
2
88.7
88.7% cmd/smd/component/delete.go
2
88.89
88.89% cmd/smd/component/get.go
2
93.75
93.75% cmd/smd/group/membership.go
2
95.65
95.65% cmd/smd/iface/delete.go
2
83.33
83.33% internal/cli/bss/bss.go
2
92.45
92.45% internal/cli/cloud_init/cloud_init.go
2
88.24
88.24% internal/cli/smd/smd.go
2
66.67
66.67% pkg/client/boot_service/health.go
2
97.37
59.74% pkg/client/boot_service/node.go
1
92.16
92.16% cmd/boot/bmc/patch.go
1
91.21
91.21% cmd/boot/bmc/set.go
1
94.29
94.29% cmd/boot/config/get.go
1
94.29
94.29% cmd/boot/node/get.go
1
86.92
86.92% cmd/bss/boot/image/set.go
1
97.22
97.22% cmd/bss/boot/params/get.go
1
94.29
94.29% cmd/bss/boot/script/get.go
1
74.0
74.0% cmd/bss/status/status.go
1
89.19
89.19% cmd/cloud_init/defaults/get.go
1
97.06
97.06% cmd/cloud_init/group/add.go
1
91.86
91.86% cmd/cloud_init/group/delete.go
1
94.0
94.0% cmd/cloud_init/group/get.go
1
92.41
92.41% cmd/cloud_init/group/render.go
1
95.59
95.59% cmd/cloud_init/group/set.go
1
94.67
94.67% cmd/cloud_init/node/set.go
1
89.25
89.25% cmd/metadata/defaults/set.go
1
94.74
94.74% cmd/metadata/group/get.go
1
92.79
92.79% cmd/metadata/instance/add.go
1
94.74
94.74% cmd/metadata/instance/get.go
1
93.6
93.6% cmd/metadata/peer/add.go
1
94.74
94.74% cmd/metadata/peer/get.go
1
85.71
85.71% cmd/metadata/service/status.go
1
81.82
81.82% cmd/pcs/transition/abort.go
1
94.81
94.81% cmd/pcs/transition/monitor.go
1
90.32
90.32% cmd/pcs/transition/start.go
1
96.55
96.55% cmd/smd/group/add.go
1
93.1
93.1% cmd/smd/group/member/add.go
1
93.8
93.8% cmd/smd/iface/get.go
1
84.62
84.62% cmd/smd/service/status.go
1
75.0
75.0% cmd/smd/status/status.go
1
88.24
88.24% internal/cli/pcs/pcs.go
1
66.67
66.67% internal/cli/rcs/rcs.go
1
97.37
67.67% pkg/client/boot_service/bootconfig.go
1
91.04
91.04% pkg/client/bss/bss.go
1
94.87
94.87% pkg/client/cloud_init/cloud_init.go
1
83.33
83.33% pkg/client/metadata_service/health.go
Jobs
ID Job ID Ran Files Coverage
1 39440702273.1 20 Oct 2026 02:40PM UTC 207
92.55
GitHub Action Run
Source Files on build 39440702273
  • Tree
  • List 207
  • Changed 182
  • Source Changed 179
  • Coverage Changed 181
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39440702273
  • 6d160801 on github
  • Prev Build on main (#38423343130)
  • Next Build on main (#39440703493)
  • 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