You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Flakiness] CookieStore shared acquisition loses a recorded invocation #70697
This content was produced by an automated Copilot CI-flakiness triage run.
Failure
Microsoft.AspNetCore.Components.Platform.Tests.CookieStoreTest.CookieStore_SharesPendingAcquisitionBetweenCallers completed both callers but recorded only one JavaScript invocation instead of two. Retrying the same final-head build record passed.
Possible cause
Both operations resume concurrently when their shared acquisition completes, while the test double records invocations with an unsynchronized List<Invocation>.Add. Concurrent writes can lose an entry even when both production operations complete, matching the exact Expected: 2, Actual: 1 result.
Decision: prototype a test-only thread-safe invocation recorder. This preserves the assertion and production behavior while removing the recorder race.
Activity
github-actions commentedon Nov 18, 2026
Triage Summary
Area:
area-blazor(test lives inMicrosoft.AspNetCore.Components.Platform.Tests)Type:
Bug(preserved)Potential Duplicates