Repository navigation
Remove obsolete UI-thread dependency from credential setup - #7676
Merged
nkolev92 merged 2 commits intoSep 1, 2026
Merged
Conversation
Visual Studio no longer supports the Nexus server mode, so the check always returns false after switching to the UI thread. Preserve current credential behavior without introducing that unnecessary UI dependency. Co-authored-by: Copilot <[email protected]>
lifengl
marked this pull request as ready for review
August 31, 2026 21:53
nkolev92
previously approved these changes
Sep 1, 2026
3 tasks done
zivkan
reviewed
Sep 1, 2026
nkolev92
reviewed
Sep 1, 2026
nkolev92
approved these changes
Sep 1, 2026
kartheekp-ms
approved these changes
Sep 1, 2026
nkolev92
approved these changes
Sep 1, 2026
This was referenced Sep 2, 2026
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.
Bug
Fixes:
Related: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/3053202
Description
Visual Studio's Nexus server mode was removed, so
VSSM_Servercan no longer be returned. Credential-service initialization still queries that value on the UI thread even though all supported modes producenonInteractive: false.Remove the obsolete query and preserve
nonInteractive: false, avoiding an unnecessary UI-thread dependency when credential setup is reached from project evaluation or design-time builds. This does not change credential-provider interactivity or address other UI-affine credential paths.Tests are not added because the removed branch is unreachable in supported Visual Studio modes and the resulting
nonInteractivevalue is unchanged.PR Checklist