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

Ensure NodeJS SDK awaits full logical operations #16005

Merged
merged 1 commit into from
Apr 23, 2024
Merged

Conversation

Frassle
Copy link
Member

@Frassle Frassle commented Apr 19, 2024

Description

Fixes #15973.

Ensures that the rpcDone promise covers the whole async operation atomically.

Checklist

  • I have run make tidy to update any new dependencies
  • I have run make lint to verify my code passes the lint check
    • I have formatted my code using gofumpt
  • I have added tests that prove my fix is effective or that my feature works
  • I have run make changelog and committed the changelog/pending/<file> documenting my change
  • Yes, there are changes in this PR that warrants bumping the Pulumi Cloud API version

@pulumi-bot
Copy link
Contributor

pulumi-bot commented Apr 19, 2024

Changelog

[uncommitted] (2024-04-23)

Bug Fixes

  • [sdk/nodejs] Fix a race condition that could cause the NodeJS runtime to terminate before finishing all work
    #16005

@Frassle Frassle force-pushed the fraser/fixNodejsAwait branch 2 times, most recently from e2adbf7 to 8b38115 Compare April 19, 2024 21:57
@Frassle Frassle marked this pull request as ready for review April 22, 2024 08:14
@Frassle Frassle requested a review from a team as a code owner April 22, 2024 08:14
@Frassle Frassle enabled auto-merge April 23, 2024 08:40
@Frassle Frassle added this pull request to the merge queue Apr 23, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 23, 2024
@Frassle Frassle enabled auto-merge April 23, 2024 12:09
@Frassle Frassle added this pull request to the merge queue Apr 23, 2024
Merged via the queue into master with commit f9860c4 Apr 23, 2024
49 checks passed
@Frassle Frassle deleted the fraser/fixNodejsAwait branch April 23, 2024 15:22
github-merge-queue bot pushed a commit that referenced this pull request Apr 25, 2024
Tentative changelog, but also planning to include
#16057

### Features

- [auto/{go,nodejs,python}] Add support for the continue-on-error
parameter of the up command to the Automation API
  [#15953](#15953)

- [engine] Add a --continue-on-error flag to pulumi up
  [#15740](#15740)


### Bug Fixes

- [sdk/nodejs] Fix a race condition that could cause the NodeJS runtime
to terminate before finishing all work
  [#16005](#16005)

- [sdk/python] Fix an exception when setting providers resource option
with a dict
  [#16022](#16022)

- [sdk/python] Fix event loop tracking in the python SDK when using
remote transforms
  [#16039](#16039)

- [sdk/python] Workaround lazy module loading regression
  [#16038](#16038)


### Miscellaneous

- [cli/plugin] Move PluginKind type definition into apitype and
re-export for backward compatibility
@justinvp justinvp mentioned this pull request Apr 25, 2024
github-merge-queue bot pushed a commit that referenced this pull request Apr 26, 2024
Will wait to merge this until after
#16057 merges

### Features

- [auto/{go,nodejs,python}] Add support for the continue-on-error
parameter of the up command to the Automation API
  [#15953](#15953)

- [engine] Add a --continue-on-error flag to pulumi up
  [#15740](#15740)


### Bug Fixes

- [sdk/nodejs] Fix a race condition that could cause the NodeJS runtime
to terminate before finishing all work
  [#16005](#16005)

- [sdk/python] Fix an exception when setting providers resource option
with a dict
  [#16022](#16022)

- [sdk/python] Fix event loop tracking in the python SDK when using
remote transforms
  [#16039](#16039)

- [sdk/python] Workaround lazy module loading regression
  [#16038](#16038)


### Miscellaneous

- [cli/plugin] Move PluginKind type definition into apitype and
re-export for backward compatibility
  [#15946](#15946)
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.

xRegisterStackTransform causes an error if there is no stack outputs in Typescript
3 participants