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

45 lines
1.4 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.
# Presigned POST и неизменяемый готовый оригинал
[Отчёт](../../REPORT.md) · [Все критерии](README.md)
Статус: **PASS**. Запуск: `20261018T203755.405686Z`.
Тесты создают синтетические данные. Интеграционные Go-тесты используют отдельные схемы БД и собственные S3-ключи.
Проверенные сценарии: `TestDirectUploadFlow`, `TestDirectUploadRecoveryConcurrentComplete`.
## direct
```sh
/usr/bin/python3 scripts/check_direct_upload.py
```
Начало: 2026-10-18T20:41:05.039812+00:00; длительность: 2.394 с; exit code: 0.
````text
PASS: real S3 form, concurrent complete through two replicas, authorized bytes and attachment-only message
````
## 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 TestDirectUploadFlow
--- PASS: TestDirectUploadFlow (0.76s)
=== RUN TestDirectUploadRecoveryConcurrentComplete
--- PASS: TestDirectUploadRecoveryConcurrentComplete (0.61s)
PASS
````
## Реализация
- [src/backend/services/direct_upload.go](../../src/backend/services/direct_upload.go)
- [src/backend/repositories/s3_direct.go](../../src/backend/repositories/s3_direct.go)