Repository navigation
Code style cleanups split out of #12500 - #14556
Open
DaanHoogland wants to merge 1 commit into
Open
DaanHoogland wants to merge 1 commit into
DaanHoogland wants to merge 1 commit into
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## removeOvmLeftovers #14556 +/- ##
=========================================================
+ Coverage 3.88% 20.86% +16.97%
- Complexity 0 21915 +21915
=========================================================
Files 493 6470 +5977
Lines 42571 589005 +546434
Branches 8069 72210 +64141
=========================================================
+ Hits 1653 122883 +121230
- Misses 40687 452785 +412098
- Partials 231 13337 +13106
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🔴 Test Coverage Grade:
|
| Metric | Value |
|---|---|
| Line coverage | 26.04% |
| Branch coverage | 20.32% |
Grade Scale
| Grade | Line Coverage | Meaning |
|---|---|---|
| 🟢 A | ≥ 80% | Excellent - this code sleeps well at night 😴 |
| 🟡 B | 60-79% | Good - almost there, don't stop now 😉 |
| 🟠 C | 40-59% | Acceptable - your code is wearing a seatbelt, but no airbags 😬 |
| 🔴 D | 20-39% | Marginal - boldly shipping where no test has gone before 🖖 |
| ⛔ F | < 20% | Failing - tests? what tests? 🔥 |
Branch coverage is shown as a secondary signal. Grade is determined by line coverage.
View full Actions run
…oupServiceImpl, SystemVmTemplateRegistration Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DaanHoogland
force-pushed
the
deprecatedHypervisorCleanups
branch
from
November 3, 2026 14:27
9fc6df3 to
749f2d1
Compare
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Depends on #14555
Description
Third PR of the stack: the code-style cleanups that were mixed into an earlier version of #12500, split out so they can be reviewed (or declined) on their own. Based on the Ovm/Ovm3 PR; review only the last commit.
Files:
ApiResponseHelper,Upgrade410to420,AffinityGroupServiceImpl,SystemVmTemplateRegistration.Mostly mechanical: diamond operators, logger placeholders, redundant try-with-resources semicolons,
isEmpty(), multi-catch. Changes that go beyond that:ApiResponseHelper: several capability/service response blocks are extracted into private static helpers. Two commented-outcreateUserVmResponseoverloads are deleted.Upgrade410to420: the stringif/elsechains becomeswitchstatements (same null behaviour as the.equals()calls they replace). The unuseddropUploadTable()and thesupportsRollingUpgrade()override are removed (the interface default also returnsfalse). Repeated messages become constants.Note:
Upgrade410to420is a historic upgrade path, so the changes there buy little and some reviewers may prefer to leave it alone.Types of changes
🤖 Generated with Claude Code