lab2: fix review round 2 — cache versioning, UUID normalization, cursor validation, ready deps
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
2026-10-10 07:46:39 +03:00
parent 40f260612f
commit 6e3515d71b
8 changed files with 160 additions and 57 deletions
+6 -6
View File
@@ -1,7 +1,7 @@
Limit (cost=0.29..4.45 rows=50 width=64) (actual time=0.030..0.039 rows=50 loops=1)
Buffers: shared hit=3
Limit (cost=0.29..77.21 rows=50 width=64) (actual time=0.284..0.443 rows=50 loops=1)
Buffers: shared hit=1 read=3
-> Index Scan using messages_chat_created_id_idx on messages
Index Cond: (chat_id = '...'::uuid)
Buffers: shared hit=3
Planning Time: 0.560 ms
Execution Time: 0.069 ms
Index Cond: ((chat_id = 'aa29af3d-b946-4358-b7e6-eb6aedaf1ee0'::uuid) AND (ROW(created_at, id) > ROW('1970-01-01 00:00:00+00'::timestamp with time zone, '00000000-0000-0000-0000-000000000000'::uuid)))
Buffers: shared hit=1 read=3
Planning Time: 0.762 ms
Execution Time: 0.496 ms
+1 -1
View File
@@ -1,6 +1,6 @@
=== /health/ready with postgres stopped ===
HTTP/1.1 503 Service Unavailable
{"error":{"code":"unavailable","message":"Сервис недоступен","request_id":"..."}}
{"error":{"code":"unavailable","message":"Сервис недоступен","request_id":"4f7910a29991bfebaa3aa40f"}}
=== /health/ready after postgres start ===
HTTP/1.1 200 OK