refactor(workflow): isolate legacy execution writes

This commit is contained in:
jxxghp
2026-08-28 02:10:40 +08:00
parent 9a7e87dbe0
commit 17d8be2af2
21 changed files with 385 additions and 173 deletions
+10 -3
View File
@@ -171,10 +171,10 @@ MODULE_ALIASES: Dict[str, ModuleAlias] = {
owner="db",
),
"app.db.workflow_oper": ModuleAlias(
target="app.db.oper.workflow",
replacement="app.db.oper.workflow",
target="app.sdk._legacy.workflow",
replacement="app.application.workflow.WorkflowExecutionPort",
introduced="v3.0.0",
owner="db",
owner="sdk",
),
"app.utils.crypto": ModuleAlias(
target="app.foundation.crypto",
@@ -774,6 +774,13 @@ _MESSAGE_NOTIFICATION_SYMBOL_ALIASES: Dict[str, SymbolAlias] = {
}
SYMBOL_ALIASES: Dict[str, Dict[str, SymbolAlias]] = {
"app.db.oper": {
"WorkflowOper": SymbolAlias(
target_module="app.sdk._legacy.workflow",
target_name="WorkflowOper",
replacement="app.application.workflow.WorkflowExecutionPort",
),
},
"app.workflow": {
"WorkFlowManager": SymbolAlias(
target_module="app.workflow",