Skip to content

Conversation

@gribnoysup
Copy link
Collaborator

@gribnoysup gribnoysup commented Dec 10, 2025

Stumbled on this draft that was bumping Node.js to the version matching our electron version that I completely lost track of. The electron version drifted some more, so I'm reopening it. I found a way to work around the issue that I described in #7339 (comment) by explicitly disabling the node option for experimental strip types behavior (also noticed that @kmruiz is doing the same thing in mongodb-js/mongosh#2586, so I guess we ran into this already in mongosh too). This should be considered just a temporary workaround though as on top of just breaking the tests it just highlights the issue that we're not ready to go proper esm in the repo, so I opened a ticket to follow-up with a proper solution to this.

I'm probably not going to see the CI finish before I'm OOO for the holidays, but if it's green, it would be good to merge this one as this will probably become a blocker anyway at any moment if we will need to update Node.js version for any other reason

@gribnoysup gribnoysup requested a review from a team as a code owner December 10, 2025 16:23
@gribnoysup gribnoysup added the no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion) label Dec 10, 2025
@gribnoysup
Copy link
Collaborator Author

gribnoysup commented Dec 10, 2025

Thought the issue went away, but nope, actually the same thing stil

EDIT: okay, found a way around it, it's a workaround, but we can probably live with this for now and means that we're not blocked on Node.js update if needed

@gribnoysup gribnoysup closed this Dec 10, 2025
@gribnoysup gribnoysup reopened this Dec 10, 2025
…ption to make sure that ts-node is the only one parsing ts files

See https://github.com/mongodb-js/compass/pull/7339\#issuecomment-3337995893 for what exactly is happening
@gribnoysup gribnoysup requested a review from Anemy December 10, 2025 18:29
@gribnoysup
Copy link
Collaborator Author

@Anemy if you have a moment as a first reponder this week it would probably be good to merge just to make sure that we're not blocked on Node.js updates because of this quirk caused by experimental-strip-types, but also if CI fails in any suspicious way feel free to ignore this ping 🙂

@addaleax addaleax merged commit 24ffd7a into main Dec 11, 2025
108 of 113 checks passed
@addaleax addaleax deleted the update-node-to-22-21-1 branch December 11, 2025 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants