docs: record async-attachments evidence and report

Evidence taken on ff1a83b. The report covers level 3; levels 4 and 5 are
closed by the following changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-31 08:30:46 +03:00
co-authored by Claude Opus 5.5
parent ff1a83b6ff
commit acc6584dd3
184 changed files with 30760 additions and 20 deletions
+42
View File
@@ -0,0 +1,42 @@
# Набор на временной базе
- Команда: `make test_isolated`
- Дата: 2026-10-31, ~05:23 UTC; код выхода 2 (`results: {'test': 0, 'student_test': 2}`)
- Commit: `ff1a83b`, рабочее дерево без правок кода (добавлены только файлы `evidence/`)
- Стенд: образ из рабочего дерева, контейнеры `mtusi-lab5-test-api` и `mtusi-lab5-test-worker` на базе `test_messenger` поверх хранилищ рабочего стенда, один процесс API, `EXPECT_REPLICAS=1`
- Итог: smoke — `PASS: lab5`; набор — **1 failed, 205 passed, 6 skipped, 99 deselected, 99,63 с**
- 6 skipped — тесты реплик против одного процесса, причина напечатана
- Красное — `test_exclusion_evidence_exists`, только `missing_evidence` по трём файлам последнего шага прогона лабы; разбор — `evidence/tests/student-test-lb.md`
- После уборки (проверено отдельно): контейнеров `*-test-*` нет, базы `test_messenger` нет (`pg_database`: `postgres`, `messenger`, `template0`, `template1`), очереди временной базы нет (`list_queues`: только `messenger.attachment.process.v1`)
- Вывод сокращён: убраны лог сборки, строки `PASSED` и журналы контейнеров, которые цель печатает при коде ≠ 0
```text
[test_isolated] database=test_messenger objects=/buckets/messenger/test_messenger/ queue=test_messenger.attachment.process.v1 containers=mtusi-lab5-test-api mtusi-lab5-test-worker base_url=http://127.0.0.1:18088
[test_isolated] remove objects /buckets/messenger/test_messenger/ and queue test_messenger.attachment.process.v1
[test_isolated] build image
[test_isolated] create database test_messenger
[test_isolated] migrations
[test_isolated] start api container
[test_isolated] start worker container
[test_isolated] ready
[test_isolated] make test
PASS: lab5 public API scenario; infrastructure and grading evidence remain separate.
[test_isolated] make student_test
E AssertionError: exclusion refers to missing evidence/cache/hits.md: chat-cache / Временная база
E exclusion refers to missing evidence/cache/hits.md: chat-cache / Срок записи
E exclusion refers to missing evidence/cache/hits.md: chat-cache / Чтение из кэша
E exclusion refers to missing evidence/idempotency/replay-after-restart.md: idempotency / Повтор после рестарта API
E exclusion refers to missing evidence/auth/passwords-and-tokens.md: sessions / Токена нет в хранилище
E exclusion refers to missing evidence/auth/passwords-and-tokens.md: users / Хэш в БД
SKIPPED [1] student-tests/test_attachment_processing.py:325: one API process (EXPECT_REPLICAS=1): replica checks need the stand with the load balancer
SKIPPED [1] student-tests/test_attachments.py:744: one API process (EXPECT_REPLICAS=1): replica checks need the stand with the load balancer
SKIPPED [1] student-tests/test_idempotency.py:372: one API process (EXPECT_REPLICAS=1): replica checks need the stand with the load balancer
SKIPPED [1] student-tests/test_load_balancing.py:18: one API process (EXPECT_REPLICAS=1): replica checks need the stand with the load balancer
SKIPPED [1] student-tests/test_load_balancing.py:34: one API process (EXPECT_REPLICAS=1): replica checks need the stand with the load balancer
SKIPPED [1] student-tests/test_race.py:169: one API process (EXPECT_REPLICAS=1): replica checks need the stand with the load balancer
====== 1 failed, 205 passed, 6 skipped, 99 deselected in 99.63s (0:01:39) ======
[test_isolated] cleanup
[test_isolated] remove objects /buckets/messenger/test_messenger/ and queue test_messenger.attachment.process.v1
[test_isolated] results: {'test': 0, 'student_test': 2}
make: *** [test_isolated] Error 2
```