Skip to content

test: Leave out the crashing disconnect iteration of the #621 test on macOS - #655

Merged
krlmlr merged 2 commits into
mainfrom
claude/skip-651
Nov 29, 2026
Merged

krlmlr merged 2 commits into
mainfrom
claude/skip-651

Conversation

@krlmlr

@krlmlr krlmlr commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

For #651, to get CI green now.

The "disconnect" iteration of the #621 interrupt test in tests/testthat/test-dbDisconnect.R closes the connection while rows are still streaming. On macOS that can crash the MariaDB 11.8 server (signal 11 in my_net_write() after an EPIPE), and every test that connects afterwards then fails. The reproducer in #652 (run 46295776150, 100 iterations per variant) shows the crash needs TCP and happens with both clients: 41 of 100 iterations with libmariadb and 23 with libmysqlclient. Over the Unix socket it never happened, and the "send" iteration never crashed. On macOS, the test now runs only the "send" iteration; Linux and Windows run both. It is a test-only change.

The server bug itself stays open in #651; whether to report it upstream is a question on #652.

Other red CI on main has its own fixes: #648 (#647: R < 4.3, local infile on the MySQL server) and #654 (#653: the flaky warn = 2 test).

Tests: the file parses. The local database server is down, so the suite runs in CI only; the full matrix is dispatched for 97136ca.

Accepted limitations

https://claude.ai/code/session_01Hr1rd5PUWgaCJzotWt9NhJ


Generated by Claude Code

…qlclient on macOS (#651)

A MariaDB server on macOS can crash when libmysqlclient closes the
connection while rows are still streaming, and every later test then
can't connect.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hr1rd5PUWgaCJzotWt9NhJ
The reproducer in #652 crashes the server over TCP with libmariadb too,
and never over the socket.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Hr1rd5PUWgaCJzotWt9NhJ
@krlmlr krlmlr changed the title test: Leave out the crashing disconnect iteration with libmysqlclient on macOS test: Leave out the crashing disconnect iteration of the #621 test on macOS Nov 29, 2026

krlmlr commented Nov 29, 2026

Copy link
Copy Markdown
Member Author

Accepted limitations

The clean review of the first version (d20fd48, which keyed on libmysqlclient) found nothing above Low. The second reproducer run then showed that the crash needs TCP, not libmysqlclient, so 97136ca keys on macOS alone, with nothing left to detect.


Generated by Claude Code

@krlmlr
krlmlr merged commit 569c68c into main Nov 29, 2026
4 of 5 checks passed
@krlmlr
krlmlr deleted the claude/skip-651 branch November 29, 2026 18:42
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