Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: listBranches fails if repo has many branches #102

Merged
merged 5 commits into from Sep 8, 2020
Merged

fix: listBranches fails if repo has many branches #102

merged 5 commits into from Sep 8, 2020

Conversation

bcoe
Copy link
Contributor

@bcoe bcoe commented Sep 6, 2020

Because listBranches only returns pageSize branches, it fails to find an existing branch when a repository has had many releases.

We should land #101 first (which I forked off of for this branch).

@bcoe bcoe requested a review from a team September 6, 2020 00:44
@bcoe bcoe requested a review from a team as a code owner September 6, 2020 00:44
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 6, 2020
@codecov
Copy link

codecov bot commented Sep 6, 2020

Codecov Report

Merging #102 into master will decrease coverage by 0.05%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #102      +/-   ##
==========================================
- Coverage   85.72%   85.66%   -0.06%     
==========================================
  Files          14       14              
  Lines        1247     1249       +2     
  Branches       90       87       -3     
==========================================
+ Hits         1069     1070       +1     
- Misses        177      178       +1     
  Partials        1        1              
Impacted Files Coverage Δ
src/github-handler/branch-handler.ts 99.30% <100.00%> (-0.70%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1a25661...f7356a1. Read the comment docs.

@bcoe bcoe merged commit eda2336 into master Sep 8, 2020
@bcoe bcoe deleted the get-ref branch September 8, 2020 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants