From 4ea9d16d811fceab19e3a7f65561fc3e16a5bbbe Mon Sep 17 00:00:00 2001 From: Nyan404 Date: Sat, 10 Oct 2026 22:01:45 +0300 Subject: [PATCH] docs: record points menu rollout --- MEMORY.md | 2 ++ structure_and_data.md | 1 + 2 files changed, 3 insertions(+) diff --git a/MEMORY.md b/MEMORY.md index 8262adb..5ea90bd 100644 --- a/MEMORY.md +++ b/MEMORY.md @@ -1,5 +1,7 @@ # MEMORY +- 2026-10-10 live: image tag `67d505f` with the clickable points activity menu is deployed in k3s; runtime introspection of the new `belki-bot` pod confirmed the three `points:*` button payloads. + - 2026-10-10: VK points calculator activity selection has a clickable keyboard (`points:coaching`, `points:training`, `points:inspection`) and accepts both `прокачка`/`прокачку` and `тренировка`/`тренировку`. - 2026-10-10 live: manually deployed VK Callback API migration from the local checkout. Belki image `reg.nyan404.ru/cwshed-clone/belki:df5dd4e` has digest `sha256:bd0abf5ef86565534e9455a628c276fe49a39eca28c0581d581ea2c5a4b0dcf1`; gateway `reg.nyan404.ru/cwshed:df5dd4e` has digest `sha256:b274cfd43710fa7def9048601ad4de3da0895e2744e230cb0348f19b347a6eaa`. Callback secret and confirmation were read from ignored `.secrets/VK_CALLBACK_*` files and applied only to the cluster Secret. Callback confirmation returned HTTP 200 both on `belki-bot:8081` and through cwshed `/api/vk/callback` via port-forward. diff --git a/structure_and_data.md b/structure_and_data.md index 43a1d95..7e02c87 100644 --- a/structure_and_data.md +++ b/structure_and_data.md @@ -20,6 +20,7 @@ - [`CONTRIBUTING.md`](./CONTRIBUTING.md): contribution and verification rules. ## Runtime / Deployment +- 2026-10-10: deployed the clickable points activity menu and inflected activity aliases as image tag `67d505f`; `belki-bot`, web, and gateway rollouts completed successfully with new pods at zero restarts. Runtime verification inside the new bot pod exposed buttons `Прокачка`, `Тренировка`, `Осмотр` with `points:*` payloads. - 2026-10-10: the VK points calculator now shows clickable `Прокачка`, `Тренировка`, and `Осмотр` buttons at the activity prompt. Text input accepts both nominative and accusative forms (`прокачка`/`прокачку`, `тренировка`/`тренировку`). - 2026-10-10: performed a manual production rollout from the local checkout. The amd64 images `reg.nyan404.ru/cwshed-clone/belki:df5dd4e` (digest `sha256:bd0abf5ef86565534e9455a628c276fe49a39eca28c0581d581ea2c5a4b0dcf1`) and `reg.nyan404.ru/cwshed:df5dd4e` (digest `sha256:b274cfd43710fa7def9048601ad4de3da0895e2744e230cb0348f19b347a6eaa`) were built on `root@10.3.1.168` and applied to namespace `belki`. `VK_CALLBACK_SECRET` and `VK_CALLBACK_CONFIRMATION` came from ignored `.secrets/` files and were applied to `Secret/belki-runtime`; their values are not stored here. Direct callback and the cwshed `/api/vk/callback` proxy both returned HTTP 200 for the confirmation payload through an admin port-forward. The old bot ReplicaSet pod was still terminating during the final snapshot; the new pod was Running with zero restarts. - 2026-10-08: hardened `belki-bot` VK Long Poll against transient `OSError`/SSL/timeout failures. The poll loop logs the failure, waits, obtains a fresh `groups.getLongPollServer` lease, and continues without exiting the process.