Skip to content
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

Fix crashing integrations after pydantic update #5227

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Conversation

erosselli
Copy link
Contributor

Closes #

Description Of Changes

After the Pydantic update, integrations that contain a FidesDatasetReference field as part of their secrets are causing the frontend to crash

Code Changes

  • list your code changes here

Steps to Confirm

  • list any manual steps for reviewers to confirm the changes

Pre-Merge Checklist

  • All CI Pipelines Succeeded
  • Documentation:
    • documentation complete, PR opened in fidesdocs
    • documentation issue created in fidesdocs
    • if there are any new client scopes created as part of the pull request, remember to update public-facing documentation that references our scope registry
  • Issue Requirements are Met
  • Relevant Follow-Up Issues Created
  • Update CHANGELOG.md
  • For API changes, the Postman collection has been updated
  • If there are any database migrations:
    • Ensure that your downrev is up to date with the latest revision on main
    • Ensure that your downgrade() migration is correct and works
      • If a downgrade migration is not possible for this change, please call this out in the PR description!

Copy link

vercel bot commented Aug 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fides-plus-nightly ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 22, 2024 9:25pm

Copy link
Contributor

@lucanovera lucanovera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixing the read-only property by cloning the object and the temporary undefined secrets by adding the IF. Approved

@adamsachs adamsachs merged commit 310cbef into main Aug 22, 2024
9 of 12 checks passed
@adamsachs adamsachs deleted the hotfix-integrations branch August 22, 2024 21:25
Copy link

cypress bot commented Aug 22, 2024

fides    Run #9616

Run Properties:  status check passed Passed #9616  •  git commit 07474dadc8 ℹ️: Merge 642a39ad814962574f252448f9ec27f90899b163 into 23a8fbd9ba3e13e12378c2d2962f...
Project fides
Branch Review refs/pull/5227/merge
Run status status check passed Passed #9616
Run duration 00m 36s
Commit git commit 07474dadc8 ℹ️: Merge 642a39ad814962574f252448f9ec27f90899b163 into 23a8fbd9ba3e13e12378c2d2962f...
Committer erosselli
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 4
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.
View all changes introduced in this branch ↗︎

Copy link

cypress bot commented Aug 22, 2024

fides    Run #9617

Run Properties:  status check passed Passed #9617  •  git commit 310cbefcc4: Fix crashing integrations after pydantic update (#5227)
Project fides
Branch Review main
Run status status check passed Passed #9617
Run duration 00m 35s
Commit git commit 310cbefcc4: Fix crashing integrations after pydantic update (#5227)
Committer erosselli
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 4
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.
View all changes introduced in this branch ↗︎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants