feat: persist and expose SQL online fail stage and reason - #3348
Merged
Conversation
Write fail_stage/exec_result and task exec_fail_* on backup/execute/connect failures so workflow detail can show readable reasons after refresh.
PR Reviewer Guide 🔍(Review updated until commit 1851aa1)
|
PR Code Suggestions ✨No code suggestions found for the PR. |
…_fail_sql_number Co-authored-by: Cursor <cursoragent@cursor.com>
|
Persistent review updated to latest commit 1851aa1 |
Seechi-Yolo
approved these changes
Jul 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
关联的 issue
https://github.com/actiontech/sqle-ee/issues/3037
描述你的变更
确认项(pr提交后操作)
Tip
请在指定复审人之前,确认并完成以下事项,完成后✅
not_compatibleneed_update_docDescription
新增任务与SQL失败相关字段
更新API控制器和模型结构
添加在线失败持久化及回退逻辑
修订文档、Swagger及本地化配置
Diagram Walkthrough
File Walkthrough
8 files
新增任务响应中失败信息字段添加SQL失败字段及更新查询过滤增加“未执行”本地化提示信息新增任务失败字段与失败阶段常量添加在线失败落库与任务摘要逻辑更新执行流程中失败状态的保存逻辑数据源连接失败时调用失败持久化处理连接失败并更新工作流状态5 files
增加失败信息字段描述和过滤枚举项补充Swagger中执行失败相关字段补充Swagger YAML中的失败和未执行状态字段新增英文“未执行”本地化配置信息新增中文“未执行”本地化配置信息