Files
jobtrackingapp/docs/ui-modernisation/GMAIL_REFRESH_LIFETIME.md
T

1.8 KiB

Linked Gmail refresh completion lifetime

16 November 2026. Source 207aba1a, based on 64ac7e53, branch codex/a3-ui-10.

An automatic linked-thread refresh could finish after leaving correspondence and start another Gmail-status read. A manual failure could notify a different workflow; a manual success used the language captured before the request. Three deterministic deferred fixtures reproduced these failures while keeping the outer toast provider mounted.

Refresh now checks the existing active job/generation before starting and after each awaited POST/read, suppresses obsolete completion/feedback and uses the existing translation ref. New job setup clears obsolete refresh history/loading. Already accepted server work is not cancelled or rolled back. Existing auto/manual behaviour, payloads, provider consent, linked identifiers, singular/plural copy and current-job refresh paths remain.

PASSED:84 distinct cases across five suites (Gmail20, recovery20, inbox41, trust-loop1, search-context2), TypeScript, scoped lint and whitespace diff check. Earlier81 overlaps84; these are three additional regressions, not165 cases. AST graph update receipt retained. No new export build or native browser/provider access: the preceding source's standard build exited1 at the Next security warning; its qualification is still open. No physical PDF, real mail, integrated security or final roadmap acceptance.

Source, canonical receipt and exact native gzip bindings are under gmail-refresh-lifetime. Remaining message/thread import, relink/unlink, disconnect, confirmed deletion and standalone status/choice read completion paths are independent work; this package does not claim them fixed. Broader real-job switching, native accessibility and final A3/release gates remain open.