HF RL Explorer

Pong's CancelledError races with ConnectionClosed error

Pong's CancelledError races with ConnectionClosed error: a task in swe-rebench-v2.1-rl-isolated-1k: SWE-rebench V2.1 RL, isolated grading (1k subset) (Harbor dataset). What happens in my server is that I'm waiting for pongs in one task while sending and receiving in another task. Both tasks are…

The task

What happens in my server is that I'm waiting for pongs in one task while sending and receiving in another task. Both tasks are being waited for. The result is that in some occasions, `asyncio.CancelledError` is raised before `websockets.ConnectionClosed` and vice versa. When the `asyncio.CancelledError` is raised…

Part of rycerzes/swe-rebench-v2.1-rl-isolated-1k.