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

handle generics and generics peers correctly when deleting nodes #5133

Merged
merged 3 commits into from
Dec 11, 2024

Conversation

ajtmccarty
Copy link
Contributor

@ajtmccarty ajtmccarty commented Dec 3, 2024

IFC-695

fix logic in node delete constraint to correctly handle relationships inherited from generic nodes

we were not correctly handling relationships in which the peer was a generic or the relationship was defined on a generic. this PR adds handling to make sure we check these relationships before deleting a node.

a follow-up PR will update the relationships on our Repository objects to use cascading deletes

@github-actions github-actions bot added the group/backend Issue related to the backend (API Server, Git Agent) label Dec 3, 2024
Copy link

codspeed-hq bot commented Dec 3, 2024

CodSpeed Performance Report

Merging #5133 will not alter performance

Comparing ajtm-12022024-generic-delete-constraint (6310312) with stable (358575d)

Summary

✅ 10 untouched benchmarks

@ajtmccarty ajtmccarty force-pushed the ajtm-12022024-generic-delete-constraint branch from 234ba21 to 943e693 Compare December 10, 2024 01:35
@ajtmccarty ajtmccarty changed the title partial fix and tests for generic delete constraints handle generics and generics peers correctly when deleting nodes Dec 10, 2024
@ajtmccarty ajtmccarty marked this pull request as ready for review December 10, 2024 02:26
@ajtmccarty ajtmccarty requested a review from a team December 10, 2024 02:26
@ajtmccarty ajtmccarty merged commit 0ced4f7 into stable Dec 11, 2024
29 checks passed
@ajtmccarty ajtmccarty deleted the ajtm-12022024-generic-delete-constraint branch December 11, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/backend Issue related to the backend (API Server, Git Agent)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants