Proofline

In `proofline/client.py`, `_initial_async_signal` and `_initial_sync_signal` use a timestamp captured before calling a custom `is_set()`.

thekarannagpal/sdk-python#1Reviewed commit c0772d8

Warning · Logic

A predicate that first sees cancellation after the deadline can therefore latch it as timely.

Impact

The caller can receive `STOPPED` instead of `TIMED_OUT`.

Recommended action

Timestamp successful setup verification after the predicate returns and apply the deadline to that timestamp.

Cited code

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