From 6c008f8226b84650a3fd92ae398b5df91e725cf0 Mon Sep 17 00:00:00 2001 From: lekss361 Date: Sat, 16 May 2026 00:43:49 +0300 Subject: [PATCH 1/2] test(deploy): trigger Forgejo Actions deploy flow Trivial Caddyfile change to validate end-to-end deploy: 1. Forgejo Actions builds backend/worker/frontend images 2. Push to ghcr.io via GHCR_PAT 3. SSH deploy to Beget VPS (46.173.16.127:/opt/gendesign) 4. Caddy reload + health check Revert this commit after successful deploy validation. --- Caddyfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Caddyfile b/Caddyfile index 20683b1b..5c52cc04 100644 --- a/Caddyfile +++ b/Caddyfile @@ -61,3 +61,4 @@ obsidian.gendsgn.ru { reverse_proxy frontend:3000 } } +# Test deploy flow 2026-05-15T21:43:32Z -- 2.45.3 From 5960368062e2089393e05d5e54cd5c95aa3e79f8 Mon Sep 17 00:00:00 2001 From: lekss361 Date: Sat, 16 May 2026 00:50:30 +0300 Subject: [PATCH 2/2] fix(tests): prefix unused _upserted vars per RUF059 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two test functions in _grid_walk_category heartbeat tests unpack (upserted, requests) tuple but only assert on requests count. Ruff RUF059 flags unused upserted — prefix with underscore. --- backend/tests/services/test_cadastre_bulk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/tests/services/test_cadastre_bulk.py b/backend/tests/services/test_cadastre_bulk.py index 1252ccc2..952a8891 100644 --- a/backend/tests/services/test_cadastre_bulk.py +++ b/backend/tests/services/test_cadastre_bulk.py @@ -1162,7 +1162,7 @@ async def test_grid_walk_emits_heartbeat_callbacks() -> None: progress_states: list[dict[str, Any]] = [] - upserted, requests = await _grid_walk_category( + _upserted, requests = await _grid_walk_category( db=db, client=client, quarter="66:41:0303161", @@ -1197,7 +1197,7 @@ async def test_grid_walk_no_heartbeat_when_callback_none() -> None: client.wms_feature_info = AsyncMock(return_value=[]) # Не передаём update_progress — должно не падать - upserted, requests = await _grid_walk_category( + _upserted, requests = await _grid_walk_category( db=db, client=client, quarter="66:41:0303161", -- 2.45.3