-
Notifications
You must be signed in to change notification settings - Fork 1.3k
small refactors on account manager #11784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## main #11784 +/- ## ============================================ - Coverage 17.89% 17.89% -0.01% + Complexity 16084 16082 -2 ============================================ Files 5936 5936 Lines 532635 532634 -1 Branches 65148 65148 ============================================ - Hits 95298 95289 -9 - Misses 426667 426674 +7 - Partials 10670 10671 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR performs small refactoring improvements to the AccountManagerImpl class to enhance code readability and maintainability. The changes include simplifying conditional logic, extracting reusable methods, and updating logging patterns.
- Simplified multiple conditional statements to use direct return expressions
- Extracted domain ID calculation logic into a reusable private method
- Updated logging to use parameterized format and modern charset handling
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
9dc2f0d to
bee7667
Compare
DaanHoogland
commented
Dec 8, 2025
@blueorangutan package
blueorangutan
commented
Dec 8, 2025
@DaanHoogland 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.
bee7667 to
9c9bb32
Compare
blueorangutan
commented
Dec 9, 2025
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15961
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can static be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, I think it can. Any pressing reason? It is a bit of a utility method and has no bearing on the manager internals.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think the keyword is useful here, but it's just a nitpicking. ;)
@hsato03
hsato03
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm
blueorangutan
commented
Dec 10, 2025
|
[SF] Trillian test result (tid-14945)
|
blueorangutan
commented
Dec 12, 2025
|
[SF] Trillian test result (tid-14967)
|
9c9bb32 to
10fa999
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Copilot
AI
Dec 12, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an extra space before the comma after the first placeholder. The code has "account ," but it should be "account," for consistent formatting.
10fa999 to
a9df597
Compare
@borisstoyanov
borisstoyanov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, on code
borisstoyanov
commented
Jan 29, 2026
@blueorangutan package
blueorangutan
commented
Jan 29, 2026
@borisstoyanov a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress.
blueorangutan
commented
Jan 29, 2026
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 16626
borisstoyanov
commented
Jan 29, 2026
@blueorangutan test
blueorangutan
commented
Jan 29, 2026
@borisstoyanov a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests
blueorangutan
commented
Jan 30, 2026
|
[SF] Trillian test result (tid-15337)
|
a9df597 to
7718dd8
Compare
Description
This PR does some small refactors encountered during trouble shooting. ...
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?