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

[heft] Handle errors when IPC messaging host #4832

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

dmichon-msft
Copy link
Contributor

Summary

Adds error handling in the event that Heft, when orchestrated in IPC mode, fails to send a postmessage to the host. This condition is treated as a fatal error and rejects the watcher promise, which will cause the process to exit with a non-zero exit code and log the error, instead of hitting the unhandled error hook.

Details

How it was tested

Copied the version over and ran it locally to confirm that the normal code path still works. Error handling not currently separately tested.

Impacted documentation

None.

@dmichon-msft dmichon-msft merged commit 4d62faa into microsoft:main Jul 16, 2024
5 checks passed
@dmichon-msft dmichon-msft deleted the heft-ipc-errors branch July 16, 2024 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

2 participants