From 99e1f402c7ec146c6d28f2b49e612b2f597800cc Mon Sep 17 00:00:00 2001 From: Wasim Yousef Said Date: Tue, 28 Jul 2026 13:18:03 +0200 Subject: [PATCH] Remove the transient Studio desktop auth handoff (#7542) * Remove Studio desktop auth handoff flash * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- studio/frontend/src/app/provider.tsx | 28 ++++--------------- ...t_desktop_reliability_frontend_contract.py | 12 ++++++++ 2 files changed, 17 insertions(+), 23 deletions(-) diff --git a/studio/frontend/src/app/provider.tsx b/studio/frontend/src/app/provider.tsx index 9232defd70..8abb1df63e 100644 --- a/studio/frontend/src/app/provider.tsx +++ b/studio/frontend/src/app/provider.tsx @@ -395,9 +395,7 @@ function TauriWrapper({ children }: { children: ReactNode }) { ); } - const showApp = status === "running"; - const desktopBooting = status === "running" && !desktopAuthReady; - const showInteractiveApp = showApp && desktopAuthReady; + const showApp = status === "running" && desktopAuthReady; const startupStatus = status === "running" ? "starting" : status; const startupProgressDetail = progressDetail; const usesCustomTitlebar = shouldUseCustomWindowTitlebar(); @@ -409,28 +407,12 @@ function TauriWrapper({ children }: { children: ReactNode }) { - {showInteractiveApp ? ( - - ) : null} + - {showInteractiveApp ? : null} - {showInteractiveApp ? children : null} - {desktopBooting ? ( -
-
-
Preparing Unsloth
-
- The local backend is ready. Signing in to your desktop session - before loading chats. -
-
-
- Signing in to desktop session... -
-
- ) : null} + + {children} ) : ( " in source + assert "{children}" in source + + def test_full_app_layout_uses_its_own_initialized_marker(): source = APP_PROVIDER.read_text(encoding = "utf-8")