Skip to content

Fix backup type parameter version number in ListBackupsCmd - #14078

Open
DaanHoogland wants to merge 1 commit into
mainfrom
DaanHoogland-patch-2
Open

Fix backup type parameter version number in ListBackupsCmd#14078
DaanHoogland wants to merge 1 commit into
mainfrom
DaanHoogland-patch-2

Conversation

@DaanHoogland

Copy link
Copy Markdown
Contributor

Description

This PR fixes a too quickly committed 24.0 version number in a PR created before the version change got voted in ...

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

Copilot AI lite review requested due to automatic review settings September 8, 2026 07:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The diff sets since = "24.0" (and not a 4.x.y version), which conflicts with the PR’s stated intent and the established version format used across the API commands.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates the API parameter metadata for ListBackupsCmd by changing the since version string on the type (ApiConstants.TYPE) parameter, which influences CloudStack API documentation/version tracking for that parameter.

Changes:

  • Adjusted the since value for the type parameter in ListBackupsCmd.
File summaries
File Description
api/src/main/java/org/apache/cloudstack/api/command/user/backup/ListBackupsCmd.java Changes the since version metadata for the type parameter of the list-backups API command.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@codecov

codecov Bot commented Sep 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 19.78%. Comparing base (92946e1) to head (2616a3e).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##              main   #14078       +/-   ##
============================================
+ Coverage     3.53%   19.78%   +16.25%     
- Complexity       0    19994    +19994     
============================================
  Files          487     6371     +5884     
  Lines        41865   575907   +534042     
  Branches      7913    70496    +62583     
============================================
+ Hits          1479   113951   +112472     
- Misses       40171   449529   +409358     
- Partials       215    12427    +12212     
Flag Coverage Δ
uitests 3.53% <ø> (ø)
unittests 21.06% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

🔴 Test Coverage Grade: D — Marginal

Metric Value
Line coverage 24.68%
Branch coverage 18.89%

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

Copilot AI review requested due to automatic review settings September 8, 2026 11:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

@sonarqubecloud

sonarqubecloud Bot commented Sep 8, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants