mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-04 23:17:20 +08:00
refactor(config): retire RuntimeSettingsCompat host usage
This commit is contained in:
@@ -10,21 +10,8 @@
|
||||
]
|
||||
},
|
||||
"foundational_settings_boundaries": {
|
||||
"count": 3,
|
||||
"entries": [
|
||||
{
|
||||
"file": "app/db/base.py",
|
||||
"reason": "模型声明阶段必须在运行时配置服务装配前确定数据库主键类型"
|
||||
},
|
||||
{
|
||||
"file": "app/db/engine.py",
|
||||
"reason": "数据库引擎是运行时配置服务的底层依赖,不能通过兼容代理自递归"
|
||||
},
|
||||
{
|
||||
"file": "app/db/session.py",
|
||||
"reason": "数据库会话与连接配额必须在应用组合根装配前可用"
|
||||
}
|
||||
]
|
||||
"count": 0,
|
||||
"entries": []
|
||||
},
|
||||
"schema_version": 2,
|
||||
"scope": {
|
||||
|
||||
+9
-11
@@ -13,8 +13,8 @@
|
||||
"runtime_to_db": [],
|
||||
"workflow_to_db": []
|
||||
},
|
||||
"edge_count": 6809,
|
||||
"edge_sha256": "0e5ab6c1e8d428de4edbc0ee162f17130143946c483967aaf49bca8c7c75b105",
|
||||
"edge_count": 6807,
|
||||
"edge_sha256": "93c39ca5828e23fcb5e4b33ffea101cb1ebc9a4ef6fac1317e2ebd482592ecdd",
|
||||
"edges": [
|
||||
"app -> app.runtime",
|
||||
"app -> app.runtime.compat",
|
||||
@@ -24,12 +24,10 @@
|
||||
"app.adapters.cache.backends -> app.adapters.cache.redis",
|
||||
"app.adapters.cache.backends -> app.runtime",
|
||||
"app.adapters.cache.backends -> app.runtime.cache",
|
||||
"app.adapters.cache.backends -> app.runtime.config",
|
||||
"app.adapters.cache.backends -> app.runtime.settings",
|
||||
"app.adapters.cache.redis -> app.foundation",
|
||||
"app.adapters.cache.redis -> app.foundation.singleton",
|
||||
"app.adapters.cache.redis -> app.runtime",
|
||||
"app.adapters.cache.redis -> app.runtime.config",
|
||||
"app.adapters.cache.redis -> app.runtime.log",
|
||||
"app.adapters.cache.redis -> app.runtime.reload",
|
||||
"app.adapters.cache.redis -> app.runtime.settings",
|
||||
@@ -171,7 +169,6 @@
|
||||
"app.adapters.system.resource -> app.foundation",
|
||||
"app.adapters.system.resource -> app.foundation.version",
|
||||
"app.adapters.system.resource -> app.runtime",
|
||||
"app.adapters.system.resource -> app.runtime.config",
|
||||
"app.adapters.system.resource -> app.runtime.log",
|
||||
"app.adapters.system.resource -> app.runtime.settings",
|
||||
"app.adapters.system.rust -> app.foundation",
|
||||
@@ -447,11 +444,14 @@
|
||||
"app.agent.skills.registry -> app.agent",
|
||||
"app.agent.skills.registry -> app.agent.skills",
|
||||
"app.agent.skills.registry -> app.agent.skills.metadata",
|
||||
"app.agent.skills.registry -> app.application",
|
||||
"app.agent.skills.registry -> app.application.configuration",
|
||||
"app.agent.skills.registry -> app.foundation",
|
||||
"app.agent.skills.registry -> app.foundation.singleton",
|
||||
"app.agent.skills.registry -> app.foundation.url",
|
||||
"app.agent.skills.registry -> app.runtime",
|
||||
"app.agent.skills.registry -> app.runtime.cache",
|
||||
"app.agent.skills.registry -> app.runtime.config",
|
||||
"app.agent.skills.registry -> app.runtime.log",
|
||||
"app.agent.skills.registry -> app.runtime.settings",
|
||||
"app.agent.tools.base -> app.agent",
|
||||
@@ -2556,8 +2556,6 @@
|
||||
"app.application.chain.durable_events -> app.schemas.types",
|
||||
"app.application.configuration -> app.application",
|
||||
"app.application.configuration -> app.application.database",
|
||||
"app.application.configuration -> app.runtime",
|
||||
"app.application.configuration -> app.runtime.settings",
|
||||
"app.application.configuration -> app.schemas",
|
||||
"app.application.configuration -> app.schemas.types",
|
||||
"app.application.dashboard -> app.schemas",
|
||||
@@ -3616,6 +3614,7 @@
|
||||
"app.chain.workflow -> app.schemas.workflow",
|
||||
"app.cli -> app.application",
|
||||
"app.cli -> app.application.backup",
|
||||
"app.cli -> app.application.configuration",
|
||||
"app.cli -> app.doctor",
|
||||
"app.cli -> app.doctor.formatters",
|
||||
"app.cli -> app.runtime",
|
||||
@@ -3717,7 +3716,7 @@
|
||||
"app.db.base -> app.db",
|
||||
"app.db.base -> app.db.uow",
|
||||
"app.db.base -> app.runtime",
|
||||
"app.db.base -> app.runtime.config",
|
||||
"app.db.base -> app.runtime.settings",
|
||||
"app.db.decorators -> app.db",
|
||||
"app.db.decorators -> app.db.session",
|
||||
"app.db.decorators -> app.runtime",
|
||||
@@ -3730,9 +3729,9 @@
|
||||
"app.db.engine -> app.foundation",
|
||||
"app.db.engine -> app.foundation.environment",
|
||||
"app.db.engine -> app.runtime",
|
||||
"app.db.engine -> app.runtime.config",
|
||||
"app.db.engine -> app.runtime.log",
|
||||
"app.db.engine -> app.runtime.observability",
|
||||
"app.db.engine -> app.runtime.settings",
|
||||
"app.db.health -> app.db",
|
||||
"app.db.health -> app.db.session",
|
||||
"app.db.maintenance -> app.db",
|
||||
@@ -3932,6 +3931,7 @@
|
||||
"app.db.session -> app.runtime.config",
|
||||
"app.db.session -> app.runtime.log",
|
||||
"app.db.session -> app.runtime.observability",
|
||||
"app.db.session -> app.runtime.settings",
|
||||
"app.db.worker -> app.runtime",
|
||||
"app.db.worker -> app.runtime.observability",
|
||||
"app.db.worker -> app.schemas",
|
||||
@@ -5102,7 +5102,6 @@
|
||||
"app.modules.qqbot.qqbot -> app.runtime",
|
||||
"app.modules.qqbot.qqbot -> app.runtime.cache",
|
||||
"app.modules.qqbot.qqbot -> app.runtime.log",
|
||||
"app.modules.qqbot.qqbot -> app.runtime.settings",
|
||||
"app.modules.qqbot.qqbot -> app.runtime.thread",
|
||||
"app.modules.redis -> app.adapters",
|
||||
"app.modules.redis -> app.adapters.cache",
|
||||
@@ -5643,7 +5642,6 @@
|
||||
"app.modules.wechat.wechatbot -> app.runtime",
|
||||
"app.modules.wechat.wechatbot -> app.runtime.cache",
|
||||
"app.modules.wechat.wechatbot -> app.runtime.log",
|
||||
"app.modules.wechat.wechatbot -> app.runtime.settings",
|
||||
"app.modules.wechat.wechatbot -> app.runtime.thread",
|
||||
"app.modules.wechat.wechatbot -> app.schemas",
|
||||
"app.modules.wechat.wechatbot -> app.schemas.message",
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"repeat": 3,
|
||||
"targets": {
|
||||
"app.startup.lifecycle": {
|
||||
"loaded_app_module_count": 378,
|
||||
"loaded_app_module_count": 379,
|
||||
"max_ms": 909.62,
|
||||
"median_ms": 908.975,
|
||||
"min_ms": 904.929,
|
||||
@@ -17,7 +17,7 @@
|
||||
]
|
||||
},
|
||||
"app.factory": {
|
||||
"loaded_app_module_count": 390,
|
||||
"loaded_app_module_count": 391,
|
||||
"max_ms": 952.709,
|
||||
"median_ms": 934.785,
|
||||
"min_ms": 916.888,
|
||||
@@ -28,7 +28,7 @@
|
||||
]
|
||||
},
|
||||
"app.main": {
|
||||
"loaded_app_module_count": 392,
|
||||
"loaded_app_module_count": 393,
|
||||
"max_ms": 947.928,
|
||||
"median_ms": 938.251,
|
||||
"min_ms": 932.597,
|
||||
|
||||
Reference in New Issue
Block a user