ci: retry PSScriptAnalyzer per file when it throws #90

Merged
KofTwentyTwo merged 1 commits from ci/GH-89-analyzer-retry into main 2026-10-10 19:16:13 +00:00
1 Commits
Author SHA1 Message Date
james.maesandClaude Fable 5.1 0fcffb2a62 ci: retry PSScriptAnalyzer per file when it throws
PSScriptAnalyzer 1.25.0 still throws 'Object reference not set to an instance of an object' intermittently in per-file mode; it blocked the v1.0.2-beta.1 release run until a re-run. Each file is now analyzed up to three times and only a file that keeps throwing fails the gate.

Closes #89

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: James Maes <james@kof22.com>
2026-10-10 13:10:40 -05:00