forked from mtusi2026/mtusi2026lab5
33 lines
1.8 KiB
Plaintext
33 lines
1.8 KiB
Plaintext
# Level 4 evidence, 2026-11-22
|
|
# Synthetic users only. No session tokens, passwords or broker URLs.
|
|
# Interpreter: C:\Python314\python.exe
|
|
# `python3` on this Windows host is the Store alias and exits 9009, so make was not used.
|
|
|
|
python scripts/check_contract.py
|
|
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
|
|
|
docker compose --env-file .env logs migrate
|
|
applied migration 007_outbox_retry.sql
|
|
|
|
docker compose --env-file .env exec -T worker python -m app.selfcheck
|
|
PASS: thumbnail 256, crop 128, webp 1280-box, exif stripped, backoff capped
|
|
|
|
python tests/smoke.py --base-url http://127.0.0.1:8080
|
|
PASS: lab5 public API scenario; infrastructure and grading evidence remain separate.
|
|
(repeated after the demo below, same PASS)
|
|
|
|
python scripts/level4_demo.py
|
|
pause-outbox attachment=1ebba94c-516f-4007-8c47-d240db28de5f published_at_while_paused=null status_after=ready variants=3
|
|
commit-before-publish attachment=1fabbbaa-3b68-45da-bbf3-deca86ac8e82 published_at_while_paused=null status_after=ready variants=3
|
|
lease-expired attachment=cd637725-a1e2-463a-99c3-49d6f126525d reclaimed=queued status_after=ready variants=3
|
|
exit-after-put attachment=78f62eb7-771d-4cf4-90a3-923e757aa462 variants=3 same_result=yes
|
|
replay requeued 6d4bdc1d-d6d1-4ecd-a920-0459adfebcf2
|
|
replay already_ready 6d4bdc1d-d6d1-4ecd-a920-0459adfebcf2
|
|
permanent-once attachment=6d4bdc1d-d6d1-4ecd-a920-0459adfebcf2 failed=invalid_image dlq=2 replay=requeued second=already_ready variants=3
|
|
transient-once attachment=5da2a975-9ccd-4a85-8bd9-c593e00f7b3b backoff=logged variants=3
|
|
PASS: level 4 outbox, crash, lease redelivery, DLQ replay, backoff
|
|
|
|
dlq=2 counts both this run and an earlier permanent-once on the same RabbitMQ volume.
|
|
docker compose --env-file .env exec -T api python -m app.fault status
|
|
none
|