Skip to content

ci: fix MSRV tests. make more reliable. - #117

Merged
tankyleo merged 2 commits into
lightningdevkit:mainfrom
phlip9:phlip9/fix-msrv-ci
Sep 23, 2026
Merged

tankyleo merged 2 commits into
lightningdevkit:mainfrom
phlip9:phlip9/fix-msrv-ci

Conversation

@phlip9

@phlip9 phlip9 commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

This PR should make MSRV tests in CI more reliable, with less package pinning required.

First, migrate the workspace to edition 2024 and resolver-v3, so we enable the MSRV-aware resolver by default:
https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions

This is stable since 1.84, so shouldn't require an MSRV bump.

Then manually enable the MSRV-aware resolver for ldk-node build in the integration test. This should reduce the number of pinned packages required to get ldk-node to build cleanly.

Alternative

Add cargo update -p encoding-rs --precise "0.8.35" --verbose MSRV pin to all CI workflows

Help make MSRV CI more reliable.

- Migrate edition 2021 -> 2024
- Change resolver v2 -> v3

These two changes together enable the MSRV-aware resolver by default:
<https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions>
Reduce the amount of dependency pinning we need to do when building
`ldk-node` in the integration tests by using the MSRV-aware resolver.
@ldk-reviews-bot

ldk-reviews-bot commented Sep 22, 2026

Copy link
Copy Markdown

I've assigned @tankyleo as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@tankyleo tankyleo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you !

@tankyleo
tankyleo merged commit 906fdcb into lightningdevkit:main Sep 23, 2026
8 checks passed
@phlip9
phlip9 deleted the phlip9/fix-msrv-ci branch September 23, 2026 18:48
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.

4 participants