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

kubernetes-sigs / kubebuilder / 38604767541
89%

Build:
DEFAULT BRANCH: master
Ran 14 Oct 2026 05:18PM UTC
Jobs 1
Files 103
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

14 Oct 2026 05:13PM UTC coverage: 87.439% (+0.002%) from 87.437%
38604767541

push

github

web-flow
🐛 (CLI): report a bad `--plugins` value on `create`/`alpha` and complete the flags of the project plugins (#6070)

* fix(cli): report a bad plugins flag on command groups and complete the flags of the project plugins

The create and alpha command groups could not run, so Cobra skipped the root
check and printed their help with exit code 0 even when the plugins flag was
malformed. They now run and print their help, so the malformed flag is
reported. They still do not use the project configuration.

A completion request never read the project configuration, so TAB offered the
flags of the default plugin chain instead of the plugins the project layout
names. Completion now reads the configuration for the commands the plugin
chain builds (init, edit, create api and create webhook). A configuration that
cannot be used still falls back to the defaults, and completing other commands,
such as alpha generate, still leaves PROJECT unread.

* fix(cli): mark command groups on the command and cover them in every project state

A command group is now marked with an annotation by asCommandGroup, which also
sets the function that prints its help, and checkCommandLine reads that
annotation. The list of group names in root.go is gone, so a new group cannot
be added in one place and missed in the other.

New specs check that create and alpha print their help with no PROJECT and
with each PROJECT that cannot be used, that a bad plugins value on them is
reported in every project state without mentioning the configuration, that
help asked for next to the bad value is still printed, and that completing the
flags of create api falls back to the default plugins without opening a
PROJECT that is not a regular file.

34 of 38 new or added lines in 4 files covered. (89.47%)

8945 of 10230 relevant lines covered (87.44%)

384.08 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
96.27
-0.31% pkg/cli/cli.go
2
99.16
-0.84% pkg/cli/root.go
Jobs
ID Job ID Ran Files Coverage
1 38604767541.1 14 Oct 2026 05:18PM UTC 103
87.44
GitHub Action Run
Source Files on build 38604767541
  • Tree
  • List 103
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2402b401 on github
  • Prev Build on master (#38599448088)
  • Next Build on master (#38605052652)
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