Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Preserve results when subreconcilers halt #390

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

cjnosal
Copy link
Contributor

@cjnosal cjnosal commented Jun 30, 2023

A subreconciler may simultaneously want to halt the current reconciliation (by returning a HaltSubReconcilers error) and request a requeue (by returning a Result). When a call to a subreconciler fails, return the original Result object to the caller.

Resolves: #389

A subreconciler may simultaneously want to halt the current
reconciliation (by returning a HaltSubReconcilers error) and request a
requeue (by returning a Result). When a call to a subreconciler fails,
return the original Result object to the caller.

Resolves: vmware-labs#389
@codecov
Copy link

codecov bot commented Jul 12, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (4e79a24) 59.52% compared to head (e334552) 59.52%.

❗ Current head e334552 differs from pull request most recent head 19ee346. Consider uploading reports for the commit 19ee346 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #390   +/-   ##
=======================================
  Coverage   59.52%   59.52%           
=======================================
  Files          16       16           
  Lines        2127     2127           
=======================================
  Hits         1266     1266           
  Misses        780      780           
  Partials       81       81           
Impacted Files Coverage Δ
reconcilers/reconcilers.go 75.91% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@scothis
Copy link
Contributor

scothis commented Jul 12, 2023

Thanks

@scothis scothis merged commit c33310c into vmware-labs:main Jul 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow Requeu/RequeueAfter when returning HaltSubReconcilers
3 participants