Lumen / tests /test_bot_admin.py

Commit History

7 days ago

  1. draw: фолбэк по провайдерам, одна генерация на человека, имя файла по байтам, подпись при обрезке промпта (аудит 09.11.2026)

    SilverElixir
    c7442f6

11 days ago

  1. tests: скоуп покрытия переведён на munito+gemini, добавлены тесты на выключатель Munito, скраб ключа в Whisper и секцию /stats

    SilverElixir
    2bb14f2

16 days ago

  1. Fix webhook dedupe before readiness, media-word false positives, a Persian typo and TikTok URL logging

    SilverElixir
    afd1ee1

19 days ago

  1. Keep reconciled stream tails formatted, tighten freshness word boundaries and probe real TikWM API paths

    SilverElixir
    8cdce5e
  2. Answer captionless media in the chat's language and keep proxy diagnostics truthful

    SilverElixir
    e3b8ac4
  3. Make /diag and /selftest probe the configured proxies with their secret and treat HTTP errors honestly

    SilverElixir
    6df746e
  4. Gate webhook updates until startup state loads and shut down gracefully on SIGTERM

    SilverElixir
    c43d58c
  5. Cap global media concurrency, hash public log ids, require the admin seed in production

    SilverElixir
    62be4a4
  6. Ignore duplicate Telegram update_id deliveries in the webhook

    SilverElixir
    05c3822

20 days ago

  1. Tag log lines with the chat, silence uvicorn access noise, log stack traces for unexpected failures

    SilverElixir
    22981df

21 days ago

  1. Webhook: stream the body and stop at the 512 KB cap

    SilverElixir
    279a029

  1. Pin M2 webhook retry and H2 mention gate with failing-first tests

    SilverElixir
    b711b21

  1. Fix flaky webhook throttle test on fresh CI machines

    SilverElixir
    ade5ff6

  1. Fix small hardening issues across logging media and errors

    SilverElixir
    3438464
  2. Read numeric env settings through guarded helper

    SilverElixir
    a5fc83f
  3. Bound webhook body size inflight tasks and denial logs

    SilverElixir
    0562341
  4. Exit nonzero when the HTTP server dies first

    SilverElixir
    e2c6512
  5. Fix hmac compare_digest for non-ASCII secrets

    SilverElixir
    b0fd5ea

  1. Add owner-only /selftest route-head probe with quota accounting

    SilverElixir
    0e3aacf

  1. setWebhook retries with backoff; fail fast with exit(1) on dead setup (D4: A1-7)

    SilverElixir
    c1767cf
  2. CI/deploy hardening: lease push, concurrency, permissions, backup failure step, export snapshot, slimmer image (A11-01, A11-04..A11-07)

    SilverElixir
    350f2ff
  3. Harden startup/shutdown: token exit, tick survival, off-loop IO, honest command log (A1-1..A1-4, A1-6, A8-06)

    SilverElixir
    8cc0538

  1. Subagent re-review: fix confirmed misses, harden thin tests⁠

    SilverElixir
    3d3384a

  1. Fix regressions found by adversarial review: routing, rendering, rate limits⁠

    SilverElixir
    62c1832
  2. Security wave 2: gate deploy on push+own repo, 401 and denial logging on admin endpoints, FastAPI schema off, proxy body cap, ownerless pick confined to chat, loud warning about secrets derived from BOT_TOKEN

    SilverElixir
    1c833d2

  1. Revert guest_message removal (valid Bot API Update field, guest mode) + dependabot grouping

    SilverElixir
    00454c6
  2. Move tests to tests/ and proxy to proxy/, update CI and docs paths

    SilverElixir
    7a11b13