-
Notifications
You must be signed in to change notification settings - Fork 73
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
[#1241] Restore default DSR policies #1426
Conversation
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.
LGTM, but with several nits.
@seanpreston when I run the server, I'm seeing this error:
|
also it appears the database reset aren't working either Edit: turns it out was related. I commented out the "erasure rules" setup code chunk and it works just fine now, including database resets. This is the offending section:
|
looking at previous tests runs, I definitely broke this. I think I know what I did but will confirm and fix |
server issues sorted! now fixing up the tests |
@seanpreston can you give this a review now? classic switcheroo |
I'm seeing intermittent issues here when resetting the database 🤔 this needs further investigation and should not be merged until it is fixed This is where it's hanging:
I have a sneaking suspicion that the database drop is colliding with another connection |
ok, I've added some changes in that should make this more safe, and it wasn't triggered during the CI run but I'm also not 100% if its been fixed. Will warn the engineering team and keep an eye on it |
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.
I pushed some changes here and added some comments, but otherwise LGTM 👍
I noticed the hanging test is still happening intermittently, so I added a timeout for all tests of 15 minutes |
Closes #1241
Code Changes
load_default_policies
to be run withininit_db
load_default_policies
creates two DSR execution policies equivalent to those in FidesopsSteps to Confirm
nox -s teardown -- volumes
nox -s dev
docker compose run fides /bin/bash
, then:and in the shell prompt (this can be copied and pasted)
if no
AssertionError
s or otherwise are thrown, this script has workedPre-Merge Checklist
CHANGELOG.md