fix(semantic): 修复目录摘要失败状态传播#3191
Open
wdsjjs wants to merge 1 commit into
Hidden character warning
The head ref may contain hidden characters: "fix/\u4fee\u590d\u76ee\u5f55\u6458\u8981\u5931\u8d25\u72b6\u6001"
Open
Conversation
Contributor
|
我按当前
验证结果:
完成 rebase 和描述修正后,这个 PR 才能恢复可合并并让 #3151 自动关闭。 |
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.
变更说明
修复目录摘要生成失败被错误标记为处理成功的问题。
此前,单次摘要生成、分批生成以及最终合并过程中发生的异常,可能会被吞掉或替换为占位内容、部分结果。DAG 的目录摘要任务也会捕获这些异常,导致现有的失败分类和重试流程无法正确处理。
本次修改让生成异常和任务取消继续向上传播,使目录摘要失败能够被正确标记,并进入项目已有的重试流程。
关联 Issue
Fixes #3151
变更类型
主要改动
asyncio.CancelledError的取消语义,不将取消任务视为部分成功。测试情况
相关回归测试结果:
已执行以下检查:
检查清单
截图
不适用。
补充说明
本次修改不涉及文档、依赖或公共 API 变更。
相关回归测试已在本地通过。由于当前上游代码存在与本次修改无关的基线失败和环境相关失败,因此没有勾选“本地所有新旧单元测试均通过”。