Skip to content

Conversation

@TheBlueMatt
Copy link
Collaborator

It seems new rustc removed this feature, hopefully its available upstream but either way it caused the 0.1.6 docs.rs build to fail.

@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Oct 10, 2025

👋 Thanks for assigning @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.

@TheBlueMatt
Copy link
Collaborator Author

Backported to 0.2 in #4159

@codecov
Copy link

codecov bot commented Oct 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.76%. Comparing base (21e9a9c) to head (d3faa03).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4158      +/-   ##
==========================================
- Coverage   88.79%   88.76%   -0.04%     
==========================================
  Files         180      180              
  Lines      136553   136553              
  Branches   136553   136553              
==========================================
- Hits       121259   121216      -43     
- Misses      12494    12532      +38     
- Partials     2800     2805       +5     
Flag Coverage Δ
fuzzing 21.02% <ø> (-0.60%) ⬇️
tests 88.61% <ø> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ldk-reviews-bot
Copy link

🔔 1st Reminder

Hey @tankyleo! This PR has been waiting for your review.
Please take a look when you have a chance. If you're unable to review, please let us know so we can find another reviewer.

@ldk-reviews-bot
Copy link

👋 The first review has been submitted!

Do you think this PR is ready for a second reviewer? If so, click here to assign a second reviewer.

These have been merged, causing our docs.rs builds to fail. Sadly,
we saw our docs.rs build fail for the 0.1.6 upload because of this.
@TheBlueMatt
Copy link
Collaborator Author

Yea, you're right we probably should keep the flag. I tried to push a CI job to emulate docs.rs builds so that we actually test this before we upload releases.

run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ env.TOOLCHAIN }}
- name: Simulate docs.rs build
run: ci/check-docsrs.sh
Copy link
Contributor

Choose a reason for hiding this comment

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

Ran ./ci/check-docsrs.sh on my machine without the prior commit, and it does not complain.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I assume that is because stable rust hasn't removed the feature flag yet. Not really sure how to properly capture that cause nightly currently fails to build docs just because of nightly breakages...

Sadly, our docs.rs build failed for 0.1.6 due to the unstable
`doc_auto_cfg` feature being removed. Here, we try to emulate
docs.rs builds as best we can in CI to head that off in the future.
@TheBlueMatt
Copy link
Collaborator Author

Replaced the CI job with beta.

@TheBlueMatt TheBlueMatt merged commit 887ab1d into lightningdevkit:main Oct 13, 2025
25 checks passed
TheBlueMatt added a commit that referenced this pull request Oct 13, 2025
[0.2] Backport #4158 and bump versions to -beta1
@TheBlueMatt
Copy link
Collaborator Author

Backported in #4166.

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.

3 participants