Skip to content

Preserve repository identity in batch scans - #21

Open
rushitgit wants to merge 1 commit into
capitalone:mainfrom
rushitgit:fix/batch-repo-identity
Open

Preserve repository identity in batch scans#21
rushitgit wants to merge 1 commit into
capitalone:mainfrom
rushitgit:fix/batch-repo-identity

Conversation

@rushitgit

Copy link
Copy Markdown

While testing the batch runner with repositories from different owners, I noticed targets are keyed only by repository basename. team-one/service and team-two/service both resolve to repos_being_scanned/service, so one checkout can be reused and the same directory scheduled twice.

This keeps the existing batch flow but derives clone directories and target keys from both owner and repository (team-one__service). Equivalent URL forms collapse to one target, keeping clone, log, result, and resume state independent per repository.

Tested with the complete harness suite on Python 3.14: 163 tests passed with 95% overall coverage.

Key batch targets by GitHub owner and repository so same-named repos do not share a clone, log, or resume state. Collapse equivalent URL forms before scheduling duplicate scans.
@rushitgit
rushitgit requested a review from a team as a code owner July 29, 2026 01:55
@CLAassistant

CLAassistant commented Jul 29, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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