Tests are removed from test explorer after changes to test files

Issue Description
Using XUnit when I've made changes to a test file the test explorer loses track of that project whenever I try to run the test suite. I need to press Run Test twice.
Steps to Reproduce
Created a reproduction repo -> https://github.com/niklaswallerstedt/vscode-csharp

Open project in VSCode
Open the Test explorer/pane
Click Run Test

Expected Behavior
The test suite should be present even after changing any test files
Actual Behavior
The test suite is removed.
Tests removed: /Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/bin/Debug/net7.0/vscode-sharp.Tests.dll
Tests are available, running test discovery: /Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/bin/Debug/net7.0/vscode-sharp.Tests.dll
========== Starting test discovery ==========
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.4.5+1caef2f33e (64-bit .NET 7.0.5)
[xUnit.net 00:00:00.28] Discovering: vscode-sharp.Tests
[xUnit.net 00:00:00.31] Discovered: vscode-sharp.Tests
========== Test discovery finished: 1 Tests found in 672,6 ms ==========
========== Starting test run ==========
========== Test run finished: 0 Tests (0 Passed, 0 Failed, 0 Skipped) run in < 1 ms ==========

Logs
C# DevKit - Test Explorer

Created Test Controller
Using vstest from dotnet sdk in [/usr/local/share/dotnet/sdk/7.0.302].
Initialized Test Explorer Server [24602]
Test Store Folder: /Users/niklaswallerstedt/Library/Application Support/Code/User/workspaceStorage/54c755fd08135994bd4823adbcf90b38/ms-dotnettools.csdevkit
Test data store opened in 0,074 sec.
Initialized project system provider.
1 projects added, 0 changed, 0 removed.
Scheduling discovery: /Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/bin/Debug/net7.0/vscode-sharp.Tests.dll [1692869137660]
========== Starting test discovery ==========
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.4.5+1caef2f33e (64-bit .NET 7.0.5)
[xUnit.net 00:00:00.30]   Discovering: vscode-sharp.Tests
[xUnit.net 00:00:00.32]   Discovered:  vscode-sharp.Tests
========== Test discovery finished: 1 Tests found in 888,1 ms ==========
1 tests discovered from /Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/bin/Debug/net7.0/vscode-sharp.Tests.dll in 888.0868 ms
========== Starting test run ==========
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.4.5+1caef2f33e (64-bit .NET 7.0.5)
[xUnit.net 00:00:00.28]   Starting:    vscode-sharp.Tests
[xUnit.net 00:00:00.31]   Finished:    vscode-sharp.Tests
========== Test run finished: 1 Tests (1 Passed, 0 Failed, 0 Skipped) run in 324,3 ms ==========
Tests removed: /Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/bin/Debug/net7.0/vscode-sharp.Tests.dll
Tests are available, running test discovery: /Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/bin/Debug/net7.0/vscode-sharp.Tests.dll
========== Starting test discovery ==========
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.4.5+1caef2f33e (64-bit .NET 7.0.5)
[xUnit.net 00:00:00.28]   Discovering: vscode-sharp.Tests
[xUnit.net 00:00:00.31]   Discovered:  vscode-sharp.Tests
========== Test discovery finished: 1 Tests found in 672,6 ms ==========
========== Starting test run ==========
========== Test run finished: 0 Tests (0 Passed, 0 Failed, 0 Skipped) run in < 1 ms ==========

C# log

