Завершить PostgreSQL, Redis-сессии, миграции, таймауты и диагностику. Зафиксировать собственные тесты и доказательства финального прогона: 43 PASS, 0 FAIL, 0 SKIP; 768 HTTP-запросов без ошибок. Добавить официальный отчёт с запуском, архитектурой, SQL-планами и ограничениями. PR отложен до завершения уровня 5.
71 lines
2.0 KiB
JSON
71 lines
2.0 KiB
JSON
{
|
|
"scope": "actual sessions issued by HTTP API; alternate logout route is diagnostic only and does not satisfy contract",
|
|
"results": [
|
|
{
|
|
"check": "working login and Bearer identity",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"check": "required logout route returns 204",
|
|
"status": "FAIL",
|
|
"detail": "DELETE /api/v1/auth/sessions/current: expected [204], received 404"
|
|
},
|
|
{
|
|
"check": "implemented alternate logout route revokes its token",
|
|
"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": "FAIL",
|
|
"detail": "response: missing required fields"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
]
|
|
} |