test(pipeline): add repeatable crash duplicate and stale version matrix

This commit is contained in:
2026-11-15 22:25:22 +03:00
parent 5be41d8646
commit d3e156e8a1
12 changed files with 2077 additions and 4 deletions
+23
View File
@@ -0,0 +1,23 @@
from conftest import check, headers
def test_history_acl_precedes_query_validation(client, actors, chat):
path = f"/api/v1/chats/{chat['id']}/messages"
check(
client.get(
path,
headers=headers(actors[2]),
params={"limit": 0, "cursor": "broken"},
),
404,
"Error",
)
check(
client.get(
path,
headers=headers(actors[0]),
params={"limit": 0, "cursor": "broken"},
),
400,
"Error",
)