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

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

Build:
Build:
LAST BUILD BRANCH: bump_MIGRATION_OPERATOR_v0.0.14_main
DEFAULT BRANCH: main
Ran 03 Apr 2025 09:53AM UTC
Jobs 1
Files 83
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

03 Apr 2025 09:48AM UTC coverage: 72.296%. First build
14240046899

Pull #3379

github

nunnatsa
Fix a bug when setting a CPU quentity without a type

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>
Pull Request #3379: Fix a bug when setting a CPU quantity without a type

53 of 62 new or added lines in 7 files covered. (85.48%)

6524 of 9024 relevant lines covered (72.3%)

0.8 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
91.26
controllers/operands/aaq.go
3
80.49
controllers/operands/deploymentHandler.go
4
66.67
pkg/reformatobj/reformatobj.go
Jobs
ID Job ID Ran Files Coverage
1 14240046899.1 03 Apr 2025 09:53AM UTC 83
72.3
GitHub Action Run
Source Files on build 14240046899
  • Tree
  • List 83
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #3379
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