Skip to content

Fix intermittent TruffleHog failures on Windows - #3716

Open
jpascucci-nv wants to merge 1 commit into
NVIDIA:mainfrom
jpascucci-nv:trufflehog-test
Open

jpascucci-nv wants to merge 1 commit into
NVIDIA:mainfrom
jpascucci-nv:trufflehog-test

Conversation

@jpascucci-nv

Copy link
Copy Markdown
Contributor

Description

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.

Checklist

  • I have read the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

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.
@jpascucci-nv jpascucci-nv added this to the cuda.core 1.4.0 milestone Dec 4, 2026
@jpascucci-nv
jpascucci-nv requested a review from rwgk December 4, 2026 20:52
@jpascucci-nv jpascucci-nv self-assigned this Dec 4, 2026
@jpascucci-nv jpascucci-nv added the CI/CD CI/CD infrastructure label Dec 4, 2026
@coderabbitai

coderabbitai Bot commented Dec 4, 2026

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Chores
    • Updated the local development secret-scanning check to use an additional mode. This change affects the development workflow only; no end-user-facing features or behavior have changed.

The secret-scan-trufflehog pre-commit hook now receives --local-dev. A comment states that the argument addresses Overseer’s intermittent silent exits on Windows.

Changes: TruffleHog hook configuration

Layer / File(s) Summary
Hook argument and comment
.pre-commit-config.yaml
The hook adds --local-dev. A comment describes its stated purpose in relation to intermittent silent exits on Windows.

Change: Bug fix

Merge Risk: Minimal · up to a4a8c

The hook now bypasses the process supervisor that caused intermittent silent exits on Windows. Secret verification and failure enforcement stay enabled. The change is small and easy to revert, and no merge-blocking risk was found.

Architecture risk: Low · up to a4a8c

The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency.

Changed areas: None identified.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between b6bb9ae and a4a8c0b.

Files selected for processing: 1

  • .pre-commit-config.yaml

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 10 remain after this review.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD CI/CD infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant