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

12 lines
1.9 KiB
Markdown

# Same-application attachment list ordering
17 November 2026. Source `e4847555` on `codex/a3-ui-10`, following published `1e9105df`.
Successive rename completions can start overlapping list reloads for the same application. The older reload could replace newer rows, show an obsolete failure, or clear the loading indicator before the latest read completed. An incrementing list request ID now supplements the existing mount/job/session guard for success, failure and finally. No write admission, request cancellation, endpoint, payload or server revision behavior changed.
Two initial ordering regressions FAILED. Final four-case fixtures exercised older success/failure both before and after the latest successful response; all four FAILED on original `1e9105df` source. Fixed source restored byte-for-byte after that replay. Final **107 cases/four complete affected suites PASSED**, zero failures/skips; intermediate105 overlaps107. Non-incremental TypeScript, two-file lint, source diff check and AST refresh PASSED19,326 nodes/47,466 edges. Native red logs retain their original whitespace, so whole-evidence diff whitespace is not a clean source-check claim.
Tests retain two original rename payloads/ID, three original list reads, newest rows, loading and error behavior. No real API/storage/browser/device or integrated security/release qualification; prior Next build remains FAILED. Rollback: revert this source commit, no migration. Source/native gzip bindings: `evidence/attachment-list-order/SOURCE_RECEIPTS.json`.
Separate follow-up: four EN/NB controlled-client/server-semantics cases reproduce one metadata control overwriting the other control's value while both requests are pending. The controller supports omitted fields. This finding and its new tests are outside this snapshot and need a separately verified partial-update fix. Same-field concurrent write ordering and backend concurrency remain unqualified.