Repository navigation
Revert "Update parent resource state from replicas (#18642)" - #19545
Merged
Adam Ratzman (adamint) merged 1 commit intoAug 20, 2026
Merged
Conversation
This reverts commit 5639ea2. Co-authored-by: Copilot App <[email protected]> Copilot-Session: c76af9f5-7190-41f8-a761-70ba462e9e55
Adam Ratzman (adamint)
requested a review
from James Newton-King (JamesNK)
as a code owner
August 20, 2026 18:01
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 19545Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 19545" |
Contributor
There was a problem hiding this comment.
Pull request overview
Reverts dashboard parent-state projection from replicas while retaining subscriber race synchronization.
Changes:
- Removes replica-derived parent state logic and helpers.
- Removes associated tests and stress scenario.
- Restores direct AppHost resource snapshots.
Show a summary per file
| File | Description |
|---|---|
src/Aspire.Dashboard/ServiceClient/DashboardClient.cs |
Removes replica state projection. |
src/Aspire.Dashboard/Model/ResourceViewModel.cs |
Removes state projection helpers. |
tests/Aspire.Dashboard.Tests/Model/DashboardClientTests.cs |
Removes replica behavior tests and fakes. |
tests/Aspire.Dashboard.Tests/Model/ResourceViewModelTests.cs |
Removes projection cloning test. |
playground/Stress/Stress.AppHost/ReplicaStateStressResource.cs |
Deletes replica stress scenario. |
playground/Stress/Stress.AppHost/AppHost.cs |
Removes stress scenario registration. |
Review details
- Files reviewed: 6/6 changed files
- Comments generated: 1
- Review effort level: Balanced
Contributor
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
James Newton-King (JamesNK)
approved these changes
Aug 20, 2026
Adam Ratzman (adamint)
merged commit Aug 20, 2026
691e8ac
into
microsoft:main
754 of 758 checks passed
This was referenced Aug 25, 2026
Closed
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Description
Reverts #18642 in full, restoring the dashboard's previous parent resource state behavior.
The revert preserves the resource subscription race fix from #19534, which landed afterward in the same code path.
Validation:
Aspire.Dashboard.Tests: 1,540 passed, 0 failedupstream/mainwith no merge conflictsFixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?