Skip to content

Release v1.3.3: fix a gitleaks baseline test that fails under parallel tests - #23

Merged
RobHofmann merged 2 commits into
mainfrom
22-gitleaks-test-race
Nov 9, 2026
Merged

RobHofmann merged 2 commits into
mainfrom
22-gitleaks-test-race

Conversation

@RobHofmann

Copy link
Copy Markdown
Owner

Refs #22

What changes

  • The test "removes the downloaded configuration and the allowlist afterwards" in Test-GitleaksBaseline.Tests.ps1 now skips a temp file that is gone by the time it reads it. Test files run in parallel with one shared temp folder, so another scan can delete its own file between the listing and the read. That file was not left behind, so it cannot be a leftover.
  • CHANGELOG v1.3.3, and every package is at 1.3.3.

Checks

  • A small script reproduces the error with the old line ("Cannot find path") and shows that the new line stays quiet.
  • The pre-flight passes: gates, tests and the secret scan.

@RobHofmann
RobHofmann merged commit 3b1fa47 into main Nov 9, 2026
16 checks passed
@RobHofmann
RobHofmann deleted the 22-gitleaks-test-race branch November 9, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant