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

updated tag store read/write to blob #533

Merged
merged 2 commits into from
Aug 31, 2022

Conversation

jeetchoudhary
Copy link
Member

@jeetchoudhary
Copy link
Member Author

Background : [github-api] GHRepository.getFileContent doesn't support reading/writing a file with size more > 1 MB

@codecov
Copy link

codecov bot commented Aug 31, 2022

Codecov Report

Merging #533 (6efca97) into master (54173e8) will increase coverage by 0.64%.
The diff coverage is 65.51%.

❗ Current head 6efca97 differs from pull request most recent head c0999d5. Consider uploading reports for the commit c0999d5 to get more accurate results

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #533      +/-   ##
============================================
+ Coverage     81.75%   82.40%   +0.64%     
- Complexity      297      300       +3     
============================================
  Files            23       23              
  Lines          1058     1074      +16     
  Branches        135      135              
============================================
+ Hits            865      885      +20     
+ Misses          159      155       -4     
  Partials         34       34              
Impacted Files Coverage Δ
...dockerfileimageupdate/storage/GitHubJsonStore.java 45.23% <65.51%> (+18.76%) ⬆️

log.info("Image tag store {} is already initialized and have size more than 1 MB"
, path);
} else {
throw ex;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think we threw before - just want to make sure this is intended.

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, this is intentional. we were throwing it earlier as well just not explicitely.

Copy link
Collaborator

@afalko afalko left a comment

Choose a reason for hiding this comment

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

Thanks for the update! Small adjustment and a few typos in messages to resolve.

@github-actions github-actions bot added the tests Improvements / maintenance to tests label Aug 31, 2022
@afalko afalko merged commit cdc40a5 into salesforce:master Aug 31, 2022
@jeetchoudhary jeetchoudhary deleted the blob-read branch August 31, 2022 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Improvements / maintenance to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants