Завершить PostgreSQL, Redis-сессии, миграции, таймауты и диагностику. Зафиксировать собственные тесты и доказательства финального прогона: 43 PASS, 0 FAIL, 0 SKIP; 768 HTTP-запросов без ошибок. Добавить официальный отчёт с запуском, архитектурой, SQL-планами и ограничениями. PR отложен до завершения уровня 5.
257 lines
6.7 KiB
JSON
257 lines
6.7 KiB
JSON
{
|
|
"date": "2026-10-14",
|
|
"project": "highload-auth-retest-76b890c3",
|
|
"overall": "FAIL",
|
|
"suites": [
|
|
{
|
|
"check": "teacher-check",
|
|
"exit_code": 0,
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"check": "teacher-openapi",
|
|
"exit_code": 0,
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"check": "go-all-race",
|
|
"exit_code": 0,
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"check": "teacher-smoke",
|
|
"exit_code": 0,
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"check": "auth-normal",
|
|
"exit_code": 1,
|
|
"status": "FAIL"
|
|
},
|
|
{
|
|
"check": "teacher-persistence",
|
|
"exit_code": 0,
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"check": "auth-persistence",
|
|
"exit_code": 0,
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"check": "auth-dependency",
|
|
"exit_code": 1,
|
|
"status": "FAIL"
|
|
},
|
|
{
|
|
"check": "start-expiry-api",
|
|
"exit_code": 0,
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"check": "auth-expiry",
|
|
"exit_code": 0,
|
|
"status": "PASS"
|
|
}
|
|
],
|
|
"go_counts": {
|
|
"pass": 21,
|
|
"fail": 0,
|
|
"skip": 0
|
|
},
|
|
"go_tests": [
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/cmd/migrate",
|
|
"Test": "TestConnectionSecretErrorsAreSafe"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/cmd/migrate",
|
|
"Test": "TestEmbeddedMigrationsAreVersionedAndCollectable"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/cmd/migrate",
|
|
"Test": "TestUnlockHasBudgetEvenWithDetachedContext"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/cmd/migrate",
|
|
"Test": "TestPostgresMigrationsRepeatWithoutChangingDataOrLoggingSQL"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/student-tests/auth_tests",
|
|
"Test": "TestStorageAuthHandlerRejectsJSONBody"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/cmd/migrate",
|
|
"Test": "TestPostgresConcurrentMigratorsApplyEachVersionOnce"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/cmd/migrate",
|
|
"Test": "TestPostgresMigrationFailureRollsBackAndPreservesCause"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/student-tests/auth_tests",
|
|
"Test": "TestPasswordRoundTripAndRandomSalt"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/student-tests/auth_tests",
|
|
"Test": "TestPasswordDoesNotTruncateLongUTF8"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/student-tests/auth_tests",
|
|
"Test": "TestPasswordWhitespaceIsSignificant"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/student-tests/auth_tests",
|
|
"Test": "TestMalformedPasswordHashRejectedWithoutPanic"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/student-tests/auth_tests",
|
|
"Test": "TestStoragePasswordIsKDFAndDuplicateCannotOverwrite"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/student-tests/auth_tests",
|
|
"Test": "TestStorageSessionHashAndReconnectPreserveDeadline"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/student-tests/auth_tests",
|
|
"Test": "TestStorageWrongCredentialsNeverCreateSession"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/student-tests/auth_tests",
|
|
"Test": "TestStorageRevocationIsPersistentAndSessionSpecific"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/student-tests/auth_tests",
|
|
"Test": "TestStorageExpiredSessionCannotRevive"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/student-tests/auth_tests",
|
|
"Test": "TestStorageShortTTLExpiresAndReLoginWorks"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/student-tests/auth_tests",
|
|
"Test": "TestStorageChatRollbackAfterMemberInsertFailure"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/student-tests/auth_tests",
|
|
"Test": "TestMiddlewareUnavailableDatabaseStopsHandler"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/student-tests/auth_tests",
|
|
"Test": "TestMiddlewareMalformedAuthWritesExactlyOneError"
|
|
},
|
|
{
|
|
"Action": "pass",
|
|
"Package": "highload/student-tests/auth_tests",
|
|
"Test": "TestStorageHTTPAuthRoutingAndLogout"
|
|
}
|
|
],
|
|
"http_normal_counts": {
|
|
"pass": 15,
|
|
"fail": 1
|
|
},
|
|
"focused_diagnostics": {
|
|
"scope": "actual sessions issued by HTTP API; contract logout route; isolated project only",
|
|
"results": [
|
|
{
|
|
"check": "working login and Bearer identity",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"check": "required logout route returns 204",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"check": "repeat logout with revoked token returns 401",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"check": "revoked session is rejected",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"check": "actual issued token messages and expiry survive full API/Postgres restart",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"check": "live stays 200 during PostgreSQL outage",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"check": "anonymous request stays 401 during outage",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"check": "ready 503 follows Error schema",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"check": "valid Bearer request returns 503 unavailable during outage",
|
|
"status": "FAIL",
|
|
"detail": "GET /api/v1/users/me: expected [503], received 500"
|
|
},
|
|
{
|
|
"check": "registration returns 503 during outage",
|
|
"status": "FAIL",
|
|
"detail": "POST /api/v1/users: expected [503], received 500"
|
|
},
|
|
{
|
|
"check": "login returns 503 during outage",
|
|
"status": "FAIL",
|
|
"detail": "POST /api/v1/auth/sessions: expected [503], received 500"
|
|
},
|
|
{
|
|
"check": "logout does not succeed during outage",
|
|
"status": "FAIL",
|
|
"detail": "DELETE /api/v1/auth/sessions/current: expected [503], received 500"
|
|
},
|
|
{
|
|
"check": "original session recovers after PostgreSQL returns",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"check": "revoked token remains revoked after database recovery",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"check": "restart evidence shows both processes restarted with same volume",
|
|
"status": "PASS"
|
|
}
|
|
]
|
|
},
|
|
"protected_source_changes": [],
|
|
"teacher_comparison": {
|
|
"checked": 18,
|
|
"differences": [],
|
|
"status": "PASS",
|
|
"source": "https://gitea.privcloud.tech/mtusi2026/mtusi2026lab2",
|
|
"date": "2026-10-14"
|
|
},
|
|
"cleanup_exit": 0,
|
|
"limits": [
|
|
"Redis/Valkey absent, not tested",
|
|
"Public and custom persistence used temporary explicit hooks; scripts/restart.sh remains absent",
|
|
"Old lab1 HTTP/container suites are not adapted to lab2",
|
|
"EXPLAIN/grade5 experiment not part of this run"
|
|
]
|
|
} |