Lumen / tests /test_bot_state.py

Commit History

Close ban guest bypass and quarantine echo poisoning
0803c88

SilverElixir commited on

Refuse gemini-only media early, cache build version
22d7bdd

SilverElixir commited on

Fix review findings on limits and stats
87259c9

SilverElixir commited on

Fix stats activity clock and expand diagnostics
5e12873

SilverElixir commited on

Add per-user daily limits with Gemini fallback
f47e28b

SilverElixir commited on

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)
e7c2546

SilverElixir commited on

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

SilverElixir commited on

Single-source limit scalars; generation-checked chat lock acquisition (A5-8, A5-10)
a7a4333

SilverElixir commited on

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

SilverElixir commited on

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)
0b2d333

SilverElixir commited on

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

SilverElixir commited on

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

SilverElixir commited on

Guard state flush on failed startup load; keep failed shutdown writes queued (A5-2, A5-1)
13f2c64

SilverElixir commited on

Comment cleanup: short Russian why-comments, no AI boilerplate
5f80ef1

SilverElixir commited on

Subagent re-review: fix confirmed misses, harden thin tests
3d3384a

SilverElixir commited on

Independent re-review: fix missed regressions and close gaps
5bd5d41

SilverElixir commited on

Fix regressions found by adversarial review: routing, rendering, rate limits
62c1832

SilverElixir commited on

Quality wave 5: summarizing history trim in streaming, LaTeX parity between render paths, rate limit before state/album downloads, parity tests
5a68db4

SilverElixir commited on

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

SilverElixir commited on

Reliability wave 3: router skips quota-exhausted models, prune never drops a chat holding the lock
83fef4a

SilverElixir commited on

Fix chat-lock hangs: TTS async with timeout, stream handshake capped, route attempts bounded by remaining budget, one shared chat-lock limit
6472592

SilverElixir commited on

Continue feature: resume interrupted stream answers on bare continue request
f7686fb

SilverElixir commited on

Reliability: cap malformed-call retry by route deadline, service quota separation, album buffer cleanup
c67c969

SilverElixir commited on

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

SilverElixir commited on

Luna audit fixes: album lock, multilingual routing, streaming budget, quota and persistence hardening
dd4c939

SilverElixir commited on

Fix sticker test lang expectation
92ab21d

SilverElixir commited on

Media drops are honest: fetchable attachment failure replies error, entry log for media
959974b

SilverElixir commited on

Review fixes: real audio suffix, no RU marker, transcript cap
217e497

SilverElixir commited on

Ideal routing: voice transcribed into scenario routing, OR qwen newcomer in light chain
9bccd1d

SilverElixir commited on

Qwen audit fixes: aio Gemini client, snapshot-before-thread state flush, drop dead Fish check, utcnow fix
3704a0f

SilverElixir commited on

Perf: download album extras in parallel, keep message order
87dd95b

SilverElixir commited on

History summarization: compress overflow into summary instead of silent cut
a348a03

SilverElixir commited on

Re-audit fixes: typing-indicator regression test, Deno proxy tests in CI
02a12e4

SilverElixir commited on

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)
0b65b92

SilverElixir commited on

Fix lang reset on restart: keep lang in restored chat state
8af70d7

SilverElixir commited on

Fix prod outage: single bot module namespace + skip fil locale in setMyCommands
102c1fa

SilverElixir commited on

Move tests to tests/ and proxy to proxy/, update CI and docs paths
7a11b13

SilverElixir commited on