GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [release/v7.6.10] Add ability to consume PowerShell modules from internal feed by daxian-dbw · Pull Request #28355 · PowerShell/PowerShell

Conversation

@daxian-dbw

@daxian-dbw Dongbo Wang (daxian-dbw) commented Nov 5, 2026

Copy link
Copy Markdown
Member

Backport of #28326 to release/v7.6.10

Triggered by Dongbo Wang (@daxian-dbw) 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

  • Required tooling change
  • Optional tooling change (include reasoning)

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

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

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. The backport cherry-picked without conflicts and the worktree is clean. Local tests were not run; backport CI validation is required before merge.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@adityapatwardhan @daxian-dbw
Add ability to consume PowerShell modules from internal feed (PowerSh…
9d664b4
…ell#28326)
@daxian-dbw
Dongbo Wang (daxian-dbw) requested review from a team and Justin Chung (jshigetomi) as code owners November 5, 2026 17:59
@daxian-dbw Dongbo Wang (daxian-dbw) added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Nov 5, 2026
Copilot AI balanced review requested due to automatic review settings November 5, 2026 17:59
@azure-pipelines

azure-pipelines Bot commented Nov 5, 2026

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Copilot started reviewing on behalf of Dongbo Wang (daxian-dbw) November 5, 2026 18:00
View session
Copilot AI reviewed Nov 5, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Module-only vPack/MSIX builds lack exported feed credentials, causing restore authentication failures, while unsupported net11 test fixtures throw before assertions.

2 open issues
  • High severity Module-only vPack builds do not receive feed credentials · New
  • High severity Use supported .NET versions in fixtures and expected endpoints · New
What changed in this PR

Backports #28326 to release/v7.6.10, allowing builds to consume bundled PowerShell modules from an internal feed independently of the selected .NET feed.

Changes:

  • Adds the opt-in UseEarlyAccessModules parameter, defaulting to false, across official and nonofficial pipelines.
  • Extends NuGet configuration and authentication for the internal module feed.
  • Adds infrastructure tests and documentation for feed selection and authentication.
File Description
test/​infrastructure/​NugetConfig.Tests.ps1 Adds feed-selection and authentication tests.
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-feed access and 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 releases.
.pipelines/​PowerShell-Packages-Official.yml Exposes the option for official package builds.
.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 releases.
.pipelines/​NonOfficial/​PowerShell-Packages-NonOfficial.yml Exposes the option for nonofficial package builds.
.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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .pipelines/templates/insert-nuget-config-azfeed.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread test/infrastructure/NugetConfig.Tests.ps1 Resolved

Uh oh!

There was an error while loading. Please reload this page.

@adityapatwardhan
Fix tests to remove net11
63bc98b
@adityapatwardhan Aditya Patwardhan (adityapatwardhan) mentioned this pull request Nov 5, 2026
Fix module-only vPack build feed credentials #28356
Merged
7 of 12 tasks
@daxian-dbw
Dongbo Wang (daxian-dbw) merged commit 2fc2796 into PowerShell:release/v7.6.10 Nov 5, 2026
38 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@daxian-dbw
Dongbo Wang (daxian-dbw) deleted the backport/release/v7.6.10/28326-778c6d753 branch November 5, 2026 19:03
@daxian-dbw Dongbo Wang (daxian-dbw) mentioned this pull request Nov 5, 2026
[release/v7.6.10] Fix module-only vPack build feed credentials #28362
Merged
3 of 9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@adityapatwardhan Aditya Patwardhan (adityapatwardhan) adityapatwardhan left review comments
Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@jshigetomi Justin Chung (jshigetomi) Awaiting requested review from jshigetomi jshigetomi is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@daxian-dbw @adityapatwardhan
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.