Skip to content

fix(updater): make background checks optional and installs explicit - #565

Merged
wey-gu merged 2 commits into
mainfrom
fix/update-consent
Nov 17, 2026
Merged

wey-gu merged 2 commits into
mainfrom
fix/update-consent

Conversation

@wey-gu

@wey-gu wey-gu commented Nov 17, 2026

Copy link
Copy Markdown
Member

Settings said “Auto-update enabled” without an off switch. This conflated backend availability, automatic checking, and authorization to install a release (refs #531).

Add an immediate, persistent Automatically Check for Updates switch. Automatic checks remain enabled by default; users can disable them while retaining Check for Updates. macOS binds directly to Sparkle's persisted preference, without resetting it at startup. Windows/Linux persist a con-owned preference atomically, gate automatic network requests and cancel an active automatic fetch; manual checks and already-prepared downloads remain available.

Every con-managed installation now requires an explicit decision. macOS bundle policy disallows silent download/install even with an older stored opt-in, without erasing that preference. Portable updates retain separate Download and Restart actions. Package-managed installations retain their own update ownership.

Validation: 757 app tests passed; final focused updater (5) and Settings (16) tests passed, with app/CLI builds. The real Sparkle bridge probe verifies persistence, manual checks while off, and legacy opt-in suppression; packaging fixtures verify the generated plist policy. Workflow policy tests (12), actionlint, formatting, diff and docs checks passed. Isolated light/dark native UI checks verified toggling and restart persistence; a manual Sparkle check while off reached the intentionally unavailable local feed. No production settings/history were touched. Native Windows/Linux GUI lifecycle was not tested locally; their CI now runs all updater tests.

@wey-gu
wey-gu merged commit 6b67107 into main Nov 17, 2026
2 of 5 checks passed
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.

1 participant