Proofline

In `proofline/client.py`, `_SyncSetWatch` timestamps cancellation after the public setter returns, and the condition hook watches only the supplied event, not its backing event.

thekarannagpal/sdk-python#1Reviewed commit 4447440

Warning · Logic

Impact

If the backing flag becomes true before cutoff but the setter returns afterward, `ProoflineClient.wait_for_review` can return `TIMED_OUT` instead of `STOPPED`.

Recommended action

Timestamp the backing notification when it occurs, rather than inferring its time from setter completion.

Cited code

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