Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

NodeJS warning #2280

Merged
merged 1 commit into from
Dec 8, 2022
Merged

NodeJS warning #2280

merged 1 commit into from
Dec 8, 2022

Conversation

Frassle
Copy link
Member

@Frassle Frassle commented Nov 30, 2022

@pulumi-bot
Copy link
Collaborator

Your site preview for commit ae5eb61 is ready! 🎉

http://pulumi-hugo-origin-pr-2280-ae5eb61d.s3-website.us-west-2.amazonaws.com.

@Frassle Frassle force-pushed the fraser/nodeWarning branch 2 times, most recently from 51cc823 to 267e300 Compare November 30, 2022 14:08
@pulumi-bot
Copy link
Collaborator

Your site preview for commit 267e300 is ready! 🎉

http://pulumi-hugo-origin-pr-2280-267e300f.s3-website.us-west-2.amazonaws.com.

@pulumi-bot
Copy link
Collaborator

Your site preview for commit 51cc823 is ready! 🎉

http://pulumi-hugo-origin-pr-2280-51cc823b.s3-website.us-west-2.amazonaws.com.

@@ -14,6 +14,14 @@ aliases: ["/docs/reference/javascript/"]

Pulumi supports writing your infrastructure as code in any JavaScript language running on Node.js using any of the [Current, Active and Maintenance LTS versions](https://nodejs.org/en/about/releases/).

{{% notes type="warning" %}}
Pulumi currently does not support NodeJS 19.2 and higher due to internal V8 changes that our function serialization doesn't currently handle.
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it actually true that we don't support it at all, or only that closure serialization does not work on 19.2?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's just closure serialisation, but we're not testing against 19.2 untill we can split off all the tests that use closure serialisation from everything else (and it's a lot because so many of the node tests use dynamic providers as part of the tests)

Copy link
Member Author

Choose a reason for hiding this comment

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

I wonder if it would help if I flip these sentences around a bit? Say that we expect 19.2 to work except for function serialization, then link the issue, then comment that we're not currently testing 19.2 so we don't consider it fully supported?

Copy link
Contributor

Choose a reason for hiding this comment

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

I like that additional bit of nuance to this note - it feels like it re-centers the issue on function serialization and support guarantees re: testing rather than sounding like we don't think people should use 19,2 with Pulumi.

+1

@susanev
Copy link
Contributor

susanev commented Dec 7, 2022

@Frassle can we merge this? or is it blocked on something?

@Frassle Frassle force-pushed the fraser/nodeWarning branch from 267e300 to 7717cdb Compare December 7, 2022 09:32
@Frassle
Copy link
Member Author

Frassle commented Dec 7, 2022

I've rephrased the warning, if folk think the new wording is fine then this can be merged.

@pulumi-bot
Copy link
Collaborator

Your site preview for commit 7717cdb is ready! 🎉

http://pulumi-hugo-origin-pr-2280-7717cdb5.s3-website.us-west-2.amazonaws.com.

@Frassle Frassle merged commit cef03ca into master Dec 8, 2022
@Frassle Frassle deleted the fraser/nodeWarning branch December 8, 2022 09:08
@github-actions
Copy link

github-actions bot commented Dec 8, 2022

Site previews for this pull request have been removed. ✨

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants