-
Notifications
You must be signed in to change notification settings - Fork 407
#2585 Preflight Test Coverage #2641
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
#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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty much good from my side, CI failures should be unrelated, I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! One nit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks! 🎉
d1ae159
to
a38bdbe
Compare
Closes #2585.