fix(architecture): sync subscription governance baselines

This commit is contained in:
jxxghp
2026-09-03 12:22:03 +08:00
parent eefc34076e
commit d743df25d5
5 changed files with 17 additions and 9 deletions

View File

@@ -59,6 +59,7 @@ if TYPE_CHECKING:
_SubscribeChain__resolve_total_episode_decrease: Callable[..., Any]
_acquire_run_lock: Callable[..., Any]
_async_recognize_music_subscribe: Callable[..., Awaitable[Any]]
_execute_search_task: Callable[..., Any]
_get_pending_best_version_episodes: Callable[..., Any]
_is_episode_range_covered: Callable[..., Any]
_is_music_download_complete: Callable[..., Any]

View File

@@ -754,8 +754,8 @@ flowchart LR
| 指标 | 当前值 |
|---|---:|
| Python 模块 | 967 |
| 内部导入边 | 8,121 |
| Python 模块 | 968 |
| 内部导入边 | 8,127 |
| 非平凡 SCC | 1(精确 containment 的 TMDB 移植包环) |
| Application / Chain 具体 Adapter 直连 | 0 / 0 |
| Direct egress | 53(债务已清零,53 条精确 containment) |

View File

@@ -94,7 +94,7 @@ ARCH-201 至 ARCH-204 均达到实现、验证、提交、推送和远端门禁
| 指标 | 当前值 | 解释 |
|---|---:|---|
| 宿主 Python 模块 / 内部依赖边 | 967 / 8,121 | `dependency-baseline.json` 当前快照 |
| 宿主 Python 模块 / 内部依赖边 | 968 / 8,127 | `dependency-baseline.json` 当前快照 |
| 非平凡 SCC | 1 | 仅保留精确 containment 的 29 模块 TMDB 移植包环 |
| 跨层 DB 边界债务 | 0 | Application、Chain、API、Agent、Runtime、Workflow 到 DB 的受控债务均为零 |
| Model/Oper 事务债务 | 0 | 自建 Session、自动事务装饰器、直接 commit/rollback 等基线均为零 |

View File

@@ -1089,8 +1089,8 @@
"runtime_only": true
}
},
"edge_count": 8121,
"edge_sha256": "2bd9e458b68d93d182b47c91af9afa1b1646b00b03d28a107d1ee9204f703e14",
"edge_count": 8127,
"edge_sha256": "b355003c1ca55cd75ed454e9fe986dcf37b37078e6583563b41038c62a05c57f",
"edges": [
"app -> app.foundation",
"app -> app.foundation.environment",
@@ -3599,6 +3599,10 @@
"app.application.subscription.mutation -> app.schemas",
"app.application.subscription.mutation -> app.schemas.common",
"app.application.subscription.mutation -> app.schemas.event",
"app.application.subscription.observability -> app.application",
"app.application.subscription.observability -> app.application.subscription",
"app.application.subscription.observability -> app.application.subscription.execution",
"app.application.subscription.observability -> app.application.subscription.sitebudget",
"app.application.subscription.priority -> app.application",
"app.application.subscription.priority -> app.application.subscription",
"app.application.subscription.priority -> app.application.subscription.contract",
@@ -4655,6 +4659,7 @@
"app.chain.subscribe.match -> app.application.subscription.contract",
"app.chain.subscribe.match -> app.application.subscription.execution",
"app.chain.subscribe.match -> app.application.subscription.facts",
"app.chain.subscribe.match -> app.application.subscription.observability",
"app.chain.subscribe.match -> app.application.subscription.sitebudget",
"app.chain.subscribe.match -> app.application.torrent",
"app.chain.subscribe.match -> app.application.torrent.download",
@@ -4797,6 +4802,7 @@
"app.chain.subscribe.search -> app.application.subscription",
"app.chain.subscribe.search -> app.application.subscription.contract",
"app.chain.subscribe.search -> app.application.subscription.execution",
"app.chain.subscribe.search -> app.application.subscription.observability",
"app.chain.subscribe.search -> app.application.subscription.query",
"app.chain.subscribe.search -> app.application.subscription.sitebudget",
"app.chain.subscribe.search -> app.chain",
@@ -9214,7 +9220,7 @@
"app.workflow.actions.transfer_file -> app.workflow",
"app.workflow.actions.transfer_file -> app.workflow.actions"
],
"module_count": 967,
"module_count": 968,
"modules": [
"app",
"app.adapters",
@@ -9526,6 +9532,7 @@
"app.application.subscription.facts",
"app.application.subscription.identity",
"app.application.subscription.mutation",
"app.application.subscription.observability",
"app.application.subscription.priority",
"app.application.subscription.query",
"app.application.subscription.search",

View File

@@ -6,7 +6,7 @@
"repeat": 3,
"targets": {
"app.startup.lifecycle": {
"loaded_app_module_count": 534,
"loaded_app_module_count": 535,
"max_ms": 1293.338,
"median_ms": 1156.239,
"min_ms": 1102.806,
@@ -17,7 +17,7 @@
]
},
"app.factory": {
"loaded_app_module_count": 546,
"loaded_app_module_count": 547,
"max_ms": 1127.911,
"median_ms": 1122.382,
"min_ms": 1119.221,
@@ -28,7 +28,7 @@
]
},
"app.main": {
"loaded_app_module_count": 548,
"loaded_app_module_count": 549,
"max_ms": 1188.652,
"median_ms": 1183.509,
"min_ms": 1174.522,