Skip to content

Config WithTracker creates a new tracker for the config#626

Merged
scothis merged 1 commit intoreconcilerio:mainfrom
scothis:with-tracker
May 7, 2025
Merged

Config WithTracker creates a new tracker for the config#626
scothis merged 1 commit intoreconcilerio:mainfrom
scothis:with-tracker

Conversation

@scothis
Copy link
Member

@scothis scothis commented May 7, 2025

Each controller should have it's own tracker, while preserving caches that are embedded within the clients. Config#WithTracker returns a new Config with a new Tracker while copying forward the other properties.

Each controller should have it's own tracker, while preserving caches
that are embedded within the clients. Config#WithTracker returns a new
Config with a new Tracker while copying forward the other properties.

Signed-off-by: Scott Andrews <scott@andrews.me>
@codecov
Copy link

codecov bot commented May 7, 2025

Codecov Report

Attention: Patch coverage is 13.33333% with 13 lines in your changes missing coverage. Please review.

Project coverage is 57.02%. Comparing base (c2c7009) to head (70a3bd6).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
reconcilers/config.go 13.33% 13 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #626      +/-   ##
==========================================
- Coverage   57.13%   57.02%   -0.11%     
==========================================
  Files          37       37              
  Lines        4414     4426      +12     
==========================================
+ Hits         2522     2524       +2     
- Misses       1784     1794      +10     
  Partials      108      108              

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

@scothis scothis merged commit fb32c48 into reconcilerio:main May 7, 2025
2 of 4 checks passed
@scothis scothis deleted the with-tracker branch May 7, 2025 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant