Skip to content

[pull] master from bitcoin:master - #1879

Merged
pull[bot] merged 4 commits into
All-Blockchains:masterfrom
bitcoin:master
Sep 29, 2026
Merged

pull[bot] merged 4 commits into
All-Blockchains:masterfrom
bitcoin:master

Conversation

@pull

@pull pull Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

David-Uka and others added 4 commits September 21, 2026 18:51
The IWYU invocation ends in "2>&1 || true", added as a TODO when pipefail
was introduced in fa99a3c. That "|| true" swallows the non-zero exit
from a compiler "fatal error:" (for example a generated header that was
not built before IWYU ran), so such errors only reached the raw CI logs
and never failed the job, as reported in #35361.

Drop the "|| true" so pipefail propagates the failure and the job fails
loudly instead of passing silently. Also drop the now-redundant "{ }"
grouping so the command pipes straight into tee.

Closes #35361.
…y logging them

622817f ci, iwyu: fail job on compiler errors instead of ignoring them (David-Uka)

Pull request description:

  The IWYU invocation ends in `2>&1 || true`, added as a TODO when pipefail was introduced in fa99a3c. That `|| true` swallows the non-zero exit from a compiler `fatal error:` (for example a generated header that was not built before IWYU ran), so such errors only reached the raw CI logs and never failed the job, as reported in #35361.

  Dropping the `|| true` lets pipefail propagate the failure, so the job fails loudly instead of passing silently. The recent header-generation fixes (#35468, #36228) mean the current master `iwyu` job is already free of such errors, so this does not turn CI red today.

  Closes #35361.

ACKs for top commit:
  maflcko:
    lgtm ACK 622817f
  hebasto:
    ACK 622817f.

Tree-SHA512: 0ca19989777818454c654a847176a7c1bbec6b57a0f6e48acfbc0cf4644770d1bcd50e8e7e62671ed10ddda128cd9cce433ad721a0612f4c3e0aecde663a8d83
…gn change

308cd67 net: cast vector size to avoid overflow, truncation, sign change (Eugene Siegel)

Pull request description:

  When running with `-fsanitize=integer` compiled, the following can error [here](https://github.com/bitcoin/bitcoin/blob/b3f846ec3e5c21b08779ac6c13475f3ab37e7d9c/src/net_processing.cpp#L3662):

  ```
  SUMMARY: UndefinedBehaviorSanitizer: unsigned-integer-overflow /bitcoin/src/net_processing.cpp:3662:33
  SUMMARY: UndefinedBehaviorSanitizer: implicit-signed-integer-truncation-or-sign-change /bitcoin/src/net_processing.cpp:3662:18
  ```

  When `stop_index->nHeight` is less than `CFCHECKPT_INTERVAL`, the `headers` vector will be empty. This will just set the loop counter to -1 and never enter the loop, so this is harmless anyways. Fix this by casting `headers.size()` to `int`.

ACKs for top commit:
  maflcko:
    lgtm ACK 308cd67
  davidgumberg:
    crACK 308cd67

Tree-SHA512: 1074667b644e42507b32043e98a0541fff6de9a3711003a43b9874b31956a8e10efe65af89ed2b23322a7aa3df7d6a8606db5c1ab342f070a625b9e9650ae1fa
@pull pull Bot locked and limited conversation to collaborators Sep 29, 2026
@pull pull Bot added the ⤵️ pull label Sep 29, 2026
@pull
pull Bot merged commit ced4c6e into All-Blockchains:master Sep 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants