gendesign/.forgejo/workflows
bot-backend c7eaecdb37
All checks were successful
CI / changes (pull_request) Successful in 8s
CI Trade-In / backend-tests (pull_request) Has been skipped
CI Trade-In / changes (pull_request) Successful in 8s
CI Trade-In / frontend-checks (pull_request) Has been skipped
CI / backend-tests (pull_request) Has been skipped
CI / frontend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Has been skipped
fix(tradein/ops): health-check валит деплой + mem-лимиты + log-rotation (#2214)
- deploy-tradein.yml: health-цикл через флаг; 30 фейлов подряд → exit 1 ДО
  записи success-маркера .tradein-deployed-sha (мёртвый backend больше не
  помечается задеплоенным; changes-job следующего прогона берёт верную базу)
- docker-compose.prod.yml: mem_limit/memswap_limit всем 5 сервисам от
  прод-замеров (postgres 3g, browser 2560m/3g swap-cushion, backend 768m,
  scraper 640m, frontend 384m; сумма потолков 6.4g на 12G-коробке);
  memswap==mem запрещает tradein-контейнерам свап (фикс swap-находки);
  restart: unless-stopped у всех → OOM-kill = авто-recovery
- log-rotation: json-file 20m×3 каждому сервису (YAML anchor)
- premise аудита «коробка 4GB» устарел: фактически 11.96G (замер в diff)

Первый деплой пересоздаст все tradein-контейнеры (включая scraper —
прервёт бегущий sweep, stop_grace_period 120s; допустимо разово).

Refs #2214
2026-07-03 00:19:39 +03:00
..
ci-tradein.yml ci(tradein): pre-merge гейт — backend pytest + frontend type-check/lint (#2208) (#2220) 2026-07-02 19:56:22 +00:00
ci.yml fix(ci): pin prettier 3.9.0 for codegen check + pre-commit so api-types is byte-stable 2026-06-27 16:11:26 +05:00
deploy-tradein.yml fix(tradein/ops): health-check валит деплой + mem-лимиты + log-rotation (#2214) 2026-07-03 00:19:39 +03:00
deploy.yml fix(ops): repair broken main-DB backup + harden auth scripts/docs (#71 #427 #429 #428) 2026-06-13 20:13:04 +05:00
stale-claims.yml fix(stale-claims): avoid SIGPIPE 141 — pass file path не pipe 2026-05-28 01:05:56 +03:00