Skip to content

Keep generated ALC helpers private#518

Merged
PrzemyslawKlys merged 1 commit into
mainfrom
codex/binary-conflict-advisory
Jul 9, 2026
Merged

Keep generated ALC helpers private#518
PrzemyslawKlys merged 1 commit into
mainfrom
codex/binary-conflict-advisory

Conversation

@PrzemyslawKlys

Copy link
Copy Markdown
Member

Summary

  • keeps PowerForge-generated development binary loader helpers out of FunctionsToExport
  • preserves real root-psm1 function export detection for modules that intentionally expose script functions
  • adds regression coverage that Desktop binary conflict advisories do not fail staging builds by default

Why

PSWriteOffice's packaged ALC conflict lane was failing after the OfficeIMO release because the generated Import-<ModuleName>DevelopmentBinaryModule helper was being detected as a public function export. Documentation parity then required command docs for that internal helper. Binary conflict scanning itself remains advisory-only: the Desktop advisory is shown, but the build continues.

Validation

  • dotnet build .\PSPublishModule.sln --nologo
  • dotnet test .\PowerForge.Tests\PowerForge.Tests.csproj --filter "FullyQualifiedName~ModuleBuilderManifestMutatorTests|FullyQualifiedName~ModulePipelineExportAssemblyInferenceTests" --no-build --nologo --verbosity normal
  • PSWriteOffice local build using this PSPublishModule DLL completed with documentation parity verified at 421 Markdown / 421 MAML commands
  • PSWriteOffice packaged ALC conflict smoke test passed with a default-context DocumentFormat.OpenXml conflict assembly

@PrzemyslawKlys PrzemyslawKlys merged commit 7268ec1 into main Jul 9, 2026
6 checks passed
@PrzemyslawKlys PrzemyslawKlys deleted the codex/binary-conflict-advisory branch July 9, 2026 08:11
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