gendesign/.forgejo/workflows
bot-backend 720e812dda
All checks were successful
CI Trade-In / changes (pull_request) Successful in 8s
CI / changes (pull_request) Successful in 8s
CI Trade-In / backend-tests (pull_request) Has been skipped
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/deploy): atomic recreate + graceful scraper drain + startup-reap (#1951)
Atomicity: browser/backend/frontend/scraper recreated in one
docker compose up invocation instead of two sequential calls.

Graceful drain: before recreating scraper, poll scrape_runs for
running=0 up to 5min; WARNING+proceed on timeout (SIGTERM-drain
+ stop_grace_period + startup-reap below remain the safety net).

Startup-reap: mark orphaned running rows (heartbeat before a
DB-clock checkpoint taken right before stop) as cancelled instead
of waiting for the 6h zombie reaper. Implemented entirely in the
deploy workflow shell, not scheduler_main.py/scrapers, to avoid
touching files owned by the in-flight scraper_kit migration (#2277).

Review fixups: tr -d '[:space:]' was stripping the internal space
in the DB-clock timestamp literal (CAST(...timestamptz) failed
silently on every deploy) — switched to sed trim of leading/
trailing whitespace only. Drain-loop no longer conflates a failed
psql read with a confirmed running_count=0 (would have silently
skipped the drain wait on any transient docker-exec/DB hiccup).
2026-07-04 09:47:52 +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/deploy): atomic recreate + graceful scraper drain + startup-reap (#1951) 2026-07-04 09:47:52 +03:00
deploy.yml feat(reports): Celery-джоба полного PDF-отчёта + кэш + 3 endpoint'а (#2259 PR-D) (#2287) 2026-07-03 11:13:06 +00:00
stale-claims.yml fix(stale-claims): avoid SIGPIPE 141 — pass file path не pipe 2026-05-28 01:05:56 +03:00