Dotnet path: /opt/homebrew/bin/dotnet
Activating C# + C# Dev Kit + C# IntelliCode...
Starting server at /Users/niklaswallerstedt/.vscode/extensions/ms-dotnettools.csharp-2.0.413-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.LanguageServer.dll
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /Users/niklaswallerstedt/.vscode/extensions/ms-dotnettools.csharp-2.0.413-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Remote.Workspaces.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /Users/niklaswallerstedt/.vscode/extensions/ms-dotnettools.csharp-2.0.413-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.CSharp.Workspaces.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /Users/niklaswallerstedt/.vscode/extensions/ms-dotnettools.csharp-2.0.413-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.CSharp.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /Users/niklaswallerstedt/.vscode/extensions/ms-dotnettools.csharp-2.0.413-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Razor.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /Users/niklaswallerstedt/.vscode/extensions/ms-dotnettools.csharp-2.0.413-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Scripting.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /Users/niklaswallerstedt/.vscode/extensions/ms-dotnettools.csharp-2.0.413-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Workspaces.MSBuild.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /Users/niklaswallerstedt/.vscode/extensions/ms-dotnettools.csharp-2.0.413-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Elfie.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /Users/niklaswallerstedt/.vscode/extensions/ms-dotnettools.csharp-2.0.413-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /Users/niklaswallerstedt/.vscode/extensions/ms-dotnettools.csharp-2.0.413-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.CSharp.Features.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /Users/niklaswallerstedt/.vscode/extensions/ms-dotnettools.csharp-2.0.413-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Workspaces.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /Users/niklaswallerstedt/.vscode/extensions/ms-dotnettools.csharp-2.0.413-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.AnalyzerUtilities.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /Users/niklaswallerstedt/.vscode/extensions/ms-dotnettools.csharp-2.0.413-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Features.dll added to workspace.
[Info  - 11:27:19] [Program]Language server initialized
[LanguageServerHost][09:27:18.513][Start]initialize
[LanguageServerHost][09:27:18.514][Start]Initialize
[LanguageServerHost][09:27:18.570][End]Initialize
[LanguageServerHost][09:27:18.587][End]initialize
[LanguageServerHost][09:27:19.168][Start]initialized
[LanguageServerHost][09:27:19.252][End]initialized
[LanguageServerHost][09:27:19.254][Start]textDocument/didOpen
[LanguageServerHost]didOpen for file:///Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs
[LanguageServerHost][09:27:19.258][End]textDocument/didOpen
[LanguageServerHost][09:27:19.260][Start]serviceBroker/connect
[BrokeredServiceTraceListener]ServiceBroker Information: 1 :
[BrokeredServiceTraceListener]SameProcess proffered brokered service(s): Microsoft.VisualStudio.RemoteBrokeredServiceManifest (0.2).
[BrokeredServiceTraceListener]ServiceBroker Information: 1 :
[BrokeredServiceTraceListener]SameProcess proffered brokered service(s): Microsoft.VisualStudio.GlobalBrokeredServiceContainer.MissingServiceDiagnostics (1.0).
[BrokeredServiceTraceListener]ServiceBroker Information: 1 :
[BrokeredServiceTraceListener]SameProcess proffered brokered service(s): Microsoft.ServiceHub.Framework.AuthorizationService.
[LanguageServerHost]Could not find 'file:///Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs'.  Searched Host
[BrokeredServiceTraceListener]ServiceBroker Information: 1 :
[BrokeredServiceTraceListener]SameProcess proffered brokered service(s): Microsoft.CodeAnalysis.LanguageServer.ManagedHotReloadLanguageService (0.1), Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1), Microsoft.VisualStudio.LanguageServices.WorkspaceProjectFactoryService, Microsoft.CodeAnalysis.LanguageServer.IHelloWorld (0.1).
[Microsoft.CodeAnalysis.LanguageServer.BrokeredServices.BrokeredServiceBridgeProvider]Setting up brokered service bridge
[BrokeredServiceTraceListener]ServiceBroker Start: 0 :
[BrokeredServiceTraceListener]Requesting proxy to "helloServiceHubDotNetHost (0.1)"
[BrokeredServiceTraceListener]ServiceBroker Warning: 3 :
[BrokeredServiceTraceListener]Brokered service "helloServiceHubDotNetHost (0.1)" has no proffering source and no package registered to load.
[BrokeredServiceTraceListener]ServiceBroker Warning: 2 :
[BrokeredServiceTraceListener]Request for proxy to "helloServiceHubDotNetHost (0.1)" is declined: ServiceFactoryNotProffered.
[BrokeredServiceTraceListener]ServiceBroker Stop: 0 :
[BrokeredServiceTraceListener]Requesting proxy to "helloServiceHubDotNetHost (0.1)"
[LanguageServerHost][09:27:19.347][Start]textDocument/diagnostic
[LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=0
[LanguageServerHost]Processing 1 documents
[LanguageServerHost][09:27:19.377][Start]workspace/diagnostic
[LanguageServerHost]PublicWorkspacePullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=0
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace MiscellaneousFiles
[LanguageServerHost][09:27:19.388][Start]textDocument/documentSymbol
[LanguageServerHost]Processing 0 documents
[LanguageServerHost]Closing workspace/diagnostics request
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicWorkspacePullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][09:27:19.391][End]workspace/diagnostic
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace MiscellaneousFiles
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace MiscellaneousFiles
[LanguageServerHost][09:27:19.395][Start]textDocument/semanticTokens/range
[LanguageServerHost][09:27:19.395][Start]textDocument/inlayHint
[BrokeredServiceTraceListener]ServiceBroker Information: 0 :
[BrokeredServiceTraceListener]Added local RPC method "handshake" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker)
[BrokeredServiceTraceListener]ServiceBroker Information: 0 :
[BrokeredServiceTraceListener]Added local RPC method "requestServiceChannel" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker)
[BrokeredServiceTraceListener]ServiceBroker Information: 0 :
[BrokeredServiceTraceListener]Added local RPC method "cancelServiceRequest" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.CancelServiceRequestAsync(Guid) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker)
[BrokeredServiceTraceListener]ServiceBroker Information: 0 :
[BrokeredServiceTraceListener]Added local RPC method "dispose" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.Dispose() (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker)
[BrokeredServiceTraceListener]ServiceBroker Information: 0 :
[BrokeredServiceTraceListener]Added local RPC method "handshake" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker)
[BrokeredServiceTraceListener]ServiceBroker Information: 0 :
[BrokeredServiceTraceListener]Added local RPC method "requestServiceChannel" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker)
[BrokeredServiceTraceListener]ServiceBroker Information: 0 :
[BrokeredServiceTraceListener]Added local RPC method "cancelServiceRequest" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.CancelServiceRequestAsync(Guid) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker)
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Listening for events from Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.AvailabilityChanged to raise notification.
[BrokeredServiceTraceListener]ServiceBroker Information: 3 :
[BrokeredServiceTraceListener]Listening started.
[BrokeredServiceTraceListener]ServiceBroker Information: 7 :
[BrokeredServiceTraceListener]{"id":2,"method":"handshake"}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 7 :
[BrokeredServiceTraceListener]Received: {
"jsonrpc": "2.0",
"id": 2,
"method": "handshake",
"params": [
{
"supportedConnections": "IpcPipe",
"localServiceHost": {
"operatingSystem": 2,
"processArchitecture": 3,
"runtime": 2,
"runtimeVersion": "7.0.10"
}
}
]
}
[BrokeredServiceTraceListener]ServiceBroker Information: 6 :
[BrokeredServiceTraceListener]Received request "2" for method "handshake".
[BrokeredServiceTraceListener]ServiceBroker Information: 9 :
[BrokeredServiceTraceListener]Invoking Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken)
[BrokeredServiceTraceListener]ServiceBroker Start: 0 :
[BrokeredServiceTraceListener]handshake
[LanguageServerHost][09:27:19.433][End]textDocument/inlayHint
[BrokeredServiceTraceListener]ServiceBroker Stop: 0 :
[BrokeredServiceTraceListener]handshake
[BrokeredServiceTraceListener]ServiceBroker Information: 8 :
[BrokeredServiceTraceListener]{"id":2}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 8 :
[BrokeredServiceTraceListener]Sent: {
"jsonrpc": "2.0",
"id": 2,
"result": null
}
[BrokeredServiceTraceListener]ServiceBroker Information: 0 :
[BrokeredServiceTraceListener]Added local RPC method "availabilityChanged" -> _proxy_Microsoft.ServiceHub.Framework.IRemoteServiceBroker_d4796e2d-12d3-4246-8e94-acbc98154f05.OnAvailabilityChanged(BrokeredServicesChangedEventArgs) (_proxy_Microsoft.ServiceHub.Framework.IRemoteServiceBroker_d4796e2d-12d3-4246-8e94-acbc98154f05)
[BrokeredServiceTraceListener]ServiceBroker Information: 1 :
[BrokeredServiceTraceListener]IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.
[BrokeredServiceTraceListener]ServiceBroker Information: 1 :
[BrokeredServiceTraceListener]OtherProcessOnSameMachine proffered brokered service(s): vs-intellicode-base-models (0.1), Microsoft.VisualStudio.Debugger.ManagedHotReloadService (0.1), Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1), Microsoft.CodeAnalysis.LanguageClient.SolutionSnapshotProvider (0.1), helloServiceHubDotNetHost (0.1).
[BrokeredServiceTraceListener]ServiceBroker Information: 3 :
[BrokeredServiceTraceListener]Listening started.
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for "helloServiceHubDotNetHost (0.1)" will be fulfilled by OtherProcessOnSameMachine
[BrokeredServiceTraceListener]ServiceBroker Start: 0 :
[BrokeredServiceTraceListener]Requesting proxy to "helloServiceHubDotNetHost (0.1)"
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for "helloServiceHubDotNetHost (0.1)" will be fulfilled by OtherProcessOnSameMachine
[BrokeredServiceTraceListener]ServiceBroker Information: 7 :
[BrokeredServiceTraceListener]{"id":3,"method":"requestServiceChannel"}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 7 :
[BrokeredServiceTraceListener]Received: {
"jsonrpc": "2.0",
"id": 3,
"method": "requestServiceChannel",
"params": [
{
"name": "Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest",
"version": "0.1"
},
{
"clientCulture": "sv",
"clientUICulture": "sv"
}
]
}
[BrokeredServiceTraceListener]ServiceBroker Information: 6 :
[BrokeredServiceTraceListener]Received request "3" for method "requestServiceChannel".
[BrokeredServiceTraceListener]ServiceBroker Information: 8 :
[BrokeredServiceTraceListener]{"id":2,"method":"handshake"}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 8 :
[BrokeredServiceTraceListener]Sent: {
"traceparent": "00-b580bb568f59ac4a9c4bfffe487b6ea4-ed91ccd0311c6b41-01",
"jsonrpc": "2.0",
"id": 2,
"method": "handshake",
"params": [
{
"supportedConnections": "Multiplexing, IpcPipe",
"localServiceHost": {
"operatingSystem": 2,
"processArchitecture": 3,
"runtime": 2,
"runtimeVersion": "7.0.5"
}
}
]
}
[BrokeredServiceTraceListener]ServiceBroker Information: 9 :
[BrokeredServiceTraceListener]Invoking Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)
[BrokeredServiceTraceListener]ServiceBroker Start: 0 :
[BrokeredServiceTraceListener]requestServiceChannel
[BrokeredServiceTraceListener]ServiceBroker Transfer: 0 :
[BrokeredServiceTraceListener]Transfer, relatedActivityId=7f8b63b8-ec6a-4b8d-95dc-745dd3a47a89
[BrokeredServiceTraceListener]ServiceBroker Start: 0 :
[BrokeredServiceTraceListener]Requesting pipe to "Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1)"
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for "Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1)" will be fulfilled by SameProcess
[BrokeredServiceTraceListener]ServiceBroker Information: 7 :
[BrokeredServiceTraceListener]{"id":2}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 7 :
[BrokeredServiceTraceListener]Received: {
"jsonrpc": "2.0",
"id": 2,
"result": null
}
[BrokeredServiceTraceListener]ServiceBroker Information: 11 :
[BrokeredServiceTraceListener]Received result for request "2".
[BrokeredServiceTraceListener]ServiceBroker Transfer: 0 :
[BrokeredServiceTraceListener]Transfer, relatedActivityId=ad5f72e1-3a37-44cf-ae3d-7d388d3d5995
[BrokeredServiceTraceListener]ServiceBroker Start: 0 :
[BrokeredServiceTraceListener]Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService"
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for "Microsoft.ServiceHub.Framework.AuthorizationService" will be fulfilled by SameProcess
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for proxy to "Microsoft.ServiceHub.Framework.AuthorizationService" is Fulfilled by SameProcess: NoExplanation.
[BrokeredServiceTraceListener]ServiceBroker Stop: 0 :
[BrokeredServiceTraceListener]Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService"
[BrokeredServiceTraceListener]ServiceBroker Transfer: 0 :
[BrokeredServiceTraceListener]Transfer, relatedActivityId=7f8b63b8-ec6a-4b8d-95dc-745dd3a47a89
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace MiscellaneousFiles
[LanguageServerHost][09:27:19.487][Start]textDocument/foldingRange
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for pipe to "Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1)" is Fulfilled by SameProcess: NoExplanation.
[BrokeredServiceTraceListener]ServiceBroker Stop: 0 :
[BrokeredServiceTraceListener]Requesting pipe to "Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1)"
[BrokeredServiceTraceListener]ServiceBroker Transfer: 0 :
[BrokeredServiceTraceListener]Transfer, relatedActivityId=9cabab4e-aaaa-4847-9097-e3f32181d8d3
[BrokeredServiceTraceListener]ServiceBroker Information: 8 :
[BrokeredServiceTraceListener]{"id":3,"method":"requestServiceChannel"}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 8 :
[BrokeredServiceTraceListener]Sent: {
"traceparent": "00-b580bb568f59ac4a9c4bfffe487b6ea4-d8ef04cbc23b8748-01",
"jsonrpc": "2.0",
"id": 3,
"method": "requestServiceChannel",
"params": [
{
"name": "helloServiceHubDotNetHost",
"version": "0.1"
},
{
"clientCredentials": {},
"clientCulture": "en-US",
"clientUICulture": "en-US"
}
]
}
[LanguageServerHost]Found 0 diagnostics for DocumentDiagnosticSource: /Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs in Miscellaneous Files
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][09:27:19.511][End]textDocument/diagnostic
[LanguageServerHost][09:27:19.542][End]textDocument/foldingRange
[BrokeredServiceTraceListener]ServiceBroker Stop: 0 :
[BrokeredServiceTraceListener]requestServiceChannel
[BrokeredServiceTraceListener]ServiceBroker Information: 8 :
[BrokeredServiceTraceListener]{"id":3}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 8 :
[BrokeredServiceTraceListener]Sent: {
"jsonrpc": "2.0",
"id": 3,
"result": {
"requestId": "b8c8926d-5735-4def-bc93-a6aa37237c1a",
"pipeName": "/var/folders/6v/y7d32h_909xc8vnqyw9tpd3h0000gn/T/02ca935c1b0c42f7a0bb8ffd26e5e509",
"isEmpty": false
}
}
[Microsoft.CodeAnalysis.LanguageServer.BrokeredServices.Services.BrokeredServiceBridgeManifest.BrokeredServiceBridgeManifest]Proffered services: Microsoft.CodeAnalysis.LanguageServer.ManagedHotReloadLanguageService (0.1),Microsoft.VisualStudio.LanguageServices.WorkspaceProjectFactoryService,Microsoft.CodeAnalysis.LanguageServer.IHelloWorld (0.1)
[LanguageServerHost][09:27:19.757][End]textDocument/documentSymbol
[LanguageServerHost][09:27:19.822][End]textDocument/semanticTokens/range
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace MiscellaneousFiles
[LanguageServerHost][09:27:19.849][Start]textDocument/codeLens
[LanguageServerHost][09:27:19.857][End]textDocument/codeLens
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace MiscellaneousFiles
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace MiscellaneousFiles
[LanguageServerHost][09:27:20.245][Start]codeLens/resolve
[LanguageServerHost][09:27:20.246][Start]codeLens/resolve
[LanguageServerHost][09:27:20.372][End]codeLens/resolve
[LanguageServerHost][09:27:20.375][End]codeLens/resolve
[BrokeredServiceTraceListener]ServiceBroker Information: 7 :
[BrokeredServiceTraceListener]{"id":3}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 7 :
[BrokeredServiceTraceListener]Received: {
"jsonrpc": "2.0",
"id": 3,
"result": {
"requestId": "1e90bb93-a0a0-44ab-9c83-4529b1b54ad4",
"multiplexingChannelId": 4
}
}
[BrokeredServiceTraceListener]ServiceBroker Information: 11 :
[BrokeredServiceTraceListener]Received result for request "3".
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for proxy to "helloServiceHubDotNetHost (0.1)" is Fulfilled by OtherProcessOnSameMachine: NoExplanation.
[BrokeredServiceTraceListener]ServiceBroker Stop: 0 :
[BrokeredServiceTraceListener]Requesting proxy to "helloServiceHubDotNetHost (0.1)"
[Microsoft.CodeAnalysis.LanguageServer.BrokeredServices.Services.HelloWorld.RemoteHelloWorldProvider]Response from remote: Hello, C#! - with love from ServiceHub running on .NET
[LanguageServerHost][09:27:20.973][End]serviceBroker/connect
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace MiscellaneousFiles
[LanguageServerHost][09:27:21.351][Start]textDocument/diagnostic
[LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=1
[LanguageServerHost]Processing 1 documents
[LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: /Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs in Miscellaneous Files
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][09:27:21.356][End]textDocument/diagnostic
[LanguageServerHost][09:27:21.421][Start]workspace/diagnostic
[LanguageServerHost]PublicWorkspacePullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=0
[LanguageServerHost]Processing 0 documents
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace MiscellaneousFiles
[LanguageServerHost][09:27:21.740][Start]textDocument/codeLens
[LanguageServerHost][09:27:21.740][End]textDocument/codeLens
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace MiscellaneousFiles
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace MiscellaneousFiles
[LanguageServerHost][09:27:22.143][Start]codeLens/resolve
[LanguageServerHost][09:27:22.144][End]codeLens/resolve
[LanguageServerHost][09:27:22.144][Start]codeLens/resolve
[LanguageServerHost][09:27:22.144][End]codeLens/resolve
[BrokeredServiceTraceListener]ServiceBroker Information: 7 :
[BrokeredServiceTraceListener]{"id":4,"method":"requestServiceChannel"}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 7 :
[BrokeredServiceTraceListener]Received: {
"jsonrpc": "2.0",
"id": 4,
"method": "requestServiceChannel",
"params": [
{
"name": "Microsoft.VisualStudio.LanguageServices.WorkspaceProjectFactoryService"
},
{
"clientCredentials": {},
"clientCulture": "sv",
"clientUICulture": "sv"
}
],
"traceparent": "00-f79ccdbca975224382aff0df95972766-3570917e0544804d-00"
}
[BrokeredServiceTraceListener]ServiceBroker Information: 6 :
[BrokeredServiceTraceListener]Received request "4" for method "requestServiceChannel".
[BrokeredServiceTraceListener]ServiceBroker Information: 9 :
[BrokeredServiceTraceListener]Invoking Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)
[BrokeredServiceTraceListener]ServiceBroker Transfer: 0 :
[BrokeredServiceTraceListener]Transfer, relatedActivityId=2a95af1c-7085-41ea-80e1-de84ebde0382
[BrokeredServiceTraceListener]ServiceBroker Start: 0 :
[BrokeredServiceTraceListener]requestServiceChannel
[BrokeredServiceTraceListener]ServiceBroker Transfer: 0 :
[BrokeredServiceTraceListener]Transfer, relatedActivityId=7eb6784c-2d83-4305-a306-1cc906fe1c3c
[BrokeredServiceTraceListener]ServiceBroker Start: 0 :
[BrokeredServiceTraceListener]Requesting pipe to "Microsoft.VisualStudio.LanguageServices.WorkspaceProjectFactoryService"
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for "Microsoft.VisualStudio.LanguageServices.WorkspaceProjectFactoryService" will be fulfilled by SameProcess
[BrokeredServiceTraceListener]ServiceBroker Transfer: 0 :
[BrokeredServiceTraceListener]Transfer, relatedActivityId=ab378dac-e118-4068-a046-3fe21b5759d2
[BrokeredServiceTraceListener]ServiceBroker Start: 0 :
[BrokeredServiceTraceListener]Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService"
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for "Microsoft.ServiceHub.Framework.AuthorizationService" will be fulfilled by SameProcess
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for proxy to "Microsoft.ServiceHub.Framework.AuthorizationService" is Fulfilled by SameProcess: NoExplanation.
[BrokeredServiceTraceListener]ServiceBroker Stop: 0 :
[BrokeredServiceTraceListener]Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService"
[BrokeredServiceTraceListener]ServiceBroker Transfer: 0 :
[BrokeredServiceTraceListener]Transfer, relatedActivityId=7eb6784c-2d83-4305-a306-1cc906fe1c3c
[BrokeredServiceTraceListener]ServiceBroker Transfer: 0 :
[BrokeredServiceTraceListener]Transfer, relatedActivityId=48ff5bff-31c5-44f7-bb76-1952b6ab7f7b
[BrokeredServiceTraceListener]ServiceBroker Start: 0 :
[BrokeredServiceTraceListener]Requesting proxy to "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1)"
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1)" will be fulfilled by OtherProcessOnSameMachine
[BrokeredServiceTraceListener]ServiceBroker Information: 8 :
[BrokeredServiceTraceListener]{"id":4,"method":"requestServiceChannel"}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 8 :
[BrokeredServiceTraceListener]Sent: {
"traceparent": "00-ff5bff48c531f744bb761952b6ab7f7b-2a544dd871d5c84c-01",
"jsonrpc": "2.0",
"id": 4,
"method": "requestServiceChannel",
"params": [
{
"name": "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService",
"version": "0.1"
},
{
"clientCredentials": {},
"clientCulture": "en-US",
"clientUICulture": "en-US"
}
]
}
[BrokeredServiceTraceListener]ServiceBroker Information: 7 :
[BrokeredServiceTraceListener]{"id":4}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 7 :
[BrokeredServiceTraceListener]Received: {
"jsonrpc": "2.0",
"id": 4,
"result": {
"requestId": "d0fd4512-274d-4f29-9f47-9625f2a31a62",
"multiplexingChannelId": 6
}
}
[BrokeredServiceTraceListener]ServiceBroker Information: 11 :
[BrokeredServiceTraceListener]Received result for request "4".
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for proxy to "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1)" is Fulfilled by OtherProcessOnSameMachine: NoExplanation.
[BrokeredServiceTraceListener]ServiceBroker Stop: 0 :
[BrokeredServiceTraceListener]Requesting proxy to "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1)"
[BrokeredServiceTraceListener]ServiceBroker Transfer: 0 :
[BrokeredServiceTraceListener]Transfer, relatedActivityId=7eb6784c-2d83-4305-a306-1cc906fe1c3c
[BrokeredServiceTraceListener]ServiceBroker Information: 2 :
[BrokeredServiceTraceListener]Request for pipe to "Microsoft.VisualStudio.LanguageServices.WorkspaceProjectFactoryService" is Fulfilled by SameProcess: NoExplanation.
[BrokeredServiceTraceListener]ServiceBroker Stop: 0 :
[BrokeredServiceTraceListener]Requesting pipe to "Microsoft.VisualStudio.LanguageServices.WorkspaceProjectFactoryService"
[BrokeredServiceTraceListener]ServiceBroker Transfer: 0 :
[BrokeredServiceTraceListener]Transfer, relatedActivityId=2a95af1c-7085-41ea-80e1-de84ebde0382
[BrokeredServiceTraceListener]ServiceBroker Stop: 0 :
[BrokeredServiceTraceListener]requestServiceChannel
[BrokeredServiceTraceListener]ServiceBroker Transfer: 0 :
[BrokeredServiceTraceListener]Transfer, relatedActivityId=bccd9cf7-75a9-4322-82af-f0df95972766
[BrokeredServiceTraceListener]ServiceBroker Information: 8 :
[BrokeredServiceTraceListener]{"id":4}
[BrokeredServiceTraceListener]ServiceBroker Verbose: 8 :
[BrokeredServiceTraceListener]Sent: {
"jsonrpc": "2.0",
"id": 4,
"result": {
"requestId": "a4411bb1-0f97-4d0c-a79f-17cf36aacec9",
"pipeName": "/var/folders/6v/y7d32h_909xc8vnqyw9tpd3h0000gn/T/9a52704f3c554cee8aeb53a9c3fec698",
"isEmpty": false
}
}
[LanguageServerHost]Closing workspace/diagnostics request
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicWorkspacePullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][09:27:22.749][End]workspace/diagnostic
[Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.ProjectInitializationHandler]Devkit project initialization completed
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:24.747][Start]textDocument/diagnostic
[LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=1
[LanguageServerHost]Processing 1 documents
[LanguageServerHost][09:27:24.754][Start]workspace/diagnostic
[LanguageServerHost]PublicWorkspacePullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=0
[LanguageServerHost]Processing 0 documents
[LanguageServerHost]Closing workspace/diagnostics request
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicWorkspacePullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][09:27:24.756][End]workspace/diagnostic
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:25.122][Start]textDocument/codeLens
[LanguageServerHost][09:27:25.129][End]textDocument/codeLens
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:25.511][Start]codeLens/resolve
[LanguageServerHost][09:27:25.511][Start]codeLens/resolve
[LanguageServerHost][09:27:25.700][End]codeLens/resolve
[LanguageServerHost][09:27:25.700][End]codeLens/resolve
[LanguageServerHost]Found 4 diagnostics for DocumentDiagnosticSource: /Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs in vscode-sharp.Tests
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][09:27:26.649][End]textDocument/diagnostic
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:26.743][Start]textDocument/diagnostic
[LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=1
[LanguageServerHost]Processing 1 documents
[LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: /Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs in vscode-sharp.Tests
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][09:27:26.744][End]textDocument/diagnostic
[LanguageServerHost][09:27:26.759][Start]workspace/diagnostic
[LanguageServerHost]PublicWorkspacePullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=0
[LanguageServerHost]Processing 0 documents
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:27.122][Start]textDocument/codeLens
[LanguageServerHost][09:27:27.122][End]textDocument/codeLens
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:27.501][Start]codeLens/resolve
[LanguageServerHost][09:27:27.501][Start]codeLens/resolve
[LanguageServerHost][09:27:27.502][End]codeLens/resolve
[LanguageServerHost][09:27:27.502][End]codeLens/resolve
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:44.320][Start]textDocument/documentHighlight
[LanguageServerHost][09:27:44.335][End]textDocument/documentHighlight
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:44.577][Start]textDocument/codeAction
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:44.693][Start]textDocument/codeLens
[LanguageServerHost][09:27:44.693][End]textDocument/codeLens
[LanguageServerHost][09:27:44.754][End]textDocument/codeAction
[LanguageServerHost][09:27:45.010][Start]textDocument/didChange
[LanguageServerHost][09:27:45.017][End]textDocument/didChange
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:45.018][Start]textDocument/diagnostic
[LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=1
[LanguageServerHost]Processing 1 documents
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:45.021][Start]textDocument/completion
[LanguageServerHost]Closing workspace/diagnostics request
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicWorkspacePullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][09:27:45.046][End]workspace/diagnostic
[LanguageServerHost][09:27:45.074][Start]textDocument/didChange
[LanguageServerHost][09:27:45.076][End]textDocument/didChange
[LanguageServerHost]textDocument/diagnostic - Canceled
[LanguageServerHost][09:27:45.079][End]textDocument/diagnostic
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:45.086][Start]textDocument/diagnostic
[LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=0
[LanguageServerHost]Processing 1 documents
[LanguageServerHost][09:27:45.105][End]textDocument/completion
[LanguageServerHost]Found 4 diagnostics for DocumentDiagnosticSource: /Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs in vscode-sharp.Tests
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][09:27:45.145][End]textDocument/diagnostic
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:45.222][Start]textDocument/semanticTokens/range
[LanguageServerHost][09:27:45.226][End]textDocument/semanticTokens/range
[LanguageServerHost][09:27:45.308][Start]textDocument/didChange
[LanguageServerHost][09:27:45.309][End]textDocument/didChange
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:45.319][Start]textDocument/diagnostic
[LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=1
[LanguageServerHost]Processing 1 documents
[LanguageServerHost]Found 4 diagnostics for DocumentDiagnosticSource: /Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs in vscode-sharp.Tests
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][09:27:45.377][End]textDocument/diagnostic
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:45.457][Start]textDocument/semanticTokens/range
[LanguageServerHost][09:27:45.459][End]textDocument/semanticTokens/range
[LanguageServerHost][09:27:45.482][Start]textDocument/didChange
[LanguageServerHost][09:27:45.482][End]textDocument/didChange
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:45.493][Start]textDocument/diagnostic
[LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=1
[LanguageServerHost]Processing 1 documents
[LanguageServerHost]Found 4 diagnostics for DocumentDiagnosticSource: /Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs in vscode-sharp.Tests
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][09:27:45.543][End]textDocument/diagnostic
[LanguageServerHost][09:27:45.564][Start]textDocument/didChange
[LanguageServerHost][09:27:45.564][End]textDocument/didChange
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:45.565][Start]textDocument/diagnostic
[LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=1
[LanguageServerHost]Processing 1 documents
[LanguageServerHost]Found 4 diagnostics for DocumentDiagnosticSource: /Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs in vscode-sharp.Tests
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][09:27:45.619][End]textDocument/diagnostic
[LanguageServerHost][09:27:45.629][Start]textDocument/didChange
[LanguageServerHost][09:27:45.630][End]textDocument/didChange
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:45.630][Start]textDocument/diagnostic
[LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=1
[LanguageServerHost]Processing 1 documents
[LanguageServerHost]Found 4 diagnostics for DocumentDiagnosticSource: /Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs in vscode-sharp.Tests
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][09:27:45.688][End]textDocument/diagnostic
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:45.781][Start]textDocument/semanticTokens/range
[LanguageServerHost][09:27:45.783][End]textDocument/semanticTokens/range
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:45.884][Start]textDocument/codeAction
[LanguageServerHost][09:27:45.922][End]textDocument/codeAction
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:45.930][Start]textDocument/foldingRange
[LanguageServerHost][09:27:45.931][End]textDocument/foldingRange
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:46.005][Start]textDocument/codeLens
[LanguageServerHost][09:27:46.006][End]textDocument/codeLens
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:46.155][Start]textDocument/documentSymbol
[LanguageServerHost][09:27:46.156][End]textDocument/documentSymbol
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:46.385][Start]codeLens/resolve
[LanguageServerHost][09:27:46.385][Start]codeLens/resolve
[LanguageServerHost][09:27:46.387][End]codeLens/resolve
[LanguageServerHost][09:27:46.387][End]codeLens/resolve
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:46.882][Start]textDocument/inlayHint
[LanguageServerHost][09:27:46.882][End]textDocument/inlayHint
[LanguageServerHost][09:27:46.999][Start]workspace/didChangeWatchedFiles
[LanguageServerHost][09:27:47.000][End]workspace/didChangeWatchedFiles
[LanguageServerHost][09:27:47.053][Start]workspace/diagnostic
[LanguageServerHost]PublicWorkspacePullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=0
[LanguageServerHost]Processing 0 documents
[LanguageServerHost]Closing workspace/diagnostics request
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicWorkspacePullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][09:27:47.054][End]workspace/diagnostic
[LanguageServerHost][09:27:49.056][Start]workspace/diagnostic
[LanguageServerHost]PublicWorkspacePullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=0
[LanguageServerHost]Processing 0 documents
[LanguageServerHost]/Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs found in workspace Host
[LanguageServerHost][09:27:56.834][Start]textDocument/diagnostic
[LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=1
[LanguageServerHost]Processing 1 documents
[LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: /Users/niklaswallerstedt/Development/reproduction/vscode-csharp/tests/vscode-sharp.Tests/UnitTest1.cs in vscode-sharp.Tests
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][09:27:56.834][End]textDocument/diagnostic

@dibarbet I believe this would move to CDK and not in this run test scope, correct?

yup closed in favor of https://github.com/microsoft/vscode-dotnettools/issues/460


Option to only include unique categories in the feed

Is it possible to add an option to only enumerate unique items from a post's categories and tags?
Input
---
layout: post
categories: ["Category", "Sub-category"]
tags: ["Tag1", "Tag2", "Category"]
---

Expected feed.xml
<category term="Category"/>
<category term="Sub-category"/>
<category term="Tag1"/>
<category term="Tag2"/>

Actual feed.xml
The item Category is enumerated twice.
<category term="Category"/>
<category term="Sub-category"/>
<category term="Tag1"/>
<category term="Tag2"/>
<category term="Category"/>

Since the feed renders the same XML tag for items in both site.categories and site.tags, I think this is a bug due to oversight and not a missing feature.
What do you think, @parkr ?

Did you have a chance to look at this, @ashmaroli, @parkr et al?

Would be nice if you could comment on this feature/bug, @ashmaroli / @parkr. :)


