Skip to content
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(test): Test Remix and NextJS SDKs on Node 20. #8577

Merged
merged 15 commits into from
Jul 24, 2023

Conversation

onurtemizkan
Copy link
Collaborator

@onurtemizkan onurtemizkan commented Jul 18, 2023

Resolves: #7906

Made updates about test server termination. Integrated http-terminator as closing all sockets / cancelling pending requests and such produced plenty of maintenance code.

Also, found out that portfinder does not work well in Node 20, and causes flakiness. Removed it from Remix and NextJS tests, as it can be replaced with app.listen(0, ...).

@onurtemizkan onurtemizkan force-pushed the onur/node-20-integration-tests branch 9 times, most recently from 72dfd7c to a9368dd Compare July 20, 2023 13:42
@github-actions
Copy link
Contributor

github-actions bot commented Jul 20, 2023

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.99 KB (+0.01% 🔺)
@sentry/browser - ES5 CDN Bundle (minified) 69.25 KB (0%)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 20.33 KB (0%)
@sentry/browser - ES6 CDN Bundle (minified) 60.48 KB (0%)
@sentry/browser - Webpack (gzipped + minified) 21.95 KB (-0.01% 🔽)
@sentry/browser - Webpack (minified) 71.63 KB (0%)
@sentry/react - Webpack (gzipped + minified) 21.96 KB (-0.01% 🔽)
@sentry/nextjs Client - Webpack (gzipped + minified) 50.83 KB (-0.01% 🔽)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 30.37 KB (+0.01% 🔺)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 28.25 KB (+0.01% 🔺)
@sentry/replay ES6 CDN Bundle (gzipped + minified) 49.56 KB (+0.01% 🔺)
@sentry/replay - Webpack (gzipped + minified) 43.33 KB (0%)
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 69.73 KB (0%)
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 62.01 KB (0%)

@onurtemizkan onurtemizkan force-pushed the onur/node-20-integration-tests branch 3 times, most recently from c0a059f to 4e466c2 Compare July 21, 2023 07:43
@onurtemizkan onurtemizkan marked this pull request as ready for review July 21, 2023 08:57
}, options.timeout || 1000);
});
}

private _closeServer(): Promise<void> {
return this._terminator.terminate();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just to be clear, do we not need to call this.server.close() anymore, is that handled by the terminator?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@onurtemizkan onurtemizkan force-pushed the onur/node-20-integration-tests branch from 4e466c2 to 6ae5375 Compare July 21, 2023 12:18
@onurtemizkan onurtemizkan linked an issue Jul 22, 2023 that may be closed by this pull request
@onurtemizkan onurtemizkan changed the title test(remix): Test Remix SDK on Node 20. chore(test): Test Remix and NextJS SDKs on Node 20. Jul 22, 2023
@onurtemizkan onurtemizkan force-pushed the onur/node-20-integration-tests branch from 3d3812e to 5f6316b Compare July 22, 2023 11:16
@onurtemizkan onurtemizkan requested a review from mydea July 22, 2023 11:58
@AbhiPrasad AbhiPrasad enabled auto-merge (squash) July 24, 2023 14:57
@AbhiPrasad AbhiPrasad merged commit 0cdd472 into develop Jul 24, 2023
70 checks passed
@AbhiPrasad AbhiPrasad deleted the onur/node-20-integration-tests branch July 24, 2023 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Node 20 to remix/next.js integration tests
3 participants