-
Notifications
You must be signed in to change notification settings - Fork 72
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
Move fideslib
files into fides
#1859
Conversation
currently got everything working, but need to go in and fix some tests/checks that are now failing due to the code move |
tests should all be passing now, next step is to fix static checks and then should be good to go |
@sanders41 any idea where these failures are coming from? https://github.com/ethyca/fides/actions/runs/3586465322/jobs/6035688944
Weirdly, this is all passing for me locally 🙁 |
This isn't helpful other than to let you know you aren't going crazy...the tests pass locally for me also and I can't find any reference to |
Every little bit of confirmation helps! haha glad to know I was right in that locally everything is working...at least I've narrowed the problem down to CI and potentially caching, I'll take a look there |
so I fixed this problem by merging in main, but I'm still not sure why it was happening in the first place, this could be an issue |
Failing external tests are expected (note |
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.
good type hinting improvements here
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. Thanks for this, it will make things easier since we merged repos.
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.
Closes #1572
Code Changes
src/fides/lib
nox
session for the lib testsfideslib
(Note to reviewer that not allfideslib
tests will make it over, specifically config tests, session tests, endpoint tests that all already exist in ops or ctl tests)mypy
fixes. Now thatfideslib
isn't being exempt frommypy
checks, so there are lots of new# type: ignore[something]
comments in the code but I made sure they include specific exemptions instead of general onesSteps to Confirm
Pre-Merge Checklist
CHANGELOG.md
Description Of Changes
This PR does the work of merging
fideslib
source code intofides
. Now that we have unified projects this should greatly simplify things when it comes to hunting down bugs infideslib
or vice versa, as well as making it easier to iterate by keeping the code together.There is a huge number of changed files and particularly added lines due to:
from fideslib
tofrom fides.lib
mypy
issues from being a blocker) that have also bloated the number of changed lines.Generally, the tests remain untouched, so this should be a good sign that existing behaviour has generally been maintained. I understand that with this number of changed files and lines of code, this is not really feasible to review 🙁 so we're trusting our tests here mostly