You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eliminate the visual flash on startup by creating the main window with
.visible(false) and revealing it only when Sky reports phase 3 (Restored).
The previous approach allowed Tauri's default immediate visibility, causing
a four-repaint cascade: native chrome → #1e1e1e inline background → VS Code
theme CSS → workbench DOM, observed as "purple/dark flash" and panel-pop
flicker over ~200ms.
Changes:
- WindowBuild.rs: Add .visible(false) to WebviewWindowBuilder chain
- AppLifecycle.rs: Add 3s safety timer to force-reveal if Sky crashes
before phase 3 (matches observed cold-boot p95 timing)
- WindServiceHandlers/mod.rs: Show window on phase 3 + set_focus()
- CommandProvider.rs: Handle missing workbench commands as silent no-ops
(getTelemetrySenderObject, testing.clearTestResults)
- DevLog.rs: Document Batch 4 fs-route/cmd-route diagnostic tags
- CocoonManagement.rs: Forward LAND_* env vars to Cocoon (fixes PostHog
bridge fallback)
The 3s safety timer guarantees the window appears even if Sky crashes before
signalling phase 3, preventing invisible-window lockup while rarely firing
on a healthy startup path.
0 commit comments