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

Add ssl prefer to remaining redshift areas, increase timeout (maybe) #4981

Merged

Conversation

SteveDMurphy
Copy link
Contributor

@SteveDMurphy SteveDMurphy commented Jun 12, 2024

Closes FIDES-699, follow up to #4849

Description Of Changes

This PR should handle the reamining areas where Redshift can fail to connect successfully due to ssl or timeout errors

Code Changes

  • Set ssl to prefer in remaining areas for Generate
  • Increase timeout as part of testing (tbd)

Steps to Confirm

  • list any manual steps for reviewers to confirm the changes

Pre-Merge Checklist

Copy link

vercel bot commented Jun 12, 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 Jun 24, 2024 10:33pm

Copy link

cypress bot commented Jun 12, 2024

Passing run #8492 ↗︎

0 4 0 0 Flakiness 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

Merge cc1d0cc into d1e2ce4...
Project: fides Commit: 9cfe016561 ℹ️
Status: Passed Duration: 00:33 💡
Started: Jun 24, 2024 10:42 PM Ended: Jun 24, 2024 10:42 PM

Review all test suite changes for PR #4981 ↗︎

Copy link

codecov bot commented Jun 13, 2024

Codecov Report

Attention: Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.

Project coverage is 86.54%. Comparing base (d1e2ce4) to head (cc1d0cc).

Files Patch % Lines
src/fides/core/utils.py 0.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4981      +/-   ##
==========================================
- Coverage   86.56%   86.54%   -0.02%     
==========================================
  Files         352      352              
  Lines       21877    21882       +5     
  Branches     2884     2885       +1     
==========================================
  Hits        18938    18938              
- Misses       2433     2438       +5     
  Partials      506      506              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

)
if "redshift" in connection_string:
connect_args["sslmode"] = "prefer"
connect_args["connect_timeout"] = 60
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The Redshift datasets from Axios were taking forever to load, this number let it run long enough to respond with all of the dataset information

@SteveDMurphy SteveDMurphy marked this pull request as ready for review June 20, 2024 16:59
@SteveDMurphy SteveDMurphy self-assigned this Jun 20, 2024
Copy link
Contributor

@NevilleS NevilleS left a comment

Choose a reason for hiding this comment

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

Little nitpick in the changelog but otherwise LGTM!

CHANGELOG.md Outdated Show resolved Hide resolved
@SteveDMurphy SteveDMurphy merged commit 861fbc3 into main Jun 25, 2024
41 of 42 checks passed
@SteveDMurphy SteveDMurphy deleted the SteveDMurphy-fides-699-redshift-generate-ssl-errors-contd branch June 25, 2024 10:24
Copy link

cypress bot commented Jun 25, 2024

Passing run #8496 ↗︎

0 4 0 0 Flakiness 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

Add ssl prefer to remaining redshift areas, increase timeout (maybe) (#4981)
Project: fides Commit: 861fbc3224
Status: Passed Duration: 00:35 💡
Started: Jun 25, 2024 10:35 AM Ended: Jun 25, 2024 10:35 AM

Review all test suite changes for PR #4981 ↗︎

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.

2 participants