-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Capability Fixes #7918
Capability Fixes #7918
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7918 +/- ##
=======================================
Coverage 54.15% 54.16%
=======================================
Files 612 612
Lines 38980 38998 +18
=======================================
+ Hits 21109 21122 +13
- Misses 15701 15703 +2
- Partials 2170 2173 +3 |
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.
ACK. Changelog entries are needed for the breaking API changes.
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.
ACK
return nil, false | ||
} | ||
|
||
cap := sk.capMap[index] | ||
if cap == nil { | ||
// delete key from store to remove unnecessary mapping |
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.
Was there a reason this was expected to happen before?
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.
As far as we can tell, no. Maybe some prior bug which has since been fixed.
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.
No, afaik this should never happen. I think it used to just ignore the inconsistency and move on, now we panic
Description
closes: #7907
closes: #7909
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes