ЛР 2: закрыть уровень 4

Завершить PostgreSQL, Redis-сессии, миграции, таймауты и диагностику. Зафиксировать собственные тесты и доказательства финального прогона: 43 PASS, 0 FAIL, 0 SKIP; 768 HTTP-запросов без ошибок. Добавить официальный отчёт с запуском, архитектурой, SQL-планами и ограничениями. PR отложен до завершения уровня 5.
This commit is contained in:
2026-10-28 13:30:26 +03:00
parent 65003b6119
commit 834876c938
288 changed files with 107634 additions and 19 deletions
@@ -0,0 +1,23 @@
{
"scope": "observed automated scenarios, not an automatic grade or manual report/CI review",
"results": [
{
"suite": "business-boundaries",
"status": "PASS",
"observation": null,
"duration_seconds": 0.5862
},
{
"suite": "business-cursors",
"status": "PASS",
"observation": null,
"duration_seconds": 0.4185
},
{
"suite": "read-after-write",
"status": "PASS",
"observation": null,
"duration_seconds": 0.2698
}
]
}
@@ -0,0 +1,4 @@
{"action": "restart", "project": "lab2-test-d3001ea4031a", "before": {"api": {"id": "aa31810b36cd19b05c86544e899b2bc2c55c103bfcb0d7457959e614fdddf70d", "started_at": "2026-10-14T16:44:17.831882884Z", "running": true, "volumes": []}, "postgres": {"id": "8db17c33ff3af7695257ca652a7c6f52b17f412275adaca500a9e02bbbf52289", "started_at": "2026-10-14T16:44:11.424226422Z", "running": true, "volumes": ["lab2-test-d3001ea4031a_postgres_data"]}}, "after": {"api": {"id": "aa31810b36cd19b05c86544e899b2bc2c55c103bfcb0d7457959e614fdddf70d", "started_at": "2026-10-14T16:45:02.48795146Z", "running": true, "volumes": []}, "postgres": {"id": "8db17c33ff3af7695257ca652a7c6f52b17f412275adaca500a9e02bbbf52289", "started_at": "2026-10-14T16:45:02.241071001Z", "running": true, "volumes": ["lab2-test-d3001ea4031a_postgres_data"]}}}
{"action": "restart", "project": "lab2-test-d3001ea4031a", "before": {"api": {"id": "aa31810b36cd19b05c86544e899b2bc2c55c103bfcb0d7457959e614fdddf70d", "started_at": "2026-10-14T16:45:02.48795146Z", "running": true, "volumes": []}, "postgres": {"id": "8db17c33ff3af7695257ca652a7c6f52b17f412275adaca500a9e02bbbf52289", "started_at": "2026-10-14T16:45:02.241071001Z", "running": true, "volumes": ["lab2-test-d3001ea4031a_postgres_data"]}}, "after": {"api": {"id": "aa31810b36cd19b05c86544e899b2bc2c55c103bfcb0d7457959e614fdddf70d", "started_at": "2026-10-14T16:45:04.41055646Z", "running": true, "volumes": []}, "postgres": {"id": "8db17c33ff3af7695257ca652a7c6f52b17f412275adaca500a9e02bbbf52289", "started_at": "2026-10-14T16:45:04.242527669Z", "running": true, "volumes": ["lab2-test-d3001ea4031a_postgres_data"]}}}
{"action": "stop-db", "project": "lab2-test-d3001ea4031a", "before": {"postgres": {"id": "8db17c33ff3af7695257ca652a7c6f52b17f412275adaca500a9e02bbbf52289", "started_at": "2026-10-14T16:45:04.242527669Z", "running": true, "volumes": ["lab2-test-d3001ea4031a_postgres_data"]}}, "after": {"postgres": {"id": "8db17c33ff3af7695257ca652a7c6f52b17f412275adaca500a9e02bbbf52289", "started_at": "2026-10-14T16:45:04.242527669Z", "running": false, "volumes": ["lab2-test-d3001ea4031a_postgres_data"]}}}
{"action": "start-db", "project": "lab2-test-d3001ea4031a", "before": {"postgres": {"id": "8db17c33ff3af7695257ca652a7c6f52b17f412275adaca500a9e02bbbf52289", "started_at": "2026-10-14T16:45:04.242527669Z", "running": false, "volumes": ["lab2-test-d3001ea4031a_postgres_data"]}}, "after": {"postgres": {"id": "8db17c33ff3af7695257ca652a7c6f52b17f412275adaca500a9e02bbbf52289", "started_at": "2026-10-14T16:45:06.991207753Z", "running": true, "volumes": ["lab2-test-d3001ea4031a_postgres_data"]}}}
@@ -0,0 +1,79 @@
{
"project": "lab2-test-d3001ea4031a",
"status": "PASS",
"results": [
{
"check": "contracts",
"status": "PASS",
"seconds": 1.365
},
{
"check": "harness",
"status": "PASS",
"seconds": 0.075
},
{
"check": "lab2-harness",
"status": "PASS",
"seconds": 0.223
},
{
"check": "compose-up",
"status": "PASS",
"seconds": 22.15
},
{
"check": "go-race",
"status": "PASS",
"seconds": 29.116,
"tests": {
"pass": 27
}
},
{
"check": "teacher-smoke",
"status": "PASS",
"seconds": 0.943
},
{
"check": "auth-normal",
"status": "PASS",
"seconds": 5.056
},
{
"check": "business",
"status": "PASS",
"seconds": 1.471
},
{
"check": "teacher-persistence",
"status": "PASS",
"seconds": 2.975
},
{
"check": "auth-persistence",
"status": "PASS",
"seconds": 1.96
},
{
"check": "postgres-outage",
"status": "PASS",
"seconds": 2.621
},
{
"check": "short-ttl-api",
"status": "PASS",
"seconds": 0.5
},
{
"check": "auth-expiry",
"status": "PASS",
"seconds": 2.691
},
{
"check": "cleanup",
"status": "PASS",
"seconds": 0.711
}
]
}