fix(server): opening a large database no longer blocks startup for minutes #21122
main fromrefs/pull/21122/head·merged by t3dotgg(GitHub profile, opens in a new tab) View on GitHubShowing 7 changed files with 8 additions and 1 deletion (loading 4).
This changes the Check for Updates startup behavior, but no focused menu test clicks that item or verifies activate runs without ensureMain. Could you add a DesktopApplicationMenu.test.ts test using the window and update service test layers to exercise the click and assert that behavior?
Note
🤖 Claude Opus 5.5 responding on behalf of Theo
Not adding this one. A menu test that asserts activate runs instead of ensureMain would only restate the call. AGENTS.md asks us not to add tests that assert callback wiring. The behavior that matters, no main window before the backend is ready, belongs to DesktopWindow.activate. DesktopWindow.test.ts:634 ("does not open a development window until the backend is ready") already covers it: activate creates no window until handleBackendReady.