Skip to content

refactor: Enforce iwyu on src/init - #36104

Closed
maflcko wants to merge 2 commits into
bitcoin:masterfrom
maflcko:2608-iwyu-init
Closed

maflcko wants to merge 2 commits into
bitcoin:masterfrom
maflcko:2608-iwyu-init

Conversation

@maflcko

@maflcko maflcko commented Aug 27, 2026

Copy link
Copy Markdown
Member

This PR continues the ongoing effort to enforce IWYU warnings.

See Developer Notes.

@DrahtBot DrahtBot changed the title refactor: Enforce iwyu on src/init refactor: Enforce iwyu on src/init Aug 27, 2026
@DrahtBot

DrahtBot commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage & Benchmarks

For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/36104.

Reviews

See the guideline and AI policy for information on the review process.
A summary of reviews will appear here.

@DrahtBot

Copy link
Copy Markdown
Contributor

🚧 At least one of the CI tasks failed.
Task i686, no IPC: https://github.com/bitcoin/bitcoin/actions/runs/33095983783/job/98600895025
LLM reason (✨ experimental): CI failed due to a C++ build error: bitcoin-wallet.cpp fails to compile because std::unique_ptr is used with incomplete types (interfaces::Node/Chain/...), causing invalid application of sizeof to incomplete type.

Hints

Try to run the tests locally, according to the documentation. However, a CI failure may still
happen due to a number of reasons, for example:

  • Possibly due to a silent merge conflict (the changes in this pull request being
    incompatible with the current code in the target branch). If so, make sure to rebase on the latest
    commit of the target branch.

  • A sanitizer issue, which can only be found by compiling with the sanitizer and running the
    affected test.

  • An intermittent issue.

Leave a comment here, if you need help tracking down a confusing failure.

This also triggers an edit on interfaces/init.h and ipc.h
@maflcko

maflcko commented Aug 27, 2026

Copy link
Copy Markdown
Member Author

All of those are passing locally for me. Not sure what is different about my setup that this fails CI. Closing for now. Someone else can pick this up.

@maflcko maflcko closed this Aug 27, 2026
@maflcko
maflcko deleted the 2608-iwyu-init branch August 27, 2026 17:28
@hebasto

hebasto commented Aug 27, 2026

Copy link
Copy Markdown
Member

All of those are passing locally for me. Not sure what is different about my setup that this fails CI. Closing for now. Someone else can pick this up.

Picked in #36107.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants