-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[sdk/dotnet] - bug fix resources destroyed after exception thrown during inline program #7299
[sdk/dotnet] - bug fix resources destroyed after exception thrown during inline program #7299
Conversation
…n during an inline program dotnet sdk
PR is now waiting for a maintainer to run the acceptance tests. Note for the maintainer: To run the acceptance tests, please comment /run-acceptance-tests on the PR Further commands available:
|
1 similar comment
PR is now waiting for a maintainer to run the acceptance tests. Note for the maintainer: To run the acceptance tests, please comment /run-acceptance-tests on the PR Further commands available:
|
/run-acceptance-tests |
Sorry for late review again, I'm finally catching up. This looks reasonable I'd like to understand the fix a little better though, left some questions! Thanks for the work! |
/run-acceptance-tests |
Please view the results of the PR Build + Acceptance Tests Run Here |
Confirming macos test failure unrelated, fix coming to master separately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's ship it. Thanks again for the work!
Thanks @t0yv0! |
Thanks @orionstudt! |
…ing inline program (pulumi/pulumi#7299) * resolve issue with resources being destroyed if an exception is thrown during an inline program dotnet sdk * update changelog
Description
This resolves the issue of resources being destroyed after an exception is thrown during an inline program. The gRPC portion of the Automation API implementation is now correctly returning in the error case and the
WorkspaceStack
instance is now conditionally throwing the relevant exception if an inline exception is present, that way the correct exception bubbles up to the Automation API consumer.Fixes #7050
Checklist