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

kubevirt / hyperconverged-cluster-operator / 14333923257
72%
main: 76%

Build:
Build:
LAST BUILD BRANCH: metrics-docs
DEFAULT BRANCH: main
Ran 08 Apr 2025 12:58PM UTC
Jobs 1
Files 76
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

08 Apr 2025 12:48PM UTC coverage: 71.84% (+0.09%) from 71.754%
14333923257

push

github

web-flow
Fix a bug when setting a CPU quentity without a type (#3389)

When setting, for example, the
`spec.resourceRequirements.storageWorkloads.limit` field to `"1.5"`, the
client set the value in CDI to `"1500m"`. Then HCO will always find this
value as not matches to the required value of `"1.5"`, and will
constantly try to update CDI.

This PR fixes this issue by turning the required objects to json and back
to objects. The json marshaling peforms the same change in the object.
Now when HCO will compare the required value with the existing one, both
will be at the newer format, with the quntity type, and HCO will
understand that no change was done, and it will not try to update the CR
again.

Also. This PR adds a mutex protection to the cache in the operand
handlers.

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

56 of 65 new or added lines in 7 files covered. (86.15%)

2 existing lines in 1 file now uncovered.

6314 of 8789 relevant lines covered (71.84%)

0.79 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
91.51
-1.2% controllers/operands/aaq.go
3
80.49
-2.41% controllers/operands/deploymentHandler.go
4
66.67
pkg/reformatobj/reformatobj.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
95.38
-0.62% controllers/operands/ssp.go
Jobs
ID Job ID Ran Files Coverage
1 14333923257.1 08 Apr 2025 12:58PM UTC 76
71.84
GitHub Action Run
Source Files on build 14333923257
  • Tree
  • List 76
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b29f1b20 on github
  • Prev Build on release-1.14 (#14206026655)
  • Next Build on release-1.14 (#14399354023)
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