Skip to content

🐛 OCPBUGS-92037: increase catalog HTTP client timeout from 10s to 5m - #2787

Merged
openshift-merge-bot[bot] merged 1 commit into
operator-framework:mainfrom
joelanford:increase-catalog-client-timeout
Jun 26, 2026
Merged

🐛 OCPBUGS-92037: increase catalog HTTP client timeout from 10s to 5m#2787
openshift-merge-bot[bot] merged 1 commit into
operator-framework:mainfrom
joelanford:increase-catalog-client-timeout

Conversation

@joelanford

Copy link
Copy Markdown
Member

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

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

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.
CopilotAI review requested due to automatic review settings June 26, 2026 14:18
@netlify

netlifyBot commented Jun 26, 2026

Copy link
Copy Markdown

Deploy Preview for olmv1 ready!

NameLink
🔨 Latest commit16783cd
🔍 Latest deploy loghttps://app.netlify.com/projects/olmv1/deploys/6a3e8a28d7698a0008a02ac7
😎 Deploy Previewhttps://deploy-preview-2787--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changesRun an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@tmshort

Copy link
Copy Markdown
Contributor

/approve

@openshift-ciopenshift-ciBot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 26, 2026

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

codecovBot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.42%. Comparing base (00db91d) to head (16783cd).
⚠️ Report is 1 commits behind head on main.

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 
FlagCoverage Δ
e2e35.12% <100.00%> (-0.05%)⬇️
experimental-e2e52.54% <100.00%> (-0.05%)⬇️
unit59.49% <100.00%> (+<0.01%)⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@tmshort

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ciopenshift-ciBot added the lgtm Indicates that a PR is ready to be merged. label Jun 26, 2026

@rashmigottipatirashmigottipati left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci

Copy link
Copy Markdown

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot
openshift-merge-botBot merged commit 0227f92 into operator-framework:mainJun 26, 2026
26 checks passed
@joelanford
joelanford deleted the increase-catalog-client-timeout branch June 26, 2026 14:45
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approvedIndicates a PR has been approved by an approver from all required OWNERS files.lgtmIndicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@joelanford@tmshort@rashmigottipati