neondatabase / autoscaling

Postgres vertical autoscaling in k8s
Apache License 2.0
164 stars 21 forks source link

neonvm-controller: improve node failure reaction speed #1055

Closed Omrigan closed 1 month ago

Omrigan commented 2 months ago

Multiple commits, their descriptions:

Part of the https://github.com/neondatabase/cloud/issues/14114

sharnoff commented 1 month ago

@Omrigan IIUC this PR needs rebasing?

Omrigan commented 1 month ago
2. If you plan to rebase-and-merge, could you edit the commit titles to add the PR number before merging? (i.e. appending `(#1055)` so it looks similar to squash-and-merge)

I was thinking maybe it we don't really need it?

From the history, if you click on commit, then the commit will have a PR link.

So editing the commits saves us 1 click.

sharnoff commented 1 month ago

I was thinking maybe it we don't really need it?

From the history, if you click on commit, then the commit will have a PR link.

It's very useful to have that information available when interacting with git locally

github-actions[bot] commented 1 month ago

Merging this branch will increase overall coverage

Impacted Packages Coverage Δ :robot:
github.com/neondatabase/autoscaling/neonvm-controller/cmd 0.00% (ø)
github.com/neondatabase/autoscaling/pkg/neonvm/controllers 11.79% (+0.28%) :thumbsup:
github.com/neondatabase/autoscaling/pkg/neonvm/controllers/functests 0.00% (ø)

Coverage by file ### Changed files (no unit tests) | Changed File | Coverage Δ | Total | Covered | Missed | :robot: | |--------------|------------|-------|---------|--------|---------| | github.com/neondatabase/autoscaling/neonvm-controller/cmd/main.go | 0.00% (ø) | 132 (+2) | 0 | 132 (+2) | | | github.com/neondatabase/autoscaling/pkg/neonvm/controllers/config.go | 0.00% (ø) | 0 | 0 | 0 | | | github.com/neondatabase/autoscaling/pkg/neonvm/controllers/vm_controller.go | 25.87% (**+0.64%**) | 661 (-1) | 171 (+4) | 490 (-5) | :thumbsup: | _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._ ### Changed unit test files - github.com/neondatabase/autoscaling/pkg/neonvm/controllers/functests/vm_controller_test.go - github.com/neondatabase/autoscaling/pkg/neonvm/controllers/vm_controller_unit_test.go

HTML Report

Click to open