AC: CenterNet support

Support of CenterNet ctdet_dlav0 trained on coco

@jkamelin, please provide also update readme for added functionality (adapter/README.md, preprocessing/README.md)


ExpandedType Package - Error when you have comments in inline type

I got error when analyze the code
Error:

[expand-types-plugin]: Looks like you've hit an error in third party plugin: expand-types-plugin. Please try to create a minimal reproduction and inform the author of the expand-types-plugin plugin.

 SyntaxError: Invalid regular expression: //** The name. */
    name?/: Nothing to repeat
    at new RegExp (<anonymous>)
    at /node_modules/cem-plugin-expanded-types/dist/index.js:56:7
    at Array.forEach (<anonymous>)
    at getObjectTypes (/node_modules/cem-plugin-expanded-types/dist/index.js:54:9)
    at getExpandedType (/node_modules/cem-plugin-expanded-types/dist/index.js:42:63)
    at /node_modules/cem-plugin-expanded-types/dist/index.js:46:30
    at Array.map (<anonymous>)
    at getUnionTypes (/node_modules/cem-plugin-expanded-types/dist/index.js:46:16)
    at getExpandedType (/node_modules/cem-plugin-expanded-types/dist/index.js:40:12)
    at getTypeValue (/node_modules/cem-plugin-expanded-types/dist/index.js:149:12)

    at withErrorHandling (/node_modules/@custom-elements-manifest/analyzer/src/utils/index.js:67:11)
    at /node_modules/@custom-elements-manifest/analyzer/src/create.js:104:7
    at Array.forEach (<anonymous>)
    at visitNode (/node_modules/@custom-elements-manifest/analyzer/src/create.js:103:19)
    at visitNodes (/Users/arfmy/Projects/cem-tools-test/node_modules/typescript/lib/typescript.js:29004:30)
    at Object.forEachChild (/Users/arfmy/Projects/cem-tools-test/node_modules/typescript/lib/typescript.js:29243:24)
    at visitNode (/node_modules/@custom-elements-manifest/analyzer/src/create.js:109:8)
    at analyze (/node_modules/@custom-elements-manifest/analyzer/src/create.js:100:3)
    at /node_modules/@custom-elements-manifest/analyzer/src/create.js:51:5
    at Array.forEach (<anonymous>)

