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

kubevirt / hyperconverged-cluster-operator / 23049885880 / 1
79%
main: 79%

Build:
DEFAULT BRANCH: main
Ran 13 Mar 2026 12:05PM UTC
Files 133
Run time 3s
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

13 Mar 2026 12:01PM UTC coverage: 79.487% (+0.05%) from 79.435%
23049885880.1

push

github

web-flow
CNV-78906: Refactor the feature gate structure in API v1 (#4079)

* refine v1beta1 FG comments to match also v1

Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>

* Add shared feature gate types package

Add pkg/featuregates with Phase type and FeatureGate struct

Introduce pkg/featuregates as the shared package for feature gate
metadata types, used by both the code generator tool and production
code. Defines Phase (GA, beta, alpha, deprecated) with JSON
marshaling, FeatureGate struct, and FeatureGates slice with Sort().

Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>

* Add fg-json-generator tool

Add tool to generate feature gate JSON and conversion code from AST

Parses the v1beta1 HyperConvergedFeatureGates struct using go/ast to
extract feature gate metadata (JSON name, Go field name, phase,
description). Supports two modes: JSON output for feature gate catalog,
and --conversion mode for generating v1beta1<->v1 conversion functions.

Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>

* Add feature gate details package with go:generate

Add pkg/featuregatedetails to serve feature gate phase lookups

Embeds the generated feature-gates.json and provides GetFeatureGatePhase()
for runtime phase lookups. Wired via go:generate to the fg-json-generator
tool.

Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>

* Add v1 feature gates as a slice-based API

Refactor v1 feature gates from struct to slice of FeatureGate

Replace the v1 HyperConvergedFeatureGates struct (individual *bool
fields) with a slice-based []FeatureGate type in a new
api/v1/featuregates sub-package. Includes Enable/Disable/IsEnabled
methods, custom JSON marshaling, and deepcopy/openapi generation.

Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>

* Add fg-v1-comments tool for v1 field documentation

Add tool to auto-generate the FeatureGates field comment in v1

Generates a structured comment listing all feature gates with their
descrip... (continued)

9614 of 12095 relevant lines covered (79.49%)

2.0 hits per line

Source Files on job Unit - 23049885880.1
  • Tree
  • List 133
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 23049885880
  • 4db02feb on github
  • Prev Job for on main (#22999754575.1)
  • Next Job for on main (#23084484384.1)
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