Durable staging handoff, transactional outbox, at-least-once worker with lease fencing, idempotent versioned pipeline, three variants, operator tooling, contract tests and evidence. Includes the review fixes: reprocess source selection and failure settlement, replay guards, stale-job retirement, PNG structural/raster validation, migration rollback safety and audit events.
26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
# make test-attachments 2026-10-31T11:26:14Z
|
|
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 student-tests/attachments_negative.py --base-url "http://localhost:8080"
|
|
10 MiB + 1 body: 413
|
|
empty body: 415
|
|
corrupt PNG (IDAT CRC): 415
|
|
MIME spoof (PNG declared as JPEG): 415
|
|
structurally valid PNG with non-zlib IDAT: 415
|
|
valid zlib, empty PNG raster: 415
|
|
valid zlib, invalid PNG scanline filter: 415
|
|
invalid PNG color type/bit depth pair: 415
|
|
duplicate PNG IHDR: 415
|
|
trailing bytes after PNG zlib stream: 415
|
|
tRNS on RGBA PNG: 415
|
|
short tRNS on RGB PNG: 415
|
|
PLTE entries exceed palette bit depth: 415
|
|
palette tRNS exceeds PLTE entries: 415
|
|
dangerous filenames: 400
|
|
foreign attachment metadata/content: 404
|
|
empty text without attachments: 400
|
|
attachment from another chat: 404
|
|
11 attachment ids: 400
|
|
duplicate attachment ids: 400
|
|
attachment-only message: 201
|
|
anonymous direct S3 GET: 403
|
|
PASS: lab4 attachment negative scenarios
|