microsoft / microsoft/aspire

[CI Failure] Flaky: DashboardClientTests.SubscribeResources_ReplicaStateOwnedPropertyMetadataChanged_EmitsParentChange fails with Assert.True() Failure

Open
#19,529 1 comment 0 reactions 0 assignees View on GitHub
ci-failure-cause test-failure
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

## Build Information

Build: https://github.com/microsoft/aspire/actions/runs/32327702249
Build error leg or test failing: Tests / Dashboard / Dashboard (ubuntu-latest) / `Aspire.Dashboard.Tests.Model.DashboardClientTests.SubscribeResources_ReplicaStateOwnedPropertyMetadataChanged_EmitsParentChange`
Pull request: #19527

## Error Message

```
Assert.True() Failure
Expected: True
Actual: False
at Aspire.Dashboard.Tests.Model.DashboardClientTests.SubscribeResources_ReplicaStateOwnedPropertyMetadataChanged_EmitsParentChange() in /_/tests/Aspire.Dashboard.Tests/Model/DashboardClientTests.cs:line 740
```

## Description

Flaky: DashboardClientTests.SubscribeResources_ReplicaStateOwnedPropertyMetadataChanged_EmitsParentChange fails with Assert.True() Failure

**Type**: flaky-test

## Occurrences

| Date | Build | Job | PR |
|------|-------|-----|----|
| 2026-08-20 | [32327702249](https://github.com/microsoft/aspire/actions/runs/32327702249) | Tests / Dashboard / Dashboard (ubuntu-latest) | #19527 |

Contributor guide

Open the contributing guide

Research direction

Start with tests/Aspire.Dashboard.Tests/Model/DashboardClientTests.cs at line 740 and the SubscribeResources_ReplicaStateOwnedPropertyMetadataChanged_EmitsParentChange test. Review the failing GitHub Actions run and reproduce the test to identify why Assert.True() sometimes receives false. Done means the test reliably passes in the Dashboard CI job without masking the behavior it verifies.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, github-actions
Domain
ci-cd, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.