Files
tutabridge/crates
Anthony d31bd49165 Log the realtime delta path so it can be observed in the field
The new MailSetEntry CREATE/DELETE path applies changes silently to
MailStore + LocalStore; debug logs make it visible in the dev log so
we (and users running with RUST_LOG=debug) can confirm which path was
taken on a given event:

- `Event bus: cloning mail X from <source> → <target> (no REST)` —
  hit path, the mail was already cached in another folder.
- `Event bus: targeted load_mail(...) → <target> (1 REST call)` —
  miss path, the mail had never been seen.
- `Event bus: removed mail X from <source> (no REST)` — DELETE
  applied without re-listing.

Live-tested: a TB-initiated MOVE between two cached folders now
logs the cloning + removed lines and zero `Pre-fetching` / `Removed N
deleted` lines for the affected folders, confirming we no longer touch
the REST API for that case.
2026-05-28 14:41:11 +02:00
..