app: harden update flows (#16100)

* app: harden update flows

This hardens the windows update flows and adds a new opt-in and CI triggered unit test to verify Mac/Windows updates with verification.

* test: harden unit tests for OLLAMA_MODELS being set

* app: harden updater
This commit is contained in:
Daniel Hiltgen
2026-05-11 12:24:01 -07:00
committed by GitHub
parent c2f2d90a67
commit 3d5a011a2e
10 changed files with 889 additions and 69 deletions

View File

@@ -10,5 +10,6 @@ func setTestHome(t *testing.T, home string) {
t.Helper()
t.Setenv("HOME", home)
t.Setenv("USERPROFILE", home)
t.Setenv("OLLAMA_MODELS", "")
envconfig.ReloadServerConfig()
}