-
Notifications
You must be signed in to change notification settings - Fork 137
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
Skip adding malformed entitlement relations to maps #2838
Skip adding malformed entitlement relations to maps #2838
Conversation
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:feature/stable-cadence commit 445adf4 Collapsed results for better readability
|
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature/stable-cadence #2838 +/- ##
=======================================================
Coverage 79.87% 79.87%
=======================================================
Files 343 343
Lines 81119 81119
=======================================================
Hits 64795 64795
Misses 14018 14018
Partials 2306 2306
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
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.
Nice!
When a non-entitlement type was used in an entitlement mapping relation, we would properly report an error here, but add the "relation" to the map anyways. This could cause issues later in the checker when attempting to check code that used the map. Instead, just skip adding the malformed relation.
Thanks to @oebeling for the report
master
branchFiles changed
in the Github PR explorer