ci: PSScriptAnalyzer 1.25.0 still crashes intermittently (NullReference) in per-file mode #89

Closed
opened 2026-10-10 18:10:25 +00:00 by KofTwentyTwo · 0 comments
KofTwentyTwo commented 2026-10-10 18:10:25 +00:00 (Migrated from github.com)

The format gate's PSScriptAnalyzer step failed on the v1.0.2-beta.1 release run (38074357696) with Object reference not set to an instance of an object from Invoke-ScriptAnalyzer, even though #75-era hardening already runs one file per call. The failure is intermittent (every PR run today passed) and unrelated to the scripts. Make the step retry each file up to three times with a short pause, and fail only if a file keeps throwing, so a flaky analyzer cannot block a release. Part of #62.

The format gate's PSScriptAnalyzer step failed on the v1.0.2-beta.1 release run (38074357696) with `Object reference not set to an instance of an object` from `Invoke-ScriptAnalyzer`, even though #75-era hardening already runs one file per call. The failure is intermittent (every PR run today passed) and unrelated to the scripts. Make the step retry each file up to three times with a short pause, and fail only if a file keeps throwing, so a flaky analyzer cannot block a release. Part of #62.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KofTwentyTwo/gclo#89