Uh oh!
There was an error while loading. Please reload this page.
Move lightning-transaction-sync tests to dedicated script - #3528
Conversation
630804b to
98abe2dCompareCodecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## main #3528 +/- ##
==========================================
- Coverage 88.36% 88.36% -0.01%
==========================================
Files 149 149 Lines 112875 113053 +178 Branches 112875 113053 +178 ==========================================
+ Hits 99742 99899 +157 - Misses 10653 10672 +19 - Partials 2480 2482 +2 ☔ View full report in Codecov by Sentry. |
TheBlueMatt
commented
Jan 13, 2025
Grr, can you fix CI?
|
98abe2d to
0829353Comparetnull
commented
Jan 13, 2025
Jup, just pushed a fix. |
0829353 to
bff52f2CompareCI is still failing with |
tnull
commented
Jan 13, 2025
Ah, missed that it was explicitly added as a dependency to |
a43805e to
b732e76Comparetnull
commented
Jan 13, 2025
Went ahead and squashed the fixups as my hope is up that this will finally pass, and I want to enable landing it whenever it does: > git diff-tree -U2 a43805e85 b732e763b> |
TheBlueMatt
commented
Jan 13, 2025
I'd kinda prefer to remove it from the workspace as well so that |
b732e76 to
8a1d5edCompare
Well, essentially the same argument: I'd prefer to have it included in usual tests via
Even without moving it out of the workspace, In any case, now went ahead and included a fixup that moves it out as per your preference. Let me know if I should squash or drop it. |
71ed4e8 to
7ee287bComparetnull
commented
Jan 14, 2025
TheBlueMatt
left a comment
There was a problem hiding this comment.
I'd prefer to leave it out of the workspace. At least personally I use the workspace on our MSRV all the time, and the ability to run cargo test --all-features without it vomiting would be nice.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
.. and bump its MSRV to 1.75. Recently, `rustls` bumped their MSRV to 1.71. As we depend on them and don't want to continuously pin this security-critical dependency back, we have no choice left but to bump the MSRV for `lightning-transaction-sync` to a version >= 1.71, too. Here, we hence move the `lightning-transaction-sync` tests to a dedicated script and propose to introduce a secondary MSRV of 1.75. We chose this particular version, because: a) it's > 1 year old b) it provides a buffer to 1.71, i.e., if some crate bumped to a version > 1.71, there is a chance we don't immediately have to react again c) it stabilized `async fn`s in traits (see https://blog.rust-lang.org/2023/12/21/async-fn-rpit-in-traits.html), which might become handy for related (BDK) crates, which hopefully will adopt the same target.
7ee287b to
cd5b4f7Comparetnull
commented
Jan 14, 2025
Alright, now squashed with the following additional changes (reverting the hunk mentioned above): > git diff-tree -U2 7ee287bd0 cd5b4f763diff --git a/ci/ci-tests.sh b/ci/ci-tests.sh
index 393ce18f5..f4987569f 100755
--- a/ci/ci-tests.sh+++ b/ci/ci-tests.sh@@ -87,7 +87,5 @@ echo -e "\n\nTesting c_bindings builds"
# Note that because `$RUSTFLAGS` is not passed through to doctest builds we cannot selectively
# disable doctests in `c_bindings` so we skip doctests entirely here.
-for DIR in "${WORKSPACE_MEMBERS[@]}"; do- RUSTFLAGS="$RUSTFLAGS --cfg=c_bindings" cargo test -p "$DIR" --verbose --color always --lib --bins --tests-done+RUSTFLAGS="$RUSTFLAGS --cfg=c_bindings" cargo test --verbose --color always --lib --bins --tests
for DIR in lightning-invoice lightning-rapid-gossip-sync; do |
TheBlueMatt
left a comment
There was a problem hiding this comment.
Just gonna land this. The changes are all straightforward moves/copies, and CI (finally) passes 🎉
TheBlueMatt
commented
Jan 15, 2025
Backported in #3536. |

.. and bump its MSRV to 1.75.
Recently,
rustlsbumped their MSRV to v1.71. As we depend on them and don't want to continuously pin this security-critical dependency back, we have no choice left but to bump the MSRV forlightning-transaction-syncto a version >= v1.71, too.Here, we hence move the
lightning-transaction-synctests to a dedicated script and propose to introduce a secondary MSRV of 1.75.We chose this particular version, because:
a) it's > 1 year old
b) it provides a buffer on top of v1.71, i.e., if some crate bumped to a version > 1.71, there is a chance we don't immediately have to react again
c) it stabilized
async fns in traits (see https://blog.rust-lang.org/2023/12/21/async-fn-rpit-in-traits.html), which might become handy for related (BDK) crates, which hopefully will adopt the same target.