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
[AspireE2E] Clicking on 'Traces' while the GitHub Copilot Chat window is open will cause the following error: fail: Aspire.Hosting.Dashboard.Model.Assistant.AIContextProvider[0] Error while executing subscriptions. #11923
dotnet new install Aspire.ProjectTemplates::13.0.0 preview.1.25508.8 --force`
REPRO STEPS
Open VS > Create a new project > Aspire Starter App [.NET 10.0, Aspire version 13.0] > Create
Build and F5
Open GHCP
Click Traces > Open CMD
ACTUAL
An error occurred when clicking on Traces while the GHCP window is open
GHCPIssue1.mp4
Error message:
fail: Aspire.Hosting.Dashboard.Model.Assistant.AIContextProvider[0]
Error while executing subscriptions.
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at Aspire.Dashboard.Components.Pages.Traces.<CreateAIContext>b__125_1(IceBreakersBuilder builder, BuildIceBreakersContext context) in /_/src/Aspire.Dashboard/Components/Pages/Traces.razor.cs:line 439
at Aspire.Dashboard.Model.Assistant.AssistantChatViewModel.PopulatePrompts(AIContext context) in /_/src/Aspire.Dashboard/Model/Assistant/AssistantChatViewModel.cs:line 463
at Aspire.Dashboard.Model.Assistant.AssistantChatViewModel.<>c__DisplayClass104_0.<<InitializeCoreAsync>b__8>d.MoveNext() in /_/src/Aspire.Dashboard/Model/Assistant/AssistantChatViewModel.cs:line 414
--- End of stack trace from previous location ---
at Aspire.Dashboard.Model.Assistant.AIContextProvider.ExecuteSubscriptionsAsync(List`1 subscriptions) in /_/src/Aspire.Dashboard/Model/Assistant/AIContextProvider.cs:line 117
EXPECTED
There should be no error when clicking on Traces