Skip to content
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

neonvm-controller: Use virtio-mem when status.memoryProvider is nil #1110

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

sharnoff
Copy link
Member

@sharnoff sharnoff commented Oct 12, 2024

Part of #1060. Before we stop setting status.memoryProvider, we need to make sure that an empty status.memoryProvider is interpreted as virtio-mem.

We could do that everywhere status.memoryProvider is used, but it's probably just easier to do it at top, replacing our handling that originally set DIMM slots by default.

Part of #1060. Before we stop setting status.memoryProvider, we need to
make sure that an empty status.memoryProvider is interpreted as
virtio-mem.

We *could* do that everywhere status.memoryProvider is used, but it's
probably just easier to do it at top, replacing our handling that
originally set DIMM slots by default.
Copy link

github-actions bot commented Oct 15, 2024

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/neondatabase/autoscaling/pkg/neonvm/controllers 11.51% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/neondatabase/autoscaling/pkg/neonvm/controllers/vm_controller.go 25.23% (ø) 662 167 495

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

HTML Report

Click to open

@sharnoff sharnoff enabled auto-merge (squash) October 15, 2024 18:48
@sharnoff sharnoff merged commit 498573b into main Oct 15, 2024
22 checks passed
@sharnoff sharnoff deleted the sharnoff/neonvm-controller-virtio-mem-if-empty branch October 15, 2024 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants