docs(mail): bind link management lifecycle regression evidence

This commit is contained in:
cesnimda
2026-11-16 23:06:55 +01:00
parent 1f8595792a
commit 6132b2932d
26 changed files with 1407 additions and 0 deletions
@@ -0,0 +1,11 @@
# Gmail link management completion lifetime
16 November 2026. Source `1f859579`, after published `49b7a812`, branch `codex/a3-ui-10`.
Unlink, move and disconnect now bind asynchronous UI completion to the existing mounted job/generation and use current-language feedback. Unlink/move check before writes, after each awaited POST/read and before dismissing the dialog or publishing feedback. New job setup resets obsolete management busy state. Existing thread/target/note fields, nextDecision, removeFromOtherJobs, provider consent and close-without-mutation behaviour remain.
RED:26 failing stale/locale cases and one passing close control,37 filtered cases. Separate recovery RED:two failures/64 filtered cases demonstrated that ignoring old completion alone leaves next-job controls permanently busy. Final Gmail66/66 passed; final affected130 cases/five suites passed with no skips/failures. Earlier101/66/37 and focused red cases overlap the final130 and are not added. Root checked exact worker source hashes against current bytes, reviewed the source and native JSON, and ran project TypeScript/scoped two-file lint/diff: PASSED. AST refresh passed19,247 nodes/47,309 edges.
All transport is mocked. Already accepted writes may still finish server-side; this fix discards stale continuations. No actual unlink/move/disconnect, provider/model access, new export build or browser/device/AT run. The previous build remains FAILED pending Next advisory qualification. Standalone status/choice read ordering and OAuth interactions with disconnection are not claimed qualified; final provider/security/A3/release gates remain open.
Native logs use .txt artifact names with exact bytes retained as gzip. [Source/native/canonical bindings](evidence/gmail-link-management-lifetime/SOURCE_RECEIPTS.json).
@@ -0,0 +1,108 @@
{
"sourceCommit": "1f8595792a50edda9cdb70c4fc29cb4990c50efe",
"sourcesLfSha256": {
"job-tracker-ui/src/components/Correspondence.tsx": "2840caa90b53a8243317a9901785fe97a09124f37ce0edb67eb1ce43b7d10c7a",
"job-tracker-ui/src/correspondence-gmail-import.test.tsx": "52eca461237276aa7378f48821c2922ea738a9d0355cb6e78f54db66287407ab",
"job-tracker-ui/src/types.ts": "bae01df8de079b16546fca1c738f6d49564befcf62ae0449b039faf61bff1158"
},
"evidenceLfSha256": {
"red.json": "eb7a51b1ec17efffaab12348c3ad55fd006a7a29bf6a0e911db2b03e8e43a80a",
"red.txt": "b49a449e7e0d009cb3b8df6a2349ae16bb885e74e40d44e549a70d769d7a6d80",
"red-recovery.json": "01ae3dc7e07b5fd0e0daf5deaf7db67b8411b78885431c219c0762d8e46ee9be",
"red-recovery.txt": "80d6daf09be957bced49bf22d0cfad53892dcb0603aefbf05e6bdcfe0e9cbeb5",
"green.json": "3f9d23dfff7f5ea510f882f51f01058a4c06743ca4392740016deb54212fde37",
"green.txt": "06f61cf54cf83741ec4d0c5d0cf75575ef3132089c11397ceb7afcc986f90d44",
"result-summary.json": "0d76f289d9d4ec0272f19faa28b07868b62af4526ff5be0cadb67c33ecaedc9c",
"affected.json": "00e5e91e2f2e74441a4e8bf5eedeea55239d480471fead154c2f55a711c1bf96",
"affected.txt": "43a36825479629742d5c68ef2997c2d8769f79a5054ddac3b0153b9a7faf4d2d",
"types.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"graph.txt": "1653dc4ac5d82361e950ef14dd351df40affcda2113403f721dab0151fea1f3a"
},
"nativeReceipts": [
{
"originFile": "red.json",
"path": "red.json",
"gzipPath": "red.json.gz",
"rawSha256": "eb7a51b1ec17efffaab12348c3ad55fd006a7a29bf6a0e911db2b03e8e43a80a",
"gzipSha256": "aef005e7eb516404d18693c1dbb4b0898b34123d90c80aa6d615ebbfec247817"
},
{
"originFile": "red.log",
"path": "red.txt",
"gzipPath": "red.txt.gz",
"rawSha256": "cab09603d213da02cdb35ba1663f8bc073dcb1bdfedce561713a494b4916a1ee",
"gzipSha256": "af023ddafae1f58ff126d0143a3c0beac237d156587262b79f3da4adf4c3bc5e"
},
{
"originFile": "red-recovery.json",
"path": "red-recovery.json",
"gzipPath": "red-recovery.json.gz",
"rawSha256": "01ae3dc7e07b5fd0e0daf5deaf7db67b8411b78885431c219c0762d8e46ee9be",
"gzipSha256": "9ea34b4077acbaa414cc31cff3207bd2b3ff55b479dfe68edc26e7334b394791"
},
{
"originFile": "red-recovery.log",
"path": "red-recovery.txt",
"gzipPath": "red-recovery.txt.gz",
"rawSha256": "2af7c9bcdec95d000f987f8bbca6579683190c08a081de8855c31b9e7fb55c5d",
"gzipSha256": "597565d966a7143b23f0e8aa0e8b0ee28e73df05ad98af453bf0143c8560165a"
},
{
"originFile": "green.json",
"path": "green.json",
"gzipPath": "green.json.gz",
"rawSha256": "3f9d23dfff7f5ea510f882f51f01058a4c06743ca4392740016deb54212fde37",
"gzipSha256": "7d83d3170f6399c17c5fc2b26993fb82da3c41a527098fae5f9e27a632252d92"
},
{
"originFile": "green.log",
"path": "green.txt",
"gzipPath": "green.txt.gz",
"rawSha256": "47ed11dca3f3de15718ff9bc63a43e53920801503784bfd1ae0d861e5f822e87",
"gzipSha256": "094fec4a9e1f22fa20ff6d073a9974fcc0c126ea6c55284624caebfc5bf97b43"
},
{
"originFile": "result-summary.json",
"path": "result-summary.json",
"gzipPath": "result-summary.json.gz",
"rawSha256": "2d1e8680fa5c766933c21b7c82a3d0b77a2021a21f302f40f9bfdea642e23e2c",
"gzipSha256": "634116cb460e0eda24507b9ca30c6a031839fb61723d72f89cd208ef8fbc52f6"
},
{
"originFile": "affected.json",
"path": "affected.json",
"gzipPath": "affected.json.gz",
"rawSha256": "00e5e91e2f2e74441a4e8bf5eedeea55239d480471fead154c2f55a711c1bf96",
"gzipSha256": "9e48b8133883ef8badcd8003f8315756568ec691d181ee54b76cea1667d6af73"
},
{
"originFile": "affected.txt",
"path": "affected.txt",
"gzipPath": "affected.txt.gz",
"rawSha256": "6809d0336ce572102ebacb8f9c75396158bf4aad3f3ab7ee9cbf8734eb288728",
"gzipSha256": "ffb49b0f120b4d93b19f8fd869b76cd747c5194da39c2e57cae57e17623ff9ed"
},
{
"originFile": "types.txt",
"path": "types.txt",
"gzipPath": "types.txt.gz",
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
},
{
"originFile": "lint.txt",
"path": "lint.txt",
"gzipPath": "lint.txt.gz",
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
},
{
"originFile": "graph.txt",
"path": "graph.txt",
"gzipPath": "graph.txt.gz",
"rawSha256": "c4bc711b46c88f92c0d3e54a986f9d032a92d64b38ffaaf3ae57cbbd16ae0b6e",
"gzipSha256": "a77c053b77f4a79d003fc682ccde4c74a5061999e020310940cf877d83b3e910"
}
]
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
Test Suites: 5 passed, 5 total
Tests: 130 passed, 130 total
Snapshots: 0 total
Time: 61.195 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-link-management-lifetime\affected.json
@@ -0,0 +1,18 @@
Re-extracting code files in . (no LLM needed)...
[graphify watch] 514 file(s) not classified (no supported extension or shebang), skipped: .dockerignore, .env.example, .git, .gitattributes, .gitignore, 1440-en-dark-converted.gz (+508 more)
AST cache: 2500/2947 files served from cache (84%); 447 to extract
AST extraction: 100/447 uncached files (22%) [16 workers]
AST extraction: 200/447 uncached files (44%) [16 workers]
AST extraction: 300/447 uncached files (67%) [16 workers]
AST extraction: 400/447 uncached files (89%) [16 workers]
AST extraction: 447/447 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, 1178 communities now; renamed 150 community(ies) by their hub). Run `graphify label` to refresh names with the LLM.
Graph has 19247 nodes (above 5000 limit). Building aggregated community view...
graph.html written (aggregated: 1178 community nodes, 3076 cross-community edges)
Tip: run with --obsidian for full node-level detail.
[graphify watch] Rebuilt: 19247 nodes, 47309 edges, 1178 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.
File diff suppressed because one or more lines are too long
@@ -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-link-management-lifetime\green.json
Test Suites: 1 passed, 1 total
Tests: 66 passed, 66 total
Snapshots: 0 total
Time: 22.839 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-link-management-lifetime\green.json
File diff suppressed because one or more lines are too long
@@ -0,0 +1,32 @@
> jest --runInBand --no-cache --runTestsByPath src/correspondence-gmail-import.test.tsx --testNamePattern=changed job recovers --json --outputFile=E:\Storage\Projects\Active\temp docs\jobjakt-local-build\gmail-link-management-lifetime\red-recovery.json
FAIL src/correspondence-gmail-import.test.tsx
● correspondence Gmail import › Gmail link management lifetime › unlink follow-up lifetime › a changed job recovers its management controls while the previous write remains pending
expect(element).toBeEnabled()
Received element is not enabled:
<button class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary Mui-disabled MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary css-1dn15bh-MuiButtonBase-root-MuiButton-root" disabled="" tabindex="-1" type="button" />
554 | const pending = deferred<any>(); const view = await beginManagement(action, pending);
555 | await act(async () => view.rerender(dialog(77)));
> 556 | expect(screen.getByRole("button", { name: translations.en.close })).toBeEnabled();
| ^
557 | await act(async () => pending.resolve(result));
558 | });
559 |
at Object.toBeEnabled (src/correspondence-gmail-import.test.tsx:556:77)
● correspondence Gmail import › Gmail link management lifetime › relink follow-up lifetime › a changed job recovers its management controls while the previous write remains pending
expect(element).toBeEnabled()
Received element is not enabled:
<button class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary Mui-disabled MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary css-1dn15bh-MuiButtonBase-root-MuiButton-root" disabled="" tabindex="-1" type="button" />
554 | const pending = deferred<any>(); const view = await beginManagement(action, pending);
555 | await act(async () => view.rerender(dialog(77)));
> 556 | expect(screen.getByRole("button", { name: translations.en.close })).toBeEnabled();
| ^
557 | await act(async () => pending.resolve(result));
558 | });
559 |
at Object.toBeEnabled (src/correspondence-gmail-import.test.tsx:556:77)
Test Suites: 1 failed, 1 total
Tests: 2 failed, 64 skipped, 66 total
Snapshots: 0 total
Time: 5.101 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-link-management-lifetime\red-recovery.json
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,35 @@
{
"reports": {
"red": {
"numFailedTestSuites": 1,
"numFailedTests": 26,
"numPassedTestSuites": 0,
"numPassedTests": 1,
"numPendingTests": 37,
"numTotalTests": 64,
"success": false
},
"red-recovery": {
"numFailedTestSuites": 1,
"numFailedTests": 2,
"numPassedTestSuites": 0,
"numPassedTests": 0,
"numPendingTests": 64,
"numTotalTests": 66,
"success": false
},
"green": {
"numFailedTestSuites": 0,
"numFailedTests": 0,
"numPassedTestSuites": 1,
"numPassedTests": 66,
"numPendingTests": 0,
"numTotalTests": 66,
"success": true
}
},
"sha256": {
"job-tracker-ui/src/components/Correspondence.tsx": "38d7a994d0d60c6390f0d9739396ddcee8c1be8dff37aa57d54e7a906e651cd3",
"job-tracker-ui/src/correspondence-gmail-import.test.tsx": "3fe2c3f97387eaa446bc42a61f9d51646d3c9cc50c5e18f02b983beac695cb0c"
}
}