-
Notifications
You must be signed in to change notification settings - Fork 6
PKO-305: re-add fixed enqueue watching #225
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
base: main
Are you sure you want to change the base?
Conversation
1333268
to
c521e84
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #225 +/- ##
==========================================
+ Coverage 45.81% 54.08% +8.27%
==========================================
Files 27 28 +1
Lines 2916 3021 +105
==========================================
+ Hits 1336 1634 +298
+ Misses 1476 1257 -219
- Partials 104 130 +26 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
managedcache/enqueue_watching.go
Outdated
// TODO: error reporting? | ||
panic(err) |
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.
Add fmt.Sprintf
to the panic
with object info.
for i := range owned { | ||
j := len(owned) - i | ||
objects := owned[:j] |
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.
Please add comment 😄
…hes and starts/stops multiple informers for each cache Signed-off-by: Josh Gwosdz <[email protected]>
Signed-off-by: Josh Gwosdz <[email protected]>
Signed-off-by: Josh Gwosdz <[email protected]>
Signed-off-by: Josh Gwosdz <[email protected]>
…to make the accessmanager mockable Signed-off-by: Josh Gwosdz <[email protected]>
…ature by passing sets.Set directly without intermediate conversion to a slice
5776d87
to
21a3868
Compare
Summary
PKO-305: https://issues.redhat.com/browse/PKO-305
This PR re-introduces the enqueue watching cache source feature.
I've added some fixes and simplifications on top.
Change Type
New Feature
Bug Fix
Check List Before Merging
Additional Information