-
Notifications
You must be signed in to change notification settings - Fork 74
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
cascade deletes from system -> connectionconfig -> datasetconfig #3771
cascade deletes from system -> connectionconfig -> datasetconfig #3771
Conversation
Passing run #3122 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
5347540
to
5aea35f
Compare
@galvana the test is just getting hung up here on CI, not sure why - when i execute the test manually, locally, it runs fine. i can dig into it more tomorrow AM my time, but i wanted to flag the PR for you in case you've got any time to review before i pick it back up tomorrow. from what i can tell in manual testing, this approach works well and i haven't noticed any regressions yet. but the update could have a broader impact and could potentially have unintended side effects. let me know your thoughts if you've got a chance! |
5aea35f
to
cd55a70
Compare
af53cb5
to
d9740ff
Compare
pinned down the test issue to be due to the async nature of the endpoint being called -- simplest fix was to move the test to be alongside other "ctl" tests hitting the also completed some regression testing on my i think this is ready for review now (assuming CI passes, which it should now!) |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #3771 +/- ##
=======================================
Coverage 87.12% 87.12%
=======================================
Files 311 311
Lines 19072 19072
Branches 2462 2462
=======================================
Hits 16617 16617
Misses 2027 2027
Partials 428 428
☔ 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.
💥
…tegration-will-still-cause-a-request-to-fail
Closes #3769
Description Of Changes
Updates the ORM backlink relationships between
System
-->ConnectionConfig
andConnectionConfig
-->DatasetConfig
to cascade deletes. This effectively ensures, via the ORM layer, that ourDELETE /system
API will also delete these related integration (i.e. connection) artifacts in the DB, as is expected.Code Changes
cascade="all, delete",
argument forrelationship
s betweenSystem
-->ConnectionConfig
and betweenConnectionConfig
-->DatasetConfig
Steps to Confirm
Pre-Merge Checklist
CHANGELOG.md