Skip to content

Add isolated module import profiles#417

Merged
PrzemyslawKlys merged 4 commits into
mainfrom
feature/module-isolation-docs
Jun 2, 2026
Merged

Add isolated module import profiles#417
PrzemyslawKlys merged 4 commits into
mainfrom
feature/module-isolation-docs

Conversation

@PrzemyslawKlys
Copy link
Copy Markdown
Member

Summary

  • add Import-IsolatedModule as the PowerShell-facing cmdlet for curated module isolation profiles
  • add reusable PowerForge isolation planning/patching services with built-in ExchangeOnlineManagement and MicrosoftTeams profiles
  • generate cmdlet help, external help, help index entries, and a narrative module-isolation guide with examples and profile guidance

Validation

  • dotnet test .\PowerForge.Tests\PowerForge.Tests.csproj -c Release --filter "ModuleIsolation|IsolatedModule" (8 passed)
  • .\Module\Build\Build-Module.ps1 -NoSign (documentation, PSScriptAnalyzer, file integrity, compatibility passed; local installed-module binary advisory and pre-existing PSPublishModule.Tests.ps1 mixed line endings warning reported)
  • Teams smoke: isolated MicrosoftTeams import exported 671 commands through MicrosoftTeams.ALC, loaded 6 Teams assemblies in the isolated context, and loaded 0 Teams assemblies in the default context
  • EXO/Az.Storage smoke: Az.Storage kept OData 7.6.4 in the default context while isolated EXO loaded OData 7.22 in ExchangeOnlineManagement.ALC
  • git -c core.whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol diff --cached --check

Notes

  • A full dotnet test .\PSPublishModule.sln -c Release run was attempted earlier and stopped after the net472 smoke and Studio lanes passed because the solution run hung in the later PowerForge.Tests lane. The focused isolation lane above completed cleanly after the final docs changes.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5f63e548f1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread PowerForge.PowerShell/Services/ModuleIsolation/IsolatedModuleImportService.cs Outdated
Comment thread PowerForge.PowerShell/Models/ModuleIsolation/ModuleIsolationProfile.cs Outdated
Comment thread PowerForge.PowerShell/Services/ModuleIsolation/ModuleIsolationScriptPatcher.cs Outdated
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bdaf30a696

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread PowerForge.PowerShell/Services/ModuleIsolation/IsolatedModuleImportService.cs Outdated
@PrzemyslawKlys PrzemyslawKlys merged commit 6388f92 into main Jun 2, 2026
6 checks passed
@PrzemyslawKlys PrzemyslawKlys deleted the feature/module-isolation-docs branch June 2, 2026 20:28
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.

1 participant