-
Notifications
You must be signed in to change notification settings - Fork 129
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
chore(node-builder): depinject db pruners and manager #1394
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nits otherwise lgtm
|
||
// AvailabilityPrunerInput is the input for the ProviderAvailabilityPruner | ||
// function for the depinject framework. | ||
type AvailabilityPrunerInput struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: AvailabilityStorePruner
// Pruner is a struct that holds the prunable interface and a notifier channel. | ||
type Pruner[ | ||
// DBPruner is a struct that holds the prunable interface and a notifier channel. | ||
type DBPruner[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can make this a private type with a public constructor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think we still need to reference the public type though to make the injection into dbmanager work
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1394 +/- ##
==========================================
- Coverage 21.53% 21.53% -0.01%
==========================================
Files 236 238 +2
Lines 11238 11239 +1
Branches 18 18
==========================================
Hits 2420 2420
- Misses 8656 8657 +1
Partials 162 162
|
Signed-off-by: ocnc2 <169075746+ocnc2@users.noreply.github.com>
@ocnc2 imma merge, but address archs feedback after |
i love generics