This is the code being analyze.
import { html, LitElement } from 'lit';
import { customElement, state } from 'lit/decorators.js';

/**
 * The test element.
 */
@customElement('my-test')
export class Test extends LitElement {

  /** The data. */
  @state() data?: {
    /** The name. */
    name?: string,
    /** The type. */
    type?: string,
    /** The value. */
    value?: number,
  };

  render() {
    return html`
${JSON.stringify(this.data)}

`
  }
}

It is because of i put comment on the Type declaration, if i remove the comments in the data type, it would working properly.
If i move the inline type as it own type, it also working fine.

Great catch! Let me take a look and see if I can find a solution. Thank you!

It looks like this is working for me. You may need to update your decorator. I also recommend defining your types and exporting them, so they can be used in the consumer's app.
import { html, LitElement } from 'lit';
import { customElement, property } from 'lit/decorators.js';

export type DataSet = {
    /** The name. */
    name?: string,
    /** The type. */
    type?: string,
    /** The value. */
    value?: number,
  };

/**
 * The test element.
 */
@customElement('my-test')
export class Test extends LitElement {

  /** The data. */
  @property({ attribute: false }) data?: DataSet;

  render() {
    return html`
${JSON.stringify(this.data)}

`
  }
}

Right now, on my side, it would be ok for me to delete the comments in the type anyway.
But since I was adding this plugin to CEM on existing codebase, i would hope it would work out of the box without me debugging what is producing the error (In my case, i need to check the component code 1 by 1 to get the minimal error production). I think this would be the same case on new consumer of this plugin and might consider this plugin broken and will avoid to use this good plugin.

I was able to find the issue and deployed the fix in v1.1.4. Let me know if you run into any other issues.

I'm closing this for now. Let me know if anything else comes up.


Support HTTP Basic & Token authentication schemes

Tilapia is currently hard-wired to use HMAC authentication, but it should be flexible to support both HTTP Basic & Token authentication. Both will be needed by the web UI.

Available in 0.3.0


How to install the software

I am interested to work with openLEADR for demand-side management purposes, but how to install the software in python? I just want some steps (manual) on how it will work.
How VTN will trigger, is there any web interface has been made for this where user can see the graphical user interface?
please respond to me, I am highly interested to explore open ADR.

There is no GUI and OpenLEADR is not ready-to-run software.
I might develop a small "demo" application with a GUI that you can run sometime next year, but the main focus will be on making the underlying package better.

Thanks for replying, recently I watched your video on youtube where you explaining how to work in open ADR through python.
a good example you provided flexible devices and nonflexible devices control.
I have a question, I would like to create a simple event for controlling the power devices by keeping ven side (raspberry pi) which can trigger the power devices along through python just what you described on youtube.
Is it okay to use that open source code open ADR by python?
give me confirmation

Sure, feel free to use what you saw in the YouTube video. You'll also find many examples and snippets in our documentation. If you run into any trouble, please let me know by adding to this issue. Good luck!

Thank you so much.I will stay connect with to you , and I am going to install the platform on Linux (ubuntu).
Can you tell me which version do I need to install because I have windows based os so I will work through virtual box ,which ubuntu version will required ?
please clarify.

