[docs] Clarify ResourceStoppedEvent fires once per stop, not per restart - #1705
Draft
aspire-repo-bot[bot] wants to merge 1 commit into
Draft
aspire-repo-bot[bot] wants to merge 1 commit into
aspire-repo-bot[bot] wants to merge 1 commit into
Conversation
Documents microsoft/aspire#20279 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
14 tasks
aspire-repo-bot
Bot
requested a review
from Karol Zadora-Przylecki (karolz-ms)
September 21, 2026 18:02
Contributor
Author
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents changes from microsoft/aspire#20279
@JamesNKTargeting
release/13.6based on the source PR milestone13.6.Why this doc is needed
The source PR (microsoft/aspire#20279) fixes a bug where
OnResourceStoppedhandlers could receive duplicate callbacks when the handler itself triggered a restart. The PR body's "User-facing scenario" section explicitly calls out the fixed, user-observable behavior: a restart-triggeringOnResourceStoppedhandler no longer gets invoked twice for the same stop.ResourceStoppedEventis documented inapp-host/eventing.mdx, but the docs previously didn't clarify the once-per-stop semantics, which could otherwise read as ambiguous to a reader relying on the event to gate restart logic.What changed
src/frontend/src/content/docs/app-host/eventing.mdx: Added a note under the "Resource stopped event" section clarifying thatResourceStoppedEventfires once per stop, and that a restart triggered from within a handler does not cause a duplicate firing for the same stop.Files modified
src/frontend/src/content/docs/app-host/eventing.mdx(updated existing page)No new pages were created; this is a targeted clarification to an existing page.