refactor: finish transactional runtime migration

This commit is contained in:
jxxghp
2026-08-22 15:18:16 +08:00
parent fe2e6809f7
commit be18cace1f
59 changed files with 1006 additions and 568 deletions
+26 -22
View File
@@ -13,8 +13,8 @@
"runtime_to_db": [],
"workflow_to_db": []
},
"edge_count": 6376,
"edge_sha256": "11152e1c89a0d5f07d5460e8a21a8399b9280b8e3027f66621d839817ac3db21",
"edge_count": 6379,
"edge_sha256": "1c619d72157004590838a85c497330b8ca462d3bc1eb490fd5e7bac97e6190b8",
"edges": [
"app -> app.runtime",
"app -> app.runtime.compat",
@@ -1506,21 +1506,18 @@
"app.api.context -> app.startup.context",
"app.api.dependencies.agent -> app.api",
"app.api.dependencies.agent -> app.api.context",
"app.api.dependencies.agent -> app.api.data",
"app.api.dependencies.agent -> app.api.dependencies",
"app.api.dependencies.agent -> app.api.dependencies.data",
"app.api.dependencies.agent -> app.application",
"app.api.dependencies.agent -> app.application.messaging",
"app.api.dependencies.agent -> app.application.messaging.chat",
"app.api.dependencies.agent -> app.application.messaging.message",
"app.api.dependencies.agent -> app.startup",
"app.api.dependencies.agent -> app.startup.context",
"app.api.dependencies.auth -> app.adapters",
"app.api.dependencies.auth -> app.adapters.web",
"app.api.dependencies.auth -> app.adapters.web.security",
"app.api.dependencies.auth -> app.adapters.web.security.access",
"app.api.dependencies.auth -> app.api",
"app.api.dependencies.auth -> app.api.data",
"app.api.dependencies.auth -> app.api.dependencies",
"app.api.dependencies.auth -> app.api.dependencies.data",
"app.api.dependencies.auth -> app.api.context",
"app.api.dependencies.auth -> app.application",
"app.api.dependencies.auth -> app.application.security",
"app.api.dependencies.auth -> app.application.security.auth",
@@ -1528,12 +1525,12 @@
"app.api.dependencies.auth -> app.application.security.user",
"app.api.dependencies.auth -> app.schemas",
"app.api.dependencies.auth -> app.schemas.token",
"app.api.dependencies.auth -> app.startup",
"app.api.dependencies.auth -> app.startup.context",
"app.api.dependencies.data -> app.api",
"app.api.dependencies.data -> app.api.data",
"app.api.dependencies.history -> app.api",
"app.api.dependencies.history -> app.api.data",
"app.api.dependencies.history -> app.api.dependencies",
"app.api.dependencies.history -> app.api.dependencies.data",
"app.api.dependencies.history -> app.api.context",
"app.api.dependencies.history -> app.application",
"app.api.dependencies.history -> app.application.dashboard",
"app.api.dependencies.history -> app.application.history",
@@ -1546,6 +1543,8 @@
"app.api.dependencies.history -> app.schemas",
"app.api.dependencies.history -> app.schemas.types",
"app.api.dependencies.history -> app.schemas.workflow",
"app.api.dependencies.history -> app.startup",
"app.api.dependencies.history -> app.startup.context",
"app.api.dependencies.plugin -> app.application",
"app.api.dependencies.plugin -> app.application.commands",
"app.api.dependencies.plugin -> app.application.plugin",
@@ -1559,9 +1558,7 @@
"app.api.dependencies.plugin -> app.schemas.event",
"app.api.dependencies.plugin -> app.schemas.types",
"app.api.dependencies.site -> app.api",
"app.api.dependencies.site -> app.api.data",
"app.api.dependencies.site -> app.api.dependencies",
"app.api.dependencies.site -> app.api.dependencies.data",
"app.api.dependencies.site -> app.api.context",
"app.api.dependencies.site -> app.application",
"app.api.dependencies.site -> app.application.site",
"app.api.dependencies.site -> app.application.site.mutation",
@@ -1574,14 +1571,13 @@
"app.api.dependencies.site -> app.runtime.events",
"app.api.dependencies.site -> app.schemas",
"app.api.dependencies.site -> app.schemas.types",
"app.api.dependencies.site -> app.startup",
"app.api.dependencies.site -> app.startup.context",
"app.api.dependencies.subscription -> app.adapters",
"app.api.dependencies.subscription -> app.adapters.external",
"app.api.dependencies.subscription -> app.adapters.external.server",
"app.api.dependencies.subscription -> app.api",
"app.api.dependencies.subscription -> app.api.context",
"app.api.dependencies.subscription -> app.api.data",
"app.api.dependencies.subscription -> app.api.dependencies",
"app.api.dependencies.subscription -> app.api.dependencies.data",
"app.api.dependencies.subscription -> app.application",
"app.api.dependencies.subscription -> app.application.outbox",
"app.api.dependencies.subscription -> app.application.scheduling",
@@ -1597,18 +1593,20 @@
"app.api.dependencies.subscription -> app.runtime.log",
"app.api.dependencies.subscription -> app.schemas",
"app.api.dependencies.subscription -> app.schemas.types",
"app.api.dependencies.subscription -> app.startup",
"app.api.dependencies.subscription -> app.startup.context",
"app.api.dependencies.workflow -> app.adapters",
"app.api.dependencies.workflow -> app.adapters.external",
"app.api.dependencies.workflow -> app.adapters.external.server",
"app.api.dependencies.workflow -> app.api",
"app.api.dependencies.workflow -> app.api.data",
"app.api.dependencies.workflow -> app.api.dependencies",
"app.api.dependencies.workflow -> app.api.dependencies.data",
"app.api.dependencies.workflow -> app.api.context",
"app.api.dependencies.workflow -> app.application",
"app.api.dependencies.workflow -> app.application.scheduling",
"app.api.dependencies.workflow -> app.application.workflow",
"app.api.dependencies.workflow -> app.runtime",
"app.api.dependencies.workflow -> app.runtime.config",
"app.api.dependencies.workflow -> app.startup",
"app.api.dependencies.workflow -> app.startup.context",
"app.api.dependencies.workflow -> app.workflow",
"app.api.deps -> app.api",
"app.api.deps -> app.api.dependencies",
@@ -3422,6 +3420,7 @@
"app.command -> app.schemas.types",
"app.db.base -> app.db",
"app.db.base -> app.db.decorators",
"app.db.base -> app.db.uow",
"app.db.base -> app.runtime",
"app.db.base -> app.runtime.config",
"app.db.decorators -> app.db",
@@ -3445,6 +3444,7 @@
"app.db.maintenance -> app.db.models.message",
"app.db.maintenance -> app.db.models.siteuserdata",
"app.db.maintenance -> app.db.models.transferhistory",
"app.db.maintenance -> app.db.uow",
"app.db.models -> app.db",
"app.db.models -> app.db.models._identity",
"app.db.models._identity -> app.runtime",
@@ -3464,7 +3464,6 @@
"app.db.models.agenttaskrun -> app.db.models.agenttask",
"app.db.models.downloadfailure -> app.db",
"app.db.models.downloadfailure -> app.db.base",
"app.db.models.downloadfailure -> app.db.decorators",
"app.db.models.downloadfailure -> app.db.models",
"app.db.models.downloadfailure -> app.db.models._constraints",
"app.db.models.downloadhistory -> app.db",
@@ -6114,6 +6113,7 @@
"app.startup.modules_initializer -> app.runtime.extensions.plugin_manager",
"app.startup.modules_initializer -> app.runtime.extensions.service_config",
"app.startup.modules_initializer -> app.runtime.log",
"app.startup.modules_initializer -> app.runtime.observability",
"app.startup.modules_initializer -> app.runtime.state",
"app.startup.modules_initializer -> app.runtime.thread",
"app.startup.modules_initializer -> app.scheduler",
@@ -6129,6 +6129,7 @@
"app.startup.modules_initializer -> app.startup.managed_resources_initializer",
"app.startup.modules_initializer -> app.startup.outbox",
"app.startup.modules_initializer -> app.startup.subscription",
"app.startup.modules_initializer -> app.startup.transaction",
"app.startup.modules_initializer -> app.startup.workflow",
"app.startup.monitor_initializer -> app.monitor",
"app.startup.outbox -> app.application",
@@ -6208,6 +6209,8 @@
"app.startup.subscription -> app.schemas.types",
"app.startup.subscription -> app.startup",
"app.startup.subscription -> app.startup.outbox",
"app.startup.transaction -> app.db",
"app.startup.transaction -> app.db.uow",
"app.startup.transfer_initializer -> app.chain",
"app.startup.transfer_initializer -> app.chain.transfer",
"app.startup.workflow -> app.application",
@@ -6393,7 +6396,7 @@
"app.workflow.actions.transfer_file -> app.workflow",
"app.workflow.actions.transfer_file -> app.workflow.actions"
],
"module_count": 790,
"module_count": 791,
"modules": [
"app",
"app.adapters",
@@ -7161,6 +7164,7 @@
"app.startup.routers_initializer",
"app.startup.scheduler_initializer",
"app.startup.subscription",
"app.startup.transaction",
"app.startup.transfer_initializer",
"app.startup.workflow",
"app.startup.workflow_initializer",