-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Rails 6 support #3441
Rails 6 support #3441
Conversation
@joebutler2 I've opened this as a pull request for CI |
This seems to be most of the way there. There is only one new failing test (note this isn't counting the other failing test that was seen in master. For quick reference here are the two failing tests. 1The new one for this branch (only in ruby 2.4.5, using mysql, in the pages extension).
Here is a link to the failing job 2The current one that is failing in master. (It's failing in the 6 jobs related to the pages extension). See this comment for more info.
|
a75ab10
to
a55eaab
Compare
So after re-triggering the build the only failure we see is the one in master. This should be good to merge into master from what I can see. Although typically I prefer to only merge into master when the build is green. I'll spend some time looking into the failure in master. |
It's a really tricky one.. I tried to diagnose it the other day as well. Good luck!! Thank you for your help! |
a55eaab
to
73a281f
Compare
With regards to the broken build in master: After researching this failure a little more there are a few observations I have:
Please let me know if you have any other thoughts or additional context! :) |
The pull request for updating Hopefully by updating the Then with that, I believe |
I compiled the updated version of I'm hoping to get them resolved quickly! |
Made more progress on the dependency conflicts. The ones related to I'm hoping to resolve the remain dependency conflicts tomorrow! For a full list of the remaining ones check out https://gist.github.com/joebutler2/d78c3ed245652663032c7ede84075ef8 |
Was able to resolve all of the dependency conflicts locally (with a custom rubygem server). Now there is a loading issue with Thank you @parndt for merging the PR for Once that gem is released I'll update this PR. Also had to update the I'll keep working on this, hopefully, it'll be up and running in the next couple of days. Then we can wrap up this PR so everyone else can use RefineryCMS on Rails 6! With that said, since there has been so much work around resolving dependencies, I'm wondering if we should bump up the minor version (e.g. |
|
I know this needs a little more work to get across the finish line and merged in. I'm hoping to spend some time in the next day or so to wrap it up. Everything is working fine locally (based on my gem server). The only other dependency we need updated and released is I hope everyone else is excited as I am about this! |
- Remove the gem version restriction for Rails. - Update database_cleaner to latest version.
0cc715d
to
8a4df55
Compare
Hmm, updating mobility to 0.8.8 didn't fix the build as I had hoped. I checked the |
@joebutler2 do you think it's worth asking in the Mobility Gitter whether anybody knows what's going on with this spec? Otherwise I fear we might have to either spend a lot of time on it, or delete it. |
@parndt yeah, that's a good idea. Another option might be to place it in a separate test run/configuration. Since it looks like a race condition in a multi-threaded environment, maybe running the test separately with Puma configured with 1 thread would avoid this failure. Though that wouldn't solve the issue in a production environment. Since there haven't been any issues filed for random missing translations, I'm not too worried. There are too many variables (with dependencies & etc) for us to be certain that the root cause is solved (without spending a significant amount of time). |
@parndt when you have the time could you release version We need that for Rails 6 support. Transitive dependencies... 🤷♂ |
@joebutler2 it is pushed:
|
With regards to the failure in master, it seems trickier than I originally thought. While updating PR: refinery/refinerycms-blog#512 While everything in |
Comment from the sidelines: most of the unexpected behaviour and bugs I've found in Refinery and associated gems in the five years since we started using it have been related to translation/i18n, so I'm happy that you're taking this aspect seriously despite not using it yourself. 👍 |
This changes has been merged in #3446. Thanks @joebutler2 |
No description provided.