Repository navigation
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 4.22 #12336 +/- ##
============================================
+ Coverage 18.02% 18.13% +0.11%
- Complexity 16247 16441 +194
============================================
Files 5936 5939 +3
Lines 535778 537342 +1564
Branches 65608 65864 +256
============================================
+ Hits 96556 97454 +898
- Misses 428225 428774 +549
- Partials 10997 11114 +117
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:
|
86379b7 to
c938bd1
Compare
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
|
@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 19410 |
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
1 similar comment
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
|
@blueorangutan package |
|
@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 19417 |
|
@shwstppr a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-17076)
|
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
|
@blueorangutan package |
|
@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 19464 |
|
@blueorangutan test |
|
@shwstppr a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-17127)
|
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
|
@blueorangutan package |
|
@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
There was a problem hiding this comment.
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.
Copilot review overview
4 open issues
getVariableNamesInErrorKeyexplicitly supports whitespace inside placeholders ({{ var }}), but… · New Avoid committing auto-generated TODO stubs in test utilities. Either implement this method… · New The line numbers reported for missing opening/closing braces are incorrect when the file has… · New The CLI exit code behavior forfix/sortdoesn’t match the module docstring (“fix was a no-op” →… · New
10 resolved since last review
This section has invalid indentation (theifunderexceptis not indented) and the… This block has two issues: (1) theelse:branch referencesex, which is only defined in the… Syntax error: theexceptclause is missing a trailing colon, which will prevent the test file… INCLUDE_RESOURCE_ID_FOR_ADMINS_IN_METADATA is currently unused: admin callers will always get the… In the fallback path (when AccountService bean is missing), the computed result is not cached into… Template variable is malformed:{{nicId}is missing a closing}. This will prevent placeholder…String.replace()only replaces the first occurrence, so templates with the same placeholder more… This assertion compares the expected message key toexception.getMessage(). Since this test was… The error key name contains what looks like a typo (sunninginstead ofrunning). Since keys are… Typo in message text: "scalling" → "scaling" (also reads more naturally as "only scaling up is…
Review effort: Lite
|
Packaging result [SF]: ✖️ el8 ✖️ el9 ✔️ debian ✖️ suse15. SL-JID 19603 |
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
|
@blueorangutan package |
|
@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 19618 |



Description
Framework-level improvements for contextual and localized API error messages
Design spec: Error Message Consistency, Customization, and Localization Framework
Documentation PR: apache/cloudstack-documentation#684
Developed focused documentation is also added at
api/src/main/java/org/apache/cloudstack/error/README.mdTypes of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
Refined error message with additional context for admin

User facing error, with localization

Example API response
How Has This Been Tested?
End-to-end testing and the following smoke test,
How did you try to break this feature and the system with this change?