Skip to content

Fix a missed close, and test before every release - #7

Merged
necessarylion merged 1 commit into
mainfrom
fix-missed-close
Nov 1, 2026
Merged

necessarylion merged 1 commit into
mainfrom
fix-missed-close

Conversation

@necessarylion

Copy link
Copy Markdown
Member

Problem: when the server ends a connection, the error and the close can arrive in one read. The driver read the error but did not read once more, so it never saw the close. The query on that connection waited for the 300 s timeout. CI on main caught it (pipeline_test: a connection the server ends).

Fix: when the poll event says the server closed or the socket failed, read on to the end of the stream.

CI: the tests now also run on a release tag, and the build waits for them. Before, the tag run skipped the tests, so 3.0.1 was published while main was red.

…lose came together

CI: the tests also run on a release tag, and the build waits for them. A red test now stops the release and the publish.
@necessarylion
necessarylion merged commit b7c51be into main Nov 1, 2026
8 checks passed
This was referenced Nov 1, 2026
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.

1 participant