Skip to content

Add request timeout#1919

Merged
nfahlgren merged 2 commits into
v5.0from
add-timeout-increase
May 12, 2026
Merged

Add request timeout#1919
nfahlgren merged 2 commits into
v5.0from
add-timeout-increase

Conversation

@nfahlgren
Copy link
Copy Markdown
Member

@nfahlgren nfahlgren commented May 11, 2026

Describe your changes
The test for pcv.io.open_url fails intermittently due to a timeout. The default timeout for imageio is 5 seconds, this PR increases it to 10 seconds for the test.

Type of update
Is this a: enhancement

For the reviewer
See this page for instructions on how to review the pull request.

  • PR functionality reviewed in a Jupyter Notebook
  • All tests pass
  • Test coverage remains 100%
  • Documentation tested
  • New documentation pages added to plantcv/mkdocs.yml
  • Changes to function input/output signatures added to updating.md
  • Code reviewed
  • PR approved

@nfahlgren nfahlgren added this to the PlantCV v5.0 milestone May 11, 2026
@nfahlgren nfahlgren added the enhancement Enhancements to existing features label May 11, 2026
@deepsource-io
Copy link
Copy Markdown

deepsource-io Bot commented May 11, 2026

DeepSource Code Review

We reviewed changes in 1c590e9...cde7e3e on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Coverage  

Code Review Summary

Analyzer Status Updated (UTC) Details
Python May 12, 2026 3:40p.m. Review ↗
Code coverage May 12, 2026 3:40p.m. Review ↗

Code Coverage Summary

Language Line Coverage (New Code) Line Coverage (Overall)
Aggregate
100%
[✓ above threshold]
99.9%
[▼ down 0.1% from main]
Python
100%
[✓ above threshold]
99.9%
[▼ down 0.1% from main]

➟ Additional coverage metrics may have been reported. See full coverage report ↗


Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

@joshqsumner joshqsumner self-requested a review May 12, 2026 15:40
Copy link
Copy Markdown
Contributor

@joshqsumner joshqsumner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. Happy with having it just add 5 seconds, if timeout keeps being an issue we could try something else.

@nfahlgren nfahlgren merged commit 38b01e4 into v5.0 May 12, 2026
5 checks passed
@nfahlgren nfahlgren deleted the add-timeout-increase branch May 12, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhancements to existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants