Files
free-claude-code/messaging
Cursor Agent 253fdac48c Fix get_queue_snapshot corrupting queue _unfinished_tasks
The drain/put approach used get_nowait() and put_nowait(). Each
put_nowait() increments _unfinished_tasks without a corresponding
task_done(), permanently inflating the counter on every invocation.

Revert to reading the internal deque directly (list(self._queue._queue))
which does not mutate any queue state. This matches the approach used
in remove_from_queue.

Co-authored-by: Ali Khokhar <alishahryar2@gmail.com>
2026-02-15 04:23:03 +00:00
..
2026-02-13 16:24:52 -08:00
2026-02-14 18:55:33 -08:00
2026-02-14 18:47:26 -08:00