test: refresh architecture debt baselines

This commit is contained in:
jxxghp
2026-08-23 01:02:00 +08:00
parent 903bc090ed
commit 1c457143f7
4 changed files with 22 additions and 12 deletions
+13 -7
View File
@@ -13,8 +13,8 @@
"runtime_to_db": [],
"workflow_to_db": []
},
"edge_count": 6408,
"edge_sha256": "5b110488838d7c407c54f637d4f0f42350605d27b49a3b36b6b5cd9af43b59d4",
"edge_count": 6413,
"edge_sha256": "02b7d1b32347dbd9be15ab2634c196dd36806fa9db89b0f8989ac6cc152c2b73",
"edges": [
"app -> app.runtime",
"app -> app.runtime.compat",
@@ -2728,6 +2728,8 @@
"app.application.storage -> app.schemas",
"app.application.storage -> app.schemas.system",
"app.application.storage -> app.schemas.types",
"app.application.subscription.complete -> app.application",
"app.application.subscription.complete -> app.application.outbox",
"app.application.subscription.contract -> app.domain",
"app.application.subscription.contract -> app.domain.meta",
"app.application.subscription.contract -> app.domain.meta.metabase",
@@ -3250,6 +3252,7 @@
"app.chain.subscribe -> app.application.messaging",
"app.chain.subscribe -> app.application.messaging.subscribe",
"app.chain.subscribe -> app.application.subscription",
"app.chain.subscribe -> app.application.subscription.complete",
"app.chain.subscribe -> app.application.subscription.contract",
"app.chain.subscribe -> app.application.subscription.query",
"app.chain.subscribe -> app.application.subscription.write",
@@ -3606,6 +3609,7 @@
"app.db.oper.passkey -> app.db.base",
"app.db.oper.passkey -> app.db.models",
"app.db.oper.passkey -> app.db.models.passkey",
"app.db.oper.passkey -> app.db.uow",
"app.db.oper.plugindata -> app.db",
"app.db.oper.plugindata -> app.db.base",
"app.db.oper.plugindata -> app.db.models",
@@ -6209,8 +6213,6 @@
"app.startup.routers_initializer -> app.api.router_specs",
"app.startup.routers_initializer -> app.api.servarr",
"app.startup.routers_initializer -> app.api.servcookie",
"app.startup.routers_initializer -> app.runtime",
"app.startup.routers_initializer -> app.runtime.config",
"app.startup.scheduler_initializer -> app.application",
"app.startup.scheduler_initializer -> app.application.scheduling",
"app.startup.scheduler_initializer -> app.scheduler",
@@ -6219,6 +6221,7 @@
"app.startup.subscription -> app.adapters.external.server",
"app.startup.subscription -> app.application",
"app.startup.subscription -> app.application.subscription",
"app.startup.subscription -> app.application.subscription.complete",
"app.startup.subscription -> app.application.subscription.delete",
"app.startup.subscription -> app.application.subscription.mutation",
"app.startup.subscription -> app.application.subscription.write",
@@ -6308,6 +6311,8 @@
"app.workflow.actions.fetch_medias -> app.adapters",
"app.workflow.actions.fetch_medias -> app.adapters.network",
"app.workflow.actions.fetch_medias -> app.adapters.network.http",
"app.workflow.actions.fetch_medias -> app.application",
"app.workflow.actions.fetch_medias -> app.application.configuration",
"app.workflow.actions.fetch_medias -> app.chain",
"app.workflow.actions.fetch_medias -> app.chain.recommend",
"app.workflow.actions.fetch_medias -> app.runtime",
@@ -6404,8 +6409,8 @@
"app.workflow.actions.send_event -> app.schemas.workflow",
"app.workflow.actions.send_event -> app.workflow",
"app.workflow.actions.send_event -> app.workflow.actions",
"app.workflow.actions.send_message -> app.runtime",
"app.workflow.actions.send_message -> app.runtime.config",
"app.workflow.actions.send_message -> app.application",
"app.workflow.actions.send_message -> app.application.configuration",
"app.workflow.actions.send_message -> app.schemas",
"app.workflow.actions.send_message -> app.schemas.message",
"app.workflow.actions.send_message -> app.schemas.workflow",
@@ -6425,7 +6430,7 @@
"app.workflow.actions.transfer_file -> app.workflow",
"app.workflow.actions.transfer_file -> app.workflow.actions"
],
"module_count": 794,
"module_count": 795,
"modules": [
"app",
"app.adapters",
@@ -6747,6 +6752,7 @@
"app.application.site.query",
"app.application.storage",
"app.application.subscription",
"app.application.subscription.complete",
"app.application.subscription.contract",
"app.application.subscription.delete",
"app.application.subscription.identity",
+6 -2
View File
@@ -2195,7 +2195,11 @@
"consumers": [],
"producers": [
{
"caller": "app.chain.subscribe",
"caller": "app.startup.modules_initializer",
"count": 1
},
{
"caller": "app.startup.subscription",
"count": 1
}
]
@@ -2332,7 +2336,7 @@
]
}
},
"producer_count": 76
"producer_count": 77
},
"module_method_specs": {
"anilist_credits": {
+2 -2
View File
@@ -126,8 +126,8 @@ def test_transaction_debt_baseline_is_a_model_and_oper_ratchet() -> None:
baseline = json.loads(baseline_path.read_text(encoding="utf-8"))
assert baseline["schema_version"] == 1
assert baseline["model_decorators"]["count"] == 121
assert sum(baseline["model_decorators"]["by_kind"].values()) == 121
assert baseline["model_decorators"]["count"] == 119
assert sum(baseline["model_decorators"]["by_kind"].values()) == 119
assert baseline["model_decorators"]["by_kind"]["db_update"] == 0
assert baseline["model_decorators"]["by_kind"]["async_db_update"] == 0
assert baseline["model_transaction_calls"] == {"count": 0, "calls": []}