Skip to content

fix(cli-repl): account for Node.js 24 multi-line REPL handling update MONGOSH-2233 #2482

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

Merged
merged 6 commits into from
Jun 24, 2025

Conversation

addaleax
Copy link
Collaborator

@addaleax addaleax commented Jun 20, 2025

Still needs tests, but I think I got close to the bottom of this and this patch should resolve this issue. Opening a PR already to see what CI says.

@addaleax addaleax marked this pull request as ready for review June 23, 2025 12:42
@addaleax addaleax requested a review from a team as a code owner June 23, 2025 12:42
{
// Regression test for MONGOSH-2233, included here because multiline support is a bit
// more fragile when it comes to newer Node.js releases and these are the only tests
// that run as part of the homebrew setup.
Copy link
Collaborator Author

@addaleax addaleax Jun 23, 2025

Choose a reason for hiding this comment

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

Worth mentioning that our regular test suite does catch this (when run against Node.js 24, so we should add that to our CI soon too), we just don't run the relevant tests in homebrew.

@addaleax addaleax requested a review from lerouxb June 23, 2025 13:09
@addaleax addaleax merged commit 2b7e2cc into main Jun 24, 2025
132 of 135 checks passed
@addaleax addaleax deleted the 2233-dev branch June 24, 2025 14:13
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.

2 participants