feat: PM任务分解与编排——父子关系(parent_id)+依赖串行(depends_on)+任务树分层

This commit is contained in:
yumoqing 2026-08-19 05:53:28 +08:00
parent c4cc9b6030
commit 3d55d590bf

View File

@ -121,7 +121,8 @@ CREATE TABLE IF NOT EXISTS sd_work_envs (
_V2_COLUMNS = {
"pipelines": {"agent_config": "text"},
"sd_org_settings": {"agent_config": "text"},
"pipeline_tasks": {"retry_count": "int NOT NULL DEFAULT 0", "last_error": "text"},
"pipeline_tasks": {"retry_count": "int NOT NULL DEFAULT 0", "last_error": "text",
"parent_id": "varchar(32) NULL", "depends_on": "text NULL"},
}
# app_audit 审计日志表(原 app_audit/init.py::_init_audit 启动时建,现迁到部署期)