Skip to content

Re-enable client transport-error-injection test on an io_context#37

Open
mvandeberg wants to merge 1 commit into
cppalliance:developfrom
mvandeberg:pr/reenable-transport-error-test
Open

Re-enable client transport-error-injection test on an io_context#37
mvandeberg wants to merge 1 commit into
cppalliance:developfrom
mvandeberg:pr/reenable-transport-error-test

Conversation

@mvandeberg

@mvandeberg mvandeberg commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Re-enable client_test::testTransportErrorInjection (previously commented out). burl's connect path wraps corosio::timeout, which needs an io_context-backed executor, so drive each fuse injection round with a local runner passed to fuse::armed(run_one, fn): it runs the round on a corosio::io_context and returns the round's exception (null on success) without rethrowing (armed rethrows it from its own synchronous code).

Guard the body out on GCC affected by PR124584 (miscompiles tuple-protocol structured bindings captured in a coroutine frame): skip on GCC 15.0-15.3 and all 16.x, since version macros cannot distinguish a patched 16.x from an unpatched one. Runs on clang, GCC 14, GCC 15.4+, and GCC 17+.

CI will pass after #36 is merged
Now requires #38

@cppalliance-bot

Copy link
Copy Markdown

An automated preview of the documentation is available at https://37.burl.prtest3.cppalliance.org/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2026-07-22 18:33:07 UTC

Re-enable client_test::testTransportErrorInjection (previously commented
out). burl's connect path wraps corosio::timeout, which needs an
io_context-backed executor, so drive each fuse injection round with a
local runner passed to fuse::armed(run_one, fn): it runs the round on a
corosio::io_context and returns the round's exception (null on success)
without rethrowing (armed rethrows it from its own synchronous code).

Guard the body out on GCC affected by PR124584 (miscompiles tuple-protocol
structured bindings captured in a coroutine frame): skip on GCC 15.0-15.3
and all 16.x, since version macros cannot distinguish a patched 16.x from
an unpatched one. Runs on clang, GCC 14, GCC 15.4+, and GCC 17+.
@mvandeberg
mvandeberg force-pushed the pr/reenable-transport-error-test branch from f26b1cc to d0b1047 Compare July 23, 2026 18:06
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.

2 participants