Proofline

The cross-loop probe in `tests/test_http.py` assumes `threads[1]` is the contender.

thekarannagpal/sdk-python#1Reviewed commit 6590fa7

Warning · Test quality

If it enters first, its own lock attempt satisfies the gate.

Impact

The test can pass if `_watch_async_waiter` in `proofline/client.py` releases its lock too early, because the later caller still sees the established loop binding.

Recommended action

Record which thread is paused and wait for a lock attempt from the other thread before releasing it.

Cited code

Checked
Pull request code. The environment was not checked.
Status
Incomplete
Started
Completed