Proofline

`_SyncSetWatch` in `proofline/client.py` timestamps cancellation after an overridden `set()` returns, not when it wakes a delegated waiter.

thekarannagpal/sdk-python#1Reviewed commit 9388498

Warning · Concurrency

Impact

If the backing event is set and cleared before cutoff but the setter and waiter resume afterward, `wait_for_review` in `proofline/client.py` can return `TIMED_OUT` instead of `STOPPED`.

Recommended action

Latch cancellation at notification, or require a cancellation primitive that exposes delivery time.

Cited code

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