Skip to content

Optimize PR branch calculation #756

Merged
cottsay merged 1 commit intoros-infrastructure:masterfrom
azeey:opt_pr_branch_calc
Apr 16, 2026
Merged

Optimize PR branch calculation #756
cottsay merged 1 commit intoros-infrastructure:masterfrom
azeey:opt_pr_branch_calc

Conversation

@azeey
Copy link
Copy Markdown
Contributor

@azeey azeey commented Jan 22, 2026

This uses git ls-remote instead of hitting the Github APIs for getting
a list of branches on the fork repo. This is faster and avoids Github's
rate limiting.

Generated-By: Gemini 2.5 Pro

This uses `git ls-remote` instead of hitting the Github APIs for getting
a list of branches on the fork repo. This is faster and avoids Github's
rate limiting.

Generated-By: Gemini 2.5 Pro
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 22, 2026

Codecov Report

❌ Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (master@7855f00). Learn more about missing BASE report.

Files with missing lines Patch % Lines
bloom/commands/release.py 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master     #756   +/-   ##
=========================================
  Coverage          ?   54.47%           
=========================================
  Files             ?       52           
  Lines             ?     6353           
  Branches          ?     1100           
=========================================
  Hits              ?     3461           
  Misses            ?     2557           
  Partials          ?      335           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Member

@cottsay cottsay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, thanks. I like that this limits the use of the GitHub token to only the creation of the pull request.

@cottsay cottsay merged commit d6a4827 into ros-infrastructure:master Apr 16, 2026
16 checks passed
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.

3 participants