Files
mtusi2026lab7/evidence/test-pipeline.txt
T

14 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 2026-11-22T19:20:27Z commit=n/a host=Linux 6.18.44-fc-v726 x86_64 cpus=2
$ python3 student-tests/test_pipeline.py
## attachment pipeline (https://127.0.0.1:8443)
PASS upload → 202 queued snapshot, then ready; original byte-exact; three variants by contract 0.73s ready 0.64s after 202; thumbnail 256×160, crop 128×128, optimized 320×200 WebP
PASS big image: optimized fits 1280 without upscale, thumbnail rounds down 1.09s thumbnail 256x170, optimized 1280x852
PASS EXIF orientation applied (stored 400×200, orientation 6 → 200×400); tiny image not upscaled 2.53s
PASS variant parameter: unknown → 400; default original; outsider → 404 0.43s
PASS undecodable image → failed with safe error_code, no retries; content 409; cannot attach (409) 3.04s events ['enqueued', 'published', 'claimed', 'failed']; listed in failed registry
PASS queued/processing attachment can be attached to a message right away 1.17s
PASS duplicate deliveries of a finished job are no-ops (5 raw duplicates) 7.19s committed ×1, duplicate_ignored ×5, metadata unchanged
PASS replay is safe: ready → noop; failed (permanent) → re-executed once, failed again 5.26s ready: noop; failed: replayed (audit by student) → failed again (permanent error)
summary: 8 passed, 0 failed
exit=0