Document scaling experiment, measured database boundary and verified failure recovery

This commit is contained in:
2026-11-06 18:16:18 +03:00
parent 029bf9b377
commit a0ca0af168
52 changed files with 28893 additions and 95 deletions
+8 -1
View File
@@ -52,7 +52,14 @@ def test_acl_and_unknown_chat(scenario):
for cid in [chat["id"], str(uuid.uuid4())]:
for suffix in ["", "/messages"]:
c.call("GET", f"/api/v1/chats/{cid}{suffix}", 404, actor=eve)
c.call("POST", f"/api/v1/chats/{cid}/messages", 404, actor=eve, body={"text": "x"}, headers={"Idempotency-Key": str(uuid.uuid4())})
c.call(
"POST",
f"/api/v1/chats/{cid}/messages",
404,
actor=eve,
body={"text": "x"},
headers={"Idempotency-Key": str(uuid.uuid4())},
)
c.call("GET", "/api/v1/chats/not-a-uuid", 400, actor=alice)