Skip to content

Conversation

guillaumemichel
Copy link
Contributor

@guillaumemichel guillaumemichel commented Aug 12, 2025

Companion PR to ipfs/kubo#10834

Warning

Don't merge before ipfs/kubo#10834 is ready to be merged, otherwise kubo compatibility will be broken


This builds on top of #976 to use the latest Provide interface as defined by the Reprovide Sweep.

It is necessary since Kubo will start using the new provide interface, and won't be able to satisfy the old provide interface required by boxo. Under the hoods, it is still possible to keep the same behavior as before this PR by using a wrapper around the old provider interface.

Copy link

codecov bot commented Aug 12, 2025

Codecov Report

❌ Patch coverage is 18.00000% with 41 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.49%. Comparing base (7373db1) to head (8b6d074).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
mfs/dir.go 35.29% 7 Missing and 4 partials ⚠️
blockstore/blockstore.go 0.00% 8 Missing and 1 partial ⚠️
pinning/pinner/dspinner/pin.go 0.00% 8 Missing ⚠️
ipld/merkledag/merkledag.go 0.00% 7 Missing ⚠️
mfs/root.go 20.00% 4 Missing ⚠️
mfs/file.go 50.00% 1 Missing and 1 partial ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #995      +/-   ##
==========================================
+ Coverage   60.47%   60.49%   +0.01%     
==========================================
  Files         267      267              
  Lines       33246    33278      +32     
==========================================
+ Hits        20107    20133      +26     
- Misses      11475    11478       +3     
- Partials     1664     1667       +3     
Files with missing lines Coverage Δ
provider/provider.go 64.58% <ø> (ø)
mfs/file.go 62.43% <50.00%> (+0.20%) ⬆️
mfs/root.go 30.33% <20.00%> (-0.35%) ⬇️
ipld/merkledag/merkledag.go 72.95% <0.00%> (-0.41%) ⬇️
pinning/pinner/dspinner/pin.go 56.14% <0.00%> (-0.14%) ⬇️
blockstore/blockstore.go 50.64% <0.00%> (-0.28%) ⬇️
mfs/dir.go 52.19% <35.29%> (+0.36%) ⬆️

... and 5 files with indirect coverage changes

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

@guillaumemichel guillaumemichel marked this pull request as ready for review September 5, 2025 12:12
@guillaumemichel guillaumemichel requested a review from a team as a code owner September 5, 2025 12:12
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.

2 participants