You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Build scripts commonly gate only on FailedCount (ignores failed blocks/containers) #2833
Noting a common problem we've seen in the wild: Pester 5 build/CI scripts that gate only on .FailedCount, ignoring FailedBlocksCount (failed BeforeAll/AfterAll) and FailedContainersCount (files that fail to discover/load). A failing BeforeAll or an unloadable test file then passes the build green.
Fixing across a number of community repos via PRs. A few Microsoft-owned repos have the same issue but need SSO to contribute, so tracking them here to fix later:
Activity
nohwnd commentedon Jul 1, 2026
Fix PRs opened (28)
AI-generated (Copilot CLI) PRs adding the missing
FailedBlocksCount+FailedContainersCountto the build gate. Checklist for status tracking:Microsoft/SSO repos
Excluded: gaelcolas/Sampler (own PR #582 open); Pester-4 repos and display-only usages.