feat: check paths completed for all retrieval types#386
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #386 +/- ##
==========================================
+ Coverage 77.33% 77.39% +0.05%
==========================================
Files 86 87 +1
Lines 6423 6608 +185
==========================================
+ Hits 4967 5114 +147
- Misses 1199 1237 +38
Partials 257 257
🚀 New features to boost your workflow:
|
|
Changed to Draft while we consider strategy - maybe via the daemon you don't need/want to signal an error as you technically fulfilled the request and it's up to a upstream party to decide that this is an error. On the CLI we probably want to let the user know. Also, maybe the error shouldn't be per retriever, perhaps it ought to be validated after the retrieval occurs--in which case maybe the |
ad5766c to
c40fe59
Compare
79b6f80 to
88ccb73
Compare
ba2f0b7 to
08d6372
Compare
|
some of this will be included in #404, we can opt for checking |
Depends on filecoin-project/go-data-transfer#378 for the graphsync part of this. Also includes a little bit of cleanup that makes the diff noisier.
Because traversals don't strictly need to run to any pre-defined completion, we have to check it ourselves - we watch the
LastPathin the traversal progress and then check whether it at least fulfils our initial path request.