fix(monitoring): restore Cloud message persistence and bot-scoped sessions

This commit is contained in:
dadachann
2026-09-11 06:04:02 +00:00
parent ce6b647fe7
commit 8bc1411d07
34 changed files with 2428 additions and 610 deletions
@@ -207,6 +207,8 @@ _SYNC_PROXY_CAPABILITY: contextvars.ContextVar[_ScopedSessionGuardState | None]
_ALLOWED_SCOPED_BUILTIN_FUNCTION_TYPES = {
'coalesce': sqlalchemy.sql.functions.coalesce,
'count': sqlalchemy.sql.functions.count,
'min': sqlalchemy.sql.functions.min,
'max': sqlalchemy.sql.functions.max,
'now': sqlalchemy.sql.functions.now,
'sum': sqlalchemy.sql.functions.sum,
}