mirror of
https://github.com/karatektus/pl_mail.git
synced 2026-10-25 01:54:10 +00:00
bulk-select-all's "the pager agrees with the rows after a bulk action" failed now and then under load. Not the job: it archived the 67 conversations in six seconds. A nudge from the job started a list refresh while it was still writing, the job's "done" arrived while that fetch was out, and _refreshList() returned early because one was already in flight. The fetch came back without the archive, and nothing was left to refresh the list — it showed the archived conversations until something unrelated happened. A request that arrives during a refresh is now remembered and taken once the current fetch lands, keeping the most urgent of whatever asked in the meantime. list-refresh-queue.spec.ts holds the first fetch at the network so the second request always arrives during it; it fails without this change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>