Завершить PostgreSQL, Redis-сессии, миграции, таймауты и диагностику. Зафиксировать собственные тесты и доказательства финального прогона: 43 PASS, 0 FAIL, 0 SKIP; 768 HTTP-запросов без ошибок. Добавить официальный отчёт с запуском, архитектурой, SQL-планами и ограничениями. PR отложен до завершения уровня 5.
210 lines
5.8 KiB
JSON
210 lines
5.8 KiB
JSON
{
|
|
"overall": "FAIL",
|
|
"checked_at": "2026-10-13T15:08:39.809268+00:00",
|
|
"project": "highload-auth-review-8d403a11",
|
|
"source_changed_during_run": [],
|
|
"checks": [
|
|
{
|
|
"name": "teacher make check",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"name": "teacher OpenAPI validation",
|
|
"status": "PASS",
|
|
"environment": "temporary venv, requirements-dev.txt"
|
|
},
|
|
{
|
|
"name": "migrator unit tests",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"name": "KDF unit tests",
|
|
"status": "PASS",
|
|
"top_level_tests": 4
|
|
},
|
|
{
|
|
"name": "middleware unit tests",
|
|
"status": "FAIL",
|
|
"top_level_tests": 2
|
|
},
|
|
{
|
|
"name": "initial migration from empty volume",
|
|
"status": "PASS",
|
|
"applied": 2
|
|
},
|
|
{
|
|
"name": "repeat migration",
|
|
"status": "PASS",
|
|
"applied": 0
|
|
},
|
|
{
|
|
"name": "go-storage-summary.json",
|
|
"results": {
|
|
"exit_code": 1,
|
|
"results": [
|
|
{
|
|
"test": "TestStoragePasswordIsKDFAndDuplicateCannotOverwrite",
|
|
"status": "pass"
|
|
},
|
|
{
|
|
"test": "TestStorageSessionHashAndReconnectPreserveDeadline",
|
|
"status": "pass"
|
|
},
|
|
{
|
|
"test": "TestStorageWrongCredentialsNeverCreateSession",
|
|
"status": "pass"
|
|
},
|
|
{
|
|
"test": "TestStorageRevocationIsPersistentAndSessionSpecific",
|
|
"status": "pass"
|
|
},
|
|
{
|
|
"test": "TestStorageExpiredSessionCannotRevive",
|
|
"status": "pass"
|
|
},
|
|
{
|
|
"test": "TestStorageChatRollbackAfterMemberInsertFailure",
|
|
"status": "pass"
|
|
},
|
|
{
|
|
"test": "TestStorageHTTPAuthRoutingAndLogout",
|
|
"status": "fail"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "http-summary.json",
|
|
"results": [
|
|
{
|
|
"name": "teacher-smoke",
|
|
"exit_code": 1,
|
|
"log": "/tmp/highload-auth-review-37affab7/teacher-smoke.log"
|
|
},
|
|
{
|
|
"name": "auth-normal",
|
|
"exit_code": 1,
|
|
"log": "/tmp/highload-auth-review-37affab7/auth-normal.log"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "auth-extra-summary.json",
|
|
"results": {
|
|
"exit_code": 1,
|
|
"results": [
|
|
{
|
|
"test": "TestStorageAuthHandlerRejectsJSONBody",
|
|
"status": "fail"
|
|
},
|
|
{
|
|
"test": "TestStorageShortTTLExpiresAndReLoginWorks",
|
|
"status": "pass"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "teacher-persistence-summary.json",
|
|
"results": {
|
|
"exit_code": 1,
|
|
"hook_executed": false
|
|
}
|
|
},
|
|
{
|
|
"name": "seeded-diagnostics.json",
|
|
"results": {
|
|
"scope": "DIAGNOSTIC ONLY: sessions inserted into isolated test DB, login endpoint NOT validated by these probes",
|
|
"results": [
|
|
{
|
|
"name": "fixture session authenticates user",
|
|
"status": "PASS",
|
|
"detail": null
|
|
},
|
|
{
|
|
"name": "X-User-Id cannot override bearer",
|
|
"status": "PASS",
|
|
"detail": null
|
|
},
|
|
{
|
|
"name": "unknown token is unauthorized",
|
|
"status": "PASS",
|
|
"detail": null
|
|
},
|
|
{
|
|
"name": "missing auth has one JSON error",
|
|
"status": "FAIL",
|
|
"detail": "invalid response JSON"
|
|
},
|
|
{
|
|
"name": "expired stored token is unauthorized",
|
|
"status": "PASS",
|
|
"detail": null
|
|
},
|
|
{
|
|
"name": "outsider chat stays hidden",
|
|
"status": "PASS",
|
|
"detail": null
|
|
},
|
|
{
|
|
"name": "sender derives from bearer",
|
|
"status": "PASS",
|
|
"detail": null
|
|
},
|
|
{
|
|
"name": "history ascending with keyset",
|
|
"status": "PASS",
|
|
"detail": null
|
|
},
|
|
{
|
|
"name": "contract logout path returns 204",
|
|
"status": "FAIL",
|
|
"detail": "DELETE /api/v1/auth/sessions/current: expected [204], received 404"
|
|
},
|
|
{
|
|
"name": "full restart preserves seeded token/messages/deadline",
|
|
"status": "PASS",
|
|
"detail": null
|
|
},
|
|
{
|
|
"name": "live stays available during PostgreSQL outage",
|
|
"status": "PASS",
|
|
"detail": null
|
|
},
|
|
{
|
|
"name": "ready returns 503 during PostgreSQL outage",
|
|
"status": "FAIL",
|
|
"detail": "GET /health/ready: expected [503], received 200"
|
|
},
|
|
{
|
|
"name": "valid bearer returns 503 during PostgreSQL outage",
|
|
"status": "FAIL",
|
|
"detail": "GET /api/v1/users/me: expected [503], received 500"
|
|
},
|
|
{
|
|
"name": "session recovers after PostgreSQL outage",
|
|
"status": "PASS",
|
|
"detail": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "migrator logs omit raw SQL",
|
|
"status": "FAIL"
|
|
}
|
|
],
|
|
"limitations": [
|
|
"Public smoke/persistence stop at login panic; no successful end-to-end auth acceptance.",
|
|
"Seeded diagnostics create sessions in test DB and do not validate the login endpoint.",
|
|
"First seeded restart attempt invalidated: override disabled restart policy and dynamic host ports changed. Corrected attempt uses original policy and fixed ports.",
|
|
"First additional handler attempt invalidated: DB was being restarted. Repeated after recovery.",
|
|
"Redis/Valkey not configured and not tested. No claim of grade4 or full production readiness."
|
|
],
|
|
"cleanup": {
|
|
"exit_code": 0,
|
|
"scope": "only isolated test project and its newly-created synthetic volume",
|
|
"original_project_volume_untouched": true
|
|
}
|
|
}
|