Files
blog/content/posts/commits/2026-02-13-commit-e9882bf.md
Betty 7ac1bd5f4f
All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 5s
Add 62 blog posts generated from git commit history
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>
2026-02-17 14:16:05 +01:00

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
bojemoi
fix
stack
Git Activity
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(-)