Skip to content

fix(git-integration): depth calculation#3526

Merged
mbani01 merged 1 commit into
mainfrom
hotfix/depth_calculation
Oct 16, 2025
Merged

fix(git-integration): depth calculation#3526
mbani01 merged 1 commit into
mainfrom
hotfix/depth_calculation

Conversation

@mbani01
Copy link
Copy Markdown
Contributor

@mbani01 mbani01 commented Oct 16, 2025

This pull request makes a small change to the logic for calculating batch depth in the clone_service.py. The condition for handling large repositories has been simplified, making the code easier to maintain.

  • Simplified the conditional logic in _calculate_batch_depth by removing the explicit check for repositories with up to 5000 branches/tags and instead using an else clause for large repositories, which sets calculated_depth to 5.

@mbani01 mbani01 self-assigned this Oct 16, 2025
@github-actions
Copy link
Copy Markdown
Contributor

⚠️ Jira Issue Key Missing

Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability.

Example:

  • feat: add user authentication (CM-123)
  • feat: add user authentication (IN-123)

Projects:

  • CM: Community Data Platform
  • IN: Insights

Please add a Jira issue key to your PR title.

@mbani01 mbani01 merged commit b3ae9b8 into main Oct 16, 2025
11 checks passed
@mbani01 mbani01 deleted the hotfix/depth_calculation branch October 16, 2025 17:58
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.

1 participant