Files
mtusi2026lab5/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-21T15:23:11Z 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 0.98s ready 0.93s after 202; thumbnail 256×160, crop 128×128, optimized 320×200 WebP
PASS big image: optimized fits 1280 without upscale, thumbnail rounds down 0.76s thumbnail 256x170, optimized 1280x852
PASS EXIF orientation applied (stored 400×200, orientation 6 → 200×400); tiny image not upscaled 1.35s
PASS variant parameter: unknown → 400; default original; outsider → 404 0.66s
PASS undecodable image → failed with safe error_code, no retries; content 409; cannot attach (409) 1.70s events ['enqueued', 'published', 'claimed', 'failed']; listed in failed registry
PASS queued/processing attachment can be attached to a message right away 0.68s
PASS duplicate deliveries of a finished job are no-ops (5 raw duplicates) 5.51s committed ×1, duplicate_ignored ×5, metadata unchanged
PASS replay is safe: ready → noop; failed (permanent) → re-executed once, failed again 3.23s ready: noop; failed: replayed (audit by student) → failed again (permanent error)
summary: 8 passed, 0 failed
exit=0