-
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
[DANGER] Update to Fideslang 2.0 #3933
Conversation
Passing run #4110 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
@adamsachs update for you before I sign off! In the description I've linked the I'm currently working through a local dev env and shell to run specific tests and try to diagnose why some of the breaks are happening. Focused primarily on the |
…edentials_valid function
@ThomasLaPiana stepping away for a bit now, made a few changes that i think should help get things greener...tried to break it up reasonably by commit so that my changes are easy to follow -- everything is pretty straightforward cleanup so far. will see if i can circle back a bit later this evening to knock out some more, but leaving this update here in case i don't 👍 |
@adamsachs Thank you! picking it up now |
there's a final system update test failing here that I suspect @pattisdr might understand, other than that the |
🙌 nice @ThomasLaPiana! i think i wrote those system update tests related to privacy declarations so i can take a look, i'll loop in @pattisdr if needed. @ThomasLaPiana are you working on the ops tests or should i also take a look at that? i've got some bandwidth so i'm happy to, but if you're already on it then i'll let you continue |
@adamsachs Go for it! I'm signing off for now |
@adamsachs once we get tests passing, we'll merge and ship fideslang 2.0.1 and pin this to a real version |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #3933 +/- ##
==========================================
- Coverage 87.39% 87.36% -0.04%
==========================================
Files 320 320
Lines 19602 19617 +15
Branches 2512 2512
==========================================
+ Hits 17132 17139 +7
- Misses 2033 2040 +7
- Partials 437 438 +1
☔ View full report in Codecov by Sentry. |
OK! i think we've got all non-external tests passing now! @pattisdr would you mind taking a quick peak at the ops tests i fixed in 8ec6a87, since some of them are touching consent-related tests and i want to be extra sure i'm not misunderstanding the tests and invalidating them 🙏 if that looks good, i think we've got our non-external/unsafe tests good to go! the remaining items to get this ready to merge would be:
i should be able to make some progress on the first two items shortly... |
I moved this to a new issue: #4020 |
I'm moving the migration-specific work to a new PR, to de-clutter this PR and focus it specifically on getting |
src/fides/api/alembic/migrations/versions/708a780b01ba_add_version_fields_to_default_types.py
Show resolved
Hide resolved
I think we need to update the config.json files we ship with, PR here #4076 although I'm going to need some FE assistance EDIT: done, thank you Allison! |
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.
Did another review here, although I didn't go through every single open comment.
Giving this a tentative 👍 to not hold up the overnight crew, assuming the corresponding migration will be merged into this branch first, this branch will be updated with main, comments will be resolved, and that tests are passing.
❗ Note that main has had a new migration merged in, you'll need to bump the downrev of this migration to match that one.
Separately, I think we need the config.json
files we ship with to be updated, but FE help is needed #4076. We could also merge this in separately tomorrow.
Co-authored-by: Allison King <allisonjuliaking@gmail.com>
OK @ThomasLaPiana, Allison helped me with the FE, so these |
Co-authored-by: Dawn Pattison <pattisdr@users.noreply.github.com>
it looks like |
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.
🎊 let's do this!
Closes #3795
❗ Customer
config.json
files should be updated as they are migrated to the accompanying release.Description Of Changes
This PR is focused on bumping the
Fideslang
version and ensuring that the application is working as expected when set u as a new instance. There is a separate PR for handling migrations for current users, as they are both sufficiently complex pieces to warrant handling separately.Much of the inspiration/work here is inspired by this PR that handled an earlier, similar change
The Data Migration work is happening here: #4030
WARNING: Merging this change as-is will break any existing instance due to default taxonomy model conflicts
Code Changes
requirements.txt
version
fieldsDataCategories
System
models)DataUse
sSteps to Confirm
Because this PR is focused on getting new instances working instead of migrating data, the
Steps to Confirm
here are very simple. Tests passing is what we care about here! This PR is where the complex data migration will take placenox -s teardown -- volumes
andnox -s dev
, everything works as intendedPre-Merge Checklist
CHANGELOG.md