cmux/cmuxTests
Austin Wang e203c51c7a
Show update-available banner automatically on launch (#1651)
* Show update-available banner automatically on launch

Probe for updates immediately on launch via Sparkle's
checkForUpdateInformation() so the sidebar surfaces a passive update
indicator without waiting for the 24h scheduler. When Sparkle detects
an available update in the background, the pill now shows
"Update Available: X.Y.Z" with accent styling while the updater is
idle. Clicking it triggers the full interactive update flow.

Also fixes thread safety in delegate callbacks by dispatching
@Published mutations to the main queue.

Closes #1643

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Add periodic background update probe every 15 minutes

The launch-only probe wouldn't catch updates published while the app
is already running. Add a repeating 15-minute timer that calls
checkForUpdateInformation() so the sidebar banner appears within a
reasonable window after a new version is published.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Change background update probe interval to 30 minutes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Change update check interval to 1 hour and migrate existing users

Reduce Sparkle's scheduled check interval from 24h to 1h so update
banners appear sooner. Migrate users stuck on the old 24h default by
bumping the migration key to v2. Align background probe interval with
the Sparkle check interval instead of hardcoding 30 minutes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 12:30:44 -07:00
..
AppDelegateShortcutRoutingTests.swift Merge pull request #1724 from manaflow-ai/feat-display-harness-manifest-env 2026-03-18 06:07:56 -07:00
BrowserConfigTests.swift Fix test target build after split test sync 2026-03-18 03:49:24 -07:00
BrowserFindJavaScriptTests.swift Add find-in-page (Cmd+F) for browser panels (#837) (#875) 2026-03-04 16:15:15 -08:00
BrowserImportMappingTests.swift Refine browser import minimal UI 2026-03-17 16:46:10 -07:00
BrowserPanelTests.swift Fix test target build after split test sync 2026-03-18 03:49:24 -07:00
CJKIMEInputTests.swift fix(terminal): execute Return after Korean IME commit (#1671) 2026-03-17 22:07:45 -07:00
CommandPaletteSearchEngineTests.swift Prefer command palette title matches over keywords 2026-03-18 03:13:37 -07:00
GhosttyConfigTests.swift Fix laggy terminal sync during sidebar drags (#1598) 2026-03-18 01:28:11 -07:00
GhosttyEnsureFocusWindowActivationTests.swift Add shortcut change notification regression 2026-03-15 22:09:34 -07:00
NotificationAndMenuBarTests.swift Split 16k-line mega test file, bump CI timeout, stream xcodebuild output (#1717) 2026-03-18 01:17:25 -07:00
OmnibarAndToolsTests.swift Split 16k-line mega test file, bump CI timeout, stream xcodebuild output (#1717) 2026-03-18 01:17:25 -07:00
SessionPersistenceTests.swift fix: skip identical session autosave writes (#1732) 2026-03-18 03:24:40 -07:00
ShortcutAndCommandPaletteTests.swift Show update-available banner automatically on launch (#1651) 2026-03-18 12:30:44 -07:00
SidebarOrderingTests.swift Split 16k-line mega test file, bump CI timeout, stream xcodebuild output (#1717) 2026-03-18 01:17:25 -07:00
SidebarWidthPolicyTests.swift Allow smaller sidebar widths (#1420) 2026-03-13 21:40:25 -07:00
SocketControlPasswordStoreTests.swift Add command palette entries to install/uninstall cmux CLI in PATH (#626) 2026-02-27 01:53:13 -08:00
TabManagerSessionSnapshotTests.swift Fix SSH workspace priming and restore state 2026-03-13 20:01:26 -07:00
TabManagerUnitTests.swift Split 16k-line mega test file, bump CI timeout, stream xcodebuild output (#1717) 2026-03-18 01:17:25 -07:00
TerminalAndGhosttyTests.swift Fix laggy terminal sync during sidebar drags (#1598) 2026-03-18 01:28:11 -07:00
TerminalControllerSocketSecurityTests.swift Stabilize SSH remote flow after merging main 2026-03-16 23:57:48 -07:00
UpdatePillReleaseVisibilityTests.swift Fix titlebar shortcut hint clipping (#1259) 2026-03-12 03:27:10 -07:00
WindowAndDragTests.swift Fix test target build after split test sync 2026-03-18 03:49:24 -07:00
WorkspaceContentViewVisibilityTests.swift Fix floating portal terminal after nightly update relaunch (#1696) 2026-03-18 01:39:12 -07:00
WorkspaceManualUnreadTests.swift Fix test target build after split test sync 2026-03-18 03:49:24 -07:00
WorkspacePullRequestSidebarTests.swift Fix sidebar workspace PR status display and false positives (#1636) 2026-03-17 22:57:12 -07:00
WorkspaceRemoteConnectionTests.swift Stabilize SSH remote flow after merging main 2026-03-16 23:57:48 -07:00
WorkspaceStressProfileTests.swift Add workspace stress profiling and reduce switch churn (#1218) 2026-03-13 04:44:16 -07:00
WorkspaceUnitTests.swift Fix test target build after split test sync 2026-03-18 03:49:24 -07:00