mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
fix(plugin): 修复坏插件模块声明击穿模块调度导致接口大面积报错
- projection 只接受映射类型的 get_module 声明,非法值跳过并记日志 - dispatcher 同步/异步路径防御非映射方法表,单个坏插件被隔离 - media 端点改用 application 层插件运行时门面,消除分层违规依赖 - 图片能力测试打桩 models.dev 目录边界,适配仓库内离线目录留空 Closes #6346
This commit is contained in:
+6
-2
@@ -13,8 +13,8 @@
|
||||
"runtime_to_db": [],
|
||||
"workflow_to_db": []
|
||||
},
|
||||
"edge_count": 6024,
|
||||
"edge_sha256": "c0e243d720b7edbd3b842d8f9afd4ae5c7e0be6c8c745601986d2c938e4f23d8",
|
||||
"edge_count": 6028,
|
||||
"edge_sha256": "5d7edd263b74841b2b98cfdb032190e4a2dd2961733402eacbeba31b21ecf136",
|
||||
"edges": [
|
||||
"app -> app.runtime",
|
||||
"app -> app.runtime.compat",
|
||||
@@ -1762,6 +1762,9 @@
|
||||
"app.api.endpoints.media -> app.api",
|
||||
"app.api.endpoints.media -> app.api.deps",
|
||||
"app.api.endpoints.media -> app.api.response",
|
||||
"app.api.endpoints.media -> app.application",
|
||||
"app.api.endpoints.media -> app.application.plugin",
|
||||
"app.api.endpoints.media -> app.application.plugin.runtime",
|
||||
"app.api.endpoints.media -> app.chain",
|
||||
"app.api.endpoints.media -> app.chain.media",
|
||||
"app.api.endpoints.media -> app.chain.scraping",
|
||||
@@ -1778,6 +1781,7 @@
|
||||
"app.api.endpoints.media -> app.schemas",
|
||||
"app.api.endpoints.media -> app.schemas.category",
|
||||
"app.api.endpoints.media -> app.schemas.context",
|
||||
"app.api.endpoints.media -> app.schemas.event",
|
||||
"app.api.endpoints.media -> app.schemas.media",
|
||||
"app.api.endpoints.media -> app.schemas.response",
|
||||
"app.api.endpoints.media -> app.schemas.token",
|
||||
|
||||
@@ -1612,7 +1612,7 @@
|
||||
"consumers": [
|
||||
{
|
||||
"caller": "app.chain.scraping",
|
||||
"line": 586
|
||||
"line": 597
|
||||
}
|
||||
],
|
||||
"producers": [
|
||||
@@ -1871,7 +1871,7 @@
|
||||
"producer_count": 66
|
||||
},
|
||||
"run_module": {
|
||||
"call_count": 259,
|
||||
"call_count": 260,
|
||||
"dynamic_call_count": 0,
|
||||
"dynamic_calls": [],
|
||||
"method_count": 211,
|
||||
@@ -3010,6 +3010,11 @@
|
||||
"caller": "app.chain",
|
||||
"line": 1005,
|
||||
"mode": "sync"
|
||||
},
|
||||
{
|
||||
"caller": "app.chain.scraping",
|
||||
"line": 573,
|
||||
"mode": "sync"
|
||||
}
|
||||
],
|
||||
"metadata_nfo": [
|
||||
|
||||
Reference in New Issue
Block a user