#2585 Preflight Test Coverage#2641
Conversation
a223420 to
20ff949
Compare
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #2641 +/- ##
==========================================
+ Coverage 89.04% 90.44% +1.40%
==========================================
Files 112 112
Lines 87229 99397 +12168
Branches 87229 99397 +12168
==========================================
+ Hits 77674 89902 +12228
+ Misses 7319 7276 -43
+ Partials 2236 2219 -17
☔ View full report in Codecov by Sentry. |
b90a2bd to
e45ce88
Compare
5fcbe56 to
d9aa17d
Compare
tnull
left a comment
There was a problem hiding this comment.
Thanks for having a go at this! Already looks pretty good. I however wonder if we somehow can keep the logic for 'send payment/probe along the forward path' and the 'return path' separate?
8914ab4 to
7fd5c14
Compare
|
@tnull, appreciate your insights!
Agree that it would be nicer to complete all forward passes before passing failures back along the paths. The difficulty in this scenario, however, is that the commitment signed dance fails on the last hop of the second path. On that hop, we assert ( From what I understand we have the following options:
In my view, 1. introduces unnecessary complexity without a proportional benefit. Option 2, while potentially addressing our immediate concern, raises the risk of loosening the tests in other cases. Consequently, I lean towards 3. as it seems to strike a better balance. Eager to hear your thoughts - let me know if there is another option I did not think of! |
e591a17 to
f27a624
Compare
Alright, I think this makes sense to me! |
valentinewallace
left a comment
There was a problem hiding this comment.
Looks good, thanks! 🎉
d1ae159 to
a38bdbe
Compare
Closes #2585.