-
Notifications
You must be signed in to change notification settings - Fork 7
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
Experimental PG patch #61
base: master
Are you sure you want to change the base?
Conversation
Experiment to add a patch for postgres
This would be a great addition! |
Seems to work, at least on the limited example of 1 enterprise-level web application backend. Suggestions and comments are welcome. |
Codecov ReportBase: 98.76% // Head: 97.08% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #61 +/- ##
==========================================
- Coverage 98.76% 97.08% -1.68%
==========================================
Files 35 35
Lines 1134 1134
Branches 159 159
==========================================
- Hits 1120 1101 -19
- Misses 14 33 +19
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Thanks for your contribution! Since faulty is a reliability tool, there's a few things I want to be sure of with this addition:
For the first item, I can take a look at that a bit as well, but it might take me some time to do a thorough review. Thanks again! |
Sounds good! I will research more as I am able;
|
It looks like you may have accidentally removed the mysql2 dependency in the Gemfile, which causes the mysql specs to be skipped. Your tests for PG are also not running on CI. You'll need to add pg to the Gemfile as well, and make sure the patch is You'll see that we have to conditionally test mysql2 depending on the ruby version (we specifically don't support the mysql2 patch on Ruby 2.3). I'm guessing that's not necessary here. |
(ah, crud, I did do that, I was having trouble at the time getting mysql to build while testing locally and didn't use a branch on my fork- as an aside, everything else seems to work fine in arm64-based linux) |
* Update Gemfile
@tedaford Did you mean to close this? If you're no longer interested in pursuing this, there's no pressure of course. I may continue this work in the future since I do think this would be a valuable addition. Either way, thanks for your work! |
I meant to try to make it a "draft" PR to keep it from banging on the unit tests, if it's no bother I'll leave it- working on a branch right now |
This PR will add PostGreSQL support to Faulty as a patch. Verified to work using the unit tests of my humble anonymous enterprise web app.