| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Sorry, something went wrong.
There was a problem hiding this comment.
Module restores can fail when early-access modules are enabled in non-early-access builds because the shared vPack build does not map the acquired secret feed token into the environment.
1 open issue What changed in this PRBackports #28326 to release/v7.7.0, allowing builds to consume bundled PowerShell modules from an internal early-access feed independently of the .NET feed selection.
Changes:
| File | Description |
|---|---|
| test/infrastructure/NugetConfig.Tests.ps1 | Tests feed selection and authentication scenarios. |
| docs/building/internals.md | Documents internal module feeds and restore setup. |
| build.psm1 | Adds independent early-access module source selection. |
| .pipelines/templates/insert-nuget-config-azfeed.yml | Configures module feeds and publishes authentication credentials. |
| .pipelines/PowerShell-vPack-Official.yml | Exposes the module-feed option for official vPack builds. |
| .pipelines/PowerShell-Release-Official.yml | Exposes the option for official release runs. |
| .pipelines/PowerShell-Packages-Official.yml | Exposes the option for official package runs. |
| .pipelines/PowerShell-Coordinated_Packages-Official.yml | Exposes the option for official coordinated packages. |
| .pipelines/NonOfficial/PowerShell-vPack-NonOfficial.yml | Exposes the option for nonofficial vPack builds. |
| .pipelines/NonOfficial/PowerShell-Release-NonOfficial.yml | Exposes the option for nonofficial release runs. |
| .pipelines/NonOfficial/PowerShell-Packages-NonOfficial.yml | Exposes the option for nonofficial package runs. |
| .pipelines/NonOfficial/PowerShell-Coordinated_Packages-NonOfficial.yml | Exposes the option for nonofficial coordinated packages. |
| .pipelines/MSIXBundle-vPack-Official.yml | Exposes the option for MSIX bundle vPack builds. |
| .pipelines/apiscan-gen-notice.yml | Exposes the option for API scanning and notice generation. |
Review effort: Balanced
Sorry, something went wrong.
| - name: UseEarlyAccessModules | ||
| value: ${{ parameters.UseEarlyAccessModules }} |
There was a problem hiding this comment.
Copilot CLI reviewed this backport and confirmed that its changes match the original PR, #28326, as merged into master.
Sorry, something went wrong.
Pull request was closed
| Back | FazBrowse Home | New Git URL |
Backport of #28326 to release/v7.7.0
Triggered by Justin Chung (@jshigetomi) on behalf of Aditya Patwardhan (@adityapatwardhan)
Original CL Label: CL-BuildPackaging
/cc @PowerShell/powershell-maintainers
Impact
REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.
Tooling Impact
Enables release builds to consume bundled PowerShell modules from the internal early-access module feed independently of the selected .NET feed. UseEarlyAccessModules defaults to false, preserving existing feed selection unless explicitly enabled.
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Original PR adds test/infrastructure/NugetConfig.Tests.ps1 covering module-feed selection across source modes, authentication combinations, module-only authentication without a .NET feed selector, and token-acquisition failures. Conflict-free cherry-pick; CI required.
Risk
REQUIRED: Check exactly one box.
Changes shared build pipeline and feed-authentication infrastructure. The capability is opt-in via UseEarlyAccessModules, which defaults to false, preserving existing feed behavior. Included infrastructure tests cover feed selection and authentication scenarios; backport CI must pass before merge.