feat(update): add update deployment via web UI

- Deploy exe to alternate port 5033
- Current instance keeps running
- Add parallel mode and addr flag
- Add update panel to web UI
- Update OpenAPI spec and CLI
This commit is contained in:
2026-09-01 20:17:06 +03:00
parent 2318684e93
commit 1bba2c6b51
13 changed files with 338 additions and 16 deletions
+14
View File
@@ -0,0 +1,14 @@
package config
import "testing"
func TestAlternateListenAddr(t *testing.T) {
next, err := AlternateListenAddr("0.0.0.0:5032")
if err != nil || next != "0.0.0.0:5033" {
t.Fatalf("5032 -> %q, %v", next, err)
}
next, err = AlternateListenAddr("0.0.0.0:5033")
if err != nil || next != "0.0.0.0:5032" {
t.Fatalf("5033 -> %q, %v", next, err)
}
}