Files
Stirling-PDF/frontend/editor
EthanHealy01 097efd74e4 fix: keep a batch's retries whole, and tidy the stash's edges
Three of the review's findings, all in this PR's own code:

- Eviction treated a multi-file failure as 30 unrelated records sharing
  one recordedAt, so a batch over the cap kept an arbitrary 25 of its
  files and dropped the rest. The batch being written is now exempt from
  eviction and the fileId breaks the recordedAt tie, so what goes is the
  older unrelated stash rather than half of the failure on screen.
- A resolved failure's stash is deleted rather than left to age out.
- pendingUnlocks clears on FileContext teardown: the store outlives the
  provider, and a hold nobody can answer would stall that file's policy
  for the rest of the session.

KIND_ERROR_CODES now names the server-side test that pins what it
mirrors, and that test asserts the codes rather than only the lookup, so
adding one server-side fails until the mirror moves too.
2026-09-02 15:12:58 +01:00
..
2026-08-24 20:45:54 +00:00