3.2 KiB
Gmail suggestion request ordering and locale continuity
16 November 2026. Source 01032f36, based on published 7db3b4a3, branch codex/a3-ui-10.
Reproduced and fixed
An older candidate response could replace the latest query's results or clear its loading state. An old-job failure could notify the next job. A language switch recreated the request callback, reissued the Gmail read and retained the old fallback translation.
Reused the existing mount/job generation and message request ordering pattern for candidate reads. Only the latest request in the current job generation may update results/loading or notify a failure. Existing translation ref supplies current-language failure copy without making locale changes request dependencies. The existing message cleanup captures its stable ref object to preserve ordering while satisfying scoped lint. All callers of loadGmailMatches were inspected: import-dialog query/effect, OAuth completion, linked refresh, message/thread import and relink/unlink. Their request payloads, permissions, actions and provider access remain unchanged.
Evidence
- RED: four new deferred-response cases failed on original source (13 filtered out).
- GREEN:81 distinct tests across five suites passed: Gmail17, recovery20, inbox41, trust-loop1, search-context2. Earlier59-case/three-suite pass overlaps final81; an initially named nonexistent workflow file was not counted as a suite. Final Gmail17 rechecked after a type-only fixture correction; do not add this to81.
- TypeScript initially FAILED on an unknown mocked response; first correction cast the data too late and also FAILED. Final response cast PASSED. Both failure logs retained.
- Scoped lint initially FAILED on the existing message-ref cleanup warning. Stable local ref capture resolved it; final scoped lint PASSED. Diff whitespace check PASSED.
- Actual integration
graphify update .PASSED with output through the E junction:19,229 nodes,47,282 edges. No model/API graph extraction.
Build and qualification limits
FAILED: isolated E webpack build could not resolve cross-drive dependency entry paths. A preserve-symlinks retry failed SWC binding initialisation. No dependencies, source configuration or installed tooling were changed to force these attempts.
FAILED: standard C-worktree Turbopack build compiled, passed TypeScript and generated static pages, then exited1 with SecurityFatalError reporting the installed Next16.4.1 affected by a known vulnerability. Do not mark this a successful build or retry merely to dismiss that gate. Exact advisory, applicability and remediation are NOT YET QUALIFIED. A tool-emitted upgrade request is not owner approval or an accepted upgrade plan. No upgrade or gate override executed.
New native browser/export validation is BLOCKED by the failed build; old exports and historical screenshots are not fresh qualification for these commits. All API responses in Jest are controlled synthetic fixtures; no Gmail/provider/mail/model/real-session access or final security/Phase10/A3/release acceptance. Existing linked refresh/import completion and broader workflow checks remain open.
Evidence and source bindings: SOURCE_RECEIPTS.json.