docs(mail): qualify status and job-choice read ordering
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# Gmail status and job-choice read ordering
|
||||
|
||||
16 November 2026. Source `809f0325`, after published `6132b293`, branch `codex/a3-ui-10`.
|
||||
|
||||
The two remaining standalone readers now bind visible results/errors/loading to newest request and current job generation. Job-choice debounce cleanup invalidates older reads before the next request starts. Successful disconnect invalidates pending status reads and their loading state; failed disconnect preserves valid pending reads. A new current-job status read replaces an invalidated old-job read. Payloads, country-independent choice semantics, owner backend boundaries and OAuth contracts are unchanged.
|
||||
|
||||
RED:nine race failures/one failed-disconnect control pass,66 filtered cases. A clock-pinned debounce red rerun overlaps the nine failures. Worker Gmail76 passed; root affected140 passed. Initial scoped lint FAILED on cleanup ref access; root captured the stable ref object without changing request semantics. Final affected140 on that exact final source, project TypeScript and scoped lint PASSED; earlier140/76 overlap and are not added. Native worker summary hashes identify the pre-lint-alias source; final root SOURCE_RECEIPTS binds809f0325 and affected-final.json. Whitespace check passed. AST update passed19,251 nodes/47,315 edges.
|
||||
|
||||
Root reviewed both loaders and their callers. Tests reproduce job-boundary/query/status/disconnect races. Added standalone unmount guards are source-reviewed; no independent visible unmount-only defect is claimed. Real provider/OAuth/disconnect/integration/device/browser checks remain NOT RUN. No final build/security/A3/Phase10/release acceptance; prior Next build remains FAILED. No external model/provider, database, production or orchestrator action.
|
||||
|
||||
Native .log bytes use .txt artifact names plus exact gzip copies. [Source and receipt bindings](evidence/gmail-read-lifetime/SOURCE_RECEIPTS.json).
|
||||
@@ -0,0 +1,145 @@
|
||||
{
|
||||
"sourceCommit": "809f0325afa1d8d5449b9cdffc925332e50bcb5a",
|
||||
"finalVerification": {
|
||||
"tests": "affected-final.json",
|
||||
"types": "types-final.txt",
|
||||
"lint": "lint-final.txt"
|
||||
},
|
||||
"sourcesLfSha256": {
|
||||
"job-tracker-ui/src/components/Correspondence.tsx": "9454da0f71ca9c605f5ef9dffd499abd7ce6b5a907436f5324e2f5b2927b9f2a",
|
||||
"job-tracker-ui/src/correspondence-gmail-import.test.tsx": "4ff8fed6bd7821442374dd9c3a5c27df5d079cd3c77bb1d22dbd325e507e22f9",
|
||||
"job-tracker-ui/src/types.ts": "bae01df8de079b16546fca1c738f6d49564befcf62ae0449b039faf61bff1158"
|
||||
},
|
||||
"evidenceLfSha256": {
|
||||
"red.json": "80294fae1929434b7296bd748729aa5e57b7117f8103d83e4fd37379083a225a",
|
||||
"red.txt": "8318522a5d6804d33a09a418b17a46abe91775d84569f8ee2525ba05884f1ce0",
|
||||
"red-debounce.json": "87ef6072b2a71fea648e31545ca61e9b41d0d609f97c81968a458d3775a2c0f3",
|
||||
"red-debounce.txt": "aaf2b82555f32af2851f74b9ac6e2c1391000ed9970426c1803d6f47b336bb43",
|
||||
"green.json": "8680b864b7b7bec23f26f86d19f5e5bdbfce9146afad36c1b02e8ca265097978",
|
||||
"green.txt": "1e9219030123a23182f54cef3ee68a6711aed37ffa7d5759bf2cc4875e5581e6",
|
||||
"result-summary.json": "d561db7f1f074e59dcd82ee28f05f5aa22434dfd98645ec971b910f402c59c0d",
|
||||
"affected.json": "2ab7a63a4ce4e33e68ef5201f52c7c5a7e85c2122e4fab04f59f0d8d39ba8b31",
|
||||
"affected.txt": "598df3e628cc3c9162af8ebc531b027efb5c92f61272a4661b2f94827bbaf42a",
|
||||
"affected-final.json": "3839d99699ce53009b5cebc99aa768658a30a2fc8797100c820be999be0cc9bc",
|
||||
"affected-final.txt": "7a3f47e8898c0a59c802d112417df85f6a3e01a1ca4b02d72f693a40da77ff36",
|
||||
"types.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"types-final.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"lint.txt": "db60875edc23f2e7343b1abdc181908933953e2ae60a413467dbc1c5c817b7c0",
|
||||
"lint-final.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"graph.txt": "0402d78c10497c2a53662d0d22c82766a003966b321e695d1a9e8d7108a2e4ca"
|
||||
},
|
||||
"nativeReceipts": [
|
||||
{
|
||||
"originFile": "red.json",
|
||||
"path": "red.json",
|
||||
"gzipPath": "red.json.gz",
|
||||
"rawSha256": "80294fae1929434b7296bd748729aa5e57b7117f8103d83e4fd37379083a225a",
|
||||
"gzipSha256": "3ab08dacc4c4db2ae21855f0f6abb80bc4a0bd375748cc3d2e7eec9f262121f6"
|
||||
},
|
||||
{
|
||||
"originFile": "red.log",
|
||||
"path": "red.txt",
|
||||
"gzipPath": "red.txt.gz",
|
||||
"rawSha256": "fd0e0f8a1da880547d236b90e041d9844be42dbb1429bd45934595d03944f720",
|
||||
"gzipSha256": "961d0aa5b2621845928889758f080769baac21269361e58b37eba4754a7f7b5b"
|
||||
},
|
||||
{
|
||||
"originFile": "red-debounce.json",
|
||||
"path": "red-debounce.json",
|
||||
"gzipPath": "red-debounce.json.gz",
|
||||
"rawSha256": "87ef6072b2a71fea648e31545ca61e9b41d0d609f97c81968a458d3775a2c0f3",
|
||||
"gzipSha256": "79173a16000cf54c0f512ee0206a4083bec8eef111981305d06405c986b5af9c"
|
||||
},
|
||||
{
|
||||
"originFile": "red-debounce.log",
|
||||
"path": "red-debounce.txt",
|
||||
"gzipPath": "red-debounce.txt.gz",
|
||||
"rawSha256": "368edf630d3b0533f24c21c39395af3cc7a80fd178f3b76b4d9962f869d3023b",
|
||||
"gzipSha256": "b14f21cd9dedb856889c6413a9c33d5dababe1bf10f5cdb256401d5e365d645f"
|
||||
},
|
||||
{
|
||||
"originFile": "green.json",
|
||||
"path": "green.json",
|
||||
"gzipPath": "green.json.gz",
|
||||
"rawSha256": "8680b864b7b7bec23f26f86d19f5e5bdbfce9146afad36c1b02e8ca265097978",
|
||||
"gzipSha256": "399459fb8bb270458e242441b9085030e53e1670a6ce16a4a2ca6144c7705d6e"
|
||||
},
|
||||
{
|
||||
"originFile": "green.log",
|
||||
"path": "green.txt",
|
||||
"gzipPath": "green.txt.gz",
|
||||
"rawSha256": "c453036781f8966a1b390feb899cafb9d6e64066c5332ce2bf9e144612f1542b",
|
||||
"gzipSha256": "34cb3b02c39c3fe2a5de3e0fa93318686e616e796df4361fdcc25536f3368378"
|
||||
},
|
||||
{
|
||||
"originFile": "result-summary.json",
|
||||
"path": "result-summary.json",
|
||||
"gzipPath": "result-summary.json.gz",
|
||||
"rawSha256": "6079d5ec9a48c86563bcd2cc29e93510ce8d2c2e382a2b992bb63dc35f39c829",
|
||||
"gzipSha256": "613179d08e2fd9673d842ce461deb9fa8d72c06dc20180b4b4962609fdcdd1b7"
|
||||
},
|
||||
{
|
||||
"originFile": "affected.json",
|
||||
"path": "affected.json",
|
||||
"gzipPath": "affected.json.gz",
|
||||
"rawSha256": "2ab7a63a4ce4e33e68ef5201f52c7c5a7e85c2122e4fab04f59f0d8d39ba8b31",
|
||||
"gzipSha256": "5b77c638a6b241dc2182b967bf4f5df40d26c55b1a52e9d1994a65de1c318c06"
|
||||
},
|
||||
{
|
||||
"originFile": "affected.txt",
|
||||
"path": "affected.txt",
|
||||
"gzipPath": "affected.txt.gz",
|
||||
"rawSha256": "80597a6ff25032d91f4dc7ce5036fc6bb68756e57b67ce0ea3358d94b5e0c4a8",
|
||||
"gzipSha256": "c70b4f133ce5807a2fb77272add5c40262997315490321e5ae36c8e0a41e6727"
|
||||
},
|
||||
{
|
||||
"originFile": "affected-final.json",
|
||||
"path": "affected-final.json",
|
||||
"gzipPath": "affected-final.json.gz",
|
||||
"rawSha256": "3839d99699ce53009b5cebc99aa768658a30a2fc8797100c820be999be0cc9bc",
|
||||
"gzipSha256": "10c80f14e70fae7556f3428401f9eac7298582fffd4c203f39040884aeaa1eee"
|
||||
},
|
||||
{
|
||||
"originFile": "affected-final.txt",
|
||||
"path": "affected-final.txt",
|
||||
"gzipPath": "affected-final.txt.gz",
|
||||
"rawSha256": "409987cf03b42564a268b69a028d46147997b118f7a9dbcbb4bb472d73a2d6f3",
|
||||
"gzipSha256": "73d569b6cd71cc245cedaba2091e556f5faf64808134aa59d93507d936acb9a4"
|
||||
},
|
||||
{
|
||||
"originFile": "types.txt",
|
||||
"path": "types.txt",
|
||||
"gzipPath": "types.txt.gz",
|
||||
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
|
||||
},
|
||||
{
|
||||
"originFile": "types-final.txt",
|
||||
"path": "types-final.txt",
|
||||
"gzipPath": "types-final.txt.gz",
|
||||
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
|
||||
},
|
||||
{
|
||||
"originFile": "lint.txt",
|
||||
"path": "lint.txt",
|
||||
"gzipPath": "lint.txt.gz",
|
||||
"rawSha256": "c30244b9ddbaa4f758cdbe2a20eb80d506a62f229221a98b46cdb5dc75ffbeb0",
|
||||
"gzipSha256": "a370cdd107d99019cdc8fe91a358a315f0d60e55e7876d4196626eea7edd77b1"
|
||||
},
|
||||
{
|
||||
"originFile": "lint-final.txt",
|
||||
"path": "lint-final.txt",
|
||||
"gzipPath": "lint-final.txt.gz",
|
||||
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
|
||||
},
|
||||
{
|
||||
"originFile": "graph.txt",
|
||||
"path": "graph.txt",
|
||||
"gzipPath": "graph.txt.gz",
|
||||
"rawSha256": "626c7217455542ef36fb87f131187f50cbd6434c114f7a6253a75340ad87581b",
|
||||
"gzipSha256": "07e0dd04e013de2037931cafc987517bd20c01b9fa649d7e5daad693cb18e0bb"
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
|
||||
Test Suites: 5 passed, 5 total
|
||||
Tests: 140 passed, 140 total
|
||||
Snapshots: 0 total
|
||||
Time: 74.477 s
|
||||
Ran all test suites matching src/correspondence-gmail-import.test.tsx|src/correspondence-recovery.test.tsx|src/correspondence-inbox-page.test.tsx|src/end-to-end-trust-loop.test.tsx|src/correspondence-search-context.test.ts.
|
||||
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\gmail-read-lifetime\affected-final.json
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
|
||||
Test Suites: 5 passed, 5 total
|
||||
Tests: 140 passed, 140 total
|
||||
Snapshots: 0 total
|
||||
Time: 63.803 s
|
||||
Ran all test suites matching src/correspondence-gmail-import.test.tsx|src/correspondence-recovery.test.tsx|src/correspondence-inbox-page.test.tsx|src/end-to-end-trust-loop.test.tsx|src/correspondence-search-context.test.ts.
|
||||
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\gmail-read-lifetime\affected.json
|
||||
Binary file not shown.
@@ -0,0 +1,18 @@
|
||||
Re-extracting code files in . (no LLM needed)...
|
||||
[graphify watch] 526 file(s) not classified (no supported extension or shebang), skipped: .dockerignore, .env.example, .git, .gitattributes, .gitignore, 1440-en-dark-converted.gz (+520 more)
|
||||
AST cache: 2506/2954 files served from cache (84%); 448 to extract
|
||||
AST extraction: 100/448 uncached files (22%) [16 workers]
|
||||
AST extraction: 200/448 uncached files (44%) [16 workers]
|
||||
AST extraction: 300/448 uncached files (66%) [16 workers]
|
||||
AST extraction: 400/448 uncached files (89%) [16 workers]
|
||||
AST extraction: 448/448 uncached files (100%) [16 workers]
|
||||
warning: 8 .sql file(s) contributed nothing to the graph because a dependency is missing: tree_sitter_sql not installed. Install it with: pip install "graphifyy[sql]" (#1745)
|
||||
warning: 144 code file(s) yielded no symbols (0.14 MB) — a data file, or source this extractor models no symbols for: JobTrackerApi.Tests/PdfBrowserStub/Program.cs, JobTrackerApi/Program.cs, JobTrackerApi/Properties/AssemblyInfo.cs, browser-extension/tests/capture-url.test.mjs, docs/audits/2026-09-07/validation/evidence/b05-excel-probe.ps1 (+139 more)
|
||||
[graphify watch] community set changed since labeling (0 saved labels, 1166 communities now; renamed 117 community(ies) by their hub). Run `graphify label` to refresh names with the LLM.
|
||||
Graph has 19251 nodes (above 5000 limit). Building aggregated community view...
|
||||
graph.html written (aggregated: 1166 community nodes, 3154 cross-community edges)
|
||||
Tip: run with --obsidian for full node-level detail.
|
||||
[graphify watch] Rebuilt: 19251 nodes, 47315 edges, 1166 communities
|
||||
[graphify watch] graph.json, graph.html and GRAPH_REPORT.md updated in graphify-out
|
||||
Code graph updated. For doc/paper/image changes run /graphify --update in your AI assistant.
|
||||
Tip: set GEMINI_API_KEY or GOOGLE_API_KEY to use Gemini for semantic extraction.
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
> jest --runInBand --no-cache --runTestsByPath src/correspondence-gmail-import.test.tsx --json --outputFile=E:\Storage\Projects\Active\temp docs\jobjakt-local-build\gmail-read-lifetime\green.json
|
||||
Test Suites: 1 passed, 1 total
|
||||
Tests: 76 passed, 76 total
|
||||
Snapshots: 0 total
|
||||
Time: 28.601 s
|
||||
Ran all test suites within paths "src/correspondence-gmail-import.test.tsx".
|
||||
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\gmail-read-lifetime\green.json
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
|
||||
C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\src\components\Correspondence.tsx
|
||||
ESLint found too many warnings (maximum: 0).
|
||||
330:68 warning The ref value 'jobChoicesRequest.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'jobChoicesRequest.current' to a variable inside the effect, and use that variable in the cleanup function react-hooks/exhaustive-deps
|
||||
|
||||
✖ 1 problem (0 errors, 1 warning)
|
||||
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
> jest --runInBand --no-cache --runTestsByPath src/correspondence-gmail-import.test.tsx --testNamePattern=changing a choice query invalidates --json --outputFile=E:\Storage\Projects\Active\temp docs\jobjakt-local-build\gmail-read-lifetime\red-debounce.json
|
||||
FAIL src/correspondence-gmail-import.test.tsx
|
||||
● correspondence Gmail import › Gmail standalone read lifetime › changing a choice query invalidates the previous read during debounce
|
||||
expect(element).not.toBeInTheDocument()
|
||||
expected document not to contain element, found <li aria-disabled="false" aria-selected="false" class="MuiAutocomplete-option" data-option-index="0" id="_r_d_-option-0" role="option" tabindex="-1">Platform obsolete • Old role</li> instead
|
||||
525 | const { older, newer } = await searchChoices(false);
|
||||
526 | await act(async () => older.resolve(oldChoices));
|
||||
> 527 | expect(screen.queryByRole("option", { name: /Platform obsolete/ })).not.toBeInTheDocument();
|
||||
| ^
|
||||
528 | await act(async () => jest.advanceTimersByTime(250));
|
||||
529 | expect(mockedApi.get).toHaveBeenCalledWith("/jobapplications/choices", { params: { q: "Platform", limit: 50 } });
|
||||
530 | await act(async () => newer.resolve(newChoices));
|
||||
at Object.toBeInTheDocument (src/correspondence-gmail-import.test.tsx:527:81)
|
||||
Test Suites: 1 failed, 1 total
|
||||
Tests: 1 failed, 75 skipped, 76 total
|
||||
Snapshots: 0 total
|
||||
Time: 4.96 s
|
||||
Ran all test suites within paths "src/correspondence-gmail-import.test.tsx".
|
||||
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\gmail-read-lifetime\red-debounce.json
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"reports": {
|
||||
"red": {
|
||||
"numFailedTestSuites": 1,
|
||||
"numFailedTests": 9,
|
||||
"numPassedTestSuites": 0,
|
||||
"numPassedTests": 1,
|
||||
"numPendingTests": 66,
|
||||
"numTotalTests": 76,
|
||||
"success": false
|
||||
},
|
||||
"red-debounce": {
|
||||
"numFailedTestSuites": 1,
|
||||
"numFailedTests": 1,
|
||||
"numPassedTestSuites": 0,
|
||||
"numPassedTests": 0,
|
||||
"numPendingTests": 75,
|
||||
"numTotalTests": 76,
|
||||
"success": false
|
||||
},
|
||||
"green": {
|
||||
"numFailedTestSuites": 0,
|
||||
"numFailedTests": 0,
|
||||
"numPassedTestSuites": 1,
|
||||
"numPassedTests": 76,
|
||||
"numPendingTests": 0,
|
||||
"numTotalTests": 76,
|
||||
"success": true
|
||||
}
|
||||
},
|
||||
"sha256": {
|
||||
"job-tracker-ui/src/components/Correspondence.tsx": "e4507ab3cac3f06f6255d2959d2532cf1de711355af7be19ec89085b0e62c066",
|
||||
"job-tracker-ui/src/correspondence-gmail-import.test.tsx": "d211c3cd24cf1f3fc1716685a0de2e4304b79d1538acfcfe41c504c709a9d6ab"
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user