GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Implement unimplemented concurrency methods for all server classes by alerickson · Pull Request #2012 · PowerShell/PSResourceGet Conversation
|
|
/azp run |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Azure Pipelines successfully started running 1 pipeline(s). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This PR continues the concurrent install/find work by implementing previously-stubbed async methods across server API call classes and by broadening the gating so the concurrent code paths can be used for more repository types (beyond V2).
Changes:
Find*Async and InstallPackageAsync overrides for V3, NuGet server, local repo, and container registry server classes.FindHelper and InstallHelper so parallelism can be used across more API versions.Copilot reviewed 6 out of 6 changed files in this pull request and generated 9 comments.
| File | Description |
|---|---|
| src/code/V3ServerAPICalls.cs | Implements async find/install methods and adds async install/HTTP helpers for V3 repositories. |
| src/code/NuGetServerAPICalls.cs | Implements async wrappers for find/install methods for NuGet V2-style servers. |
| src/code/LocalServerApiCalls.cs | Implements async find/install methods for local repository server. |
| src/code/InstallHelper.cs | Broadens parallel install gating to apply regardless of repository API version. |
| src/code/FindHelper.cs | Broadens parallel find/dependency gating and routes more paths through async methods. |
| src/code/ContainerRegistryServerAPICalls.cs | Implements async wrappers for find/install methods for container registry server. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
/azp run |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Azure Pipelines successfully started running 1 pipeline(s). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
InstallPackageAsync was calling the synchronous InstallPackage() which writes to _cmdletPassedIn.WriteDebug, causing cross-thread cmdlet stream writes when used from Parallel.ForEach. - Refactor InstallPackageAsync to not call InstallPackage(); inline the null-version check and enqueue all messages via the provided queues - Add a queue-aware InstallVersion overload that uses ConcurrentQueue parameters instead of _cmdletPassedIn.Write* calls, for use by the async install path - Keep the original InstallVersion(out ErrorRecord) overload intact for the synchronous path
|
/azp run |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Azure Pipelines successfully started running 1 pipeline(s). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
|
/azp run |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Azure Pipelines successfully started running 1 pipeline(s). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/azp run |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Azure Pipelines successfully started running 1 pipeline(s). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/azp run |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Azure Pipelines successfully started running 1 pipeline(s). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/azp run |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/azp run |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.