Skip to content

Add manifest patterns for DSC resource discovery#1505

Open
Gijsreyn wants to merge 3 commits intoPowerShell:mainfrom
Gijsreyn:gh-1504/main/allow-manifest-psdiscovery
Open

Add manifest patterns for DSC resource discovery#1505
Gijsreyn wants to merge 3 commits intoPowerShell:mainfrom
Gijsreyn:gh-1504/main/allow-manifest-psdiscovery

Conversation

@Gijsreyn
Copy link
Copy Markdown
Collaborator

@Gijsreyn Gijsreyn commented May 1, 2026

PR Summary

This pull request adds the *.dsc.manifests.* to discover adaptedresources through the extension.

PR Context

Fixes #1504

Copilot AI review requested due to automatic review settings May 1, 2026 09:38
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds support to the PowerShell discovery extension so it can surface DSC resources referenced via *.dsc.manifests.{json,yaml,yml} manifest-list files (including adaptedResources), addressing issue #1504.

Changes:

  • Bump Microsoft.PowerShell/Discover extension version to 0.1.1.
  • Extend PowerShell discovery file enumeration to include *.dsc.manifests.{json,yaml,yml} patterns.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
extensions/powershell/powershell.dsc.extension.json Bumps discover extension version to reflect the new discovery capability.
extensions/powershell/powershell.discover.ps1 Adds manifest-list glob patterns so *.dsc.manifests.* files are returned to the DSC discovery pipeline.

Comment thread extensions/powershell/powershell.dsc.extension.json
Comment thread extensions/powershell/powershell.discover.ps1
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.

PowerShell discovery extension does not surface adaptedResources entries from *.dsc.manifests.* files

2 participants