fix(ci): restore lint and architecture gates

This commit is contained in:
jxxghp
2026-08-22 10:23:18 +08:00
parent 9273d68aa7
commit 508bf0bc38
8 changed files with 84 additions and 89 deletions
+6 -2
View File
@@ -13,8 +13,8 @@
"runtime_to_db": [],
"workflow_to_db": []
},
"edge_count": 6313,
"edge_sha256": "25292ce04e33206f713eb24cff2397931124fcb22f55ab0d78f94314581161d4",
"edge_count": 6317,
"edge_sha256": "11978842b2fd9bd6ccec86c01c5f1b9389d959bc53aab5e16e29e3c121b3dab9",
"edges": [
"app -> app.runtime",
"app -> app.runtime.compat",
@@ -169,11 +169,13 @@
"app.adapters.web.security.access -> app.schemas.token",
"app.agent.callback -> app.agent",
"app.agent.callback -> app.agent.policy",
"app.agent.callback -> app.agent.policy.sanitizer",
"app.agent.callback -> app.chain",
"app.agent.callback -> app.runtime",
"app.agent.callback -> app.runtime.log",
"app.agent.callback -> app.schemas",
"app.agent.callback -> app.schemas.message",
"app.agent.callback -> app.schemas.notification",
"app.agent.callback -> app.schemas.types",
"app.agent.capabilities.adapter -> app.agent",
"app.agent.capabilities.adapter -> app.agent.capabilities",
@@ -303,6 +305,7 @@
"app.agent.orchestrator -> app.agent.callback",
"app.agent.orchestrator -> app.agent.contracts",
"app.agent.orchestrator -> app.agent.llm",
"app.agent.orchestrator -> app.agent.llm.helper",
"app.agent.orchestrator -> app.agent.llm.server_tools",
"app.agent.orchestrator -> app.agent.mcp",
"app.agent.orchestrator -> app.agent.memory",
@@ -319,6 +322,7 @@
"app.agent.orchestrator -> app.agent.middleware.tool_selection",
"app.agent.orchestrator -> app.agent.middleware.usage",
"app.agent.orchestrator -> app.agent.policy",
"app.agent.orchestrator -> app.agent.policy.contracts",
"app.agent.orchestrator -> app.agent.prompt",
"app.agent.orchestrator -> app.agent.runtime",
"app.agent.orchestrator -> app.agent.runtime_loader",
+1 -1
View File
@@ -7,7 +7,7 @@ import langchain.agents as langchain_agents
if not hasattr(langchain_agents, "create_agent"):
langchain_agents.create_agent = lambda *args, **kwargs: None
from app.agent import _ThinkTagStripper
from app.agent.orchestrator import _ThinkTagStripper
from app.agent.callback import StreamingHandler
from app.agent.middleware.subagents import is_subagent_stream_metadata
from app.agent.tools.base import MoviePilotTool
+2 -2
View File
@@ -11,9 +11,9 @@ import pytest
from app.domain.context import MediaInfo, Context, TorrentInfo
from app.domain.metainfo import MetaInfo
from app.modules.telegram import TelegramModule
from app.modules.telegram.module import TelegramModule
from app.modules.telegram.telegram import Telegram
from app.schemas import Message
from app.schemas.message import Message
from app.schemas.types import NotificationChannel
from app.schemas.types import MediaType