Skip to content
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

fix: Identity overrides are not deleted when deleting Edge identities #4460

Merged
merged 2 commits into from
Aug 8, 2024

Conversation

khvn26
Copy link
Member

@khvn26 khvn26 commented Aug 7, 2024

Thanks for submitting a PR! Please check the boxes below:

  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

Closes #4457.
Closes #3370.

This adds an Edge V2 table update trigger on Edge identity deletion. As a side effect, we'll have identity override deletion audit logs whenever an Edge identity is deleted, which is better UX than we have now, I believe.

How did you test this code?

Improved upon an existing integration test by using table mocks instead of a wrapper mock used previously.

Copy link

vercel bot commented Aug 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview Aug 7, 2024 10:35pm
flagsmith-frontend-preview ⬜️ Ignored (Inspect) Visit Preview Aug 7, 2024 10:35pm
flagsmith-frontend-staging ⬜️ Ignored (Inspect) Visit Preview Aug 7, 2024 10:35pm

@github-actions github-actions bot added api Issue related to the REST API fix labels Aug 7, 2024
Copy link
Contributor

github-actions bot commented Aug 7, 2024

Uffizzi Preview deployment-55040 was deleted.

@github-actions github-actions bot added fix and removed fix labels Aug 7, 2024
@khvn26 khvn26 marked this pull request as ready for review August 7, 2024 22:44
@khvn26 khvn26 requested a review from a team as a code owner August 7, 2024 22:44
@khvn26 khvn26 requested review from matthewelwell and removed request for a team August 7, 2024 22:44
Copy link
Contributor

github-actions bot commented Aug 7, 2024

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-api-test:pr-4460 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-e2e:pr-4460 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-frontend:pr-4460 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-api:pr-4460 Finished ✅ Results
ghcr.io/flagsmith/flagsmith:pr-4460 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-4460 Finished ✅ Results

@github-actions github-actions bot added fix and removed fix labels Aug 7, 2024
Copy link

codecov bot commented Aug 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.88%. Comparing base (3225c47) to head (ca5eed7).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4460      +/-   ##
==========================================
+ Coverage   96.85%   96.88%   +0.03%     
==========================================
  Files        1171     1172       +1     
  Lines       38846    39060     +214     
==========================================
+ Hits        37626    37845     +219     
+ Misses       1220     1215       -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@khvn26 khvn26 added this pull request to the merge queue Aug 8, 2024
Merged via the queue into main with commit 2ab73ed Aug 8, 2024
55 checks passed
@khvn26 khvn26 deleted the fix/edge-v2-overrides-not-deleted branch August 8, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API fix
Projects
None yet
2 participants