All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 5s
One-shot import of all bojemoi repo commits as Hugo posts. Each post includes metadata, files changed, and diff stats. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.2 KiB
1.2 KiB
title, date, draft, tags, categories, summary, author
| title | date | draft | tags | categories | summary | author | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Fix Razvedka Telegram session: graceful auth fallback, run on manager | 2026-02-13T18:40:50+01:00 | false |
|
|
Commit e9882bf par Betty — 2 fichier(s) modifié(s) | Betty |
Commit e9882bf
| Repository | bojemoi |
| Branch | main |
| Auteur | Betty |
| Hash | e9882bfecdcd0703d43c7fad1e6a98df660b313c |
| Date | 2026-02-13 |
Description
The service crashed in a loop because the Telethon session expired and prompted for an interactive auth code, which fails in Docker Swarm.
- main.py: in non-interactive mode, only use existing session; if expired, log error and fall back to Twitter-only instead of crashing. Support TELEGRAM_INTERACTIVE=1 for explicit re-auth and TELEGRAM_CODE for one-shot auth.
- stack: move placement to manager node (session volume is node-local), comment out twitter_bearer_token secret until created.
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com
Fichiers modifiés
M razvedka/razvedka/main.py
M stack/46-service-razvedka.yml
Statistiques
2 files changed, 27 insertions(+), 11 deletions(-)