Skip to content

Add isolated module profile preflight validation#419

Merged
PrzemyslawKlys merged 1 commit into
mainfrom
codex/isolation-profile-preflight
Jun 3, 2026
Merged

Add isolated module profile preflight validation#419
PrzemyslawKlys merged 1 commit into
mainfrom
codex/isolation-profile-preflight

Conversation

@PrzemyslawKlys
Copy link
Copy Markdown
Member

Summary

  • add reusable isolated module profile preflight validation in PowerForge.PowerShell
  • add Test-IsolatedModuleProfile as a thin PowerShell cmdlet surface
  • make Import-IsolatedModule fail before copy/import when a curated profile layout is invalid
  • document source behavior in the authored module isolation doc and cmdlet XML comments; generated Module/Docs and help XML are left to the build pipeline

Validation

  • dotnet build .\PSPublishModule\PSPublishModule.csproj -c Release
  • dotnet test .\PowerForge.Tests\PowerForge.Tests.csproj -c Release --filter "ModuleIsolation|IsolatedModule"
  • packaged-layout smoke import from temp Module/PSPublishModule.psd1: Test-IsolatedModuleProfile exported, MicrosoftGraphAuthentication preflight IsValid=True, IssueCount=0, PathCount=30

@PrzemyslawKlys PrzemyslawKlys merged commit 4889297 into main Jun 3, 2026
6 checks passed
@PrzemyslawKlys PrzemyslawKlys deleted the codex/isolation-profile-preflight branch June 3, 2026 07: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