ci: add minimal frontend tests, backend coverage tooling, and fix mypy

This commit is contained in:
Mateo (OpenClaw)
2026-02-07 09:37:08 +00:00
parent ad38fcf69c
commit 1d140d30c5
9 changed files with 2827 additions and 6 deletions

View File

@@ -110,8 +110,8 @@ async def _notify_chat_targets(
# These are intended to be parsed verbatim by agent runtimes.
if command in {"/pause", "/resume"}:
statement = select(Agent).where(col(Agent.board_id) == board.id)
targets = list(await session.exec(statement))
for agent in targets:
pause_targets: list[Agent] = list(await session.exec(statement))
for agent in pause_targets:
if actor.actor_type == "agent" and actor.agent and agent.id == actor.agent.id:
continue
if not agent.openclaw_session_id: