-
Notifications
You must be signed in to change notification settings - Fork 72
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
refactor privacy declaration upsert to maintain constant IDs #3188
refactor privacy declaration upsert to maintain constant IDs #3188
Conversation
Passing run #1674 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #3188 +/- ##
==========================================
- Coverage 87.62% 87.39% -0.23%
==========================================
Files 313 313
Lines 18178 18240 +62
Branches 2347 2365 +18
==========================================
+ Hits 15928 15941 +13
- Misses 1823 1867 +44
- Partials 427 432 +5
☔ 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.
Thanks for clarifying some of my comments here, looks good to me
i'm pretty clearly hitting the line that codecov says i'm missing in my |
actually, a quick thought on the codecov "miss" -- maybe because the test code asserts the errored HTTP status codes without actually doing any explicit catching of the it's a total shot in the dark, and i'm not very concerned (especially with this PR specifically), but @ThomasLaPiana maybe something you have thoughts on, since i've noticed some false negative codecov misses recently. anyway, still merging here! |
I think you're right on the money there! It is probably wanting to test the code after the catch? But anyway, seems fine to me :) These are merely guidelines, so we're still capable of making the decision that it's "good enough"! |
Closes #3187
Code Changes
/system
APIs to updatePrivacyDeclaration
records in place when "matched" usingdata_use
andname
as matching criteriaPrivacyDeclaration
s based on the above matching criteriaSteps to Confirm
Pre-Merge Checklist
CHANGELOG.md
Description Of Changes
See issue for more context. This is needed to get custom fields working with privacy declarations, i.e. "data use declarations".