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

add patch along with range headers for pushChunks #230

Merged
merged 2 commits into from
Mar 22, 2025

Conversation

vaidikcode
Copy link
Contributor

Signed-off-by: Vaidik Bhardwaj [email protected]

Description

  • Added patch in OrasHttpClient
  • Added range headers in Const.java
  • As there are no dedicated test files for these two classes I just added a test for verifying a patch with newly added headers in the WireMock Test as it already contains tests for verifying headers and requests.

Testing done

All new tests pass

Submitter checklist

  • I have read and understood the CONTRIBUTING guide
  • I have run mvn license:update-file-header, mvn spotless:apply, pre-commit run -a, mvn clean install before opening the PR

@vaidikcode vaidikcode requested a review from jonesbusy as a code owner March 22, 2025 10:18
Signed-off-by: Vaidik Bhardwaj <[email protected]>
Copy link

codecov bot commented Mar 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.53%. Comparing base (ab9aab1) to head (be101ba).
Report is 6 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #230      +/-   ##
============================================
+ Coverage     85.51%   85.53%   +0.02%     
- Complexity      466      467       +1     
============================================
  Files            33       33              
  Lines          1539     1542       +3     
  Branches        175      175              
============================================
+ Hits           1316     1319       +3     
  Misses          148      148              
  Partials         75       75              

☔ 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.

@jonesbusy jonesbusy merged commit ff4e475 into oras-project:main Mar 22, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants