Реализовал уровень 3: PostgreSQL, пароли и сохраняемые сессии
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"commands": [
|
||||
{
|
||||
"command": "python scripts/check_contract.py",
|
||||
"output": "PASS: offline skeleton structure, local refs and Python syntax; application NOT tested."
|
||||
},
|
||||
{
|
||||
"command": "python tests/smoke.py",
|
||||
"output": "PASS: lab2 public API scenario; infrastructure and grading evidence remain separate."
|
||||
},
|
||||
{
|
||||
"command": "python student-tests/test_lab2.py",
|
||||
"output": "PASS: strict validation, access, cursor binding, 100 messages / 10 clients, complete pagination"
|
||||
},
|
||||
{
|
||||
"command": "python tests/resilience.py --mode persistence --action-script scripts/restart.cmd",
|
||||
"output": "Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.\nPASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence."
|
||||
}
|
||||
],
|
||||
"before": [
|
||||
{
|
||||
"Name": "/lyakhonov-lab2-api-1",
|
||||
"RestartCount": 0,
|
||||
"started_at": "2026-10-09T11:15:56.676676381Z",
|
||||
"image": "lyakhonov-messenger:lab2"
|
||||
},
|
||||
{
|
||||
"Name": "/lyakhonov-lab2-db-1",
|
||||
"RestartCount": 0,
|
||||
"started_at": "2026-10-09T11:15:56.130807797Z",
|
||||
"image": "postgres:16.6-alpine"
|
||||
}
|
||||
],
|
||||
"after": [
|
||||
{
|
||||
"Name": "/lyakhonov-lab2-api-1",
|
||||
"RestartCount": 0,
|
||||
"started_at": "2026-10-09T11:16:33.449311224Z",
|
||||
"image": "lyakhonov-messenger:lab2"
|
||||
},
|
||||
{
|
||||
"Name": "/lyakhonov-lab2-db-1",
|
||||
"RestartCount": 0,
|
||||
"started_at": "2026-10-09T11:16:33.058063917Z",
|
||||
"image": "postgres:16.6-alpine"
|
||||
}
|
||||
],
|
||||
"migration_repeat": "PASS: repeated migration completed without applying migration twice",
|
||||
"migration_versions": "001_initial.sql"
|
||||
}
|
||||
Reference in New Issue
Block a user