Skip to content

Conversation

mitchdenny
Copy link
Member

@mitchdenny mitchdenny commented May 6, 2025

Fixes: #9051

This PR does two things. First it introduces error handling so that if the apphost process crashes before a backchannel is established that we detect that and display log outputs instead of just the generic error message. The other thing it does is that in the case of the aspire run and aspire publish command its splits out the build and run output collectors (build inspect and publish in the case of the publish command) so that we are only showing the most relevant logs.

aspire-publish-pre-backchannel-crash.mp4

@mitchdenny mitchdenny linked an issue May 6, 2025 that may be closed by this pull request
1 task
@mitchdenny mitchdenny self-assigned this May 6, 2025
@mitchdenny mitchdenny requested a review from davidfowl May 6, 2025 01:14
@mitchdenny mitchdenny added this to the 9.3 milestone May 6, 2025
@mitchdenny mitchdenny requested a review from davidfowl May 6, 2025 02:02
@mitchdenny mitchdenny merged commit aad850b into main May 6, 2025
170 checks passed
@mitchdenny mitchdenny deleted the mitchdenny/publish-crash-race branch May 6, 2025 04:13
@github-actions github-actions bot locked and limited conversation to collaborators Jun 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When publishing fails, aspire publish should give an actionable error
2 participants