Proofline

In `proofline/client.py`, `_AsyncSetWatch` timestamps cancellation only after the overridden `set()` returns.

thekarannagpal/sdk-python#1Reviewed commit c9753b6

Warning · Logic

A delegating setter can set its backing event before cutoff without waking the supplied event’s registered waiter.

Impact

If the setter returns after cutoff, the review can report `TIMED_OUT` instead of `STOPPED`.

Recommended action

Require a notification on the supplied event when its flag changes; a return-time wrapper cannot recover that timestamp.

Cited code

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