-
Notifications
You must be signed in to change notification settings - Fork 58
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
Node.js v18 Compatibility Test for [anomaly-detection-dashboards-plugin] #485
Comments
The official Node.js 18 PR raised in OSD: opensearch-project/OpenSearch-Dashboards#4071 |
will look for an owner for this |
@ananzh just to confirm this should be labeled 2.8 and completed for that release? |
@amitgalitz yes. opensearch-project/OpenSearch-Dashboards#4071 will be first merged into OSD main then backport to 2.x. We will use 2.x to cut 2.8. Therefore, we hope it has been tested well by all plugins. opensearch-project/OpenSearch-Dashboards#4071 support node 14, 16 and 18. Pls test on node 18.
|
Node 18 isn't compatible on Centos7 or macos. Will have to spin up and test this on ubuntu but anyway I assume this means that there should be a fallback to node 14 as this is a minor release |
@amitgalitz MacOS should work, I commented on ur error opensearch-project/OpenSearch-Dashboards#4058 (comment) |
All integration test pass but we have one failing unit tests I am looking into:
|
@amitgalitz This error message is coming from Node.js, and it is telling you that there’s a promise in your code which is being rejected without having a .catch() block to handle the rejection. If you don’t provide a .catch() method or the second argument to .then()), Node.js emits an unhandledRejection event. As of Node.js version 15.x and above, the default behavior is to terminate the process when such an event occurs. So you need to find out which test fail and cause this. Then track back to which function has unhandled promise. |
Introduction
As part of our continued efforts to improve OpenSearch Dashboards, we are planning to upgrade the underlying Node.js version from v14 to v18. This change will enhance performance, add new features, and bolster security. However, such major version changes might also affect the compatibility of existing plugins. Here is more introduction: opensearch-project/OpenSearch-Dashboards#3601.
Therefore, we kindly request assistance in testing this plugin the compatibility of with this new version of Node.js. We've raised a PR with the Node.js v18 upgrade, which you can find here:
opensearch-project/OpenSearch-Dashboards#4071
Steps to Proceed
The purpose of linking any questions or issues back to the main issue is to maintain visibility and transparency among all plugin owners. A problem encountered by one plugin might also affect others. This shared knowledge base will foster collaborative problem-solving and prevent duplication of effort.
We appreciate your support and cooperation in ensuring a smooth transition to Node.js v18 for the entire OpenSearch Dashboards community.
The text was updated successfully, but these errors were encountered: