docs: record manual callback rollout

This commit is contained in:
nyan404 committed 2026-10-10 21:49:55 +03:00
1 parent df5dd4ecc0
commit b21ceda9df
3 files changed
+7

No files matched your search

+2
View File
@@ -1,5 +1,7 @@
# MEMORY
- 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.
- 2026-09-01: `docs/Новая Крыланы. [Памятка].md` is the searchable Markdown wiki version of the supplied Krylan memo. It is a convenience index rather than rule authority: resolve drift against the Krylan blog, current leadership announcements, and inter-faction agreement.
- 2026-09-01: `docs/Памятка-и-бот-расхождения.md` records how the newer calculator/bot differs from the older memo. Treat current code/tests as the implementation authority; update the memo after future agreed rule changes.
+4
View File
@@ -97,6 +97,10 @@ mindmap
belki-bot
belki-postgres
cwshed gateway
Manual rollout 2026-10-10
amd64 images on reg.nyan404.ru
callback Secret from ignored local files
confirmation verified through gateway proxy
Security boundaries
Public input
bounded JSON
+1
View File
@@ -20,6 +20,7 @@
- [`CONTRIBUTING.md`](./CONTRIBUTING.md): contribution and verification rules.
## Runtime / Deployment
- 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.
- 2026-10-10: added pod-template label `qos.dscp=cs1` to `belki-bot`; the k3s