fix: count skipped stages in parsing progress - #2500
Merged
lyingbug merged 1 commit intoAug 3, 2026
Conversation
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.
Description
修复文件解析主流程阶段数字未计入
skipped状态的问题。问题
解析进度使用“当前阶段”口径,但原来的后备计算只统计
done + 1。当中间阶段因为不适用而变成
skipped时,当前阶段数字会少算;流程结束后的阶段总数也只统计done,可能无法正确显示为5/5。根因
进行过程中和流程结束后的两处统计都遗漏了
skipped状态。修改内容
done + skipped + 1计算当前阶段。done + skipped计算已处理阶段总数。running和failed阶段的优先定位逻辑。Type of Change
Related Issue
N/A
Testing
已完成:
git diff --checkdone + skipped + 1done + skippedChecklist
make fmt && make lint && make testpass locallydocs/, Swagger annotations, etc.)