Label Belki bot for pod egress DSCP

This commit is contained in:
nyan404 committed 2026-10-10 21:17:57 +03:00
1 parent 5aa6209ebe
commit 44c791aa52
4 files changed
+7

No files matched your search

+3
View File
@@ -13,6 +13,9 @@
- Confirmed local acceptance: 28 unittest cases pass; local browser smoke generated a 20-minute ЛУ report; `belki-calculator:test` built and its `/health`, `/api/calculate`, `/api/inspect-bulk`, and `/api/resolve-identity` endpoints responded.
- Draft k3s manifests live under `deploy/k8s/` but have not been applied. No VK token, group ID, service IP, or cluster Secret is stored in the repository.
- VK input is now conversational: `BelkiDialog` stores per-peer state, supports `/лу`/`/зу` step-by-step prompts, detects bulk messages, asks for missing skill/status or confirmation, and clears with `/отмена`.
- 2026-10-10: `belki-bot` pod template carries `qos.dscp=cs1`; k3s node-level
`pod-dscp-marker` follows this label across ReplicaSet rollouts and pod IP/node
changes. The selected DSCP class is CS1 (8), not the existing MikroTik CS5.
- 2026-10-08: VK Long Poll now catches transient SSL/socket/timeouts, logs and reacquires the Long Poll server instead of terminating `belki-bot`. Unfinished dialog state and queued photos are persisted in `vk_dialog_states` by `VkConversationStore`, so a process restart can resume before confirmation; completed/cancelled states are removed.
- 2026-10-08 live: `belki-bot:2d9aa21` is deployed in k3s with amd64 digest `sha256:899fcb5a91618a0b2f657a96f7fdf2f1686423bba6a95f13e431d589e629d401`; the replacement Pod was Ready with `restartCount=0` after rollout. The retired Pod's 9 restarts were caused by an SSL handshake timeout in `BelkiBot.events()`.
- The preferred bulk input is a natural line without pipes, such as `15.08 11:00 11:20 Дикая Вишня 1604614 Серолап 1617140`; `/api/inspect-bulk` and the web form fill recognized fields and show only missing questions.