Handle PNG EXIF and distinguish transient encoder crashes from invalid images

This commit is contained in:
2026-11-21 00:58:18 +03:00
parent a9203f677d
commit 8bd25a1321
13 changed files with 690 additions and 85 deletions
+4
View File
@@ -149,6 +149,7 @@ services:
s3-init: {condition: service_completed_successfully}
restart: unless-stopped
tests:
volumes: [go_test_cache:/root/.cache/go-build]
image: mtusi-messenger-tests:lab5
cpus: 2
mem_limit: 1024m
@@ -157,6 +158,8 @@ services:
context: .
target: tests
environment:
GOMAXPROCS: "2"
GOFLAGS: -p=2
DATABASE_TEST_URL_FILE: /run/secrets/database_url
secrets: [database_url]
depends_on:
@@ -187,6 +190,7 @@ secrets:
cache_url: {file: ./secrets/cache_url}
cursor_key: {file: ./secrets/cursor_key}
volumes:
go_test_cache:
broker_data:
s3_data:
postgres_data: