Flaky CI tests running PSScriptAnalyzer
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 474
- Forks
- 65
- Avg merge
- 22h 25m
- Merged PRs (30d)
- 26
Description
Description of the issue
PSRule.Static analysis.Has no quality errors fails during CI process inconsistently. Rerunning from same commit often does not reproduce the same issue making this issue extremely hard to identify. Most commonly the issue occurs on MacOS builds, but has been know to occur on other platforms too.
Continue monitoring with Invoke-ScriptAnalyzer -Verbose to collect additional information for logging an issue.
Additional context
Currently the issue seems to be related to AvoidReservedCharInCmdlet rule reported as PSReservedCmdletChar.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test path is named. Start by running the affected CI test with Invoke-ScriptAnalyzer -Verbose, especially on macOS, and compare results across repeated runs. Done means the intermittent PSReservedCmdletChar/AvoidReservedCharInCmdlet failure is explained and the CI check is made reliable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- ci-cd, devops, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100