Skip to content

Fix PowerShell 7.6 managed dependency version compatibility - #1183

Merged
Francisco Gamino (Francisco-Gamino) merged 2 commits into
devfrom
fix/ps76-managed-dependency-version-validation
Nov 11, 2026
Merged

Francisco Gamino (Francisco-Gamino) merged 2 commits into
devfrom
fix/ps76-managed-dependency-version-validation

Conversation

@Francisco-Gamino

@Francisco-Gamino Francisco Gamino (Francisco-Gamino) commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Issue describing the changes in this PR

Fixes #1182

Restore the previously supported behavior in while preserving the existing managed dependency validation and installation process in the PowerShell 7.6 worker.

Pull request checklist

  • My changes do not require documentation changes
    • Otherwise: Documentation issue linked to PR
  • My changes should not be added to the release notes for the next release
    • Otherwise: I've added my notes to release_notes.md
  • My changes do not need to be backported to a previous version
    • Otherwise: Backport tracked by issue/PR (not yet linked)
  • I have added all required tests (Unit tests, E2E tests)

README and release notes are updated, and unit regression tests were added. Additional E2E and hosted qualification remain release requirements. No separate documentation or backport tracking issue is linked.

Carry this fix into v4.x/ps7.6. No PowerShell 7.4 backport is required.

Additional information

Validation

Windows x64, .NET SDK 10.0.403, PowerShell SDK 7.6.9:

Actual runtime Results
.NET 10.0.14 49 manifest tests and 157 dependency-management tests passed. Release build passed with zero warnings or errors.
.NET 10.0.0 All 49 manifest tests passed, with zero failures or skipped tests. Native traces verified the actual testhost runtime.

Regression coverage includes four-part versions and historical screening behavior. Independent Principal implementation review: APPROVED. Independent minimum-runtime qualification review: ACCEPTED.

Remaining release qualification

  • Linux validation of this implementation.
  • Fully provisioned complete unit suites, including the existing ThreadJob prerequisite.
  • Worker-package and release-image qualification.
  • Hosted Functions dependency installation and invocation.

Accepting a version during worker screening does not guarantee successful module installation or execution.

Restore support for four-part module versions that were
previously accepted by the PowerShell worker.

Preserve existing dependency validation behavior and add
regression tests to prevent the issue from recurring.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Comment thread release_notes.md Outdated
@@ -1,3 +1,4 @@
* Restore historical basic screening for managed dependency versions in the PowerShell 7.6 worker, including four-component exact-version strings.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Copilot - the release notes need to be clear as part of the PowerShell worker release. For this code change, there should only be one entry for this change. Create an issue to track this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

release_notes.md already has exactly one entry for this change, and issue #1182 tracks the underlying compatibility fix. I haven’t created a duplicate issue.

andystaples
andystaples previously approved these changes Nov 9, 2026
Keep the release notes scoped to the current managed dependency version compatibility change.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Francisco-Gamino
Francisco Gamino (Francisco-Gamino) merged commit acde634 into dev Nov 11, 2026
8 checks passed
Francisco Gamino (Francisco-Gamino) added a commit that referenced this pull request Nov 11, 2026
…on-validation (#1184)

Fix PowerShell 7.6 managed dependency version compatibility
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.

The PowerShell 7.6 worker rejects four-part managed dependency versions.

5 participants