Proofline

The sync fault injection in `tests/test_http.py` replaces `_untrack_sync_cancel` in `proofline/client.py` with a raise, but the test only replays async cleanup.

thekarannagpal/sdk-python#1Reviewed commit c9753b6

Warning · Resource lifecycle

Impact

Even a passing sync run leaves the event, deadline, and condition hooks retained in `_notify_trackers` in `proofline/client.py`.

Recommended action

Capture the sync cleanup arguments and replay the original function in the test’s `finally` block.

Cited code

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