From a4a8c0b49853ee389479706cd031b8511d048c20 Mon Sep 17 00:00:00 2001 From: Jason Pascucci Date: Fri, 4 Dec 2026 12:49:40 -0800 Subject: [PATCH] Fix intermittent TruffleHog failures on Windows Pass --local-dev to the TruffleHog pre-commit hook to bypass its Overseer process supervisor. The supervisor can silently exit with code 1 when its Windows WMI parent-process check fails or times out, matching the intermittent incomplete scans observed in CI. Secret verification and failure enforcement remain enabled. --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 33aabb543422..c1eb9aec020a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,6 +22,8 @@ repos: rev: c736f0454dc99764a66af6b906adfcdfbf621985 # frozen: v0.4.0 hooks: - id: secret-scan-trufflehog + # Bypass Overseer's intermittent silent exits on Windows. + args: [--local-dev] - repo: https://github.com/astral-sh/ruff-pre-commit rev: 25bcf95026b96e2dd3c0aec3090c3d6ef6ca2e6c # frozen: v0.17.3