Skip to content

fix(tcadp): add timeout to HTTP GET request for document download - #18336

Merged
wangq8 merged 1 commit into
infiniflow:mainfrom
Ricardo-M-L:fix/youdao-embed-client-initialization
Aug 17, 2026
Merged

wangq8 merged 1 commit into
infiniflow:mainfrom
Ricardo-M-L:fix/youdao-embed-client-initialization

Conversation

@Ricardo-M-L

Copy link
Copy Markdown
Contributor

Add timeout to avoid hanging

Add a 300-second timeout to the requests.get() call in the Tencent Cloud
TCADP parser download method to prevent indefinite hanging on slow or
unresponsive network connections.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. 🐞 bug Something isn't working, pull request that fix bug. labels Aug 16, 2026
@coderabbitai

coderabbitai Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@Ricardo-M-L, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 58 minutes

Limit details: You’ve used all 10 included reviews currently available under your plan.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 3e853889-b4ad-4732-9077-a8f3d094ed55

📥 Commits

Reviewing files that changed from the base of the PR and between c6ba54b and dc851d6.

📒 Files selected for processing (1)
  • deepdoc/parser/tcadp_parser.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@JinHai-CN JinHai-CN added the ci Continue Integration label Aug 17, 2026
@codecov

codecov Bot commented Aug 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.65%. Comparing base (fb95136) to head (dc851d6).
⚠️ Report is 2450 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #18336      +/-   ##
==========================================
- Coverage   96.72%   90.65%   -6.08%     
==========================================
  Files          10       10              
  Lines         703      717      +14     
  Branches      112      118       +6     
==========================================
- Hits          680      650      -30     
- Misses         12       39      +27     
- Partials       11       28      +17     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@wangq8
wangq8 merged commit 7ef1442 into infiniflow:main Aug 17, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 bug Something isn't working, pull request that fix bug. ci Continue Integration size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants