docs: write REPORT.md

This commit is contained in:
TAskMAster339
2026-10-19 00:20:43 +03:00
parent 95c2e78fe3
commit 84175cf1e2
68 changed files with 6629 additions and 38 deletions
+52
View File
@@ -0,0 +1,52 @@
# Возможности lab3
[Отчёт](../../REPORT.md) · [Все критерии](README.md)
Статус: **PASS**. Запуск: `20261018T203755.405686Z`.
Тесты создают синтетические данные. Интеграционные Go-тесты используют отдельные схемы БД и собственные S3-ключи.
Проверенные сценарии: `TestStoredPasswordUsesArgon2id`, `TestShortSessionTTLAndLogout`, `TestIdempotencyConcurrentStoresAndScopes`, `TestChatTransactionRollsBackAfterMemberInsertFailure`, `TestListMessagesPagination`.
## baseline
```sh
make test-baseline
```
Начало: 2026-10-18T20:38:39.428018+00:00; длительность: 1.345 с; exit code: 0.
````text
python3 scripts/check_baseline.py --base-url "http://localhost:8080"
PASS: transferred API, shared sessions, chat, message, logout
````
## backend
```sh
make test-backend
```
Начало: 2026-10-18T20:38:40.802787+00:00; длительность: 148.987 с; exit code: 0.
Фрагмент; полный вывод: [backend.txt](runs/20261018T203755.405686Z/backend.txt).
````text
=== RUN TestChatTransactionRollsBackAfterMemberInsertFailure
--- PASS: TestChatTransactionRollsBackAfterMemberInsertFailure (1.30s)
=== RUN TestShortSessionTTLAndLogout
--- PASS: TestShortSessionTTLAndLogout (2.68s)
=== RUN TestIdempotencyConcurrentStoresAndScopes
--- PASS: TestIdempotencyConcurrentStoresAndScopes (1.24s)
=== RUN TestListMessagesPagination
--- PASS: TestListMessagesPagination (0.55s)
=== RUN TestStoredPasswordUsesArgon2id
--- PASS: TestStoredPasswordUsesArgon2id (0.62s)
PASS
````
## Реализация
- [src/backend/repositories/idempotency.go](../../src/backend/repositories/idempotency.go)
- [src/backend/repositories/redis.go](../../src/backend/repositories/redis.go)
- [src/backend/services/password.go](../../src/backend/services/password.go)