Skip to content

Handle errors in Helm discovery client#1812

Merged
istio-testing merged 1 commit intoistio-ecosystem:mainfrom
sridhargaddam:helm-handle-errors
Apr 10, 2026
Merged

Handle errors in Helm discovery client#1812
istio-testing merged 1 commit intoistio-ecosystem:mainfrom
sridhargaddam:helm-handle-errors

Conversation

@sridhargaddam
Copy link
Copy Markdown
Contributor

This PR updates the helm discovery client to properly handle errors.

This PR updates the helm discovery client to properly
handle errors.

Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
@sridhargaddam sridhargaddam requested a review from a team as a code owner April 10, 2026 08:52
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 10, 2026

Codecov Report

❌ Patch coverage is 33.33333% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.95%. Comparing base (9bc41d7) to head (d799bb8).
⚠️ Report is 14 commits behind head on main.

Files with missing lines Patch % Lines
pkg/helm/restclientgetter.go 33.33% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1812      +/-   ##
==========================================
+ Coverage   80.87%   80.95%   +0.07%     
==========================================
  Files          50       50              
  Lines        2494     2504      +10     
==========================================
+ Hits         2017     2027      +10     
  Misses        351      351              
  Partials      126      126              
Flag Coverage Δ
integration-tests 71.04% <33.33%> (-0.05%) ⬇️
unit-tests 52.51% <33.33%> (+0.03%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 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.

@istio-testing istio-testing merged commit 964d934 into istio-ecosystem:main Apr 10, 2026
16 of 17 checks passed
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Apr 13, 2026
* upstream/main:
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1820)
  Migrate from Helm v3 to Helm v4 (istio-ecosystem#1644)
  introduce crd-schema-checker (istio-ecosystem#1055)
  Add kubebuilder validation for revisionTagTargetRef (istio-ecosystem#1774)
  Handle errors in Helm discovery client (istio-ecosystem#1812)
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1808)
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Apr 14, 2026
* upstream/main:
  Automator: Update EOL Istio versions in istio-ecosystem/sail-operator@main (istio-ecosystem#1821)
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1820)
  Migrate from Helm v3 to Helm v4 (istio-ecosystem#1644)
  introduce crd-schema-checker (istio-ecosystem#1055)
  Add kubebuilder validation for revisionTagTargetRef (istio-ecosystem#1774)
  Handle errors in Helm discovery client (istio-ecosystem#1812)
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1808)
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Apr 15, 2026
* upstream/main:
  Improve testing images tags for OLM and Operator images (istio-ecosystem#1819)
  Automator: Update EOL Istio versions in istio-ecosystem/sail-operator@main (istio-ecosystem#1821)
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1820)
  Migrate from Helm v3 to Helm v4 (istio-ecosystem#1644)
  introduce crd-schema-checker (istio-ecosystem#1055)
  Add kubebuilder validation for revisionTagTargetRef (istio-ecosystem#1774)
  Handle errors in Helm discovery client (istio-ecosystem#1812)
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1808)
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Apr 16, 2026
* upstream/main:
  Add helm.sh/helm/v3 to license allowlist alongside v4 (istio-ecosystem#1840)
  Update getLatestVersionByPrefix helm to v4 on update_deps.sh (istio-ecosystem#1833)
  Update kustomization files with registry.istio.io (istio-ecosystem#1829)
  Improve testing images tags for OLM and Operator images (istio-ecosystem#1819)
  Automator: Update EOL Istio versions in istio-ecosystem/sail-operator@main (istio-ecosystem#1821)
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1820)
  Migrate from Helm v3 to Helm v4 (istio-ecosystem#1644)
  introduce crd-schema-checker (istio-ecosystem#1055)
  Add kubebuilder validation for revisionTagTargetRef (istio-ecosystem#1774)
  Handle errors in Helm discovery client (istio-ecosystem#1812)
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1808)
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Apr 17, 2026
* upstream/main:
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1848)
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1845)
  feat: add targetRef field to ZTunnel CRD (istio-ecosystem#1259)
  Add 1.29.2 and 1.28.6 versions (istio-ecosystem#1844)
  Use typed Go structs for FIPS values instead of helm.Values (istio-ecosystem#1695)
  Add helm.sh/helm/v3 to license allowlist alongside v4 (istio-ecosystem#1840)
  Update getLatestVersionByPrefix helm to v4 on update_deps.sh (istio-ecosystem#1833)
  Update kustomization files with registry.istio.io (istio-ecosystem#1829)
  Improve testing images tags for OLM and Operator images (istio-ecosystem#1819)
  Automator: Update EOL Istio versions in istio-ecosystem/sail-operator@main (istio-ecosystem#1821)
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1820)
  Migrate from Helm v3 to Helm v4 (istio-ecosystem#1644)
  introduce crd-schema-checker (istio-ecosystem#1055)
  Add kubebuilder validation for revisionTagTargetRef (istio-ecosystem#1774)
  Handle errors in Helm discovery client (istio-ecosystem#1812)
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1808)
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Apr 20, 2026
* upstream/main:
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1851)
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1850)
  Add documentation for resource customization (istio-ecosystem#1292)
  refactor error and status condition handling (istio-ecosystem#1807)
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1848)
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1845)
  feat: add targetRef field to ZTunnel CRD (istio-ecosystem#1259)
  Add 1.29.2 and 1.28.6 versions (istio-ecosystem#1844)
  Use typed Go structs for FIPS values instead of helm.Values (istio-ecosystem#1695)
  Add helm.sh/helm/v3 to license allowlist alongside v4 (istio-ecosystem#1840)
  Update getLatestVersionByPrefix helm to v4 on update_deps.sh (istio-ecosystem#1833)
  Update kustomization files with registry.istio.io (istio-ecosystem#1829)
  Improve testing images tags for OLM and Operator images (istio-ecosystem#1819)
  Automator: Update EOL Istio versions in istio-ecosystem/sail-operator@main (istio-ecosystem#1821)
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1820)
  Migrate from Helm v3 to Helm v4 (istio-ecosystem#1644)
  introduce crd-schema-checker (istio-ecosystem#1055)
  Add kubebuilder validation for revisionTagTargetRef (istio-ecosystem#1774)
  Handle errors in Helm discovery client (istio-ecosystem#1812)
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1808)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants