From 765d4023605b2cf56c81e2027f5def606e45637f Mon Sep 17 00:00:00 2001 From: Nyan404 Date: Sun, 18 Oct 2026 20:20:00 +0300 Subject: [PATCH] Document successful production weather rollout validation --- MEMORY.md | 2 ++ structure_and_data.md | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/MEMORY.md b/MEMORY.md index 12ffd9f..7db9462 100644 --- a/MEMORY.md +++ b/MEMORY.md @@ -126,3 +126,5 @@ Inspection results persist the base score for the number of inspections and each ## ULLI background weather — 2026-10-18 Calculator/admin share `web/weather-effect.js` and `.css`, served through `/api/weather/effect.*` so existing gateway routing works. `app/belki/weather.py` reads only the fixed public ULLI raw METAR endpoint: observed wind/gusts control speed/drift, RA/DZ and SN/SG select rain/snow/mixed particles, intensity controls density. Trends/remarks/vicinity do not change observed weather. The cache is process-local (5 min success, 1 min failure), timeout 3 s, payload cap 64 KiB; observations expire after 2 h. Failure restores leaves. Browser polling is every 5 min, hidden tabs pause, reduced motion keeps at most seven faint static particles. No dependencies or storage changes. Remote test-zone MCP was unavailable; local fixtures and browser checks were used. On this Mac, Python HTTPS required `SSL_CERT_FILE=/etc/ssl/cert.pem`; never bypass TLS verification. Production is unverified until a separately requested push/deployment. + +- 2026-10-18 20:19 MSK: operator's `98182c17` weather rollout verified live. Web/bot/gateway Ready, zero restarts; public `/api/weather/ulli` matched ULLI wind 3 m/s/CAVOK, CSS/JS matched local commit, calculator/admin rendered leaves with reduced motion respected and no console errors. This supersedes the earlier unverified-production status for the leaves/current-weather path; production rain/snow remain fixture-only evidence. diff --git a/structure_and_data.md b/structure_and_data.md index 4cd0c93..ef5262d 100644 --- a/structure_and_data.md +++ b/structure_and_data.md @@ -151,3 +151,7 @@ - 2026-09-06: добавлен `app/belki/vk_scheduler.py` — реестр VK-бесед, шаблоны, ежедневные/недельные расписания и уникальные delivery-attempts; scheduler запускается daemon-потоком `belki-bot`, админские API доступны под `/api/admin/vk/*`. - Browser validation used a temporary static server on 127.0.0.1:8765; the admin page used empty mocked API responses to inspect copy without production credentials or writes. This validates layout and navigation, not a live VK delivery or production session. + +### Production weather validation — 2026-10-18, 20:19 MSK + +Read-only validation after the operator deployed `98182c17`: `belki-web`, `belki-bot`, and `cwshed` were 1/1 Ready with zero restarts; namespace `belki` had no Warning events. Web/bot imageID was `sha256:96cbd18f5e4ab601810e9c3920e91973948ce9921232be50c6933cc964cbdd41`; gateway imageID was `sha256:3768ec6de05d0882b98726c5ef063e20f40861d8cba50cb26e1fc0b07c6df1d2`. Public `https://cat.nyan404.ru/api/weather/ulli` returned leaves/intensity 1/wind 3 m/s, matching the live ULLI 17:00Z METAR (`34003MPS CAVOK`). Public effect CSS/JS matched local files byte for byte. Browser checks of `/belki` and `/admin` confirmed seven animated leaves, pointer-transparent decoration, mobile layout and reduced-motion support, with no console errors. The last 140 gateway log lines had no 5xx or error markers; web logs were empty. Actual rain/snow were not present during this production check; their rendering was previously fixture-tested. No cluster configuration or application code changed; the temporary SSH API tunnel and browser session were closed after inspection.