Skip to content

BST-18082 Use scan_path=None for scanning entire repository#19

Merged
lindycoder merged 1 commit intomainfrom
BST-18082-scan-path-none-for-whole-repo
Jan 7, 2026
Merged

BST-18082 Use scan_path=None for scanning entire repository#19
lindycoder merged 1 commit intomainfrom
BST-18082-scan-path-none-for-whole-repo

Conversation

@lindycoder
Copy link
Copy Markdown
Contributor

Previously, when no scan_paths were specified in tests.yaml, the default was ["."] which caused the CLI to behave like it was scanning a mono repo. This was incorrect - the scan runner interprets "." as a subdirectory path rather than "scan the whole repo".

This change:

  • Changes Test.scan_paths default from ["."] to [] (empty list)
  • Changes MatrixEntry.scan_path type from str to str | None
  • Updates to_matrix_entries() to emit scan_path=None when scan_paths is empty

When scan_path=None is serialized to JSON, it becomes null, signaling to the scan runner to scan the entire repository without mono repo behavior.

🤖 Generated with Claude Code

Previously, when no scan_paths were specified in tests.yaml, the default
was ["."] which caused the CLI to behave like it was scanning a mono repo.
This was incorrect - the scan runner interprets "." as a subdirectory path
rather than "scan the whole repo".

This change:
- Changes Test.scan_paths default from ["."] to [] (empty list)
- Changes MatrixEntry.scan_path type from str to str | None
- Updates to_matrix_entries() to emit scan_path=None when scan_paths is empty

When scan_path=None is serialized to JSON, it becomes null, signaling to
the scan runner to scan the entire repository without mono repo behavior.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@lindycoder lindycoder marked this pull request as ready for review December 12, 2025 19:43
@lindycoder lindycoder requested a review from a team as a code owner December 12, 2025 19:43
@lindycoder lindycoder merged commit 39ab277 into main Jan 7, 2026
3 checks passed
@lindycoder lindycoder deleted the BST-18082-scan-path-none-for-whole-repo branch January 7, 2026 14:46
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.

2 participants