-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Function serialization broken in NodeJS 19.2 #11488
Description
Update on issue
If you encounter this error, update to Node 19.4 or newer.
What happened?
When opening a new PR unrelated to the Node SDK, tests related to function serialization fail due to a missing internal property [[Scopes]]
Steps to reproduce
Run Node SDK unit tests in CI
Expected Behavior
If no code changes have been made, no tests should fail.
Actual Behavior
Tests are failing
Output of pulumi about
Not terribly relevant, but:
CLI
Version 3.46.2-dev.0
Go Version go1.19.2
Go Compiler gc
Host
OS ubuntu
Version 20.04
Arch x86_64
Backend
Name pulumi.com
URL https://app.pulumi.com/kpitzen
User kpitzen
Organizations kpitzen, EpicGames, pulumi
Additional context
Here is the original failing job:
https://github.com/pulumi/pulumi/actions/runs/3577856744/jobs/6017440059
And a no-op job with only a README change:
https://github.com/pulumi/pulumi/actions/runs/3578273088/jobs/6018337627
The failing branch of code ends here:
| const scopes = internalProperties.find(p => p.name === "[[Scopes]]"); |
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).