Task re execute#3152
Conversation
…ddTaskWaitResultWithSQLIds method for task execution with SQL validation
PR Reviewer Guide 🔍(Review updated until commit 29e7c64)
|
|
Failed to generate code suggestions for PR |
|
Persistent review updated to latest commit c80ccf3 |
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
Persistent review updated to latest commit f7178ef |
|
Failed to generate code suggestions for PR |
|
Persistent review updated to latest commit cd39799 |
PR Code Suggestions ✨Explore these optional code suggestions:
|
cd39799 to
29e7c64
Compare
|
Persistent review updated to latest commit 29e7c64 |
|
Failed to generate code suggestions for PR |
User description
关联的 issue
#3145
描述你的变更
上线失败SQL重新执行功能实现
确认项(pr提交后操作)
Tip
请在指定复审人之前,确认并完成以下事项,完成后✅
not_compatibleneed_update_docDescription
新增任务失败SQL重新执行入口
添加任务及工作流状态校验逻辑
修改任务执行状态判断和数据库查询接口
补充execute_sql_detail查询相关测试
Diagram Walkthrough
File Walkthrough
workflow.go
新增任务重新执行接口及校验逻辑sqle/api/controller/v1/workflow.go
task.go
更新任务模型及支持部分SQL重新执行sqle/model/task.go
workflow.go
新增工作流记录更新函数用于SQL重执行sqle/model/workflow.go
sqled.go
修改任务添加流程支持部分SQL重执行sqle/server/sqled.go
workflow.go
新增工作流重新执行任务SQL逻辑sqle/server/workflow.go
sqled_test.go
补充execute_sql_detail查询测试sqle/server/sqled_test.go