Skip to content

Fix thirtyfour deadlocks causing slow test execution - #108

Merged
vivax3794 merged 2 commits into
mainfrom
fix/thirtyfour_deadlock
Oct 8, 2026
Merged

vivax3794 merged 2 commits into
mainfrom
fix/thirtyfour_deadlock

Conversation

@vivax3794

Copy link
Copy Markdown
Collaborator

Also addeds the jobs argument to the justfile.

vivax3794 and others added 2 commits October 8, 2026 15:11
thirtyfour 0.37 changed SessionHandle::Drop to join a cleanup thread,
which blocks the #[tokio::test] current-thread runtime that drives the
reqwest client IO. DELETE /session then never reaches chromedriver, and
teardown only unblocks when request_timeout expires, so every driver
test cost 120s.

Quitting inside the test runs teardown while the runtime is still live,
and lets Drop return early via its initialized check. The explicit
request_timeout bounds the remaining case where an assertion fails
before the quit. Integration test suite goes from 481s back to 1.9s.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@vivax3794
vivax3794 enabled auto-merge (rebase) October 8, 2026 13:15
@vivax3794
vivax3794 disabled auto-merge October 8, 2026 13:31
@vivax3794
vivax3794 merged commit 8fc3eee into main Oct 8, 2026
1 check passed
@vivax3794
vivax3794 deleted the fix/thirtyfour_deadlock branch October 8, 2026 13:31
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