Files
mtusi2026lab4/evidence/student-tests.txt
T
ArtyomandClaude Opus 5.5 db901d6401 Record level 3 evidence and fill in the report
Evidence comes from the stand started from an empty state and from a
fresh clone: the public smoke, the contract checks, lint and 325 own
tests, the storage layout with an out-of-API comparison of a stored
object against its metadata, failover of each replica under writes, the
upload failover scenario, persistence with StartedAt of every service
including S3, the S3 outage scenario and 22 S3 privacy and bootstrap
checks. The storage evidence script now covers the attachment tables
and the S3 secrets.

REPORT.md follows the lab 4 template: launch from a clean clone,
architecture with the source of truth for each fact, the write order
between PostgreSQL and S3 and what each failure leaves behind, where
each upload limit applies, roles and services, the .env.example
mapping, grade 3 rows and the grade 3 failure table. The design notes
the botocore Expect header that hung uploads behind the port proxy.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-28 22:20:10 +03:00

50 lines
3.2 KiB
Plaintext

date: 2026-10-28T17:51:45Z commit: 24f9d61
$ make lint
.venv/bin/ruff check src student-tests scripts/probe.py scripts/limits.py scripts/lab4_scenarios.py
All checks passed!
.venv/bin/ruff format --check src student-tests scripts/probe.py scripts/limits.py scripts/lab4_scenarios.py
131 files already formatted
.venv/bin/ty check src student-tests
All checks passed!
$ make student-test # pytest без маркера stack, по файлам
============================= test session starts ==============================
platform darwin -- Python 3.14.5, pytest-9.1.1, pluggy-1.6.0
rootdir: <repo>
configfile: pyproject.toml
testpaths: student-tests
plugins: asyncio-1.4.0, anyio-4.15.1
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
collected 335 items / 10 deselected / 325 selected
student-tests/adapters/test_s3_storage.py .. [ 0%]
student-tests/api/test_access.py ....... [ 2%]
student-tests/api/test_attachments.py .................................. [ 13%]
... [ 14%]
student-tests/api/test_bounded_contexts.py ................... [ 20%]
student-tests/api/test_cache.py ..... [ 21%]
student-tests/api/test_concurrency.py ... [ 22%]
student-tests/api/test_consistency.py ........ [ 24%]
student-tests/api/test_drain.py .. [ 25%]
student-tests/api/test_events.py ....... [ 27%]
student-tests/api/test_idempotency.py ............... [ 32%]
student-tests/api/test_instance.py .... [ 33%]
student-tests/api/test_message_attachments.py ........... [ 36%]
student-tests/api/test_migrations.py ....... [ 39%]
student-tests/api/test_negative.py ..................................... [ 50%]
[ 50%]
student-tests/api/test_operability.py ............. [ 54%]
student-tests/api/test_pagination.py ................. [ 59%]
student-tests/api/test_pool.py .. [ 60%]
student-tests/api/test_sessions.py .................. [ 65%]
student-tests/api/test_timeout.py ...... [ 67%]
student-tests/api/test_wire_format.py .. [ 68%]
student-tests/unit/test_attachments_domain.py .......................... [ 76%]
[ 76%]
student-tests/unit/test_authentication.py ..................... [ 82%]
student-tests/unit/test_cursor.py ........... [ 86%]
student-tests/unit/test_domain.py ...................................... [ 97%]
...... [ 99%]
student-tests/unit/test_timeouts.py . [100%]
===================== 325 passed, 10 deselected in 35.54s ======================