Skip to content

Add newer PS Adapters to pkg#1485

Open
SteveL-MSFT wants to merge 1 commit intoPowerShell:mainfrom
SteveL-MSFT:psadapter-pkg
Open

Add newer PS Adapters to pkg#1485
SteveL-MSFT wants to merge 1 commit intoPowerShell:mainfrom
SteveL-MSFT:psadapter-pkg

Conversation

@SteveL-MSFT
Copy link
Copy Markdown
Member

PR Summary

The new PS Adapters were missing from the package

Copilot AI review requested due to automatic review settings April 14, 2026 23:08
@SteveL-MSFT SteveL-MSFT added this to the 3.2-Consider milestone Apr 14, 2026
@SteveL-MSFT SteveL-MSFT requested a review from tgauth April 14, 2026 23:08
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

Note

Copilot was unable to run its full agentic suite in this review.

Adds missing PowerShell adapter resource JSON files to the build/package manifest so they are included in produced artifacts.

Changes:

  • Include PowerShell_adapter.dsc.resource.json in multiple PowerShell-related package lists.
  • Include WindowsPowerShell_adapter.dsc.resource.json in the Windows PowerShell-related package list.

"powershell.dsc.extension.json",
"powershell.discover.ps1",
"powershell.dsc.resource.json",
"PowerShell_adapter.dsc.resource.json",
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

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

The newly added filenames use different casing/formatting than surrounding entries (which are largely lowercase). If the packaging/build runs on a case-sensitive filesystem (common in Linux CI or container builds), any mismatch between these strings and the actual on-disk filenames will cause file-not-found errors and missing artifacts. Recommendation: ensure these entries match the exact on-disk filenames and consider aligning naming/casing conventions with the rest of the manifest to reduce cross-platform packaging risk.

Copilot uses AI. Check for mistakes.
"sshd-subsystem.dsc.resource.json",
"sshd-subsystemList.dsc.resource.json",
"windowspowershell.dsc.resource.json",
"WindowsPowerShell_adapter.dsc.resource.json",
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

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

The newly added filenames use different casing/formatting than surrounding entries (which are largely lowercase). If the packaging/build runs on a case-sensitive filesystem (common in Linux CI or container builds), any mismatch between these strings and the actual on-disk filenames will cause file-not-found errors and missing artifacts. Recommendation: ensure these entries match the exact on-disk filenames and consider aligning naming/casing conventions with the rest of the manifest to reduce cross-platform packaging risk.

Suggested change
"WindowsPowerShell_adapter.dsc.resource.json",
"windowspowershell_adapter.dsc.resource.json",

Copilot uses AI. Check for mistakes.
"powershell.dsc.extension.json",
"powershell.discover.ps1",
"powershell.dsc.resource.json",
"PowerShell_adapter.dsc.resource.json",
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

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

The same adapter filename is duplicated across multiple lists in this manifest, which increases the chance of future drift (added in one place but forgotten in others). If your build tooling supports it, consider centralizing these shared entries (e.g., via a shared include/template or generation step) so the adapter set is defined once and reused.

Copilot uses AI. Check for mistakes.
"powershell.dsc.extension.json",
"powershell.discover.ps1",
"powershell.dsc.resource.json",
"PowerShell_adapter.dsc.resource.json",
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

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

The same adapter filename is duplicated across multiple lists in this manifest, which increases the chance of future drift (added in one place but forgotten in others). If your build tooling supports it, consider centralizing these shared entries (e.g., via a shared include/template or generation step) so the adapter set is defined once and reused.

Copilot uses AI. Check for mistakes.
"powershell.dsc.extension.json",
"powershell.discover.ps1",
"powershell.dsc.resource.json",
"PowerShell_adapter.dsc.resource.json",
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

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

The same adapter filename is duplicated across multiple lists in this manifest, which increases the chance of future drift (added in one place but forgotten in others). If your build tooling supports it, consider centralizing these shared entries (e.g., via a shared include/template or generation step) so the adapter set is defined once and reused.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants