Files
mtusi2026lab4-fork/evidence/criteria/baseline.md
T
2026-10-19 00:20:43 +03:00

53 lines
1.9 KiB
Markdown
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.
# Возможности 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)