feat: add clickable points activity menu

This commit is contained in:
nyan404 committed 2026-10-10 22:01:05 +03:00
1 parent b21ceda9df
commit 67d505f4f2
4 files changed
+33 -3

No files matched your search

+1
View File
@@ -20,6 +20,7 @@
- [`CONTRIBUTING.md`](./CONTRIBUTING.md): contribution and verification rules.
## Runtime / Deployment
- 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.
- 2026-10-08: `BelkiDialog` now persists unfinished per-actor state and queued VK photos in `vk_dialog_states` through the existing `BELKI_DATABASE_URL`/`BELKI_HISTORY_DB` store. State is written after each text/photo event and restored lazily after a bot restart; completed/cancelled dialogs are deleted.