Proofline

This change accepts `asyncio.Event` subclasses and unconditionally joins the `wait()` task after cancelling it.

thekarannagpal/sdk-python#1Reviewed commit 473696c

Warning · Concurrency

An override that catches `CancelledError` and keeps waiting on an unset event never finishes cleanup.

Impact

`wait_for_review()` can hang instead of returning `TIMED_OUT` or propagating task cancellation.

Recommended action

Do not await the event task indefinitely during cleanup; cancel it and arrange to retrieve its eventual result without blocking the caller.

Cited code

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