Files
mtusi2026lab4/evidence/track2-used-attachment.txt
T

45 lines
3.4 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.
=== USED ATTACHMENT TEST — Thu Nov 12 19:47:32 MSK 2026 ===
Chat ID: 8fda8190-2d4f-4fa7-b2f2-5f01f3a36fad
Attachment ID: c97cdf01-3663-4c11-9e30-fd83c7bc0e5a
Object key: de86cd68-f019-4b7b-83f7-47d9d2fcd03a.png
Сообщение создано с attachment_ids=[c97cdf01-3663-4c11-9e30-fd83c7bc0e5a] — файл ИСПОЛЬЗУЕТСЯ
Removed `myminio/messenger-attachments/de86cd68-f019-4b7b-83f7-47d9d2fcd03a.png`.
Файл удалён из MinIO — missing (используется)
=== DRY-RUN (ожидаем [SKIP] для используемого) ===
/app/scripts/reconcile.py:81: DeprecationWarning: Parsing dates involving a day of month without a year specified is ambiguious
and fails to parse leap day. The default behavior will change in Python 3.15
to either always raise an exception or to use a different default year (TBD).
To avoid trouble, add a specific year to the input & format.
See https://github.com/python/cpython/issues/70647.
minio_client.stat_object(BUCKET, key)
Записей в БД: 112
[SKIP] id=ec42f559-a4ed-4237-87bd-8ed4791cbb12, key=33655bad-fe2d-4144-b621-b667d8eee105.png — используется в сообщении, не удаляем
[SKIP] id=57462036-5532-4a23-8a84-4437c1e89c64, key=aa776ea9-b469-4e4c-b5af-6f0e2b514a12.png — используется в сообщении, не удаляем
[SKIP] id=0858aa8f-d096-4ac3-ae8f-68b66411fe2e, key=f120b3d7-f213-42ea-ab3e-9b837a0167a0.png — используется в сообщении, не удаляем
[SKIP] id=c97cdf01-3663-4c11-9e30-fd83c7bc0e5a, key=de86cd68-f019-4b7b-83f7-47d9d2fcd03a.png — используется в сообщении, не удаляем
[DRY-RUN] Missing: 0 (удалить), 4 (используется, SKIP). Удаление не выполнено.
=== EXECUTE (используемый не удаляется) ===
/app/scripts/reconcile.py:81: DeprecationWarning: Parsing dates involving a day of month without a year specified is ambiguious
and fails to parse leap day. The default behavior will change in Python 3.15
to either always raise an exception or to use a different default year (TBD).
To avoid trouble, add a specific year to the input & format.
See https://github.com/python/cpython/issues/70647.
minio_client.stat_object(BUCKET, key)
[SKIP] id=ec42f559-a4ed-4237-87bd-8ed4791cbb12, key=33655bad-fe2d-4144-b621-b667d8eee105.png — используется в сообщении, не удаляем
[SKIP] id=57462036-5532-4a23-8a84-4437c1e89c64, key=aa776ea9-b469-4e4c-b5af-6f0e2b514a12.png — используется в сообщении, не удаляем
[SKIP] id=0858aa8f-d096-4ac3-ae8f-68b66411fe2e, key=f120b3d7-f213-42ea-ab3e-9b837a0167a0.png — используется в сообщении, не удаляем
[SKIP] id=c97cdf01-3663-4c11-9e30-fd83c7bc0e5a, key=de86cd68-f019-4b7b-83f7-47d9d2fcd03a.png — используется в сообщении, не удаляем
[SKIP] 4 используемых missing — не удалены (защита от битых сообщений).
Записей с id=c97cdf01-3663-4c11-9e30-fd83c7bc0e5a в БД: 1
================================================================
ИТОГ
================================================================
PASS: используемый missing НЕ удалён (остался в БД, [SKIP])