Repository navigation
fix: preserve typed query errors without duplicate wrapping - #242
Merged
Merged
Conversation
Closed
Owner
Author
检视结论:approve对照 #240 错误包装子项:透传已归类 复测:108 passed;gates OK。本评论不 approve/merge。 |
codeasier
marked this pull request as ready for review
October 11, 2026 06:39
This was referenced Oct 11, 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.
范围
对应 #240 的错误包装子项,不关闭整个 issue。
QueryExecutor.execute/count 直接透传已经归类的 QueryExecutionError,包括 timeout 子类;未知异常仍包装一次。避免普通 source read 的预算错误多出一层前缀,保留 ATTACH/scratch/output 路径的领域消息、类型和 cause。
不使用字符串删除前缀,不修改公共预算配置、leak 或 unproved 身份。
验证
基线 main
ffa71df0ddf0fb5f17a904f4092898a27287d21e;审核 treef670e950d5deaaea6f1982cf811be01d96b1555b。本地为针对性与扩展回归,不宣称全套测试已执行;远端完整 CI 将跟踪到终态。保留草稿,不自动合并。