forked from mtusi2026/mtusi2026lab2
lab2done
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# Статус доказательств
|
||||
|
||||
В этом архиве выполнены только build, locked restore, publish, unit checks и статические проверки.
|
||||
acceptance.json, explain.txt, smoke.py.txt и resilience.py.txt появятся после запуска scripts/verify.py на ПК.
|
||||
Их отсутствие намеренно: успешные результаты интеграционных тестов не выдумывались.
|
||||
Unit tests проверяют криптографию и курсоры, а не SQL/HTTP.
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"passed": [
|
||||
"smoke.py",
|
||||
"wrong password and X-User-Id bypass rejected",
|
||||
"concurrent username registration: exactly one 201 and one 409",
|
||||
"failed member insertion rolled back parent chat (SQL count=0)",
|
||||
"long Unicode password with colon",
|
||||
"Redis profile cache TTL and recovery after flush",
|
||||
"Redis unavailable: SQL fallback; logout still effective",
|
||||
"Postgres unavailable: bounded 503, liveness 200",
|
||||
"resilience.py",
|
||||
"existing signed cursor works across full restart",
|
||||
"migration repeated safely across full restart",
|
||||
"SESSION_TTL_SECONDS=2 expires without logout",
|
||||
"EXPLAIN ANALYZE BUFFERS: indexed deep page on 10000 rows"
|
||||
],
|
||||
"completed": true
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
Messenger -> /workspace/scratch/d5a36e7fed20/output/mtusi2026lab2-ready/src/Messenger/bin/Release/net10.0/Messenger.dll
|
||||
|
||||
Build succeeded.
|
||||
0 Warning(s)
|
||||
0 Error(s)
|
||||
|
||||
Time Elapsed 00:00:01.14
|
||||
Binary file not shown.
@@ -0,0 +1,17 @@
|
||||
BEGIN
|
||||
INSERT 0 1
|
||||
INSERT 0 1
|
||||
INSERT 0 1
|
||||
INSERT 0 10000
|
||||
ANALYZE
|
||||
fixture_rows=10000
|
||||
Limit (cost=0.29..14.47 rows=51 width=68) (actual time=0.006..0.010 rows=51 loops=1)
|
||||
Buffers: shared hit=3
|
||||
-> Index Scan using ix_messages_history on messages (cost=0.29..280.02 rows=1006 width=68) (actual time=0.005..0.008 rows=51 loops=1)
|
||||
Index Cond: ((chat_id = '20000000-0000-0000-0000-000000000001'::uuid) AND (ROW(created_at, id) > ROW('2026-01-01 00:00:09+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))
|
||||
Buffers: shared hit=3
|
||||
Planning:
|
||||
Buffers: shared hit=18
|
||||
Planning Time: 0.044 ms
|
||||
Execution Time: 0.020 ms
|
||||
ROLLBACK
|
||||
@@ -0,0 +1 @@
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
@@ -0,0 +1 @@
|
||||
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
|
||||
@@ -0,0 +1,2 @@
|
||||
Messenger -> /workspace/scratch/d5a36e7fed20/output/mtusi2026lab2-ready/src/Messenger/bin/Release/net10.0/Messenger.dll
|
||||
Messenger -> /tmp/lab-publish/
|
||||
@@ -0,0 +1,2 @@
|
||||
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
||||
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1,3 @@
|
||||
/mtusi-lab2-api-1 2026-11-12T17:12:12.868125369Z running
|
||||
/mtusi-lab2-postgres-1 2026-11-12T17:12:10.098361519Z running
|
||||
/mtusi-lab2-redis-1 2026-11-12T17:12:10.093157288Z running
|
||||
@@ -0,0 +1,3 @@
|
||||
/mtusi-lab2-api-1 2026-11-12T17:11:54.050668081Z running
|
||||
/mtusi-lab2-postgres-1 2026-11-12T17:12:07.715708659Z running
|
||||
/mtusi-lab2-redis-1 2026-11-12T17:12:03.91829352Z running
|
||||
@@ -0,0 +1,2 @@
|
||||
Determining projects to restore...
|
||||
Restored /workspace/scratch/d5a36e7fed20/output/mtusi2026lab2-ready/src/Messenger/Messenger.csproj (in 809 ms).
|
||||
@@ -0,0 +1 @@
|
||||
PASS: lab2 public API scenario; infrastructure and grading evidence remain separate.
|
||||
@@ -0,0 +1,5 @@
|
||||
PASS: SQL parses 001_initial.sql
|
||||
PASS: SQL parses explain.sql
|
||||
PASS: SQL parser checked 14 literal queries; not database execution
|
||||
PASS: Compose YAML parses and topology checks; docker compose not run
|
||||
PASS: public tests and contracts unchanged byte-for-byte
|
||||
@@ -0,0 +1,9 @@
|
||||
PASS: Argon2id verifies Unicode password >72 bytes
|
||||
PASS: Argon2id rejects changed suffix (no truncation)
|
||||
PASS: unknown account rejected after KDF
|
||||
PASS: random salt changes password hash
|
||||
PASS: cursor survives codec recreation with same key
|
||||
PASS: foreign chat cursor rejected
|
||||
PASS: corrupt cursor rejected
|
||||
PASS: password input counts Unicode code points
|
||||
Unit checks only: PostgreSQL, Redis and HTTP not tested here.
|
||||
Reference in New Issue
Block a user