Proofline

Both `wait_for_review` methods in `proofline/client.py` check the cancellation flag after validation but before establishing the deadline, despite promising to ignore signals delivered at or after it.

thekarannagpal/sdk-python#1Reviewed commit d27e21d

Warning · Doc drift

Impact

With `timeout=0`, an initially unset event set during validation yields `STOPPED` instead of `TIMED_OUT`.

Recommended action

Start the deadline at entry and apply it to the initial cancellation check, distinguishing an already-set event from a signal delivered during validation.

Cited code

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