Repository navigation
Desktop on Windows: a closed approval prompt says approval, and is told by exit code 1223 - #2715
Merged
Merged
Conversation
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
December 2, 2026 00:41
davidmckayv
force-pushed
the
fix/docker-update-windows-cancel
branch
4 times, most recently
from
December 2, 2026 04:03
d33f2f3 to
4b9149d
Compare
… password The Docker Desktop update on Windows asks through Windows' approval prompt. When the person closed it, the card was headed "Your password is needed" and the row said "Waiting for your password.", which Windows never asked for. On Windows they now say "Your approval is needed" and "Waiting for your approval."; macOS keeps the password words.
…by exit code 1223 A no to Windows' approval prompt was told by PowerShell's English words, so on a Windows in another language it read as a failed installer and Docker's installer was opened for the person to finish. The install script now finds ERROR_CANCELLED (1223) in the error Start-Process throws and exits with it, as the WSL fix does, and only that exit code counts as a no.
…ll's word, not the 30 s timer Since the Status window reads every 30 s, the test that waits for Running after a Start waited on that timer for its whole 30 s timeout and failed on a slow run. The shell tells the window when a Start finishes (status:refresh), so the test now says that, as the native side does, and waits at most 10 s.
… a backoff later On Windows an ask to a port nobody listens on takes about 2 s to fail. With the watcher's failure backoff on top, a window whose server went away reached setup only after about 19 s, and the test that holds it to 18 s failed on CI's Windows runner. The ask after a failure now comes no later than the moment the silence reaches 10 s.
davidmckayv
force-pushed
the
fix/docker-update-windows-cancel
branch
from
December 2, 2026 04:58
4b9149d to
6c2ce7a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two problems with the Docker Desktop update on Windows when the person says no to Windows' approval prompt.
The words. The card was headed "Your password is needed" and the row said "Waiting for your password.", but Windows asks for approval, not a password. On Windows they now say "Your approval is needed" and "Waiting for your approval.". macOS keeps the password words.
Telling a no from a failure. A no was recognised by PowerShell's English error text ("canceled by the user"). On a Windows in another language it read as a failed installer, and Docker's installer was opened for the person to finish by hand. The install script now finds
ERROR_CANCELLED(1223) in the errorStart-Processthrows and exits with it, as the WSL fix already does, and only that exit code counts as a no.Two fixes CI found in #2663's changes on the way:
a_running_openbot_whose_server_goes_away_shows_setup_by_itselffailed on CI's Windows runner. The ask after a failure now comes no later than the moment the silence reaches 10 s.status:refreshas the shell does when a Start finishes.Changelog
OpenBot Desktop.
Tests
a closed approval prompt on Windows asks for approval, not a password(App test with a Windows user agent): failed before with "Your password is needed" and "Waiting for your password.".a_no_to_windows_approval_prompt_is_told_by_its_exit_code_in_any_language: failed before on a German refusal with exit 1223.the_elevated_install_script_exits_1223_on_a_no_in_any_language(Windows only): runs the real script in Windows PowerShell, withStart-Processreplaced by the error it throws on a no, worded in German; it must exit 1223, and any other Win32 error must not.