Commit Graph

2 Commits

Author SHA1 Message Date
Julien b5423da173
Fix NodeJS OOM detection condition ()
The condition had a single `=` in the string instead of a `==`.

This PR also ensures that stop scanning for errors when the process
ends, so we don’t wait for the scanning timeout in case the node process
crashes with another error.

Fixes https://github.com/pulumi/pulumi/issues/17040
2024-08-22 15:06:16 +00:00
Julien 2e800bdef6
Detect possible OOM errors when nodejs crashes ()
The typical nodejs OOM messages are sometimes obscured by our use of the
debugger API, making this hard to diagnose. Provide an actionable error
message when we detect a normal or obscured OOM crash.

Fixes https://github.com/pulumi/pulumi/issues/16596
2024-07-23 16:10:43 +00:00