12 lines
1.7 KiB
Markdown
12 lines
1.7 KiB
Markdown
# Download the actual previewed attachment
|
|
|
|
17 November 2026. Source `419fd49569b07f545b0d420f954047f564df7a0c`, branch `codex/a3-ui-10`, baseline `3623d1b5`.
|
|
|
|
The preview dialog reconstructed the attachment with ID0 for Download, requesting `/attachments/download/0`. Retain the previewed attachment ID alongside its existing URL/type/name and pass that ID to the unchanged download handler. No endpoint, session/lifetime guard, blob handling, filename, renderer or storage contract changes.
|
|
|
|
Both original EN/NB regressions FAILED with the wrong download ID. Final **103 cases/four complete affected suites PASSED**, zero failures/skips; non-incremental TypeScript, two-file lint, source diff check and AST update PASSED (19,324 nodes/47,465 edges). The later whole-evidence staged diff check reported trailing whitespace in the retained native red log; those original bytes are deliberately preserved, not a clean whole-evidence diff pass. Existing preview request ordering and job/session/unmount checks run in the same package. Counts overlap preceding attachment/dialog packages and are not cumulative full regression.
|
|
|
|
Source/native/gzip bindings: `evidence/attachment-preview-download/SOURCE_RECEIPTS.json`. Blob and anchor clicks are mocked synthetic JSDOM checks; no real files, live API/provider, browser/device or physical PDF qualification. The prior Next build remains FAILED and final A3/security/release gates stay open. Rollback: revert this source commit; no migration.
|
|
|
|
Follow-up investigation reproduced two separate same-application reload ordering failures after successive renames. Those tests are outside this source/evidence snapshot and need their own fix and verification; metadata write ordering remains unqualified.
|