From 107531549a76238ce8bf51f280b0d7ade81bcf83 Mon Sep 17 00:00:00 2001 From: Gille <4317663+helix4u@users.noreply.github.com> Date: Mon, 17 Aug 2026 17:53:43 -0600 Subject: [PATCH 1/3] fix(update): show live Desktop update progress --- scripts/desktop-update/ui.html | 25 +++-- scripts/desktop-update/windows.ps1 | 93 ++++++++++++++++--- tests/test_desktop_update_windows_progress.py | 87 +++++++++++++++++ 3 files changed, 184 insertions(+), 21 deletions(-) create mode 100644 tests/test_desktop_update_windows_progress.py diff --git a/scripts/desktop-update/ui.html b/scripts/desktop-update/ui.html index 0009a98e52..2b36bf6403 100644 --- a/scripts/desktop-update/ui.html +++ b/scripts/desktop-update/ui.html @@ -3,8 +3,8 @@ Quiet shim page for the desktop update hand-off (Windows + POSIX). Served over loopback by the orchestrator (windows.ps1 / posix.sh) into a - chromeless browser app window. Pure veneer: polls /progress for `done` or - `error` and reacts; owns nothing (relaunch, result file, marker hygiene + chromeless browser app window. Pure veneer: polls /progress for the current + hand-off stage or a terminal event and reacts; owns nothing (relaunch, result file, marker hygiene all live in the orchestrator, which runs identically with no UI at all). The visual is PR #75895's update hand-off screen, ported verbatim: @@ -12,8 +12,8 @@ apps/bootstrap-installer/src/components/loader.tsx (itself lifted from apps/desktop/src/components/ui/loader.tsx 'fourier-flow'). Keep the constants in sync if the desktop's curve is retuned. - - Layout: loader (size-20) + one title + one muted line. No progress bar, - no stage list, no log pane, no cancel (see #75895 for the arguments). + - Layout: loader (size-20) + one title + one muted stage/elapsed line. No + progress bar, stage list, log pane, or cancel (see #75895 for the arguments). - Appearance follows the OS. Dark seeds are the installer's neutral charcoal (#232323 base, foreground #d6d6d6) — never brand blue. --> @@ -104,7 +104,7 @@
Hermes will open once done.
+Preparing update
0s elapsed