Repository navigation
Let a read finish between long queries in the shared connection test - #281
Merged
Merged
Conversation
The long query in tests/sharedreads.py ran back to back. On the Linux runners it took the connection again before a waiting reader got it, so a reader sat through up to 9 long queries for one read and the run had no upper bound: test_every_thread_gets_the_row_it_asked_for[db] ran out its 300 s twice on Python 3.10 on 2026-10-10 with every reader still advancing. The long query now waits for a read to finish before it runs again. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…he change was checked Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The shared connection test ran out its 300 s twice on the 3.10 job on 2026-10-10. It was the test, not a deadlock.
tests/sharedreads.pyran back to back and kept the readers off the connection on the Linux runners. It now waits for a read to finish first.gleapp/changes.Co-Authored-By: Claude Opus 5.5 [email protected]