🐛 OCPBUGS-92037: increase catalog HTTP client timeout from 10s to 5m#2787
Conversation
The 10-second timeout was too aggressive for large catalog responses. Increase it to 5 minutes to avoid timeouts when fetching catalogs. See https://redhat.atlassian.net/browse/OCPBUGS-92037 for details of the bug.
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
/approve |
There was a problem hiding this comment.
Pull request overview
This PR addresses catalog fetch timeouts in operator-controller by increasing the HTTP client timeout used for catalogd requests, preventing failures when downloading large catalog responses.
Changes:
- Increased the catalog metadata HTTP client timeout from 10 seconds to 5 minutes.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2787 +/- ##
==========================================
- Coverage 70.44% 70.42% -0.02%
==========================================
Files 143 143
Lines 10617 10617
==========================================
- Hits 7479 7477 -2
- Misses 2578 2579 +1
- Partials 560 561 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rashmigottipati, tmshort The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
0227f92
into
operator-framework:main
Description
The 10-second HTTP client timeout was too aggressive for large catalog responses,
causing timeouts when fetching catalogs. Increase it to 5 minutes.
See https://redhat.atlassian.net/browse/OCPBUGS-92037 for details of the bug.
Reviewer Checklist