Files
mtusi2026lab6/evidence/test-pipeline.txt

14 lines
1.3 KiB
Plaintext
Raw Permalink 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-21T19:20:57Z commit=n/a host=Linux 6.18.44-fc-v726 x86_64 cpus=2
$ python3 student-tests/test_pipeline.py
## attachment pipeline (http://127.0.0.1:8080)
PASS upload → 202 queued snapshot, then ready; original byte-exact; three variants by contract 1.20s ready 0.94s after 202; thumbnail 256×160, crop 128×128, optimized 320×200 WebP
PASS big image: optimized fits 1280 without upscale, thumbnail rounds down 1.15s thumbnail 256x170, optimized 1280x852
PASS EXIF orientation applied (stored 400×200, orientation 6 → 200×400); tiny image not upscaled 2.10s
PASS variant parameter: unknown → 400; default original; outsider → 404 0.67s
PASS undecodable image → failed with safe error_code, no retries; content 409; cannot attach (409) 2.54s events ['enqueued', 'published', 'claimed', 'failed']; listed in failed registry
PASS queued/processing attachment can be attached to a message right away 0.69s
PASS duplicate deliveries of a finished job are no-ops (5 raw duplicates) 6.57s committed ×1, duplicate_ignored ×5, metadata unchanged
PASS replay is safe: ready → noop; failed (permanent) → re-executed once, failed again 3.48s ready: noop; failed: replayed (audit by student) → failed again (permanent error)
summary: 8 passed, 0 failed
exit=0