mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
refactor: complete durable transfer execution settlement
This commit is contained in:
+58
-3
@@ -1441,8 +1441,8 @@
|
||||
"runtime_only": true
|
||||
}
|
||||
},
|
||||
"edge_count": 6834,
|
||||
"edge_sha256": "07c0b6f24ef3ce3e7ea0fa7c1b617388e11e2453ce2b0b35bddb38ed2d7f5835",
|
||||
"edge_count": 6883,
|
||||
"edge_sha256": "f44ae63f222eda2fc1b8ce805ab5138550a560bef6c266e3f2fae6338a243cd2",
|
||||
"edges": [
|
||||
"app -> app.runtime",
|
||||
"app -> app.runtime.compat",
|
||||
@@ -2217,6 +2217,9 @@
|
||||
"app.agent.tools.impl.delete_transfer_history -> app.agent.tools.tags",
|
||||
"app.agent.tools.impl.delete_transfer_history -> app.application",
|
||||
"app.agent.tools.impl.delete_transfer_history -> app.application.agentdata",
|
||||
"app.agent.tools.impl.delete_transfer_history -> app.application.chain",
|
||||
"app.agent.tools.impl.delete_transfer_history -> app.application.chain.data",
|
||||
"app.agent.tools.impl.delete_transfer_history -> app.application.transfer_execution",
|
||||
"app.agent.tools.impl.delete_transfer_history -> app.chain",
|
||||
"app.agent.tools.impl.delete_transfer_history -> app.chain.storage",
|
||||
"app.agent.tools.impl.delete_transfer_history -> app.runtime",
|
||||
@@ -3306,8 +3309,11 @@
|
||||
"app.api.endpoints.history -> app.api.response",
|
||||
"app.api.endpoints.history -> app.application",
|
||||
"app.api.endpoints.history -> app.application.agent",
|
||||
"app.api.endpoints.history -> app.application.chain",
|
||||
"app.api.endpoints.history -> app.application.chain.data",
|
||||
"app.api.endpoints.history -> app.application.configuration",
|
||||
"app.api.endpoints.history -> app.application.history",
|
||||
"app.api.endpoints.history -> app.application.transfer_execution",
|
||||
"app.api.endpoints.history -> app.runtime",
|
||||
"app.api.endpoints.history -> app.runtime.config",
|
||||
"app.api.endpoints.history -> app.runtime.log",
|
||||
@@ -3814,9 +3820,12 @@
|
||||
"app.api.endpoints.transfer -> app.api.dependencies.history",
|
||||
"app.api.endpoints.transfer -> app.api.response",
|
||||
"app.api.endpoints.transfer -> app.application",
|
||||
"app.api.endpoints.transfer -> app.application.chain",
|
||||
"app.api.endpoints.transfer -> app.application.chain.data",
|
||||
"app.api.endpoints.transfer -> app.application.configuration",
|
||||
"app.api.endpoints.transfer -> app.application.directory",
|
||||
"app.api.endpoints.transfer -> app.application.history",
|
||||
"app.api.endpoints.transfer -> app.application.transfer_execution",
|
||||
"app.api.endpoints.transfer -> app.chain",
|
||||
"app.api.endpoints.transfer -> app.chain.media",
|
||||
"app.api.endpoints.transfer -> app.chain.transfer",
|
||||
@@ -3975,8 +3984,10 @@
|
||||
"app.application.chain.context -> app.runtime.stop",
|
||||
"app.application.chain.data -> app.application",
|
||||
"app.application.chain.data -> app.application.transfer",
|
||||
"app.application.chain.data -> app.application.transfer_execution",
|
||||
"app.application.chain.durable_events -> app.application",
|
||||
"app.application.chain.durable_events -> app.application.history",
|
||||
"app.application.chain.durable_events -> app.application.transfer_execution",
|
||||
"app.application.chain.durable_events -> app.domain",
|
||||
"app.application.chain.durable_events -> app.domain.context",
|
||||
"app.application.chain.durable_events -> app.domain.meta",
|
||||
@@ -4436,6 +4447,7 @@
|
||||
"app.application.transfer -> app.adapters.system.host",
|
||||
"app.application.transfer -> app.application",
|
||||
"app.application.transfer -> app.application.agent",
|
||||
"app.application.transfer -> app.application.transfer_execution",
|
||||
"app.application.transfer -> app.domain",
|
||||
"app.application.transfer -> app.domain.context",
|
||||
"app.application.transfer -> app.domain.media",
|
||||
@@ -4557,6 +4569,7 @@
|
||||
"app.chain._transfer -> app.application.formatting",
|
||||
"app.chain._transfer -> app.application.history",
|
||||
"app.chain._transfer -> app.application.transfer",
|
||||
"app.chain._transfer -> app.application.transfer_execution",
|
||||
"app.chain._transfer -> app.chain",
|
||||
"app.chain._transfer -> app.chain._contracts",
|
||||
"app.chain._transfer -> app.chain.media",
|
||||
@@ -4982,12 +4995,14 @@
|
||||
"app.chain.transfer -> app.application",
|
||||
"app.chain.transfer -> app.application.chain",
|
||||
"app.chain.transfer -> app.application.chain.data",
|
||||
"app.chain.transfer -> app.application.chain.durable_events",
|
||||
"app.chain.transfer -> app.application.configuration",
|
||||
"app.chain.transfer -> app.application.directory",
|
||||
"app.chain.transfer -> app.application.formatting",
|
||||
"app.chain.transfer -> app.application.history",
|
||||
"app.chain.transfer -> app.application.outbox",
|
||||
"app.chain.transfer -> app.application.transfer",
|
||||
"app.chain.transfer -> app.application.transfer_execution",
|
||||
"app.chain.transfer -> app.chain",
|
||||
"app.chain.transfer -> app.chain._transfer",
|
||||
"app.chain.transfer -> app.chain.media",
|
||||
@@ -5094,12 +5109,18 @@
|
||||
"app.db.adapters.chain -> app.application.chain.durable_events",
|
||||
"app.db.adapters.chain -> app.application.history",
|
||||
"app.db.adapters.chain -> app.application.outbox",
|
||||
"app.db.adapters.chain -> app.application.transfer_execution",
|
||||
"app.db.adapters.chain -> app.db",
|
||||
"app.db.adapters.chain -> app.db.adapters",
|
||||
"app.db.adapters.chain -> app.db.adapters.outbox",
|
||||
"app.db.adapters.chain -> app.db.models",
|
||||
"app.db.adapters.chain -> app.db.models.transfersettlementreceipt",
|
||||
"app.db.adapters.chain -> app.db.oper",
|
||||
"app.db.adapters.chain -> app.db.oper.downloadhistory",
|
||||
"app.db.adapters.chain -> app.db.oper.transferexecutionstep",
|
||||
"app.db.adapters.chain -> app.db.oper.transferhistory",
|
||||
"app.db.adapters.chain -> app.db.oper.transferpending",
|
||||
"app.db.adapters.chain -> app.db.oper.transfersettlementreceipt",
|
||||
"app.db.adapters.chain -> app.db.uow",
|
||||
"app.db.adapters.download -> app.db",
|
||||
"app.db.adapters.download -> app.db.oper",
|
||||
@@ -5153,6 +5174,16 @@
|
||||
"app.db.adapters.transfer -> app.db.oper",
|
||||
"app.db.adapters.transfer -> app.db.oper.transferpending",
|
||||
"app.db.adapters.transfer -> app.db.uow",
|
||||
"app.db.adapters.transfer_execution -> app.application",
|
||||
"app.db.adapters.transfer_execution -> app.application.transfer_execution",
|
||||
"app.db.adapters.transfer_execution -> app.db",
|
||||
"app.db.adapters.transfer_execution -> app.db.models",
|
||||
"app.db.adapters.transfer_execution -> app.db.models.transferexecutionstep",
|
||||
"app.db.adapters.transfer_execution -> app.db.models.transferpending",
|
||||
"app.db.adapters.transfer_execution -> app.db.oper",
|
||||
"app.db.adapters.transfer_execution -> app.db.oper.transferexecutionstep",
|
||||
"app.db.adapters.transfer_execution -> app.db.oper.transferpending",
|
||||
"app.db.adapters.transfer_execution -> app.db.uow",
|
||||
"app.db.adapters.workflow -> app.application",
|
||||
"app.db.adapters.workflow -> app.application.workflow",
|
||||
"app.db.adapters.workflow -> app.db",
|
||||
@@ -5258,6 +5289,10 @@
|
||||
"app.db.models.subscribehistory -> app.schemas.types",
|
||||
"app.db.models.systemconfig -> app.db",
|
||||
"app.db.models.systemconfig -> app.db.base",
|
||||
"app.db.models.transferexecutionstep -> app.db",
|
||||
"app.db.models.transferexecutionstep -> app.db.base",
|
||||
"app.db.models.transferexecutionstep -> app.db.models",
|
||||
"app.db.models.transferexecutionstep -> app.db.models.transferpending",
|
||||
"app.db.models.transferhistory -> app.db",
|
||||
"app.db.models.transferhistory -> app.db.base",
|
||||
"app.db.models.transferhistory -> app.db.models",
|
||||
@@ -5266,6 +5301,8 @@
|
||||
"app.db.models.transferhistory -> app.schemas.types",
|
||||
"app.db.models.transferpending -> app.db",
|
||||
"app.db.models.transferpending -> app.db.base",
|
||||
"app.db.models.transfersettlementreceipt -> app.db",
|
||||
"app.db.models.transfersettlementreceipt -> app.db.base",
|
||||
"app.db.models.user -> app.db",
|
||||
"app.db.models.user -> app.db.base",
|
||||
"app.db.models.userconfig -> app.db",
|
||||
@@ -5345,6 +5382,10 @@
|
||||
"app.db.oper.systemconfig -> app.foundation.singleton",
|
||||
"app.db.oper.systemconfig -> app.schemas",
|
||||
"app.db.oper.systemconfig -> app.schemas.types",
|
||||
"app.db.oper.transferexecutionstep -> app.db",
|
||||
"app.db.oper.transferexecutionstep -> app.db.base",
|
||||
"app.db.oper.transferexecutionstep -> app.db.models",
|
||||
"app.db.oper.transferexecutionstep -> app.db.models.transferexecutionstep",
|
||||
"app.db.oper.transferhistory -> app.db",
|
||||
"app.db.oper.transferhistory -> app.db.base",
|
||||
"app.db.oper.transferhistory -> app.db.models",
|
||||
@@ -5355,6 +5396,10 @@
|
||||
"app.db.oper.transferpending -> app.db.base",
|
||||
"app.db.oper.transferpending -> app.db.models",
|
||||
"app.db.oper.transferpending -> app.db.models.transferpending",
|
||||
"app.db.oper.transfersettlementreceipt -> app.db",
|
||||
"app.db.oper.transfersettlementreceipt -> app.db.base",
|
||||
"app.db.oper.transfersettlementreceipt -> app.db.models",
|
||||
"app.db.oper.transfersettlementreceipt -> app.db.models.transfersettlementreceipt",
|
||||
"app.db.oper.user -> app.db",
|
||||
"app.db.oper.user -> app.db.base",
|
||||
"app.db.oper.user -> app.db.models",
|
||||
@@ -5808,6 +5853,7 @@
|
||||
"app.modules.filemanager.module -> app.application.messaging",
|
||||
"app.modules.filemanager.module -> app.application.messaging.message",
|
||||
"app.modules.filemanager.module -> app.application.transfer",
|
||||
"app.modules.filemanager.module -> app.application.transfer_execution",
|
||||
"app.modules.filemanager.module -> app.domain",
|
||||
"app.modules.filemanager.module -> app.domain.context",
|
||||
"app.modules.filemanager.module -> app.domain.meta",
|
||||
@@ -5960,6 +6006,7 @@
|
||||
"app.modules.filemanager.transhandler -> app.application.messaging",
|
||||
"app.modules.filemanager.transhandler -> app.application.messaging.message",
|
||||
"app.modules.filemanager.transhandler -> app.application.transfer",
|
||||
"app.modules.filemanager.transhandler -> app.application.transfer_execution",
|
||||
"app.modules.filemanager.transhandler -> app.domain",
|
||||
"app.modules.filemanager.transhandler -> app.domain.context",
|
||||
"app.modules.filemanager.transhandler -> app.domain.meta",
|
||||
@@ -7587,6 +7634,7 @@
|
||||
"app.schemas.token -> app.schemas",
|
||||
"app.schemas.token -> app.schemas.user",
|
||||
"app.schemas.transfer -> app.schemas",
|
||||
"app.schemas.transfer -> app.schemas.common",
|
||||
"app.schemas.transfer -> app.schemas.context",
|
||||
"app.schemas.transfer -> app.schemas.file",
|
||||
"app.schemas.transfer -> app.schemas.media",
|
||||
@@ -7923,6 +7971,7 @@
|
||||
"app.startup.initializers.modules -> app.db.adapters.subscription",
|
||||
"app.startup.initializers.modules -> app.db.adapters.transaction",
|
||||
"app.startup.initializers.modules -> app.db.adapters.transfer",
|
||||
"app.startup.initializers.modules -> app.db.adapters.transfer_execution",
|
||||
"app.startup.initializers.modules -> app.db.adapters.workflow",
|
||||
"app.startup.initializers.modules -> app.db.oper",
|
||||
"app.startup.initializers.modules -> app.db.oper.agentchat",
|
||||
@@ -8279,7 +8328,7 @@
|
||||
"app.workflow.actions.transfer_file -> app.workflow",
|
||||
"app.workflow.actions.transfer_file -> app.workflow.actions"
|
||||
],
|
||||
"module_count": 837,
|
||||
"module_count": 843,
|
||||
"modules": [
|
||||
"app",
|
||||
"app.adapters",
|
||||
@@ -8627,6 +8676,7 @@
|
||||
"app.application.torrent",
|
||||
"app.application.torrent_cache",
|
||||
"app.application.transfer",
|
||||
"app.application.transfer_execution",
|
||||
"app.application.workflow",
|
||||
"app.chain",
|
||||
"app.chain._contracts",
|
||||
@@ -8678,6 +8728,7 @@
|
||||
"app.db.adapters.subscription",
|
||||
"app.db.adapters.transaction",
|
||||
"app.db.adapters.transfer",
|
||||
"app.db.adapters.transfer_execution",
|
||||
"app.db.adapters.workflow",
|
||||
"app.db.base",
|
||||
"app.db.decorators",
|
||||
@@ -8707,8 +8758,10 @@
|
||||
"app.db.models.subscribe",
|
||||
"app.db.models.subscribehistory",
|
||||
"app.db.models.systemconfig",
|
||||
"app.db.models.transferexecutionstep",
|
||||
"app.db.models.transferhistory",
|
||||
"app.db.models.transferpending",
|
||||
"app.db.models.transfersettlementreceipt",
|
||||
"app.db.models.user",
|
||||
"app.db.models.userconfig",
|
||||
"app.db.models.workflow",
|
||||
@@ -8726,8 +8779,10 @@
|
||||
"app.db.oper.subscribe",
|
||||
"app.db.oper.subscribehistory",
|
||||
"app.db.oper.systemconfig",
|
||||
"app.db.oper.transferexecutionstep",
|
||||
"app.db.oper.transferhistory",
|
||||
"app.db.oper.transferpending",
|
||||
"app.db.oper.transfersettlementreceipt",
|
||||
"app.db.oper.user",
|
||||
"app.db.oper.userconfig",
|
||||
"app.db.oper.workflow",
|
||||
|
||||
-15
@@ -149,9 +149,6 @@
|
||||
"app/agent/tools/impl/delete_rule_group.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"app/agent/tools/impl/delete_transfer_history.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"app/agent/tools/impl/execute_command.py": {
|
||||
"I001": 1
|
||||
},
|
||||
@@ -411,9 +408,6 @@
|
||||
"app/db/__init__.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"app/db/adapters/chain.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"app/db/adapters/outbox.py": {
|
||||
"I001": 1
|
||||
},
|
||||
@@ -477,9 +471,6 @@
|
||||
"app/db/models/systemconfig.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"app/db/models/transferhistory.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"app/db/models/user.py": {
|
||||
"I001": 1
|
||||
},
|
||||
@@ -1265,9 +1256,6 @@
|
||||
"tests/test_capability_runtime.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"tests/test_chain_durable_events.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"tests/test_chain_layering.py": {
|
||||
"I001": 1
|
||||
},
|
||||
@@ -1334,9 +1322,6 @@
|
||||
"tests/test_db_session_lifecycle.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"tests/test_db_transferhistory_queries.py": {
|
||||
"F401": 1
|
||||
},
|
||||
"tests/test_delete_transfer_history_tool.py": {
|
||||
"I001": 1
|
||||
},
|
||||
|
||||
@@ -7974,7 +7974,7 @@
|
||||
}
|
||||
},
|
||||
"run_module": {
|
||||
"call_count": 265,
|
||||
"call_count": 266,
|
||||
"dynamic_call_count": 0,
|
||||
"dynamic_calls": [],
|
||||
"method_count": 215,
|
||||
@@ -8801,6 +8801,11 @@
|
||||
"caller": "app.chain",
|
||||
"count": 1,
|
||||
"mode": "sync"
|
||||
},
|
||||
{
|
||||
"caller": "app.chain.transfer",
|
||||
"count": 1,
|
||||
"mode": "sync"
|
||||
}
|
||||
],
|
||||
"filter_torrents": [
|
||||
|
||||
Reference in New Issue
Block a user