ЛР7: прогон в Docker, исправления по результатам, evidence и отчёт
Skeleton contracts / contracts (pull_request) Blocked by required conditions

This commit is contained in:
LOSYASH
2026-12-03 16:54:53 +01:00
parent cbbe525b3e
commit 17baa0dd7e
47 changed files with 1934 additions and 65 deletions
+12
View File
@@ -0,0 +1,12 @@
# worker-limits
# date: 2026-12-03T00:25:04 commit: cbbe525
$ docker compose --env-file .env exec -T worker python -m app.tools limits-selftest
ok normal 320x200 with alpha: ok (3.9s)
ok pixel limit (36 Mp > limit 10 Mp): invalid_image: pixel limit (2.7s)
ok memory limit (36 Mp, RLIMIT_AS 120 MiB): invalid_image: memory limit (3.0s)
ok corrupt/truncated PNG: invalid_image: cannot decode: OSError (2.3s)
ok time limit (hangs 10 s, timeout 2 s): timeout(killed) (2.0s)
5 passed, 0 failed
[exit 0]