Files
mtusi2026lab5/evidence/uploads/lb-timeouts.md
T
ricoromaandClaude Opus 5.5 acc6584dd3 docs: record async-attachments evidence and report
Evidence taken on ff1a83b. The report covers level 3; levels 4 and 5 are
closed by the following changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 08:30:46 +03:00

21 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Сроки LB пути загрузки
- Команда: `python3 .claude/skills/run-mtusi-messenger/driver.py lb-upload-timeouts`
- Дата: 2026-10-31, 03:59 UTC; код выхода 0
- Commit: `ff1a83b`, рабочее дерево без правок кода (на момент прогона добавлены только файлы `evidence/`)
- Стенд: без рабочего стенда, временная сеть: HAProxy закреплённого образа с `infra/haproxy/haproxy.cfg` и заглушка реплики на образе API
- Спек: `load-balancing`, «Загрузки через балансировщик», «Ошибки балансировщика в формате контракта». Цепочка после тела — 29 с < `timeout server` 30 с (design change `async-attachments`, решение 3)
```text
config infra/haproxy/haproxy.cfg
haproxy haproxy:3.4.6-trixie@sha256:e273915691a8eab3f105bf3e39fd4c29a4ecf334e33421903b5589d25e14db26, stub image mtusi-messenger:lab5, LB 127.0.0.1:61787
haproxy -c: exit 0
case expected got time
upload: replica silent 12 s before body 202 replica 11.5–17 s 202 replica 12.04 s
upload: replica silent 12 s after body 202 replica 11.5–17 s 202 replica 12.09 s
other path: replica silent 12 s 504 unavailable 9.5–12 s 504 LB application/json 10.01 s
upload: replica silent 32 s 504 unavailable 29.5–32 s 504 LB application/json 30.09 s
upload: client silent mid-body 400 invalid_request 29–33 s 400 LB application/json 30.01 s
PASS: the upload path waits 30 s for the replica, other paths 10 s, LB errors are in the contract format
```