-
Notifications
You must be signed in to change notification settings - Fork 84
ENG-2239 - Migration to rename StagedResource diff status from approved to reviewed #7159
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7159 +/- ##
=======================================
Coverage 87.17% 87.17%
=======================================
Files 534 534
Lines 35312 35312
Branches 4113 4113
=======================================
Hits 30783 30783
Misses 3638 3638
Partials 891 891 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Greptile SummaryThis PR systematically renames the staged resource diff status from 'approved' to 'reviewed' across the entire codebase, including database schema, backend types, frontend types, UI components, and API endpoints. Key Changes:
Implementation Quality:
Note: PR description indicates this depends on fidesplus#2940 and should NOT be merged until that dependency is resolved. Confidence Score: 5/5
Important Files Changed
|
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.
2 files reviewed, 2 comments
...rations/versions/xx_2025_12_18_2048_dffb9da00fb1_rename_staged_resource_diff_status_from_.py
Outdated
Show resolved
Hide resolved
...rations/versions/xx_2025_12_18_2048_dffb9da00fb1_rename_staged_resource_diff_status_from_.py
Show resolved
Hide resolved
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.
2 files reviewed, 1 comment
...rations/versions/xx_2025_12_18_2048_dffb9da00fb1_rename_staged_resource_diff_status_from_.py
Show resolved
Hide resolved
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.
2 files reviewed, 1 comment
...rations/versions/xx_2025_12_18_2048_dffb9da00fb1_rename_staged_resource_diff_status_from_.py
Show resolved
Hide resolved
adamsachs
left a comment
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.
BE migration looks solid 👍
Ticket ENG-2239
Description Of Changes
This PR renames the staged resource diff status from 'approved' to 'reviewed' in the database. The change includes a data migration that updates all existing records in the
stagedresourcetable.Code Changes
xx_2025_12_18_2048_dffb9da00fb1_rename_staged_resource_diff_status_from_.pydiff_statusvalues from'approved'to'reviewed'in thestagedresourcetableSteps to Confirm
alembic upgrade headdiff_status = 'approved'are nowdiff_status = 'reviewed'alembic downgrade -1'approved'statusPre-Merge Checklist
CHANGELOG.mdupdatedmaindowngrade()migration is correct and works