-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[chore] upgrade to Node.js 20 #9466
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
Conversation
ℹ️ Manual Changeset Creation ReminderPlease ensure manual commit for changeset file 9466.yml under folder changelogs/fragments to complete this PR. If you want to use the available OpenSearch Changeset Bot App to avoid manual creation of changeset file you can install it in your forked repository following this link. For more information about formatting of changeset files, please visit OpenSearch Auto Changeset and Release Notes Tool. |
|
what to see how far the automation gets |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9466 +/- ##
==========================================
- Coverage 61.81% 61.79% -0.02%
==========================================
Files 3825 3825
Lines 92058 92068 +10
Branches 14602 14604 +2
==========================================
- Hits 56902 56892 -10
- Misses 31482 31502 +20
Partials 3674 3674
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
cf55915 to
59f6c34
Compare
1e9c400 to
505d2cd
Compare
package.json
Outdated
| "osd:ciGroup13": "echo \"cypress/integration/core_opensearch_dashboards/opensearch_dashboards/apps/query_enhancements/03/*.spec.js\"", | ||
| "osd:ciGroup14": "echo \"cypress/integration/core_opensearch_dashboards/opensearch_dashboards/apps/query_enhancements/04/*.spec.js\"", | ||
| "osd:ciGroup15": "echo \"cypress/integration/core_opensearch_dashboards/opensearch_dashboards/apps/query_enhancements/05/*.spec.js\"", | ||
| "osd:ciGroup16": "echo \"cypress/integration/core_opensearch_dashboards/opensearch_dashboards/apps/query_enhancements/01/saved_search.spec.js\"", |
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.
is this and above change for osd:ciGroup10 a temporary thing that you will revert, or you think it should be permanent?
|
📊 Bundle Size crossed 5% for below plugins pageLoadAssetSizeVariation: |
1 similar comment
|
📊 Bundle Size crossed 5% for below plugins pageLoadAssetSizeVariation: |
bdcdc72 to
df75f74
Compare
|
📊 Bundle Size crossed 5% for below plugins pageLoadAssetSizeVariation: |
df75f74 to
2f2e05b
Compare
|
📊 Bundle Size crossed 5% for below plugins pageLoadAssetSizeVariation: |
4 similar comments
|
📊 Bundle Size crossed 5% for below plugins pageLoadAssetSizeVariation: |
|
📊 Bundle Size crossed 5% for below plugins pageLoadAssetSizeVariation: |
|
📊 Bundle Size crossed 5% for below plugins pageLoadAssetSizeVariation: |
|
📊 Bundle Size crossed 5% for below plugins pageLoadAssetSizeVariation: |
|
📊 Bundle Size crossed 5% for below plugins pageLoadAssetSizeVariation: |
7c226c2 to
18afb17
Compare
|
📊 Bundle Size crossed 5% for below plugins pageLoadAssetSizeVariation: |
1 similar comment
|
📊 Bundle Size crossed 5% for below plugins pageLoadAssetSizeVariation: |
❌ Changelog Entry Missing HyphenChangelog entries must begin with a hyphen (-). |
❌ Invalid Prefix For Manual Changeset CreationInvalid description prefix. Found "chore". Only "skip" entry option is permitted for manual commit of changeset files. If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description. |
2 similar comments
❌ Invalid Prefix For Manual Changeset CreationInvalid description prefix. Found "chore". Only "skip" entry option is permitted for manual commit of changeset files. If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description. |
❌ Invalid Prefix For Manual Changeset CreationInvalid description prefix. Found "chore". Only "skip" entry option is permitted for manual commit of changeset files. If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description. |
❌ Invalid Prefix For Manual Changeset CreationInvalid description prefix. Found "breaking". Only "skip" entry option is permitted for manual commit of changeset files. If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description. |
❌ Invalid Prefix For Manual Changeset CreationInvalid description prefix. Found "fix". Only "skip" entry option is permitted for manual commit of changeset files. If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description. |
b304179 to
10bfa97
Compare
|
📊 Bundle Size crossed 5% for below plugins pageLoadAssetSizeVariation: |
❌ Invalid Prefix For Manual Changeset CreationInvalid description prefix. Found "fix". Only "skip" entry option is permitted for manual commit of changeset files. If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description. |
Signed-off-by: Kawika Avilla <[email protected]> Upgrade APM node Signed-off-by: Kawika Avilla <[email protected]> build with plugins workflow Signed-off-by: Kawika Avilla <[email protected]> add on push Signed-off-by: Kawika Avilla <[email protected]> plugins Signed-off-by: Kawika Avilla <[email protected]> dont run on image Signed-off-by: Kawika Avilla <[email protected]> just use node for plugin_helpers Signed-off-by: Kawika Avilla <[email protected]> unzip Signed-off-by: Kawika Avilla <[email protected]> unzip and then untar Signed-off-by: Kawika Avilla <[email protected]> create directory Signed-off-by: Kawika Avilla <[email protected]> updates Signed-off-by: Kawika Avilla <[email protected]> pwd Signed-off-by: Kawika Avilla <[email protected]> resolve to newer browserify rsa to avoid deprecation warning, Signed-off-by: Kawika Avilla <[email protected]> ensure encoding on filesync and also no hyphen for utf8 Signed-off-by: Kawika Avilla <[email protected]> handle node issues Signed-off-by: Kawika Avilla <[email protected]> build osd-pm Signed-off-by: Kawika Avilla <[email protected]> to string utf8 Signed-off-by: Kawika Avilla <[email protected]> tostring utf8 Signed-off-by: Kawika Avilla <[email protected]> Upgrading `opensearch` client to 3.x (#9139) update dependencies Signed-off-by: Kawika Avilla <[email protected]> dont expect error Signed-off-by: Kawika Avilla <[email protected]> ignore hapi Signed-off-by: Kawika Avilla <[email protected]> restore polyfill after slight downgrade of typescript Signed-off-by: Kawika Avilla <[email protected]> fix tests Signed-off-by: Kawika Avilla <[email protected]> fix yarn lock file Signed-off-by: Kawika Avilla <[email protected]> update jest Signed-off-by: Kawika Avilla <[email protected]> remove ts jest and add module resolver Signed-off-by: Kawika Avilla <[email protected]> restore tests Signed-off-by: Kawika Avilla <[email protected]> skip test for now Signed-off-by: Kawika Avilla <[email protected]> fix caniuse Signed-off-by: Kawika Avilla <[email protected]> fix lock file Signed-off-by: Kawika Avilla <[email protected]> update workflow to run faster Signed-off-by: Kawika Avilla <[email protected]> skip test per suggestion Signed-off-by: Kawika Avilla <[email protected]> some optimizations Signed-off-by: Kawika Avilla <[email protected]> restore chromium Signed-off-by: Kawika Avilla <[email protected]> fix regex Signed-off-by: Kawika Avilla <[email protected]> set limits for heap Signed-off-by: Kawika Avilla <[email protected]> bump types and cypress Signed-off-by: Kawika Avilla <[email protected]> bump semi space size Signed-off-by: Kawika Avilla <[email protected]> revert node types bump Signed-off-by: Kawika Avilla <[email protected]> update lock file and cypress workflow Signed-off-by: Kawika Avilla <[email protected]> wait until visible Signed-off-by: Kawika Avilla <[email protected]> split it out for 15 as well Signed-off-by: Kawika Avilla <[email protected]> add a wait Signed-off-by: Kawika Avilla <[email protected]> escape and make wait a command Signed-off-by: Kawika Avilla <[email protected]> set max semi space as well Signed-off-by: Kawika Avilla <[email protected]> skip problematic tests Signed-off-by: Kawika Avilla <[email protected]> skip recents Signed-off-by: Kawika Avilla <[email protected]> cypress string update and some clean up Signed-off-by: Kawika Avilla <[email protected]> clean up build plugins workflow Signed-off-by: Kawika Avilla <[email protected]>
Signed-off-by: Kawika Avilla <[email protected]>
10bfa97 to
a79e471
Compare
|
📊 Bundle Size crossed 5% for below plugins pageLoadAssetSizeVariation: |
1 similar comment
|
📊 Bundle Size crossed 5% for below plugins pageLoadAssetSizeVariation: |
| viewportWidth: 1920, | ||
| viewportHeight: 1080, |
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.
Effort to save memory?
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.
more so 2000 x 1320 seems non standard aspect ratio
where as 1920 x 1080 being 16x9 to potentially avoid any visual oddities
| }, | ||
| "engines": { | ||
| "node": ">=14.20.1 <19", | ||
| "node": ">=14.20.1 <21", |
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.
Are we still supporting < 20?
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.
some light testing seems like it technically can. at least no worse than it was before.
however, i believe for 20 < it will become not compatible
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.
@ashwin-pc We're good to drop compatibility for node < 20, right? I think its more preferrable to remove and add back in later if necessary vs keep and have to maintain for all of 3.x (even if we can validate its fine through node 14 for now).
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.
I agree. Lets remove it.
virajsanghvi
left a comment
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.
approving as node version question can be decided on later, but let's make sure we close it before 4/1
…pId$ Partially revert opensearch-project#9466. Current implementation doesn't work because QueryStringManager is constructed during setup, and setApplication happens during start. In playground or any instance we see `Could not subscribe to application.currentAppId$` in console warning. Signed-off-by: Joshua Li <[email protected]>
…pId$ Partially revert opensearch-project#9466. Current implementation doesn't work because QueryStringManager is constructed during setup, and setApplication happens during start. In playground or any instance we see `Could not subscribe to application.currentAppId$` in console warning. Signed-off-by: Joshua Li <[email protected]>
…pId$ Partially revert opensearch-project#9466. Current implementation doesn't work because QueryStringManager is constructed during setup, and setApplication happens during start. In playground or any instance we see `Could not subscribe to application.currentAppId$` in console warning. Signed-off-by: Joshua Li <[email protected]>
Description
Upgrading the Node.js version used from 18.x to the latest LTS version 20.x.
Issues Resolved
closes #8463
Screenshot
n/a
Testing the changes
local and ci
Changelog
Check List
yarn test:jestyarn test:jest_integration