ci: enable IPC in the i686 job #36679

Manually merged
Sjors merged 1 commit from 2026/10/i686-ipc into master 2026-11-04 16:29:55 +00:00 AGit
Sjors commented 2026-10-28 02:54:08 +00:00 (Migrated from github.com)

Enable IPC on 32-bit x86. It was chosen arbitrarily in #31802 to have coverage for -DENABLE_IPC=OFF, but this was not a good choice given issues like:

I could not find a good candidate CI configuration to disable IPC.

It's still disabled on Windows, until #32387. It's also disabled on RISC-V.

Enable IPC on 32-bit x86. It was chosen arbitrarily in #31802 to have coverage for `-DENABLE_IPC=OFF`, but this was not a good choice given issues like: - https://github.com/bitcoin-core/libmultiprocess/pull/383 I could not find a good candidate CI configuration to disable IPC. It's still disabled on Windows, until #32387. It's also disabled on RISC-V.
DrahtBot commented 2026-10-28 02:54:22 +00:00 (Migrated from github.com)

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

External sites

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
ACK maflcko

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

<!--e57a25ab6845829454e8d69fc972939a--> The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. <!--006a51241073e994b41acfe9ec718e94--> ### External sites * Code coverage & benchmarks: https://corecheck.dev/bitcoin/bitcoin/pulls/36679 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/36679.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/36679#author-ralph <!--021abf342d371248e50ceaed478a90ca--> ### Reviews See [the guideline](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#code-review) and [AI policy](https://github.com/bitcoin/bitcoin/blob/master/doc/AI_POLICY.md) for information on the review process. | Type | Reviewers | | ---- | --------- | | ACK | [maflcko](https://github.com/bitcoin/bitcoin/pull/36679#issuecomment-6462410779) | If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore. <!--5faf32d7da4f0f540f40219e4f7537a3-->
Sjors commented 2026-10-28 03:00:37 +00:00 (Migrated from github.com)

To retain coverage for more build permutations, we could introduce something like STAGED_CONFIG="-DENABLE_IPC=OFF" which builds with that additional option first, and then rebuilds without it.

To retain coverage for more build permutations, we could introduce something like `STAGED_CONFIG="-DENABLE_IPC=OFF"` which builds with that additional option first, and then rebuilds without it.
First-time contributor

No verified findings are available from this review.

Review coverage was incomplete.

Review limitations
  • design: The depends package recipes and host-tool configuration were not inspected. Whether enabling the IPC depends packages supplies usable native Cap’n Proto generators and compatible target libraries for the i686 cross-build could change whether this CI job builds successfully.

Base: 0f27bed5b292 · Head: 65ddcb4f35c5 · Full review report

<!-- forgejo-review-bot:bitcoin/bitcoin --> <!-- ralph-engine:current:e2fe968a37ae1ddd4f6c9a1c838e2c7e987936ced6bc079676c4696454ebe54c:9db33af38be9a621d54749946930ce5cbd677123f591002706cf774ed9547b76 --> <!-- ralph-base:0f27bed5b2924420d65caeca439e6b036d3c6cb2 --> <!-- ralph-head:65ddcb4f35c5fd315ecb9d9a6d0f076b37edcadd --> <!-- ralph-case:f2a43575502efb4c78d1e9c0b51bb8db5ce8deb804d45b3d559684e8be79358f --> No verified findings are available from this review. Review coverage was incomplete. ##### Review limitations - design: The depends package recipes and host-tool configuration were not inspected. Whether enabling the IPC depends packages supplies usable native Cap’n Proto generators and compatible target libraries for the i686 cross-build could change whether this CI job builds successfully. <!-- Review tier: standard --> --- Base: [`0f27bed5b292`](<https://git.fish.foo/bitcoin/bitcoin/commit/0f27bed5b2924420d65caeca439e6b036d3c6cb2>) · Head: [`65ddcb4f35c5`](<https://git.fish.foo/bitcoin/bitcoin/commit/65ddcb4f35c5fd315ecb9d9a6d0f076b37edcadd>) · [Full review report](<https://review.fish.foo/traces/36679-65ddcb4f35c5fd315ecb9d9a6d0f076b37edcadd-1598-3.html>)
maflcko commented 2026-10-28 06:33:46 +00:00 (Migrated from github.com)

Do you recall if this ci config piece ever failed? Recall we don't have any ci for NO_ZMQ=1 either.

Otherwise, lgtm ACK 65ddcb4f35

The changes here should be fine since 0136e17c0a

Do you recall if this ci config piece ever failed? Recall we don't have any ci for `NO_ZMQ=1` either. Otherwise, lgtm ACK 65ddcb4f35c5fd315ecb9d9a6d0f076b37edcadd The changes here should be fine since 0136e17c0a963e82bf47c223d41f4d5c009520c0
Sjors commented 2026-10-28 07:04:13 +00:00 (Migrated from github.com)

@maflcko I don't remember, but my agent found a few examples from before #31802:

Yes, it used to run as i686_multiprocess, and it had intermittent failures. Some were real IPC bugs, notably #31151’s shutdown race, fixed through #31740. Others were test flakes, such as the P2P-thread shutdown timeout fixed in #29933. There was also #31772’s mixed GCC/Clang ABI failure with depends at -O0, worked around in #31998. So I agree that 0136e17 is relevant.

@maflcko I don't remember, but my agent found a few examples from before #31802: > Yes, it used to run as i686_multiprocess, and it had intermittent failures. Some were real IPC bugs, notably #31151’s shutdown race, fixed through #31740. Others were test flakes, such as the P2P-thread shutdown timeout fixed in #29933. There was also #31772’s mixed GCC/Clang ABI failure with depends at -O0, worked around in #31998. So I agree that 0136e17 is relevant.
maflcko commented 2026-10-28 07:10:56 +00:00 (Migrated from github.com)

Sorry, I think I wasn't clear. I agree that mixed gcc+clang coverage on 32-bit is useless, given that there is likely no user for it and given that the ABI failures are likely only possible to fix with an ABI break in upstream capnp, which is isn't going to happen, or at least seems too tedious to be worth it.

My question was if there was ever a CI failure due to -DENABLE_IPC=OFF. I presume those would only be build issues, like a link error? I don't recall one, so I think this change is fine to do.

Sorry, I think I wasn't clear. I agree that mixed gcc+clang coverage on 32-bit is useless, given that there is likely no user for it and given that the ABI failures are likely only possible to fix with an ABI break in upstream capnp, which is isn't going to happen, or at least seems too tedious to be worth it. My question was if there was ever a CI failure due to `-DENABLE_IPC=OFF`. I presume those would only be build issues, like a link error? I don't recall one, so I think this change is fine to do.
Sjors commented 2026-10-28 07:32:35 +00:00 (Migrated from github.com)

Not that I recall either (the agent found https://github.com/bitcoin/bitcoin/pull/32297#pullrequestreview-2779056673). In general we've occasionally had build failures creep in when an option was uncovered by CI.

Most would be caught by Windows and RISC-V builds, but e.g. src/ipc/stub.cpp is not used by RISC-V (because it's EXCLUDE_FROM_ALL).

Not that I recall either (the agent found https://github.com/bitcoin/bitcoin/pull/32297#pullrequestreview-2779056673). In general we've occasionally had build failures creep in when an option was uncovered by CI. Most would be caught by Windows and RISC-V builds, but e.g. `src/ipc/stub.cpp` is not used by RISC-V (because it's `EXCLUDE_FROM_ALL`).
maflcko commented 2026-10-28 07:38:19 +00:00 (Migrated from github.com)

Ah, good bot. So it is mostly functional test failures and they'll be caught by Windows. If we want -DENABLE_IPC=OFF in the future, I think there are two options:

  • Set -DENABLE_IPC=OFF in the musl ci config (It should be unlikely there is a musl-libc-specific issue in ipc, given that we never had a musl libc issue at all?)
  • Edit: Given that the quoted issues above are about the cli, There could be a new ci config, with -DENABLE_IPC=OFF, possibly unit tests, bench, and the gui and zmq could be skipped. Thus, no-IPC and CLI can be run in the functional tests.

But not a blocker, just thinking for the future.

Ah, good bot. So it is mostly functional test failures and they'll be caught by Windows. If we want `-DENABLE_IPC=OFF` in the future, I think there are two options: * Set `-DENABLE_IPC=OFF` in the musl ci config (It should be unlikely there is a musl-libc-specific issue in ipc, given that we never had a musl libc issue at all?) * Edit: Given that the quoted issues above are about the cli, There could be a new ci config, with `-DENABLE_IPC=OFF`, possibly unit tests, bench, and the gui and zmq could be skipped. Thus, no-IPC and CLI can be run in the functional tests. But not a blocker, just thinking for the future.
fanquake commented 2026-10-28 10:22:21 +00:00 (Migrated from github.com)

It should be unlikely there is a musl-libc-specific issue in ipc

We just had #35491.

given that we never had a musl libc issue at all?

We just had #36045.

> It should be unlikely there is a musl-libc-specific issue in ipc We just had #35491. > given that we never had a musl libc issue at all? We just had #36045.
maflcko commented 2026-10-28 10:37:07 +00:00 (Migrated from github.com)

Thx for finding those. Edit: I guess in that case a new dedicated -DENABLE_IPC=OFF ci config makes most sense to catch the build issues, but leave coverage up in all other ci tasks?

Thx for finding those. Edit: I guess in that case a new dedicated `-DENABLE_IPC=OFF` ci config makes most sense to catch the build issues, but leave coverage up in all other ci tasks?
l0rinc commented 2026-10-28 11:50:17 +00:00 (Migrated from github.com)

I won't block this, but as expressed before, I don't think pretending like we fully support 32 bit architectures is the best use of our time, see https://github.com/bitcoin/bitcoin/issues/36659

I won't block this, but as expressed before, I don't think pretending like we fully support 32 bit architectures is the best use of our time, see https://github.com/bitcoin/bitcoin/issues/36659
fanquake commented 2026-10-28 16:05:34 +00:00 (Migrated from github.com)

cc @ryanofsky - if you've got any thoughts here.

cc @ryanofsky - if you've got any thoughts here.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitcoin/bitcoin!36679
No description provided.