-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
chore: upgrade ruby to 3.1.3 #5555
Conversation
|
✅ Deploy Preview for chatwoot-storybook canceled.
|
@vishnu-narayanan The circle builds are a success for this now. Should we upgrade the version for cwctl as well on this PR / or take it as a separate issue ? Also, in the case of cwctl how do we handle the upgrade process?
|
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.
remove change from yarn lock
+1 |
We can directly go for 3.2 :D https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/ |
note: make sure to update the reference to the node version across the repo, like cwctl etc. also ensure that we have a pathway to upgrade node version in those installations |
Starting with Node 17, nodejs switched to OpenSSL3. The docker builds are installing node18.xx with alpine-3.1.3. From Node.js 17's announcement post: If you hit an ERR_OSSL_EVP_UNSUPPORTED error in your application with Node.js 17, it’s likely that your application or a module you’re using is attempting to use an algorithm or key size which is no longer allowed by default with OpenSSL 3.0. A new command-line option, --openssl-legacy-provider, has been added to revert to the legacy provider as a temporary workaround for these tightened restrictions. Looks like a webpack issue. This is fixed in webpacl 5+ and we are on webpack4 at the moment. Solutions Upgrade webpack. Pin nodejs version to be 16.x.x Use --openssl-legacy-provider as a workaround. Pin docker version to alpine3.16 branch to have node16.x by default ref: #5555 (comment)
Pinning node version to |
@sojan-official Will take this up as a separate issue. Currently, the node version is different between docker(16.x.x) and linux(12.x.x) installations. Also, is a |
@vishnu-narayanan would help stay consistent everywhere. There might be differences in support for packages. |
CE spec GitHub actions and docker image builds are passing. CircleCI is failing, though. Circle does not have a Tests are passing locally with
cc: @sojan-official |
@nithindavid could you take a look at this build ? |
@sojan-official Could you please review again? |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Pull Request Template
Description
Fixes https://github.com/chatwoot/product/issues/594
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Checklist: