Skip to content

Guard PowerShell completion profile loading - #78

Merged
DamianEdwards merged 1 commit into
mainfrom
damianedwards-fix-powershell-completions-guard
Sep 2, 2026
Merged

DamianEdwards merged 1 commit into
mainfrom
damianedwards-fix-powershell-completions-guard

Conversation

@DamianEdwards

Copy link
Copy Markdown
Owner

Summary

  • guard the installer-managed completion profile entry when kusto or its generated completion script is unavailable
  • migrate and deduplicate legacy unguarded installer entries on reinstall
  • cover migration, safe profile loading, PATH absence, and idempotence in the installer contract test

Validation

  • pwsh -NoProfile -File .\scripts\Verify-PowerShellSyntax.ps1
  • pwsh -NoProfile -File .\scripts\Test-InstallerPayloadContract.ps1
  • powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File .\scripts\Test-InstallerPayloadContract.ps1

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 99b61183-38d1-4b3f-ac92-c1e868829830
@DamianEdwards
DamianEdwards merged commit ec7d72f into main Sep 2, 2026
9 checks passed
@DamianEdwards
DamianEdwards deleted the damianedwards-fix-powershell-completions-guard branch September 2, 2026 15:19
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