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
refactor(pathfinder): remove two unused site-packages scan modules - #3602
_utils/find_site_packages_dll.py and _utils/find_site_packages_so.py have had no caller since #1194 (Oct 2025). Nothing in this repo imports them, by name or by string.
No behavior change: deletion only. The public names of cuda.pathfinder are unchanged and the full test suite passes (1651 passed, 6 skipped).
Testing
Full cuda_pathfinder test suite at this commit: 1651 passed, 6 skipped (Linux, Python 3.14).
pre-commit clean, including mypy-pathfinder.
Not run on Windows. Windows rules are exercised by tests that simulate Windows on Linux.
PLC Local Security Evidence (Advisory)
Local advisory checks only, run over the whole stack. Not release-gate results.
Check
Status
Tool
Details
Secrets
SKIP
Pulse Secret Scanner
scanner image not available locally (registry login); the repo trufflehog pre-commit hook passed
SAST
WARN
Semgrep
1 finding, not from this stack: the existing subprocess.run call in the canary probe in load_nvidia_dynamic_lib.py
Dependencies
WARN
pip-audit / osv-scanner
no manifest or lockfile in scope, so the local scan could not run; this stack changes no dependencies
rparolin
changed the title
pathfinder readability/1 remove unused modules
refactor(pathfinder): remove two unused site-packages scan modules
Nov 25, 2026
Reviewing files that changed from the base of the PR and between 613cfce and ae2f590.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Summary
Summary by CodeRabbit
Changes
Removed the ability to discover installed DLL and shared-library files by scanning package metadata.
Shared-library filename version parsing is no longer available through this functionality.
The pull request removes the modules that scan installed distribution metadata for DLL and shared-object files. It also removes shared-object filename suffix parsing.
The cached metadata scans for DLL and shared-object files are removed. The shared-object filename suffix parser is also removed.
Change: Refactor
Merge Risk: Minimal · previous review 613cf
This change removes two helper modules that nothing in the repository uses, so it should not change runtime behavior. No remaining references were found, and merge risk is minimal.
- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 2 remain after this review.
`_utils/find_site_packages_dll.py` and `_utils/find_site_packages_so.py`
have had no caller since #1194 (Oct 2025). Nothing in this repo imports
them, by name or by string.
No behavior change: deletion only. The public names of `cuda.pathfinder`
are unchanged and the full test suite passes (1651 passed, 6 skipped).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: Rob Parolin <rparolin@nvidia.com>
…' into pathfinder-readability/1-remove-unused-modules
This branch has not been deployed
No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
— codex on behalf of Ralf —
Description
Part 2 of 23 of a readability stack for
cuda.pathfinder(stack: #3623 → #3602 → #3603 → #3604 → #3605 → #3606 → #3607 → #3608 → #3609 → #3610 → #3611 → #3613 → #3618 → #3619 → #3620 → #3621 → #3622 → #3627 → #3628 → #3629 → #3630 → #3631 → #3632). No behavior change._utils/find_site_packages_dll.pyand_utils/find_site_packages_so.pyhave had no caller since #1194 (Oct 2025). Nothing in this repo imports them, by name or by string.No behavior change: deletion only. The public names of
cuda.pathfinderare unchanged and the full test suite passes (1651 passed, 6 skipped).Testing
cuda_pathfindertest suite at this commit: 1651 passed, 6 skipped (Linux, Python 3.14).mypy-pathfinder.PLC Local Security Evidence (Advisory)
Local advisory checks only, run over the whole stack. Not release-gate results.
subprocess.runcall in the canary probe inload_nvidia_dynamic_lib.pyChecklist
🤖 Generated with Claude Code