Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow Requeu/RequeueAfter when returning HaltSubReconcilers
3 participants