4: исправление по ревью — проверка смысла чанков PNG (палитра, tRNS, порядок, текст), регрессионные тесты, evidence

This commit is contained in:
kalibr456
2026-10-22 14:30:53 +03:00
parent 5c3a31db2e
commit 4d4b914676
26 changed files with 587 additions and 279 deletions
+14 -14
View File
@@ -1,21 +1,21 @@
# stack: stand layout: replicas, ports, limits, networks, secrets, S3
# date: 2026-10-21 21:03:00, commit: 2dbed80
# date: 2026-10-22 14:19:19, commit: c942c61 + uncommitted changes
# command: python.exe student-tests/check_stack.py
# exit code: 0, 3.0 s
# exit code: 0, 2.9 s
host: Windows 10, AMD64 Family 26 Model 68 Stepping 0, AuthenticAMD; client Python 3.11.1
Docker 28.1.1, Docker Compose version v2.35.1-desktop.1; Docker VM: 16 CPU, 15.2 GiB RAM, Docker Desktop
SERVICE CONTAINER ID STATUS PORTS
api 11a93acecaca Up 20 seconds (healthy) 8080/tcp
api 6128eb268c44 Up 20 seconds (healthy) 8080/tcp
janitor baefc0e97dff Up 20 seconds
lb 03697e5fe34c Up 18 seconds (healthy) 127.0.0.1:8080->8080/tcp, 127.0.0.1:8404->8404/tcp
migrate aca090330db4 Exited (0) 22 seconds ago
postgres f7a6a1ce25a7 Up 2 minutes (healthy)
redis b4523b39a0fe Up 2 minutes (healthy)
s3 e7cbe6ddfa4a Up 2 minutes (healthy)
s3-init 60719e674e18 Exited (0) 21 seconds ago
SERVICE CONTAINER ID STATUS PORTS
api 343119df2488 Up 17 seconds (healthy) 8080/tcp
api d590adc21943 Up 18 seconds (healthy) 8080/tcp
janitor d50ac08018c1 Up About a minute
lb 0d5b262b09b3 Up 15 minutes (healthy) 127.0.0.1:8080->8080/tcp, 127.0.0.1:8404->8404/tcp
migrate 6c3123ccf237 Exited (0) About a minute ago
postgres 84794c3ac2c5 Up 16 minutes (healthy)
redis 3130fd5532b0 Up 16 minutes (healthy)
s3 122ad603e3be Up 16 minutes (healthy)
s3-init 47c2d7d47ed2 Exited (0) About a minute ago
container image cpus memory host ports networks
messenger-lab4-api-1 messenger-lab4-api 1.00 512 MiB - data,edge
@@ -35,6 +35,6 @@ secrets of redis: ['redis_auth']
secrets of s3: ['s3_config']
secrets of s3-init: ['s3_access_key_id', 's3_root_password', 's3_root_user', 's3_secret_access_key']
through http://127.0.0.1:8080 one session is served by 2 replicas: ['11a93acecaca', '6128eb268c44']
/health/ready -> 200 from 11a93acecaca
through http://127.0.0.1:8080 one session is served by 2 replicas: ['343119df2488', 'd590adc21943']
/health/ready -> 200 from d590adc21943
PASS: 2 api replicas behind one entry point, no direct API ports, limits on every container, postgres/redis/s3/janitor only in the internal data network, S3 admin keys only in s3 and s3-init