From ae320088ff753d3db8a97c43b9e15d55adf5952e Mon Sep 17 00:00:00 2001 From: cesnimda Date: Tue, 17 Nov 2026 07:56:46 +0100 Subject: [PATCH] docs(attachments): bind latest-preview ordering evidence --- .../ATTACHMENT_PREVIEW_ORDER.md | 9 + .../SOURCE_RECEIPTS.json | 60 ++++++ .../attachment-preview-order/graph.txt | 18 ++ .../attachment-preview-order/graph.txt.gz | Bin 0 -> 984 bytes .../attachment-preview-order/green.json | 1 + .../attachment-preview-order/green.json.gz | Bin 0 -> 2968 bytes .../attachment-preview-order/green.txt | 7 + .../attachment-preview-order/green.txt.gz | Bin 0 -> 253 bytes .../attachment-preview-order/lint.txt | 0 .../attachment-preview-order/lint.txt.gz | Bin 0 -> 20 bytes .../attachment-preview-order/red.json | 1 + .../attachment-preview-order/red.json.gz | Bin 0 -> 4030 bytes .../evidence/attachment-preview-order/red.txt | 186 ++++++++++++++++++ .../attachment-preview-order/red.txt.gz | Bin 0 -> 2228 bytes .../attachment-preview-order/typecheck.txt | 0 .../attachment-preview-order/typecheck.txt.gz | Bin 0 -> 20 bytes 16 files changed, 282 insertions(+) create mode 100644 docs/ui-modernisation/ATTACHMENT_PREVIEW_ORDER.md create mode 100644 docs/ui-modernisation/evidence/attachment-preview-order/SOURCE_RECEIPTS.json create mode 100644 docs/ui-modernisation/evidence/attachment-preview-order/graph.txt create mode 100644 docs/ui-modernisation/evidence/attachment-preview-order/graph.txt.gz create mode 100644 docs/ui-modernisation/evidence/attachment-preview-order/green.json create mode 100644 docs/ui-modernisation/evidence/attachment-preview-order/green.json.gz create mode 100644 docs/ui-modernisation/evidence/attachment-preview-order/green.txt create mode 100644 docs/ui-modernisation/evidence/attachment-preview-order/green.txt.gz create mode 100644 docs/ui-modernisation/evidence/attachment-preview-order/lint.txt create mode 100644 docs/ui-modernisation/evidence/attachment-preview-order/lint.txt.gz create mode 100644 docs/ui-modernisation/evidence/attachment-preview-order/red.json create mode 100644 docs/ui-modernisation/evidence/attachment-preview-order/red.json.gz create mode 100644 docs/ui-modernisation/evidence/attachment-preview-order/red.txt create mode 100644 docs/ui-modernisation/evidence/attachment-preview-order/red.txt.gz create mode 100644 docs/ui-modernisation/evidence/attachment-preview-order/typecheck.txt create mode 100644 docs/ui-modernisation/evidence/attachment-preview-order/typecheck.txt.gz diff --git a/docs/ui-modernisation/ATTACHMENT_PREVIEW_ORDER.md b/docs/ui-modernisation/ATTACHMENT_PREVIEW_ORDER.md new file mode 100644 index 00000000..f389e499 --- /dev/null +++ b/docs/ui-modernisation/ATTACHMENT_PREVIEW_ORDER.md @@ -0,0 +1,9 @@ +# Attachment preview request ordering + +17 November 2026. Source `7830396a` on `codex/a3-ui-10`, based on local evidence `3b661d12`. Publication is pending afterHTTP502; last independently verified remote A3 is `13769a19`. + +Preview actions capture a monotonically increasing request number alongside the existing session/application guard. An earlier response cannot create an obsolete URL, replace the latest selected file or notify over it. Downloads retain independent action semantics. Current preview URL cleanup, type/filename and display ownership remain unchanged. + +Two original success/failure regressions FAILED; final91 cases/four suites PASSED (89/87/69/55/49 overlap this latest attachment selection). Project TypeScript, scoped ESLint, diff check and AST refresh PASSED (19,296 nodes/47,420 edges). Native/gzip/source evidence: `evidence/attachment-preview-order/SOURCE_RECEIPTS.json`. + +Tests use real UI providers with mocked API/session and synthetic files; no real storage/provider/device/browser/integrated security/release qualification. No performance timing claim from request-count/ordering assertions. Same-context list refresh ordering, metadata write ordering and broader connected workflows remain separate. Prior Next build remains FAILED; formal A3/I18N/Phase10/security/release decisions remain open. Rollback: revert only this source commit; no schema/data migration. diff --git a/docs/ui-modernisation/evidence/attachment-preview-order/SOURCE_RECEIPTS.json b/docs/ui-modernisation/evidence/attachment-preview-order/SOURCE_RECEIPTS.json new file mode 100644 index 00000000..ec541213 --- /dev/null +++ b/docs/ui-modernisation/evidence/attachment-preview-order/SOURCE_RECEIPTS.json @@ -0,0 +1,60 @@ +{ + "sourceCommit": "7830396a2b1e48e1649bef32e18feb40c1e81136", + "sourcesLfSha256": { + "job-tracker-ui/src/attachment-action-lifetime.test.tsx": "a9caa80574def97b0b6a353f1c72290e5c26fc3fe25ef5140a5d1e78463c6d08", + "job-tracker-ui/src/components/Attachments.tsx": "ffe32cf4da43e4de18dd452f1e1d06c3bc78efb833b65f3c9c7dc10a1b7fcf97" + }, + "evidenceLfSha256": { + "red.json": "43bc58229e413de63c58cf4c845019238d318e9cc85b70987b3c3bcbb7fa5379", + "red.txt": "ae79b34e6029e4158a1bdc2c2970e23e4580fd8c0fbbd762c7da72f9c4b9a36a", + "green.json": "4dab03ae8604c4b81d84b3a1f84750ea965497e2e968aa7167c6360bcd6c02c9", + "green.txt": "a872e38326a83592ad2477a383b8b717cd2808542d7f11d97fecf10ffa9ee983", + "typecheck.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "graph.txt": "07fead5372ef0f90dfb0c833cc1ac3d7e1b5428ce27481ab4f833b7b7eaae2ce" + }, + "nativeReceipts": [ + { + "path": "red.json", + "gzipPath": "red.json.gz", + "rawSha256": "43bc58229e413de63c58cf4c845019238d318e9cc85b70987b3c3bcbb7fa5379", + "gzipSha256": "e56344a5fcd7706d93e0f2c37170620aae2da294cb63b8d00436d701c02ee5d1" + }, + { + "path": "red.txt", + "gzipPath": "red.txt.gz", + "rawSha256": "964de9365a9e048ae7e94c9ce0e610b62276d65cd19a7813da6899d098053690", + "gzipSha256": "5e8b1c98fa932f3062de3b69ee00f4c17144436fa7ffbdb9e8b9e2b13133316a" + }, + { + "path": "green.json", + "gzipPath": "green.json.gz", + "rawSha256": "4dab03ae8604c4b81d84b3a1f84750ea965497e2e968aa7167c6360bcd6c02c9", + "gzipSha256": "5f3448048c5fdbd56e42080a918b483895a11a7e138f060e4489b7bd48091920" + }, + { + "path": "green.txt", + "gzipPath": "green.txt.gz", + "rawSha256": "ed2f873e28ee174dfdebce9af95445c44912024944546bff669d1294daccbcbf", + "gzipSha256": "188ecdaeb2fd65e42d0f2f6d953c6222760bf4fe054641363cae3cac7faeacad" + }, + { + "path": "typecheck.txt", + "gzipPath": "typecheck.txt.gz", + "rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e" + }, + { + "path": "lint.txt", + "gzipPath": "lint.txt.gz", + "rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e" + }, + { + "path": "graph.txt", + "gzipPath": "graph.txt.gz", + "rawSha256": "fec5abcb9695ecc801ab38a02ea9d45d379c1f32fbf33600b511da56672e209a", + "gzipSha256": "00f04e2e8b56b2a3e06f5e6c6e587d0f2968176fa232975765842e1f10324205" + } + ] +} diff --git a/docs/ui-modernisation/evidence/attachment-preview-order/graph.txt b/docs/ui-modernisation/evidence/attachment-preview-order/graph.txt new file mode 100644 index 00000000..757d56c4 --- /dev/null +++ b/docs/ui-modernisation/evidence/attachment-preview-order/graph.txt @@ -0,0 +1,18 @@ +Re-extracting code files in . (no LLM needed)... +[graphify watch] 626 file(s) not classified (no supported extension or shebang), skipped: .dockerignore, .env.example, .git, .gitattributes, .gitignore, 1440-en-dark-converted.gz (+620 more) + AST cache: 2566/3014 files served from cache (85%); 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, 1215 communities now; renamed 98 community(ies) by their hub). Run `graphify label` to refresh names with the LLM. +Graph has 19296 nodes (above 5000 limit). Building aggregated community view... +graph.html written (aggregated: 1215 community nodes, 3155 cross-community edges) +Tip: run with --obsidian for full node-level detail. +[graphify watch] Rebuilt: 19296 nodes, 47420 edges, 1215 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. diff --git a/docs/ui-modernisation/evidence/attachment-preview-order/graph.txt.gz b/docs/ui-modernisation/evidence/attachment-preview-order/graph.txt.gz new file mode 100644 index 0000000000000000000000000000000000000000..d87ced4e456694531725db251510c2f0e45698f7 GIT binary patch literal 984 zcmV;}11J0+iwFP!000023XN6UZsRr(eGia-7;LeCjaoNHc5LsHQ>3ojqzSx!DS{wN zNn?o{id0F;UiYaV(J$d}2rDko0GAL# zM=H3wx(10@V9^c3@bu)a)U2uaY6}}?^XeXk{h`NnOc$iGkPBuEUvVrv-n31lw51hY zgwk*&L1{1*W=xjd9+*eoG+0a^EL8r8nwL^(>_Lcf9pX1uH^Qw-Zg;=TTFtZ8qS>tv z@kyG-0m`6Y`Z36rT%)@+EdPSekHdZpHAQt#PXMN$myol(!U^;T!(nt5C+S|bLA|C- zS6bD(5a^5sAG@C*O-EoA>}z#kIh0Px2_$hGxu{lpV6kWH^!p#XaF+~Wqco{A_pgEb zZ-CSE9pJM!z{BA?!08*{(fB>!bo45iYVits!?YxqO<)9}`BNNCLvOWz(ZU(1a!#aL zTdKbI8f2KW)*vt_ut8a%%(uV|)SQgw2(3nZFx*#xmOV_S_ut3~K`!ul&k zQ>U7UwFRe$e%v1h@i>Ujq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^6ERuP{A!7_FmQ z@SiE!1P#{X{NPp?iuW%}Ke)v%jAjLHcz$u?@X;(=)u93V92RQBCMkCN@!+F+vMK29 zx$ht>#|RfP8MJr2L~`v;h|Km)>Vu`12%VNQD(OR)VPw*dTwkZR^b(|1rJH+MbC4+K zW4Ux73EFReZ@^IDB{;jzn4DERv?ON>nf`FjL;P9QRQ$fmJxhjDNL$2e7a^Qzz94fE zvqQ1*HoHp`wmpnDyhlMc>}?E=ByPuR?U*W4LS`Yqsu8N%HRjFTZ66R&rGvysi?7z* zQ-Vc(OcM|h(!$kZwJ`2Uv4+R(40x=lyv=wAA7> z+xL$5mwEOVk@}KP`hqftN zb5*;$Z{pYxarmf0uS*ER z+%U!1Do!$Hd?in7iVM+oO-a>w*V6|H<4G3r{aWT~Hk#=iq6dS7t^E}B+DMo})#5x zcrP>-U1*iiL-xYOI#Q!GSBgvY4d?icDb}tKi6\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mAttachments (2)\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mUpload resumes, cover letters, portfolios, and supporting files for this application.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m0 images\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m2 PDFs\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mMax 10 MB each\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mUpload\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mDrag and drop files here\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mor use the upload button to choose documents from your device.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mContent loaded.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mName\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mKind\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mType\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36mPreview failed. instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Preview failed.
instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:267:78)"],"fullName":"older preview reject cannot replace or notify over the latest requested file","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794898348316,"status":"failed","title":"older preview reject cannot replace or notify over the latest requested file"}],"endTime":1794898348617,"message":" ● older preview resolve cannot replace or notify over the latest requested file\n\n TestingLibraryElementError: Unable to find an element with the title: Preview: Latest.pdf.\n\n Ignored nodes: comments, script, style\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mAttachments (2)\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mUpload resumes, cover letters, portfolios, and supporting files for this application.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m0 images\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m2 PDFs\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mMax 10 MB each\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mUpload\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mDrag and drop files here\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mor use the upload button to choose documents from your device.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mContent loaded.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mName\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mKind\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mType\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m { if (outcome === 'resolve') first.resolve({ data: new Blob(['obsolete'], { type: 'application/pdf' }) }); else first.reject(new Error('obsolete preview failure')); });\n > 264 | expect(screen.getByTitle(`Preview: ${other.fileName}`)).toHaveAttribute('src', 'blob:latest-preview');\n | ^\n 265 | expect(URL.createObjectURL).toHaveBeenCalledTimes(1);\n 266 | expect(URL.revokeObjectURL).not.toHaveBeenCalled();\n 267 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();\n\n at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)\n at node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at getByTitle (src/attachment-action-lifetime.test.tsx:264:19)\n\n ● older preview reject cannot replace or notify over the latest requested file\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found
Preview failed.
instead\n\n 265 | expect(URL.createObjectURL).toHaveBeenCalledTimes(1);\n 266 | expect(URL.revokeObjectURL).not.toHaveBeenCalled();\n > 267 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();\n | ^\n 268 | } finally {\n 269 | view.unmount();\n 270 | URL.createObjectURL = originalCreate; URL.revokeObjectURL = originalRevoke;\n\n at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:267:78)\n","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx","startTime":1794898344653,"status":"failed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/attachment-preview-order/red.json.gz b/docs/ui-modernisation/evidence/attachment-preview-order/red.json.gz new file mode 100644 index 0000000000000000000000000000000000000000..e2844e8a8cf5d28f8476ff97c4e42f476bc989d9 GIT binary patch literal 4030 zcmV;v4?*xBiwFP!000023hiCna@#l(ec!J@skX{?l}U@bP?u~{8#|LqcH*6s<2;RK zcOVjyXp;m3g0dBlzhNKu|Mp9^K~fT_D{r>Qj5AY~2!hS-(+!{j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-N;6|B9~-_fPH@)s%$>~mRQ%v_`Xw7n{@`xe$(a8E+>(twe{i?#WYYftZrRML zpDWZ*8|V-JTgcJGci7;9Fh+(aEdj?VI84gZpBkfjhG`bbNwdzd;Yk7@=e8 zagAC8y?*@~9ffSXqZ60_GMCHY@$mx^tCD^Ht-(L2Z`8c=d4cOC)!x;j(#CJhWNer*`g;~$;7XgLB3=ANR;Y-w#xKB z)2VePc>ZUb_jdS_6H3^%^&*#?$j*pdav~cS*0wG{44$RfS`Z+=iAbA=!8`Y73Nrb! zdMOCyvQ9SF6M*1y84Z>jC(CSt$q kS>mZV6!~=gJM4Z0l^F9JXrSTVna98UA3h+;UU{?t03ANr0RR91 literal 0 HcmV?d00001 diff --git a/docs/ui-modernisation/evidence/attachment-preview-order/red.txt b/docs/ui-modernisation/evidence/attachment-preview-order/red.txt new file mode 100644 index 00000000..a3ef2126 --- /dev/null +++ b/docs/ui-modernisation/evidence/attachment-preview-order/red.txt @@ -0,0 +1,186 @@ +FAIL src/attachment-action-lifetime.test.tsx + ● older preview resolve cannot replace or notify over the latest requested file + + TestingLibraryElementError: Unable to find an element with the title: Preview: Latest.pdf. + + Ignored nodes: comments, script, style + +