You can use openleadr with Windows as well if you want.
(I'm not sure what your skill level is and if you already have python installed, so I will try to give you the basic steps here. Please follow up if anything is unclear.)

First, check if you have the correct Python version installed in Windows. Open cmd.exe and run python --version. You should have at least version 3.7, but 3.8 or 3.9 are recommended. If this command does not work, check if you have Python installed and check if Python is appended to your windows PATH. If it is not, you can run the installer again and make sure you check the box at the bottom that says "Add Python 3.X to PATH". More info is here.
You then install the openleadr package using pip by running python -m pip install openleadr.
You then create a new python file (don't call it openleadr.py, but call it something else like ven.py).
In that file, you can begin building your VEN by importing from the openleadr package (from openleadr import OpenADRClient). Please see the documentation for examples.
You can then run your VEN using the command python ven.py.
The same goes for the VTN, you put the VTN code in a separate file (like vtn.py), and run it side-by-side from a second cmd.exe window.

If you want to use Ubuntu, I'm using Ubuntu 18.04, but if you're picking one right now, you should use the latest (20.04), which also includes an up-to-date version of Python I believe. If you want Linux instructions, let me know.

Thanks for the update.
On my pc, I have installed it already in python (version 3.8.5).
second, for ubuntu, I have windows based operating system so I have installed a virtual box that runs the ubuntu 20.4 LTS.
For the third Linux based I have no idea that.
please recommend me which I have I should go for, please make sure all security concern should matter on high priority means if I am running this software on windows or ubuntu.
so you can give me better advice which os I should choose?

Let's clear up some confusion first:

Ubuntu is a version of Linux. It sounds like you may not be familiar with ubuntu/linux yet? If that is the case, I would recommend starting development on Windows first, since then you only have one thing to learn at once.
Your python code will work on both Windows and Ubuntu (Linux) equally well. You can (mostly) write a python program, and run it and test it on Windows, and then use those same files on Ubuntu or your Raspberry Pi.

You would be well off to start developing your application on Windows, since you are already familiar with that. That would be my recommendation. You can later transfer the python files to your raspberry pi (which runs Raspbian, which is also Linux), and run them on there.

Okay great.
I am going to start installing software before reading the documentation. if I failed or facing any trouble, I will inform you.
there is another way to talk with you email I'd...
actually, if I faced any problem share any confidential information on this platform.

You can also reach me at<EMAIL_ADDRESS>if you want to take this discussion off this page. Thanks!

okay, thanks.

Hii,
I was running the code only basic try to connect server client to check. but given URL is giving error.
see what I have a run a code.
for ven code.
import asyncio
from openleadr import OpenADRClient
client=OpenADRClient(ven_name='myven',vtn_url='http://some-vtn.com/OpenADR2/Simple/2.0b')
loop=asyncio.get_event_loop()
loop.create_task(client.run())
loop.run_forever()

for vtn code.
import asyncio
from openleadr import OpenADRServer
server=OpenADRServer(vtn_id='myvtn')
loop=asyncio.get_event_loop()
loop.create_task(server.run_async())
loop.run_forever()

errors pop up.
In ven terminal side
Could not connect to a server with URL http://some-vtn.com/OpenADR2/Simple/2.0b:
ClientConnectorError: Cannot connect to host some-vtn.com:80 SSL:default [getaddrinfo failed]
No VEN ID received from the VTN, aborting.
in vtn terminal side
raise OSError(err.errno, 'error while attempting '
OSError: [Errno 10013] error while attempting to bind on address ('<IP_ADDRESS>', 8080): an attempt was made to access a socket in a way forbidden by its access permissions
please help me for this show to solve

Okay there are two problems here:

You configured your VEN to connect to some-vtn.com, which obviously does not exist. You must use the correct VTN url there. If you are connecting to a localhost VTN, your vtn_url should be http://localhost:8080/OpenADR2/Simple/2.0b. This is also printed by the VTN when it starts up by the way.
Apparently the VTN cannot bind port 8080 on your computer; either something else is already bound to that port, or your machine is configured in a way that you are not allowed to bind ports.

From these questions, it seems like this may be your first time building this kind of application? My best advice is: take it slow. Try to go step by step, there's a lot of learning still left to do. Try to understand the error messages.
The VEN already told you what the problem was: it could not connect to some-vtn.com, which should make you think: "why is it trying to connect to this specific address anyway? It should be connecting to a VEN that I'm running on my local machine, which is localhost, not some-vtn.com".
The VTN also gave you a helpful error, at least if you know what is going on. The VTN includes a web server that tries to listen on a port (in this case port 8080 on your local machine, which is <IP_ADDRESS>), and the operating system tells you that you cannot use that port. This is a negotiation between your application and the Operating System. The OS keeps track of all the ports that are in use and which applications are listening on them. It also manages which applications are allowed to bind to a certain port.
If any of these terms are unfamiliar to you, please look them up.

see I am going very slowly, I just want to run basic code which can connect ven and vtn then afterwards I will take step by step to add more steps just like I haven't added any certificates no keys till yet no handling event till yet. just want to run the two codes.
can you help me with that?

I detected the error , but I changed the URL address http://localhost:8080/OpenADR2/Simple/2.0b but same error is coming.

I have to change the port number also, can you tell me if there is more lines that need to be added in the above two codes.

I don't have the time to take you through every single step, but this should work:
# ven.py

import asyncio
from openleadr import OpenADRClient

client = OpenADRClient(ven_name='myven',
                       vtn_url='http://localhost:8181/OpenADR2/Simple/2.0b')

loop = asyncio.get_event_loop()
loop.create_task(client.run())
loop.run_forever()

#vtn.py

import asyncio
from openleadr import OpenADRClient

server = OpenADRServer(vtn_id='myvtn',
                       http_port=8181)

loop=asyncio.get_event_loop()
loop.create_task(server.
run_async())
loop.run_forever()

Then, you first start up the server (vtn.py). If that still gives the OSError, you need to fix that first. I cannot help you with that; there must be some configuration that prevents you from binding to a port. I've not seen that happen myself, but it's probably some security setting.
If the VTN has started, it will print the URL that it is reachable at.
Then, you can start the VEN. It should be able to connect to the VTN, and then the VTN will show a warning that you haven't yet configured a on_create_party_registration handler, and it will reject the client.
The VEN will then tell you that it did not receive a venID from the VTN, and that's that.

yes, it works. Thanks.
I understand your time is very important. I will do the following steps.
I have some questions
I have installed the zip file of openleadr and created a folder by the name of openADR (folder name) and pasted in that folder with extracted and I have created two files name as vtn and ven,so these two files should be inside that unzip folded which openleadr?
Thanks

Hello,
I am trying to create a registration for ven, but when I am executing the code I am not getting any ven id. I had already created the handler line in the van code. please have a look and help me.
for vtn code...
import asyncio
from openleadr import OpenADRServer

async def on_create_party_registration(registration_info):
    if registration_info['ven_name'] == 'ven123':
        ven_id='ven_id_123'
        registration_id = 'reg_id_123'
        return ven_id,registration_id
    else:
        return False

server = OpenADRServer(vtn_id='myvtn',http_port=8181)
server.add_handler('on_create_party_registration',on_create_party_registration)

loop=asyncio.get_event_loop()
loop.create_task(server.run_async())
loop.run_forever()

After running in the terminal I am getting no error just getting output URL link where it shows in web page 404 error.
for ven code I am struggling, please check in this one...
import asyncio
from openleadr import OpenADRClient
client = OpenADRClient(ven_name='ven123',vtn_url='http://localhost:8181/OpenADR2/Simple/2.0b')

loop = asyncio.get_event_loop()
loop.create_task(client.run())
loop.run_forever()

sir, please help me with that

for ven, I have edited,
import asyncio
from openleadr import OpenADRClient
client = OpenADRClient(ven_name='ven123',vtn_url='http://localhost:8181/OpenADR2/Simple/2.0b')
async def on_create_party_registration(http_pull_model=True,xml_signature=False,report_only=False,profile_name='2.0b',transport_name='simpleHttp',transport_address='http://localhost', ven_id=None):
    loop = asyncio.get_event_loop()
    loop.create_task(client.run())
    loop.run_forever()

but nothing works
please help me out..........

Hello,
I am trying to create a registration for ven, but when I am executing the code I am not getting any ven id. I had already created the handler line in the van code. please have a look and help me.
for vtn code...
import asyncio
from openleadr import OpenADRServer

async def on_create_party_registration(registration_info):
    if registration_info['ven_name'] == 'ven123':
        ven_id='ven_id_123'
        registration_id = 'reg_id_123'
        return ven_id,registration_id
    else:
        return False

server = OpenADRServer(vtn_id='myvtn',http_port=8181)
server.add_handler('on_create_party_registration',on_create_party_registration)

loop=asyncio.get_event_loop()
loop.create_task(server.run_async())
loop.run_forever()

After running in the terminal I am getting no error just getting output URL link where it shows in web page 404 error.
for ven code I am struggling, please check in this one...
import asyncio
from openleadr import OpenADRClient
client = OpenADRClient(ven_name='ven123',vtn_url='http://localhost:8181/OpenADR2/Simple/2.0b')

loop = asyncio.get_event_loop()
loop.create_task(client.run())
loop.run_forever()

This code looks fine to me. I ran this exact code on my machine and it works as it should. After starting the VTN and the VEN, you don't see any more text in your terminal. If you want more debugging information, you should enable the default logging, as described in the docs.
For now, I advise you to modify your VTN and VEN as follows:
#vtn.py

import asyncio
from openleadr import OpenADRServer, enable_default_logging

enable_default_logging()

...

#ven.py

import asyncio
from openleadr import OpenADRClient, enable_default_logging

enable_default_logging()

This wil now print the following information in your terminal after you start:
python vtn.py

********************************************************************************
                       Your VTN Server is now running at
                   http://<IP_ADDRESS>:8181/OpenADR2/Simple/2.0b
********************************************************************************

Responding to oadrCreatePartyRegistration with a oadrCreatedPartyRegistration message: {'ven_id': 'ven_id_123', 'registration_id': 'reg_id_123', 'profiles': [{'profile_name': '2.0b', 'transports': [{'transport_name': 'simpleHttp'}]}], 'requested_oadr_poll_freq': datetime.timedelta(seconds=10), 'vtn_id': 'myvtn', 'response': {'request_id': '5ee44e10-4547-4692-b517-5e37f2fd984e', 'response_code': 200, 'response_description': 'OK'}, 'request_id': 'a2a9f3ea-ec94-492e-bc17-91018138ed01'}.
Responding to oadrPoll with a oadrResponse message: {'vtn_id': 'myvtn', 'ven_id': 'ven_id_123', 'response': {'request_id': None, 'response_code': 200, 'response_description': 'OK'}, 'request_id': 'd87328f9-5dcc-420a-b60e-4195d3d90e00'}.
Responding to oadrPoll with a oadrResponse message: {'vtn_id': 'myvtn', 'ven_id': 'ven_id_123', 'response': {'request_id': None, 'response_code': 200, 'response_description': 'OK'}, 'request_id': 'fd22f696-8017-4139-8d8e-b9e3250b6dd0'}.

python ven.py
VEN is now registered with ID ven_id_123
The polling frequency is 0:00:10

Thanks, it works for me now.
In the youtube video that you have shown, I am following the same steps but do you think that I supposed to more work on the code.
and still, the server is shown on the website as code 404 error found. this is because no GUI is created yet? Is It?
I need to create an event after successful registration, do I need any raspberry pie just like what you have done in the video?

and still, the server is shown on the website as code 404 error found. this is because no GUI is created yet? Is It?

The server shows a URL that the VEN is supposed to connect to. It's what you enter as the vtn_url parameter in your VEN. It is not a website or GUI. In fact, the URL as shown does not exist, it is just a base URL that the OpenADRClient appends the service name to. So a full URL would be something like http://<IP_ADDRESS>:8181/OpenADR2/Simple/2.0b/oadrPoll, which only accepts POST requests. There is nothing you can do with a web browser in OpenADR. As I said in the first comment:

There is no GUI and OpenLEADR is not ready-to-run software.

About creating events:

I need to create an event after successful registration, do I need any raspberry pie just like what you have done in the video?

You don't need a Raspberry Pi to create an event. You can do it all in the same script that you are building. That script can be run on your Windows PC, on a Ubuntu PC, on a Raspberry Pi, whatever you want.
You still seem very confused about all the concepts that are in play to set this up. I really don't have time to guide you through every step.
The basic concept is this:

The VEN connects to the VTN with a ven_name.
The VTN assigns a VenID to the client (in your case, that is ven_id_123.
The VTN creates an Event that the VEN can pick up. To do that, in your vtn.py, you call server.add_event(...) with the appropriate arguments. This will create an event, and the VEN will pick that up when it does a oadrPoll.
When the VEN receives the event, it tries to call your on_event handler on the VEN. This works just like the on_create_party_registration handler on the VTN side.

Please, please, PLEASE try to read some of the documentation that I prepared. I really made an effort to explain what you are supposed to do.

Thank you so much for guiding me. see I am a learner, so I am trying to do every step but I am not a good programmer where I can't understand everything which is posted in the manual.
I am trying to follow the video and then documentation will try to complete all the steps.
And for help, I don't think so except this site no one posted a single question on google.so I can't take any references.
That's why I am asking questions when I am stuck somewhere in the code.


How to inject auth globally and then use .scope?

i have this code
async def init_auth(app: FastAPI) -> None:
    logger.info("Auth: Configuring connection to {0}", repr(AUTH0_DOMAIN))
    app.state.auth0_client = Auth0(domain=AUTH0_DOMAIN)
    logger.info("Auth: Connection configured")

def _get_client(request: Request) -> Auth0:
    return request.app.state.auth0_client

def get_auth() -> Callable:
    return _get_client

init_auth is triggered on  app.add_event_handler("startup", init_auth(application))
then this code does work
@router.get("/something",
            response_model=Any,
            dependencies=[
                Depends(get_auth)
            ]
            )
async def get_something(
        request: Request
):
return []

i would like to use auth.scope("read:something") with Depends but i can't seem to make it work
def get_auth_scoped(
        *,
        scope_name: str,
        client: Auth0 = Depends(get_auth)
) -> Callable:
    return client.scope(scope_name=scope_name)

and
@router.get("/something",
            response_model=Any,
            dependencies=[
                Depends(get_auth_scoped(scope_name="read:something"))
            ]
            )
async def get_something(
        request: Request
):
return []

it results in a AttributeError: 'Depends' object has no attribute 'scope'
what am i missing here? please help?

we've found a different and an easier way as documentation suggests

@spawn-guy sorry for late response.
would you mind post your solution for other user?

even though we migrated to fastapi-auth0 (although i wanted to use this one as this one has support for a few jwt issuers) - we've decided to not to instantiate it as a dependency injection, but as a "global" namespaced instance
file: app/core/auth.py
from fastapi_cloudauth import Auth0
auth0 = Auth0(domain=domain=AUTH0_DOMAIN)

then in another route we can use it as
from app.core.auth import auth0

@router.get("/something",
            response_model=Any,
            dependencies=[
                Depends(auth0.scope("read:something"))
            ]
            )
async def get_something(
        request: Request
):
    return []

This issue is closed, but I still have a question and faced with exact problem, so how to use Cognito instance as a part of app context. Any thoughts?

it's been some time, so i don't recall many things, but
@tivaliy try the snippet above. but replace Auth0 with Cognito.

@spawn-guy,
Thank you for the response, but the idea in my case is to use exact approach you mentioned in the very beginning fo this thread.

@spawn-guy,
Thank you for the response, but the idea in my case is to use exact approach you mentioned in the very beginning of this thread.

Well, good luck. Let us know when/if you will figure it out


Small modifications to envVar

Correct the equation in calcM to use pressure in mbar instead of torr (I think this is the only place where pressure is used, but need to double check) and rename BOUNDARYLAYERHEIGHT to BLHEIGHT.

So this latest change makes it fail on Mac (I understand why, and have worked around it on my own Mac, but need to implement a better fix so that Travis can run it successfully).
@rs028 As this is going to be more than one commit, can you move the latest commit to a new branch, to separate it from the other parts of this PR?

This should be fairly simple:
git checkout master
git checkout -b mod_makefile
git cherry-pick check_envvar
This should create a new branch mod_makefile, and then steal that one commit.  That new branch can then be pushed as a new PR.

And once that is done, you'll need to re-update this PR by
git checkout check_envvar
git push --force
which will remove the latest commit here.


pattern ui/dist/*: no matching files found

I am trying to run kexp locally on machine, but when, running the backend service using make back-run-dev it return this error
$ make back-run-dev
go run /home/ubuntu/kexp/main.go --host <IP_ADDRESS> --port 8090
main.go:65:12: pattern ui/dist/*: no matching files found
make: *** [Makefile:9: back-run-dev] Error 1
does anyone have an idea ? the ui/dist folder doesn't exist.
Thanks

Oh, good catch! Running make build-dev before make back-run-dev mitigates the issue, that's why I didn't spot it earlier. Should be fixed now. Thanks for reporting!


Revert "build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /src/go"

Reverts SumoLogic/sumologic-kubernetes-tools#630d due to CI  errors

@sumo-drosiek what kind of errors are you trying to prevent here?

This one, but closing as main is building correctly now


[Core] New feature : User Interface to "Detect" Feed from an URL

Detect Action has been expanded to support returning a Feed in a JSON
format instead of a Redirect. Existing usage of the Detect action will
keep working as usual.
Frontpage template has now a section to display the Feed detection
result, and a button to start the Feed Detection.
An information is displayed if a Feed is found or not, to let know that even if there are no Feed found, or one Feed found, there may be other Feed available using the classical Feed creation.
A new JS file contains the necessary JS (Ajax and Event management) to
fill the Feed Detection section.
Feel Free to comment and suggest changes !

I have no opinion on this tbh. I dont really understand the use case or which type of user would benefit from this, so ... no opinion

I have no opinion on this tbh. I dont really understand the use case or which type of user would benefit from this, so ... no opinion

The not techy user of a public instance could get a feed from an existing URL, without having to enter the parameters manually in the Bridge card.

just so you know, the existing search bar searches for url too as defined in the bridge

I know it filters on the URL doing the write :)

2. use the modern `fetch()` instead of oldschool ajax

I'm not a big fan of Javascript Promise, but I will use fetch instead of Ajax !

3. i like the feature but looks kinda ugly on the front page. it's a ux challenge

That's the purpose of this PR :D
Would it be better with a separate page ? or a separate section on the front page ?
How would you enhance the existing UX ?

4. possibly create a completely new _action_ instead of entangling it with the `Detect` action.

Ok !

5. there is template literals which are ES6 if we are brave: https://caniuse.com/?search=template%20literal

If I stick to a "Dynamic  page" approach, I will use template literals to get a more readable code !

6. ideally the detect feature and the new feature in this pr should support returning multiple results

I will create a new action, so I will allow to return multiple results !

7. this detect feature should return an absolute url starting with `https://` but i understand the prev behaviour also not do that

OK, I will change to absolute URL in the new action !

8. the frontend code could be improved. will become difficult to maintain if it grows

Can you be more precise ?

9. check out `Json::encode()`

OK ! I was not aware of this class !

I like the idea, just pasting a website link and getting a rss-bridge link would be nice.

Me too :D

I tried to use it with a YouTube channel link but it didn't create any feed. Is this only the groundwork? Do bridges have to add a detection method? How would such a method look like? Some documentation should be added then.

I'm using the existing feature of some bridges. They implement the function detectParameters that is already documented :
https://github.com/RSS-Bridge/rss-bridge/blob/master/docs/05_Bridge_API/02_BridgeAbstract.md#detectparameters
You can test it for example with the TikTok bridge :)

I agree with the review of dvikan, and want to add some more points:
1. If you stick to using the existing DetectAction (which I slightly oppose), you should at least reuse the existing `format` URI parameter, instead of creating a new `output` parameter. Having `...&format=Html&output=json&...` gets confusing real quick.

This PR currently requires significant rewrites. I would be glad if you tackle the criticized points :)

I will use a different action, to not complicate DetectAction !

So, I have followed almost all recommendation !
The only recommendation I did not understand was :

the frontend code could be improved. will become difficult to maintain if it grows

Can you help me to understand what you mean here ?


[2.0.2] *: update operate-schema

What is changed, added, or deleted? (Required)

align with https://github.com/pingcap/dm/pull/1506
Which DM version(s) do your changes apply to? (Required)

[x] master (the latest development version, including v3.0 changes)
[x] v2.0 (TiDB DM 2.0 versions)
[ ] v1.0 (TiDB DM 1.0 versions)

What is the related PR or file link(s)?

This PR is translated from:
Other reference link(s):

Do your changes match any of the following descriptions?

[ ] Delete files
[ ] Change aliases
[ ] Need modification after applied to another branch
[ ] Might cause conflicts after applied to another branch

/cc @GMHDBJD

/label needs-cherry-pick-2.0
/translation no-need
/status PTAL
/cc @CharLotteiu

/lgtm

/retitle [2.0.2] *: update operate-schema

/cc @yikeke

/merge


User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.1 Safari/603.1.30.
Every HTML element in the body, not those in the head. And guaranteed only to be a descendant, not necessarily a child.

I agree to both points. Also, talking about property inheritance isn't necessary for this challenge. How about:
When HTML elements are placed one level below another they are called children of that element. For example, the button elements in this challenge with the text "#target1", "#target2", and "#target3" are all children of the <div class="well" id="left-well"> element.
jQuery has a function called children() that allows you to access the children of whichever element you've selected.
Here's an example of how you would use the children() function to give the children of your left-well element the color blue:
$("#left-well").children().css("color", "blue")

Give all the children of your right-well element the color orange.

I'll put a pull request together with those changes. I'm sure it could be improved further though so suggestions would be nice.

I'm new to this, what do we do about other translations?

Thank you. That fix looks good to me.

I'm new to this, what do we do about other translations?

I’m not familiar with how FCC deals with localization.


UI fix in playground

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

@Samit-prsl Hey! Thank you for contributing, but to help out the maintainers can you please fill out the pull request form at the top to connect this PR with the issue.
This will help us assess the fix and will also allow the open issue to be closed automatically once the code has been merged.
If you need any help with this, please let us know!

@Samit-prsl Hey! Thank you for contributing, but to help out the maintainers can you please fill out the pull request form at the top to connect this PR with the issue.
This will help us assess the fix and will also allow the open issue to be closed automatically once the code has been merged.
If you need any help with this, please let us know!

Yes , I had filled in the form , do give it a check

Yes , I had filled in the form , do give it a check

Sorry, perhaps I wasn't clear.  For the linkfree repository, to have a PR considered you must first open an issue and it will go through triage.
Next, once the issue is approved and ready for dev you can submit the PR
in the issue form above, you will want to link the open issue that the PR is for. "closes #issueNumber"

@Samit-prsl what issue is this pull request related to?

@Samit-prsl what issue is this pull request related to?

I worked on according to an issue , regarding the "clarity in the events page".

@Samit-prsl what issue is this pull request related to?

I worked  according to an issue , regarding the "clarity in the events page".

What is the issue number or url please?

Is it this issue? https://github.com/EddieHubCommunity/LinkFree/issues/5337

Thank you for your contribution but it looks like this is related to issue #5337 that was already assigned to someone else and their pull request was merged here https://github.com/EddieHubCommunity/LinkFree/pull/5554
Therefore unfortunately these changes are not required, please read our contributing guidelines so you don't duplicate efforts https://github.com/EddieHubCommunity/LinkFree/blob/main/CONTRIBUTING.md
Any questions let us know.

Is it this issue? https://github.com/EddieHubCommunity/LinkFree/issues/5337

Yes yes

Thank you for your contribution but it looks like this is related to issue #5337 that was already assigned to someone else and their pull request was merged here https://github.com/EddieHubCommunity/LinkFree/pull/5554
Therefore unfortunately these changes are not required, please read our contributing guidelines so you don't duplicate efforts https://github.com/EddieHubCommunity/LinkFree/blob/main/CONTRIBUTING.md
Here are a list of issue not assigned to someone else https://github.com/EddieHubCommunity/LinkFree/issues?q=is%3Aissue+is%3Aopen+no%3Aassignee
Any questions let us know.

Thank you ! I will definitely look forward to contribute in these issues 🙂


added set returning functions for pgfunc

added set returning functions for pgfunc
added type wrapper example
It seems to me that I have almost done everything with pgfunc that can give us interesting features.
General description: pgfunc is a function for making wrappers for postgres functions or loading pllua modules from postgres procedures .
pgfunc is not a kind of  select from wrapper, it works through postgres FunctionCallInvoke.
pgfunc accepts two arguments, function signature and function options( table {only_internal=true, throwable = true} by default).
if only_internal is true, that means that only internal function accepted and no PG_TRY PG_CATCH used inside(throwable value ignored),  simple use case:
do $$
local f = pgfunc("random()")
print(f())
$$ language pllua
-----
INFO:  0.56601480720565

use case with srf:
do $$
local f = pgfunc("generate_series(int,int)")
for v in f(1,5) do
	print(v)
end
$$ language pllua
-----
INFO:  1
INFO:  2
INFO:  3
INFO:  4
INFO:  5

if only_internal is false, that means that we can use almost any function and if throwable is true than function calls will be wrapped by PG_TRY PG_CATCH (if function throws and not marked as throwable that may crash, make throwable = false if you 100% sure that no exception will be thrown)
use case for plpgsql function and in/out values:
CREATE or replace FUNCTION pg_temp.inoutf(a text, INOUT b text, INOUT c text)  AS
$$
begin
b = b||a;
c = c||a;
end
$$
LANGUAGE plpgsql;

do $$
local f = pgfunc('pg_temp.inoutf(text,text,text)', {only_internal = false})
local v = f("test", "this is B ", "this is C ")
print (v.b)
print (v.c)
$$ language pllua
------
INFO:  this is B test
INFO:  this is C test

Using only pgfunc it is possible to add support for postgres types without writing C code. I've added small example to test and put it here:
do $$
local hstore = {
	fromstring = function(text)
		return fromstring('hstore',text)
	end,
	akeys = pgfunc('akeys(hstore)',{only_internal = false}),
	each = pgfunc('each(hstore)',{only_internal = false}) --orig:each(IN hs hstore, OUT key text, OUT value text)
}

local v = hstore.fromstring[[
	"paperback" => "542",
	"publisher" => "postgresql.org",
	"language"  => "English",
	"ISBN-13"   => "978-0000000000",
	"weight"    => "24.1 ounces"
]]

print("--- test print ---")
print(v)
print("--- test  array return function ---")
for k,v in  ipairs(hstore.akeys(v)) do
	print (v)
end
print("--- test Set of record return function ---")
for hv in  hstore.each(v) do
	print ("key = " .. hv.key .. "    value = "..hv.value)
end
 $$ language pllua
INFO:  --- test print ---
INFO:  "weight"=>"24.1 ounces", "ISBN-13"=>"978-0000000000", "language"=>"English", "paperback"=>"542", "publisher"=>"postgresql.org"
INFO:  --- test  array return function ---
INFO:  weight
INFO:  ISBN-13
INFO:  language
INFO:  paperback
INFO:  publisher
INFO:  --- test Set of record return function ---
INFO:  key = weight    value = 24.1 ounces
INFO:  key = ISBN-13    value =<PHONE_NUMBER>000
INFO:  key = language    value = English
INFO:  key = paperback    value = 542
INFO:  key = publisher    value = postgresql.org

Some function properties may be ignored, for example there is no check if function is strict...
Ideas? Questions?

I think we could/should merge this to give it some exposure. Ok?