Commit Graph

2 Commits

Author SHA1 Message Date
Simone be4396ce83 fix(scripts): satisfy PSScriptAnalyzer (lint gate)
Lint / pssa (push) Successful in 31s
Lint / python (push) Successful in 1m3s
- Remove-Securely: suppress PSUseShouldProcessForStateChangingFunctions
  (internal best-effort shred; ShouldProcess prompts are undesirable)
  + add [CmdletBinding()].
- Replace the two empty catch blocks (Set-CIGuestCredential.ps1,
  Test-CIGuestWinRM.ps1) with Write-Verbose so PSAvoidUsingEmptyCatchBlock
  is satisfied while keeping best-effort behavior.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 22:31:34 +02:00
Simone 2ccc9009ff feat(scripts): add Set-CIGuestCredential.ps1
Lint / pssa (push) Failing after 36s
Lint / python (push) Successful in 40s
Stores a guest-VM credential into the LocalSystem keyring vault via a
transient SYSTEM scheduled task, using the production venv's keyring
(the backend ci_orchestrator reads). Fixes the per-user vault mismatch
that made act_runner (LocalSystem) fail with "Credential not found in
keyring" for cmdkey/UI-stored credentials.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 11:56:40 +02:00