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>
This commit is contained in:
Wasim Yousef Said 2026-07-28 13:18:03 +02:00 committed by GitHub
commit 99e1f402c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 23 deletions

View file

@ -98,6 +98,18 @@ def test_chat_exports_await_native_saves_and_markdown_uses_shared_helper():
assert "downloadFile(" in thread
def test_desktop_startup_waits_for_auth_without_intermediate_handoff():
source = APP_PROVIDER.read_text(encoding = "utf-8")
assert 'const showApp = status === "running" && desktopAuthReady;' in source
assert "Preparing Unsloth" not in source
assert "Signing in to desktop session" not in source
assert "desktopBooting" not in source
assert "showInteractiveApp" not in source
assert "<NativeIntentDrain />" in source
assert "{children}" in source
def test_full_app_layout_uses_its_own_initialized_marker():
source = APP_PROVIDER.read_text(encoding = "utf-8")