Skip to content

Stop instantiating PackageSourceMappingService on NuGetPackage initialization - #7634

Merged
donnie-msft merged 1 commit into
devfrom
dev-donnie-msft-rpsLazyService
Aug 17, 2026
Merged

donnie-msft merged 1 commit into
devfrom
dev-donnie-msft-rpsLazyService

Conversation

@donnie-msft

@donnie-msft donnie-msft commented Aug 15, 2026 •

Copy link
Copy Markdown
Contributor

Bug

Fixes: bug introduced in #7613

Description

The Lazy service shouldn't be instantiated when NuGet's AsyncPackage is initialized in Visual Studio.

This is also an attempt to fix an RPS regression indicating we're causing the loading of GitHub Copilot to be earlier than before.

Validated that "Review with GitHub Copilot" button on Package Source Mappings VS Settings page still works as expected.

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests RPS will either stop failing or continue catching the issue.
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

@donnie-msft donnie-msft changed the title Stop instantiating PackageSourceMappingService on NuGetPackage initia… Stop instantiating PackageSourceMappingService on NuGetPackage initialization Aug 15, 2026
@donnie-msft donnie-msft changed the title Stop instantiating PackageSourceMappingService on NuGetPackage initialization [Draft] Stop instantiating PackageSourceMappingService on NuGetPackage initialization Aug 15, 2026
@donnie-msft donnie-msft changed the title [Draft] Stop instantiating PackageSourceMappingService on NuGetPackage initialization Stop instantiating PackageSourceMappingService on NuGetPackage initialization Aug 15, 2026
@donnie-msft
donnie-msft marked this pull request as ready for review August 15, 2026 01:43
@donnie-msft
donnie-msft requested a review from a team as a code owner August 15, 2026 01:43
@donnie-msft
donnie-msft merged commit 580e641 into dev Aug 17, 2026
17 of 18 checks passed
@donnie-msft
donnie-msft deleted the dev-donnie-msft-rpsLazyService branch August 17, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants