-
Notifications
You must be signed in to change notification settings - Fork 84
[ENG-2040] Duplicate DSR: approve/deny #6998
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
| not in [ | ||
| PrivacyRequestStatus.duplicate, | ||
| PrivacyRequestStatus.complete, | ||
| PrivacyRequestStatus.denied, |
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.
Since denied is another end state column these DSRs are no longer active. Duplicates should only consider other active DSRs.
Greptile Summary
Confidence Score: 5/5
Important Files Changed
|
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.
6 files reviewed, no comments
Edit Code Review Agent Settings | Greptile
React with 👍 or 👎 to share your feedback on this new summary format
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6998 +/- ##
==========================================
- Coverage 87.30% 85.80% -1.51%
==========================================
Files 525 525
Lines 34526 34515 -11
Branches 3986 3984 -2
==========================================
- Hits 30144 29616 -528
- Misses 3513 4008 +495
- Partials 869 891 +22 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
lucanovera
left a comment
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.
Tested alongside my FE changes. Approve/deny work on individual request endpoints and bulk endpoints too. Approved! Thanks for getting this up so quickly.
vcruces
left a comment
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.
Looks great to me, pretty straightforward! I didn’t run manual tests on it, but since Lucano already did, I’m comfortable with the changes
Co-authored-by: Jade Wibbels <jade@ethyca.com>
Ticket ENG-2040
Description Of Changes
🎯 The approve/deny actions cannot be performed in a duplicate request. They currently raise a "Cannot transition status". These and the bulk operations should work on duplicates too.
Code Changes
Steps to Confirm
PATCH /api/v1/config) enable duplicate detectionPre-Merge Checklist
CHANGELOG.mdupdatedmaindowngrade()migration is correct and works