-
Notifications
You must be signed in to change notification settings - Fork 22
fix: resolve sudo workload install hang on macOS and visibility mismatch on Linux #521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
agneszitte
wants to merge
26
commits into
main
Choose a base branch
from
dev/agzi/issue-515-workload-context-followup
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
77d2c6d
fix: use user-first workload install with sudo fallback on Linux
agneszitte d35a945
fix: add 'inadequate permissions' and 'elevated privileges' to sudo r…
agneszitte 32d6a48
fix: use sudo -n in CI/non-interactive mode for workload install fall…
agneszitte 22334a2
fix: proactive SDK writability check and TTY-safe sudo fallback
agneszitte 200c149
fix: use sudo -S piped stdin to avoid macOS PTY hang
agneszitte 3c714f2
fix: harden sudo helpers per review feedback
agneszitte 9c00295
fix: harden FlushAndCloseInput and fix doc comment per review
agneszitte 4a6c3c0
fix: correct RetryWithSudo doc comment to describe sudo -S piping
agneszitte 624a830
fix: check cancellation before blocking password prompt and remove te…
agneszitte 9c4b05d
docs: expand ReadPasswordFromConsole XML doc to cover all null-return…
agneszitte 5c4d85c
fix: pre-cache sudo credentials before workload install spinner so pr…
ajpinedam 946b46b
fix: union user and sudo workload lists so mixed/elevated installs ar…
ajpinedam 0d3a4e6
fix: capture interactive sudo output so workload install failure diag…
ajpinedam 9518a8b
test: cover sudo-backed GetInstalledWorkloads merge logic with regres…
ajpinedam 7ff82aa
test: cover ShellProcessRunner FlushAndCloseInput and redirected-inpu…
ajpinedam 7b83dba
fix: quote dotnet path passed to interactive sudo so spaces don't bre…
ajpinedam 30efe37
fix: shell-double-quote dotnet path in WrapShellCommandWithSudo so SD…
ajpinedam e33d369
docs: clarify sudo-elevation spec — fallback path still captures pass…
ajpinedam 9e2afd0
fix: abort workload install when sudo pre-handshake fails so the hidd…
ajpinedam c98e71e
fix: re-handshake sudo before workload install so a long DOTNET_FORCE…
ajpinedam 3d8ed2d
fix: surface JsonException from ParseInstalledWorkloadIds so unparsea…
ajpinedam ff8fb2a
fix: catch Win32Exception from sudo launch in WrapShellCommandWithSud…
ajpinedam 297fe93
fix: catch Win32Exception from sudo -v in EnsureSudoCredentialsCached…
ajpinedam 39b3d8f
fix: broaden sudo-handshake-failed message so users aren't pushed tow…
ajpinedam e826cfb
fix: treat redirected stdout as non-interactive in ReadPasswordFromCo…
ajpinedam e22be93
fix: pin DOTNET_CLI_UI_LANGUAGE=en-US for dotnet workload invocations…
ajpinedam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.