Lumen / tests /test_bot_state.py

Commit History

14 days ago

  1. Resolve declined nicknames both ways, cover fixes with tests

    SilverElixir
    85833be
  2. Drop unused ctx locals, adapt prompt assertions to author tags

    SilverElixir
    088a725
  3. Tests for combined memory cap, nicknames and reply quotes

    SilverElixir
    4c8e4ec

15 days ago

  1. Count model attempts and failures in daily stats

    SilverElixir
    965ba13

16 days ago

  1. Fix small hardening issues across logging media and errors

    SilverElixir
    3438464
  2. Read numeric env settings through guarded helper

    SilverElixir
    a5fc83f
  3. Fail closed when the chat index is corrupt without legacy

    SilverElixir
    2111b5d
  4. Guard state dirty flags with generation counters

    SilverElixir
    909b840

17 days ago

  1. Merge near-duplicate state helper tests into parametrized cases

    SilverElixir
    f3b868f
  2. Drop 4 duplicate and introspection-only tests

    SilverElixir
    fd5cff9
  3. Close ban guest bypass and quarantine echo poisoning

    SilverElixir
    0803c88

18 days ago

  1. Refuse gemini-only media early, cache build version

    SilverElixir
    22d7bdd
  2. Fix review findings on limits and stats

    SilverElixir
    87259c9
  3. Fix stats activity clock and expand diagnostics

    SilverElixir
    5e12873
  4. Add per-user daily limits with Gemini fallback

    SilverElixir
    f47e28b

22 days ago

  1. Size caps: 20MB Telegram downloads, album semaphore and total, slideshow post budget, honest too-big reply (D1: A6-1, A4-04, A7-1, A6-2, A6-3)

    SilverElixir
    e7c2546
  2. Test quality: assert TikTok error shown, behavioral SSE/trim tests, explicit no-raise (A9-1, A9-2, A9-6)

    SilverElixir
    821f63a
  3. Single-source limit scalars; generation-checked chat lock acquisition (A5-8, A5-10)

    SilverElixir
    a7a4333
  4. Media lows: safe mime suffix, exact game forms, ext map, WAV check, album skip log, mg cap (A6-5..A6-11, A1-5)

    SilverElixir
    e8e379a
  5. Message pipeline lows: captioned album main, passive files, reply history, off-loop read, trigger helper, cancel cleanup, empty retry, split throttle, edit-death fallback (A4-06..A4-13, A4-16)

    SilverElixir
    0b2d333

23 days ago

  1. Lock guest path; share route deadline with transcription; trim history with summary; mark blind media fallback (A4-02, A4-03, A4-05, A4-15)

    SilverElixir
    49f4622
  2. Re-check injection filter after voice transcript; widen identity-leak and normalize prefilter (A3-1, A3-2, A3-3)

    SilverElixir
    f4c0cd7
  3. Guard state flush on failed startup load; keep failed shutdown writes queued (A5-2, A5-1)

    SilverElixir
    13f2c64

24 days ago

  1. Comment cleanup: short Russian why-comments, no AI boilerplate⁠

    SilverElixir
    5f80ef1
  2. Subagent re-review: fix confirmed misses, harden thin tests⁠

    SilverElixir
    3d3384a

25 days ago

  1. Independent re-review: fix missed regressions and close gaps⁠

    SilverElixir
    5bd5d41
  2. Fix regressions found by adversarial review: routing, rendering, rate limits⁠

    SilverElixir
    62c1832
  3. Quality wave 5: summarizing history trim in streaming, LaTeX parity between render paths, rate limit before state/album downloads, parity tests

    SilverElixir
    5a68db4
  4. Medium wave 4: validated env numbers, Upstash backend and shutdown flush tests, deno check/lint in CI, reproducible pip step, docs for missing variables

    SilverElixir
    7786593
  5. Reliability wave 3: router skips quota-exhausted models, prune never drops a chat holding the lock

    SilverElixir
    83fef4a
  6. Fix chat-lock hangs: TTS async with timeout, stream handshake capped, route attempts bounded by remaining budget, one shared chat-lock limit

    SilverElixir
    6472592

27 days ago

  1. Continue feature: resume interrupted stream answers on bare continue request

    SilverElixir
    f7686fb
  2. Reliability: cap malformed-call retry by route deadline, service quota separation, album buffer cleanup

    SilverElixir
    c67c969

29 days ago

  1. Luna audit round 2: review fixes (regex bounds, mixed albums, redaction guards)

    SilverElixir
    f95285c
  2. Luna audit fixes: album lock, multilingual routing, streaming budget, quota and persistence hardening

    SilverElixir
    dd4c939
  3. Fix sticker test lang expectation

    SilverElixir
    92ab21d
  4. Media drops are honest: fetchable attachment failure replies error, entry log for media

    SilverElixir
    959974b
  5. Review fixes: real audio suffix, no RU marker, transcript cap

    SilverElixir
    217e497
  6. Ideal routing: voice transcribed into scenario routing, OR qwen newcomer in light chain

    SilverElixir
    9bccd1d
  7. Qwen audit fixes: aio Gemini client, snapshot-before-thread state flush, drop dead Fish check, utcnow fix

    SilverElixir
    3704a0f

30 days ago

  1. Perf: download album extras in parallel, keep message order

    SilverElixir
    87dd95b
  2. History summarization: compress overflow into summary instead of silent cut

    SilverElixir
    a348a03

  1. Re-audit fixes: typing-indicator regression test, Deno proxy tests in CI

    SilverElixir
    02a12e4
  2. Comment polish: Russian pro-style comments, keep dated evidence short (+426/-2765). Fix: bot.send_chat_action -> bot.bot.send_chat_action (was AttributeError, typing indicator never showed)

    SilverElixir
    0b65b92

  1. Fix lang reset on restart: keep lang in restored chat state

    SilverElixir
    8af70d7
  2. Fix prod outage: single bot module namespace + skip fil locale in setMyCommands

    SilverElixir
    102c1fa
  3. Move tests to tests/ and proxy to proxy/, update CI and docs paths

    SilverElixir
    7a11b13