feat(api): expose async task page progress - #5161
Open
fenixc9 wants to merge 1 commit into
Open
Conversation
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
fenixc9
force-pushed
the
feat/task-page-progress
branch
from
June 21, 2026 06:15
38495f7 to
77449dc
Compare
Author
|
I have read the CLA Document and I hereby sign the CLA |
Author
|
recheck |
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.
Adds page-level progress reporting to async /tasks parsing.\n\n- Exposes progress in task status responses\n- Reports whole-task page_current/page_total/percent only\n- Supports pipeline, vlm, and hybrid backends\n- Keeps progress callback failures non-fatal\n- Preloads page totals for multi-file VLM/hybrid tasks to keep percentages stable\n\nValidation:\n- python -m py_compile mineru/cli/fast_api.py mineru/cli/common.py mineru/backend/vlm/vlm_analyze.py mineru/backend/hybrid/hybrid_analyze.py mineru/backend/pipeline/pipeline_analyze.py\n- git diff --check\n- TaskPageProgress smoke test for multi-file aggregation