Skip to content

feat: Eager load OS when querying Hosts#277

Merged
daniele-moro merged 5 commits intomainfrom
eagerloadOS_host
Jul 1, 2025
Merged

feat: Eager load OS when querying Hosts#277
daniele-moro merged 5 commits intomainfrom
eagerloadOS_host

Conversation

@daniele-moro
Copy link
Copy Markdown
Contributor

Description

For UI and MM requirements, when loading Hosts, we should eager load also the OS linked to the nested Instance resource. This solves problems when using caches around the system, where previously we were relying on the current/desired OS. Also, UI uses it to render the list of Hosts.

Any Newly Introduced Dependencies

Please describe any newly introduced 3rd party dependencies in this change. List their name, license information and how they are used in the project.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

  • I agree to use the APACHE-2.0 license for my code changes
  • I have not introduced any 3rd party dependency changes
  • I have performed a self-review of my code

@sys-orch sys-orch added the root label Jun 16, 2025
@daniele-moro daniele-moro enabled auto-merge (squash) July 1, 2025 09:11
@daniele-moro daniele-moro merged commit ed535e7 into main Jul 1, 2025
21 checks passed
@daniele-moro daniele-moro deleted the eagerloadOS_host branch July 1, 2025 09:34
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.

6 participants