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

kubevirt / hyperconverged-cluster-operator / 16710633094
76%

Build:
DEFAULT BRANCH: main
Ran 03 Aug 2025 11:35PM UTC
Jobs 1
Files 92
Run time 1433min
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

03 Aug 2025 11:31PM UTC coverage: 75.266% (+0.07%) from 75.193%
16710633094

push

github

web-flow
[Chore] several refactoring's (#3681)

* Remove duplication of getPodAntiAffinity

The getPodAntiAffinity function defined twice. This commit moved it to a
share place to cancel the duplication.

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

* reduce function complexity

split the ssp.go customizeCommonDictAnnotations function, into small
functions, so it would be less complex, with less nestings.

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

* Take the golden images logic out of ssp.go

The golden images logic is meaningfully large, and takes a big part of
the ssp.go file. That creates confusions and make the file to large,
hard to read and maintained. In addition, many golden image unit tests
are duplicated, with several level of the flow.

This commit introduces the new golden-images package with all the golden images
(DataImportCron) logic, with more accurate unit test suite. Then it
removes all the golden images logic and tests from the handlers
packages, and use the new package instead.

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

* Empty hooks.GetEmptyCr()

Several implementations of the HCOResourceHooks.GetEmptyCr(), weren't
actually empty. This commit removes any non related data from these
empty resources.

Note: left the content only in the isHooks, where it's actually in use.

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

---------

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

249 of 259 new or added lines in 10 files covered. (96.14%)

5 existing lines in 1 file now uncovered.

7002 of 9303 relevant lines covered (75.27%)

1.78 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
10
95.48
controllers/handlers/golden-images/golden_images.go

Uncovered Existing Lines

Lines Coverage ∆ File
5
91.2
-4.07% controllers/handlers/ssp.go
Jobs
ID Job ID Ran Files Coverage
1 Unit - 16710633094.1 03 Aug 2025 11:35PM UTC 92
75.27
GitHub Action Run
Source Files on build 16710633094
  • Tree
  • List 92
  • Changed 8
  • Source Changed 8
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16710633094
  • ec6319fa on github
  • Prev Build on main (#16707038004)
  • Next Build on main (#16721267622)
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