Self-hosted agent: A specified logon session does not exist.

Since the beginning of February all tasks that connect to an environment fail on my self-hosted agents. It's working fine on Azure hosted agents. I tried reinstalling the agent, updating pac cli, renewing the pat and tried a different machine altogether, to no avail.
2024-02-12T16:07:35.6834205Z ==============================================================================
2024-02-12T16:07:35.6834310Z Task         : Power Platform Import Solution
2024-02-12T16:07:35.6834374Z Description  : Power Platform Import Solution
2024-02-12T16:07:35.6834431Z Version      : 2.0.51
2024-02-12T16:07:35.6834477Z Author       : Microsoft
2024-02-12T16:07:35.6834530Z Help         : https://aka.ms/buildtoolsdoc Ideas, feedback: https://github.com/microsoft/powerplatform-build-tools/discussions
2024-02-12T16:07:35.6834621Z ==============================================================================
2024-02-12T16:07:35.8241393Z Discovered environment url from explicit input parameter 'Environment': $(BuildTools.EnvironmentUrl)
2024-02-12T16:07:35.8243891Z Discovered Azure DevOps variable expression that needs resolving: $(BuildTools.EnvironmentUrl) -> BuildTools.EnvironmentUrl
2024-02-12T16:07:35.8250327Z Falling back to url from service connection, using: https://xxx.dynamics.com/
2024-02-12T16:07:35.8267553Z [
2024-02-12T16:07:35.8267837Z   'authN to env. authType:SPN authScheme:None; cloudInstance: Public; envUrl: xxx.crm4.dynamics.com/'
2024-02-12T16:07:35.8267989Z ]
2024-02-12T16:07:42.3866530Z [
2024-02-12T16:07:42.3867263Z   "'***' authenticated successfully."
2024-02-12T16:07:42.3867371Z ]
2024-02-12T16:07:43.2104419Z [
2024-02-12T16:07:43.2105208Z   'Sorry, the app encountered a non recoverable error and will need to terminate. The exception details have been captured and will be forwarded to the development team, if telemetry has been enabled. Exception Id: 943d4bd0-bd27-4ee2-a691-e7e1e51fbf49, Exception Type: System.MissingMethodException'
2024-02-12T16:07:43.2105488Z ]
2024-02-12T16:07:43.2116469Z [
2024-02-12T16:07:43.2116831Z   'The diagnostic logs can be found at: D:\\agent\\_work\\_tasks\\PowerPlatformToolInstaller_8015465b-f367-4ec4-8215-8edf682574d3\\2.0.51\\bin\\pac\\tools\\logs\\pac-log.txt'
2024-02-12T16:07:43.2117018Z ]
2024-02-12T16:07:43.3455422Z ##[error]error: 1
2024-02-12T16:07:43.3460709Z ##[error]failed: '***' authenticated successfully.
Sorry, the app encountered a non recoverable error and will need to terminate. The exception details have been captured and will be forwarded to the development team, if telemetry has been enabled. Exception Id: 943d4bd0-bd27-4ee2-a691-e7e1e51fbf49, Exception Type: System.MissingMethodException
The diagnostic logs can be found at: D:\agent\_work\_tasks\PowerPlatformToolInstaller_8015465b-f367-4ec4-8215-8edf682574d3\2.0.51\bin\pac\tools\logs\pac-log.txt
2024-02-12T16:07:45.2634863Z [ 'Authentication profiles and token cache removed' ]
2024-02-12T16:07:45.9025917Z [
2024-02-12T16:07:45.9026543Z   'The Clear Authentication Result: Authentication profiles and token cache removed'
2024-02-12T16:07:45.9026955Z ]
2024-02-12T16:07:45.9028486Z ##[error]Error: '***' authenticated successfully.
Sorry, the app encountered a non recoverable error and will need to terminate. The exception details have been captured and will be forwarded to the development team, if telemetry has been enabled. Exception Id: 943d4bd0-bd27-4ee2-a691-e7e1e51fbf49, Exception Type: System.MissingMethodException
The diagnostic logs can be found at: D:\agent\_work\_tasks\PowerPlatformToolInstaller_8015465b-f367-4ec4-8215-8edf682574d3\2.0.51\bin\pac\tools\logs\pac-log.txt

pac-log.txt:
2024-02-12 16:00:33.1219 | INF | bolt.Session :: Start new session. (sessionId: ae0a30e8-b64f-4510-bf07-855fd927f756; operationId: 465534d75f61b1d4cac37046caa4e0bf; userId: d2d0e262-093f-484e-b2d4-487f252dfd48; nonInteractiveMode: False)
2024-02-12 16:00:33.2350 | INF | bolt.cli.CommandProcessor :: StartExecutingVerb (Verbs: ["auth","create"])
2024-02-12 16:00:33.2750 | INF | bolt.cli.Verb :: Executing verb 'auth create' with arguments --url,--tenant,--applicationId,--clientSecret,--cloud.
2024-02-12 16:00:33.2850 | INF | bolt.cli.CommandLine.VerbExecutor :: PerformAuthenticationAsync - Getting auth profile with following options: { AuthKind = , IsRequired = False, ShowProfileMessages = False, DisableAutoOSLogin = True, SkipValidation = True }
2024-02-12 16:00:33.2850 | INF | bolt.authentication.profiles.FileBasedAuthProfilesManager :: Auth profiles file not found
2024-02-12 16:00:33.2850 | INF | bolt.cli.CommandLine.VerbExecutor :: PerformAuthenticationAsync - Attempting to use OS login for telemetry purposes only.
2024-02-12 16:00:33.2850 | INF | bolt.authentication.store.AuthTokenStore :: TryCreateAuthProfileFromOperatingSystemAsync: Attempting to create OperatingSystem profile
2024-02-12 16:00:33.3050 | INF | bolt.authentication.store.AuthTokenStore :: CreateUniversalAuthProfile: Acquiring token for https://service.powerapps.com/ using authority https://login.microsoftonline.com/organizations for Public cloud
2024-02-12 16:00:33.4311 | ERR | Microsoft.Identity.Client.IPublicClientApplication :: True MSAL <IP_ADDRESS> MSAL.Desktop 4.8 or later Windows 10 Pro [2024-02-12 16:00:33Z] [MSAL:0002]	ERROR  	ErrorInternalImpl:134	Created an error: 9o4uc, StatusInternal::Unexpected, InternalEvent::None, Error Code -2147023584, Context 'Winrt exception was thrown during GetTokenSilently 'A specified logon session does not exist. It may already have been terminated.'.'
2024-02-12 16:00:33.4482 | ERR | Microsoft.Identity.Client.IPublicClientApplication :: True MSAL <IP_ADDRESS> MSAL.Desktop 4.8 or later Windows 10 Pro [2024-02-12 16:00:33Z - 2bd2ebcd-ae17-4d4a-ae5a-87690faa881d] MSAL.Desktop.<IP_ADDRESS>.MsalServiceException:
	ErrorCode: unknown_broker_error
Microsoft.Identity.Client.MsalServiceException: Unknown Status: Unexpected
Error: 0xffffffff80070520
Context: Winrt exception was thrown during GetTokenSilently 'A specified logon session does not exist. It may already have been terminated.'.
Tag: 0x2339e502 (error code -2147023584) (internal error code 590996738)
   at Microsoft.Identity.Client.Internal.Requests.Silent.SilentRequest.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Identity.Client.Internal.Requests.RequestBase.<RunAsync>d__12.MoveNext()
	StatusCode: 0
	ResponseBody:
	Headers:
2024-02-12 16:00:33.4482 | ERR | bolt.authentication.store.AuthTokenStore :: Exception in CreateAuthProfile()|EXCEPTION: MSAL.Desktop.<IP_ADDRESS>.MsalServiceException:
	ErrorCode: unknown_broker_error
Microsoft.Identity.Client.MsalServiceException: Unknown Status: Unexpected
Error: 0xffffffff80070520
Context: Winrt exception was thrown during GetTokenSilently 'A specified logon session does not exist. It may already have been terminated.'.
Tag: 0x2339e502 (error code -2147023584) (internal error code 590996738)
   at Microsoft.Identity.Client.Internal.Requests.Silent.SilentRequest.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Identity.Client.Internal.Requests.RequestBase.<RunAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Identity.Client.ApiConfig.Executors.ClientApplicationBaseExecutor.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.authentication.store.AuthTokenStore.<AcquireTokenAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.authentication.store.AuthTokenStoreBase.<CreateUniversalAuthProfile>d__9.MoveNext()
	StatusCode: 0
	ResponseBody:
	Headers:
2024-02-12 16:00:33.4482 | WRN | bolt.authentication.store.AuthTokenStore :: TryCreateAuthProfileFromOperatingSystemAsync: Failed to create OperatingSystem profile|EXCEPTION: bolt.system.VerbExecutionException: Unknown Status: Unexpected
Error: 0xffffffff80070520
Context: Winrt exception was thrown during GetTokenSilently 'A specified logon session does not exist. It may already have been terminated.'.
Tag: 0x2339e502 (error code -2147023584) (internal error code 590996738) ---> Microsoft.Identity.Client.MsalServiceException: Unknown Status: Unexpected
Error: 0xffffffff80070520
Context: Winrt exception was thrown during GetTokenSilently 'A specified logon session does not exist. It may already have been terminated.'.
Tag: 0x2339e502 (error code -2147023584) (internal error code 590996738)
   at Microsoft.Identity.Client.Internal.Requests.Silent.SilentRequest.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Identity.Client.Internal.Requests.RequestBase.<RunAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Identity.Client.ApiConfig.Executors.ClientApplicationBaseExecutor.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.authentication.store.AuthTokenStore.<AcquireTokenAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.authentication.store.AuthTokenStoreBase.<CreateUniversalAuthProfile>d__9.MoveNext()
   --- End of inner exception stack trace ---
   at bolt.authentication.store.AuthTokenStoreBase.<CreateUniversalAuthProfile>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.authentication.store.AuthTokenStoreBase.<TryCreateAuthProfileFromOperatingSystemAsync>d__8.MoveNext()
MSAL.Desktop.<IP_ADDRESS>.MsalServiceException:
	ErrorCode: unknown_broker_error
Microsoft.Identity.Client.MsalServiceException: Unknown Status: Unexpected
Error: 0xffffffff80070520
Context: Winrt exception was thrown during GetTokenSilently 'A specified logon session does not exist. It may already have been terminated.'.
Tag: 0x2339e502 (error code -2147023584) (internal error code 590996738)
   at Microsoft.Identity.Client.Internal.Requests.Silent.SilentRequest.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Identity.Client.Internal.Requests.RequestBase.<RunAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Identity.Client.ApiConfig.Executors.ClientApplicationBaseExecutor.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.authentication.store.AuthTokenStore.<AcquireTokenAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.authentication.store.AuthTokenStoreBase.<CreateUniversalAuthProfile>d__9.MoveNext()
	StatusCode: 0
	ResponseBody:
	Headers:
2024-02-12 16:00:34.1676 | INF | bolt.module.auth.AuthModule :: Creating UNIVERSAL auth profile
2024-02-12 16:00:34.1806 | INF | System.Net.Http.HttpClient.PowerPlatformCLI.LogicalHandler :: Start processing HTTP request GET https://xxx.crm4.dynamics.com/api/data/v9
2024-02-12 16:00:34.1806 | INF | System.Net.Http.HttpClient.PowerPlatformCLI.ClientHandler :: Sending HTTP request GET https://xxx.crm4.dynamics.com/api/data/v9
2024-02-12 16:00:38.6365 | INF | System.Net.Http.HttpClient.PowerPlatformCLI.ClientHandler :: Received HTTP response headers after 4446.7943ms - 401
2024-02-12 16:00:38.6365 | INF | System.Net.Http.HttpClient.PowerPlatformCLI.LogicalHandler :: End processing HTTP request after 4462.9956ms - 401
2024-02-12 16:00:38.6365 | INF | bolt.authentication.store.AuthTokenStore :: CreateUniversalAuthProfile: Acquiring token for https://service.powerapps.com/ using authority https://login.microsoftonline.com/960bc629-24d2-4d73-933a-7176c9fa629b/ for Public cloud
2024-02-12 16:00:39.2614 | INF | bolt.authentication.store.AuthTokenStore :: AuthenticationFlow=ClientSecret: Token successfully acquired via AuthenticationFlow.ClientSecret.
2024-02-12 16:00:39.2954 | INF | bolt.authentication.store.AuthTokenStore :: CreateAuthProfile: Successfully acquired a token with scopes: https://service.powerapps.com//.default
2024-02-12 16:00:39.2954 | INF | bolt.module.auth.AuthModule :: AuthProfile created
2024-02-12 16:00:39.5248 | INF | bolt.authentication.store.AuthTokenStore :: PreAuthenticateResource: Successfully pre-acquired a token using profile of type Application for resource https://api.advisor.powerapps.com/ with scopes: https://api.advisor.powerapps.com//.default
2024-02-12 16:00:39.7329 | INF | bolt.authentication.store.AuthTokenStore :: PreAuthenticateResource: Successfully pre-acquired a token using profile of type Application for resource https://globaldisco.crm.dynamics.com/ with scopes: https://globaldisco.crm.dynamics.com//.default
2024-02-12 16:00:39.9022 | INF | bolt.authentication.store.AuthTokenStore :: PreAuthenticateResource: Successfully pre-acquired a token using profile of type Application for resource https://xxx.crm4.dynamics.com/ with scopes: https://xxx.crm4.dynamics.com//.default
2024-02-12 16:00:39.9632 | INF | Microsoft.PowerPlatform.Dataverse.Client.ServiceClient :: Attempting to Connect to Uri https://xxx.crm4.dynamics.com/XRMServices/2011/Organization.svc
2024-02-12 16:00:39.9712 | INF | Microsoft.PowerPlatform.Dataverse.Client.ServiceClient :: Organization Service URI is 'https://xxx.crm4.dynamics.com/XRMServices/2011/Organization.svc'
2024-02-12 16:00:39.9712 | INF | Microsoft.PowerPlatform.Dataverse.Client.ServiceClient :: ConnectAndInitService - Requesting connection to Organization with Dataverse Version: No organization data available
2024-02-12 16:00:39.9932 | INF | bolt.authentication.store.AuthTokenStore :: Successfully acquired a token using profile of type Application for scope 'https://xxx.crm4.dynamics.com//.default'
2024-02-12 16:00:40.0193 | INF | Microsoft.PowerPlatform.Dataverse.Client.ServiceClient :: ConnectAndInitService - Proxy created, total elapsed time: 00:00:00.0472540
2024-02-12 16:00:40.0193 | INF | Microsoft.PowerPlatform.Dataverse.Client.ServiceClient :: Direct Login Process Succeeded - duration 00:00:00.0560583
2024-02-12 16:00:40.3443 | INF | bolt.cli.CommandProcessor :: EndExecutingVerb (Success: False, Execution Time(ms): 103)
2024-02-12 16:00:40.3563 | FTL | bolt.Session :: Method not found: 'System.String Microsoft.Xrm.Sdk.Organization.OrganizationDetail.get_SchemaType()'.|EXCEPTION: System.MissingMethodException: Method not found: 'System.String Microsoft.Xrm.Sdk.Organization.OrganizationDetail.get_SchemaType()'.
   at Microsoft.PowerPlatform.Dataverse.Client.ConnectionService.<RefreshInstanceDetails>d__187.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
   at Microsoft.PowerPlatform.Dataverse.Client.ConnectionService.RefreshInstanceDetails(IOrganizationService dvService, Uri uriOfInstance)
   at Microsoft.PowerPlatform.Dataverse.Client.ConnectionService.get_ConnectedOrganizationDetail()
   at bolt.dataverse.client.CdsServiceClient.get_ConnectedOrgFriendlyName()
   at bolt.cli.CdsClientExtensions.ConnectedOrgToSelectedOrganizationInfo(ICdsClient client)
   at bolt.cli.CdsClientConnector.ConnectToEnvironmentImpl(AuthProfile authProfile, Uri environmentUrl, Boolean disableTelemetryAndOutput)
   at bolt.cli.EnvironmentResolver.ResolveOrgDetailsViaDataverseConnection(AuthProfile authProfile, Uri environmentUrl)
   at bolt.cli.EnvironmentResolver.<ResolveEnvironmentLookupSpecAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.module.auth.verbs.AuthCreateVerb.<ResolveSelectedEnvironmentAndValidateConnection>d__29.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.module.auth.verbs.AuthCreateVerb.<ExecuteInternalAsync>d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.module.auth.verbs.AuthCreateVerb.<ExecuteAsync>d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandLine.VerbExecutor.<ExecuteImplAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandLine.VerbExecutor.<>c__DisplayClass8_1.<<ExecuteAsync>b__2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandLine.VerbExecutor.<ExecuteWithTelemetryAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandLine.VerbExecutor.<ExecuteAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.Verb.<>c__DisplayClass11_0.<<RunVerbExecutorAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.Verb.<RunVerbExecutorAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.Verb.<ExecuteWithOutputAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.Verb.<ExecuteAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at bolt.cli.CommandProcessor.<ProcessCommands>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandProcessor.<LaunchCommand>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.ModeManager.<Dispatch>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.Session.<Run>d__14.MoveNext()
2024-02-12 16:00:40.3563 | ERR | bolt.Session ::    at Microsoft.PowerPlatform.Dataverse.Client.ConnectionService.<RefreshInstanceDetails>d__187.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
   at Microsoft.PowerPlatform.Dataverse.Client.ConnectionService.RefreshInstanceDetails(IOrganizationService dvService, Uri uriOfInstance)
   at Microsoft.PowerPlatform.Dataverse.Client.ConnectionService.get_ConnectedOrganizationDetail()
   at bolt.dataverse.client.CdsServiceClient.get_ConnectedOrgFriendlyName()
   at bolt.cli.CdsClientExtensions.ConnectedOrgToSelectedOrganizationInfo(ICdsClient client)
   at bolt.cli.CdsClientConnector.ConnectToEnvironmentImpl(AuthProfile authProfile, Uri environmentUrl, Boolean disableTelemetryAndOutput)
   at bolt.cli.EnvironmentResolver.ResolveOrgDetailsViaDataverseConnection(AuthProfile authProfile, Uri environmentUrl)
   at bolt.cli.EnvironmentResolver.<ResolveEnvironmentLookupSpecAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.module.auth.verbs.AuthCreateVerb.<ResolveSelectedEnvironmentAndValidateConnection>d__29.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.module.auth.verbs.AuthCreateVerb.<ExecuteInternalAsync>d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.module.auth.verbs.AuthCreateVerb.<ExecuteAsync>d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandLine.VerbExecutor.<ExecuteImplAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandLine.VerbExecutor.<>c__DisplayClass8_1.<<ExecuteAsync>b__2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandLine.VerbExecutor.<ExecuteWithTelemetryAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandLine.VerbExecutor.<ExecuteAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.Verb.<>c__DisplayClass11_0.<<RunVerbExecutorAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.Verb.<RunVerbExecutorAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.Verb.<ExecuteWithOutputAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.Verb.<ExecuteAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at bolt.cli.CommandProcessor.<ProcessCommands>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.CommandProcessor.<LaunchCommand>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.cli.ModeManager.<Dispatch>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.Session.<Run>d__14.MoveNext()
2024-02-12 16:00:40.3563 | INF | bolt.Session :: End session. (sessionId: ae0a30e8-b64f-4510-bf07-855fd927f756; ResponseCode: 500)

2024-02-12 16:00:40.4524 | INF | Microsoft.PowerPlatform.Tooling.BatchedTelemetry :: BatchedTransmitter`1.StartUploadProcess Started uploader with process id: 13308
2024-02-12 16:00:41.1421 | INF | bolt.Session :: Product Version: 1.30.5+g0bf9504; File Version: 1.30.5
2024-02-12 16:00:41.1651 | INF | bolt.Session :: Start new session. (sessionId: 1c039caf-84a6-44ae-885c-753c8028120c; operationId: 6fdfa7f2d985c0767d3faa2c99652878; userId: d2d0e262-093f-484e-b2d4-487f252dfd48; nonInteractiveMode: False)
2024-02-12 16:00:41.2792 | INF | bolt.cli.CommandProcessor :: StartExecutingVerb (Verbs: ["auth","clear"])
2024-02-12 16:00:41.3052 | INF | bolt.cli.Verb :: Executing verb 'auth clear' with no arguments.
2024-02-12 16:00:41.3162 | INF | bolt.cli.CommandLine.VerbExecutor :: PerformAuthenticationAsync - Getting auth profile with following options: { AuthKind = , IsRequired = False, ShowProfileMessages = False, DisableAutoOSLogin = True, SkipValidation = True }
2024-02-12 16:00:41.3322 | INF | bolt.authentication.profiles.FileBasedAuthProfilesManager :: Auth profiles file not found
2024-02-12 16:00:41.3322 | INF | bolt.cli.CommandLine.VerbExecutor :: PerformAuthenticationAsync - Attempting to use OS login for telemetry purposes only.
2024-02-12 16:00:41.3322 | INF | bolt.authentication.store.AuthTokenStore :: TryCreateAuthProfileFromOperatingSystemAsync: Attempting to create OperatingSystem profile
2024-02-12 16:00:41.3462 | INF | bolt.authentication.store.AuthTokenStore :: CreateUniversalAuthProfile: Acquiring token for https://service.powerapps.com/ using authority https://login.microsoftonline.com/organizations for Public cloud
2024-02-12 16:00:41.4679 | ERR | Microsoft.Identity.Client.IPublicClientApplication :: True MSAL <IP_ADDRESS> MSAL.Desktop 4.8 or later Windows 10 Pro [2024-02-12 16:00:41Z] [MSAL:0002]	ERROR  	ErrorInternalImpl:134	Created an error: 9o4uc, StatusInternal::Unexpected, InternalEvent::None, Error Code -2147023584, Context 'Winrt exception was thrown during GetTokenSilently 'A specified logon session does not exist. It may already have been terminated.'.'
2024-02-12 16:00:41.4849 | ERR | Microsoft.Identity.Client.IPublicClientApplication :: True MSAL <IP_ADDRESS> MSAL.Desktop 4.8 or later Windows 10 Pro [2024-02-12 16:00:41Z - cff497b0-6681-48ff-8e23-0e7efd1b3292] MSAL.Desktop.<IP_ADDRESS>.MsalServiceException:
	ErrorCode: unknown_broker_error
Microsoft.Identity.Client.MsalServiceException: Unknown Status: Unexpected
Error: 0xffffffff80070520
Context: Winrt exception was thrown during GetTokenSilently 'A specified logon session does not exist. It may already have been terminated.'.
Tag: 0x2339e502 (error code -2147023584) (internal error code 590996738)
   at Microsoft.Identity.Client.Internal.Requests.Silent.SilentRequest.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Identity.Client.Internal.Requests.RequestBase.<RunAsync>d__12.MoveNext()
	StatusCode: 0
	ResponseBody:
	Headers:
2024-02-12 16:00:41.4849 | ERR | bolt.authentication.store.AuthTokenStore :: Exception in CreateAuthProfile()|EXCEPTION: MSAL.Desktop.<IP_ADDRESS>.MsalServiceException:
	ErrorCode: unknown_broker_error
Microsoft.Identity.Client.MsalServiceException: Unknown Status: Unexpected
Error: 0xffffffff80070520
Context: Winrt exception was thrown during GetTokenSilently 'A specified logon session does not exist. It may already have been terminated.'.
Tag: 0x2339e502 (error code -2147023584) (internal error code 590996738)
   at Microsoft.Identity.Client.Internal.Requests.Silent.SilentRequest.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Identity.Client.Internal.Requests.RequestBase.<RunAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Identity.Client.ApiConfig.Executors.ClientApplicationBaseExecutor.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.authentication.store.AuthTokenStore.<AcquireTokenAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.authentication.store.AuthTokenStoreBase.<CreateUniversalAuthProfile>d__9.MoveNext()
	StatusCode: 0
	ResponseBody:
	Headers:
2024-02-12 16:00:41.4889 | WRN | bolt.authentication.store.AuthTokenStore :: TryCreateAuthProfileFromOperatingSystemAsync: Failed to create OperatingSystem profile|EXCEPTION: bolt.system.VerbExecutionException: Unknown Status: Unexpected
Error: 0xffffffff80070520
Context: Winrt exception was thrown during GetTokenSilently 'A specified logon session does not exist. It may already have been terminated.'.
Tag: 0x2339e502 (error code -2147023584) (internal error code 590996738) ---> Microsoft.Identity.Client.MsalServiceException: Unknown Status: Unexpected
Error: 0xffffffff80070520
Context: Winrt exception was thrown during GetTokenSilently 'A specified logon session does not exist. It may already have been terminated.'.
Tag: 0x2339e502 (error code -2147023584) (internal error code 590996738)
   at Microsoft.Identity.Client.Internal.Requests.Silent.SilentRequest.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Identity.Client.Internal.Requests.RequestBase.<RunAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Identity.Client.ApiConfig.Executors.ClientApplicationBaseExecutor.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.authentication.store.AuthTokenStore.<AcquireTokenAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.authentication.store.AuthTokenStoreBase.<CreateUniversalAuthProfile>d__9.MoveNext()
   --- End of inner exception stack trace ---
   at bolt.authentication.store.AuthTokenStoreBase.<CreateUniversalAuthProfile>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.authentication.store.AuthTokenStoreBase.<TryCreateAuthProfileFromOperatingSystemAsync>d__8.MoveNext()
MSAL.Desktop.<IP_ADDRESS>.MsalServiceException:
	ErrorCode: unknown_broker_error
Microsoft.Identity.Client.MsalServiceException: Unknown Status: Unexpected
Error: 0xffffffff80070520
Context: Winrt exception was thrown during GetTokenSilently 'A specified logon session does not exist. It may already have been terminated.'.
Tag: 0x2339e502 (error code -2147023584) (internal error code 590996738)
   at Microsoft.Identity.Client.Internal.Requests.Silent.SilentRequest.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Identity.Client.Internal.Requests.RequestBase.<RunAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Identity.Client.ApiConfig.Executors.ClientApplicationBaseExecutor.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.authentication.store.AuthTokenStore.<AcquireTokenAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at bolt.authentication.store.AuthTokenStoreBase.<CreateUniversalAuthProfile>d__9.MoveNext()
	StatusCode: 0
	ResponseBody:
	Headers:
2024-02-12 16:00:42.5950 | INF | bolt.authentication.store.ServicePrincipalCache :: Clearing service principal cache
2024-02-12 16:00:42.5960 | INF | bolt.authentication.store.ServicePrincipalCache :: Initializing service principal cache
2024-02-12 16:00:42.5960 | INF | bolt.authentication.profiles.FileBasedAuthProfilesManager :: Clear(): Deleting token cache
2024-02-12 16:00:42.9464 | INF | bolt.cli.CommandProcessor :: EndExecutingVerb (Success: True, Execution Time(ms): 660)
2024-02-12 16:00:42.9464 | INF | bolt.Session :: End session. (sessionId: 1c039caf-84a6-44ae-885c-753c8028120c; ResponseCode: 200)

2024-02-12 16:00:43.0411 | INF | Microsoft.PowerPlatform.Tooling.BatchedTelemetry :: BatchedTransmitter`1.StartUploadProcess Started uploader with process id: 14908```

Any help on this?

While "A specified logon session does not exist" is appearing in your logs, that is not the issue.  Those exceptions are logged and caught, but not cancelling the task.
The actual issue occurring is from this section of the logs:
2024-02-12 16:00:40.3563 | FTL | bolt.Session :: Method not found: 'System.String Microsoft.Xrm.Sdk.Organization.OrganizationDetail.get_SchemaType()'.|EXCEPTION: System.MissingMethodException: Method not found: 'System.String Microsoft.Xrm.Sdk.Organization.OrganizationDetail.get_SchemaType()'.
   at Microsoft.PowerPlatform.Dataverse.Client.ConnectionService.<RefreshInstanceDetails>d__187.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
   at Microsoft.PowerPlatform.Dataverse.Client.ConnectionService.RefreshInstanceDetails(IOrganizationService dvService, Uri uriOfInstance)
   at Microsoft.PowerPlatform.Dataverse.Client.ConnectionService.get_ConnectedOrganizationDetail()
   at bolt.dataverse.client.CdsServiceClient.get_ConnectedOrgFriendlyName()

System.MissingMethodException typically indicates a version mismatch between .dll files.
Historically, this issue has happened most often when either old versions of CRM or other tooling would register assemblies in the machine's GAC (Global Assembly Cache), so you may want to check if your self-hosted agent has Microsoft.Xrm.Sdk.dll registered there.


Add "support" for git-daemon-export-ok (#2940)

PR for #2940
This PR adds "support" for git-daemon, I write "support" in quotes because it does it stupidly (i.e. no error-checking outside what is required for Gogs not to crash :smiling_imp:)
I did it this way because actually checking for errors will be a major headache (revert updates, return a nice error-message to the WebUI, translations for said error, etc, etc, etc) and this is not really Gogs job (I would have make a 3rd daemon that polls gogs via rest-api every now and then and update the files appropriately... as you're already running 2 services (gogs + git-daemon) you could just as well run 3...)

Ooh! Gogs doesn't no checks for this file, so when this PR is merged and installed, you still have to add all the files in the correct place, or change the settings twice (to get the original setting back)

@bkcsoft
3rd daemon is something I did not think about. But it has two disadvantages: it lags and can stop working silently. Especially the second is problematic and having it integrated into gogs itself seems to be the right thing.
The fact that I would need to add files manually initially does not bother me (though, if this gets merged I would want an option added in admin panel "regenerate" list to check all repos and add/remove the file appropriately, as it does for other things like .ssh/authorized_keys).

As for error checking, I would probably close it forcefully and ignore any error happening withing Close (no need to check if there were error while opening).

Anything that stops silently without notifying anyone isn't configured correctly :laughing:
Jokes aside, 3rd daemon is error-prone yes. I'm not sure if gogs already have a update-repo button in the admin section, in that case this should already work, otherwise I might add said button at a later time, though I'm in no rush :smile:

About errors, awesome! I'm used to languages that segfault if you close a
broken filedescriptor :laughing:

I am ok with "in good will" solution to add/remove the file as well as with no rush to "reapply to all" in admin panel.
Kim Carlbäcker wrote:

that stops silently without notifying anyone isn't configured

Ah. Sorry. If that's the case, ignore me. I have never thought of such possibility, I live in higher languages world where closing file produces error not unconditional crash.
Kim Carlbäcker wrote:

About errors, awesome! I'm used to languages that segfault if you close a
broken filedescriptor :laughing:
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/gogits/gogs/pull/3046#issuecomment-216234022

There's no issue, golang produces errors only (unlike C). Will fix that and
push a new one :smile:

@Unknwon fixed the strings.Join => path.Join and removed some unnecessary error-checking

Please sign the CLA.

Done. No clue where to sign the CLA :trollface:

Fixed file-checking :smiley:

Thanks!


QCAlgorithm.Indicators.cs bug in Generic RegisterIndicator

Expected Behavior
QCAlgorithm.Indicators.cs
public void RegisterIndicator(Symbol symbol, IndicatorBase indicator, IDataConsolidator consolidator, Func<IBaseData, T> selector = null)
where T : IBaseData
code line 1923
Use selector in Register above mentioned RegisterIndicator Method.
Actual Behavior
RegisterIndicator mentioned above doesnt use the selector when you use a object T which derives from IndicatorDataPoint and throws an exception. also SelectorToUse var is never null.
Potential Solution
either remove var SelectorToUse variable and add an if else to cover the user defined selector or remove the If statement  which creates a normal selector again.
Also ArgumentException thrown there is absolutly wrong.
Reproducing the Problem
Create a Class which derives from IndicatorDataPoint and initialise any Indicator with the selector parameter you want.
System Information
Exception which is thrown is wrong. its hard to tell but it looks like this:
throw new ArgumentException($"Type mismatch found between consolidator and indicator for symbol: {symbol}." +
$"Consolidator outputs type {consolidator.OutputType.Name} but indicator expects input type {type.Name}"
);
Checklist

[x] I have completely filled out this template
[x ] I have confirmed that this issue exists on the current master branch
[x ] I have confirmed that this is not a duplicate issue by searching issues

[x ] I have provided detailed steps to reproduce the issue

Hey @mirinio could you comment a snippet of code you used that would reproduce this issue? Thank you!

Hey @mirinio, closing this issue for now since we tried but weren't able to reproduce. Feel free to reopen providing a code snippet to reproduce it. Thanks!


feat: tag component

Description
Add tag component (https://www.figma.com/file/nPJGejQqgLQfkVMJqhcCeO/Maquettes?node-id=38%3A288).
Changes
Add Tag folder in components.
Linked issues
Closes #21"
Notes
/

Thank you for the review and comments @alex-mngt!
I have done the modifications :)


Type declaration issues

When using this version of the plugin the generated parser code does not compile. The ParserTokenManager declares a private int curChar when it should be a char. This bug does not exist with the original javacc-maven-plugin. I haven't dug deeply to figure out what causes this incompatibility, but maybe an upgrade to JavaCC 7.x would help fix this?

The original javacc-maven-plugin uses JavaCC 5.0 which doesn't even have the DumpStaticVarDeclarations.template file. Also if I look at the official JavaCC 6.1.3 release, it is also int: https://github.com/javacc/javacc/blob/release_6_1_3/src/main/resources/templates/DumpStaticVarDeclarations.template#L13
And additionally int is a broader type than char so I don't see the problem here.
So I think you should adopt to int.
hth, Philip

Ah, but the generated code does not compile! The ParserTokenManager has code that throws a  TokenMgrError, whose constructor takes a char, not an int. This is not merely an issue of personal preference. A code generator should generate code that compiles.
Also, I discovered it is possible to use the original javacc-maven-plugin with JavaCC 7.x with the following config:
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>javacc-maven-plugin</artifactId>
        <version>2.6</version>
        <executions>
          <execution>
            <goals>
              <goal>javacc</goal>
            </goals>
            <configuration>
              <outputDirectory>${basedir}/src/main/java/</outputDirectory>
            </configuration>
          </execution>
        </executions>
        <dependencies>
          <dependency>
            <groupId>net.java.dev.javacc</groupId>
            <artifactId>javacc</artifactId>
            <version>7.0.2</version>
          </dependency>
        </dependencies>
      </plugin>

Okay - I checked with my output in ph-css and there it works fine....
Did you invoke an mvn clean generate-source???? Maybe the JavaCC code was not re-generated????
Do you have a class derived from the generated *TokenManager class??
This plugin has a slightly "fixed" version of 6.1.3 - that's why I integrated the JavaCC sources into the project. It was a mess at the time I integrated it and it is still difficult (having a build.xml and a pom.xml, weird folder structure...).

Solved by using the original JavaCC plugin as configured above.


Increase delay for stats_exporter to send stats

What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
How to test the change?
Describe here in detail how the change can be validated.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 73.78%. Comparing base (dcf22a9) to head (9ae6534).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #659   +/-   ##
=======================================
  Coverage   73.77%   73.78%
=======================================
  Files         257      257
  Lines       37329    37329
=======================================
+ Hits        27541    27542    +1
+ Misses       9788     9787    -1

Components
Coverage Δ

crashtracker
20.41% <ø> (+0.05%)
:arrow_up:

crashtracker-ffi
9.07% <ø> (ø)

datadog-alloc
98.73% <ø> (ø)

data-pipeline
93.33% <100.00%> (ø)

data-pipeline-ffi
0.00% <ø> (ø)

ddcommon
83.08% <ø> (ø)

ddcommon-ffi
69.52% <ø> (ø)

ddtelemetry
59.10% <ø> (ø)

ddtelemetry-ffi
22.13% <ø> (ø)

dogstatsd
90.42% <ø> (ø)

dogstatsd-client
79.77% <ø> (ø)

ipc
83.58% <ø> (ø)

profiling
84.26% <ø> (ø)

profiling-ffi
77.42% <ø> (ø)

serverless
0.00% <ø> (ø)

sidecar
38.19% <ø> (ø)

sidecar-ffi
0.00% <ø> (ø)

spawn-worker
50.36% <ø> (ø)

tinybytes
94.77% <ø> (ø)

trace-mini-agent
72.47% <ø> (ø)

trace-normalization
98.25% <ø> (ø)

trace-obfuscation
95.73% <ø> (ø)

trace-protobuf
77.67% <ø> (ø)

trace-utils
93.46% <ø> (ø)


English Please

Assalmualaikum Brother,
Can We get English Translation.
Jazak Allah

Waealaykum alsalam Brother
I was looking for a reliable source for translated hadiths for a while, but I did not find anything
Whether it's a website I can pull data from or an API I can use
But how will it be used?

Will the user search for a translation of an Arabic hadith he has selected?
Will the user search using a hadith translated into English?

I do not think that there is uniformity of translation, so the second choice is not a flexible option
The first option is possible, but I rely on the Durar Al-Suniya website as the primary source
Unfortunately, he does not have a translation of the hadiths
Rather, all he has is an incomplete translation of some of Bukhari’s hadiths
https://dorar.net/en/ahadith
I think I'll do another round of research to see what's new or what I can use

Assalmualaikum Brother, Jazak Allah for looking into this.

@blueray453 I want to tell you that I found a good site and pulled its data
So, I will add the search in English to the Extension soon
The wonderful thing is that the site allows you to search using Arabic or English text and the results are both Arabic and English
You were the reason that made me research and work hard on it, so thank you very much

Assalmualaikum Brother, Jazak Allah Khair Brother.

@blueray453 take a look here https://github.com/AhmedElTabarani/hadith-checker-extension/releases/tag/v1.6


Stop recording structurally-invalid transactions in txlistdb

If interpret_Transaction fails to decode the payload the transaction is considered structurally-invalid and is no longer written to the list of Omni transactions in levelDB.
Based on discussion in https://github.com/OmniLayer/omnicore/issues/183

It's straight forward, ACK.

I think we should recommend to -startclean?

I think we should recommend to -startclean?

I thought it was time we automated that process - what do you think of https://github.com/OmniLayer/omnicore/pull/187?  Should be pretty self explanatory but in a nutshell increment the definition of DB_VERSION in omnicore.h when submitting changes that need a reparse and the process would then be automated client side.


Iterating over arrays doesn't run as expected in typescript

The typescript code:
const a: number[] = [1, 2, null, 4, 5];
for (let i of a) console.log(i)

will output:
1
2
null
4
5

The code will be transpiled to
local a = {
    1,
    2,
    nil,
    4,
    5
}
for ____, i in ipairs(a) do
    print(i)
end

which will print
1
2

duplicate of #1216

Also, the example in the OP doesn't even compile, a better example is this:
const a: Array<number | null> = [];
a.push(1, 2, null, 3, 4, 5);
for (let i of a) console.log(i)


Fixed dead link in README

https://github.com/NeurodataWithoutBorders/nwb-conversion-tools no longer exists;
https://github.com/catalystneuro/nwb-conversion-tools will work

@wuffi thanks! Who are you?

Hi Ben,
Thanks for merging my pull request.
I just wrote you a short message to introduce myself.
Let me know, if I should follow particular guidelines for contributing.


createWallet is blocking the UI thread on Android

I noticed that BdkRn.createWallet(...) is blocking the UI thread on Android.
Is it something you are aware about?

Yes it is blocking for the first call, calls after the first one are faster. Is that what you have observed as well?
There is an overall effort to reduce the size of the binaries and also some efficiencies in building.
Will wait for that to complete and try again.

This ticket will also help https://github.com/LtbLightning/bdk-rn/issues/12


utils: Add 'sev' in spin_unlock()

Using the global monitor to generate an event on unlock of a spinlock
does not work with the MMU disabled. This fixes a regression from
9c795fbdbf445d144d331ff2a19a0f42fe0fc190 and an incomplete fix from
816388325262e5c7dd681c8ac6392248b6ca9f0e.
Bisected and fix confirmed by Sven.
Signed-off-by: Janne Grunau<EMAIL_ADDRESS>

@akihikodaki please check if this change regresses your use cases. @svenpeter42 and I see without this change a very slow guest execution from the point of m1n1 disables the MMU until some point in the payload (Linux) execution.

@jannau If SEV is necessary anyway, using exclusive lock makes no sense. In theory, it should be simply reverted to the state of commit 9c795fbdbf445d144d331ff2a19a0f42fe0fc190 with a DSB instruction added as described in commit<PHONE_NUMBER>62e5c7dd681c8ac6392248b6ca9f0e.
However, that did not work for me in reality as described in commit<PHONE_NUMBER>62e5c7dd681c8ac6392248b6ca9f0e. On my MacBook Air, WFE missed SEV and waited too long and failed to launch cores when booting HV even with a DSB instruction added. Can you reproduce the problem? Unfortunately I couldn't figure out what is going on so it would be nice if you can reproduce and debug it.

Spinlocks have never worked with the MMU disabled, that's why the iodev code elides them in that case. Under what circumstances are we taking locks with the MMU disabled here? If we are, that needs to be fixed.

Looks like the slowdown are actually caused smp_set_wfe_mode here: If I have no sev in the unlock and the guest m1n1 calls smp_set_wfe_mode everything slows down to a crawl here.
I'll see if I can actually figure out what causes this.

cause is not in the spinlock so this change merely made the symptom disappear

Okay, that makes more sense. The HV is probably interacting badly with the events from the guest. The weird thing is though, the ARM ARM says the event register is set by an exception return so... what gives?

Is this a data ordering bug in smp_set_wfe_mode by any chance? Does it go away if you change the dmb sy there to a dsb sy and/or an isb?

I just pushed a commit that may or may not help things (specifically needed for the guest m1n1), can someone test and see if it helped?

The commit (and additional isb/dsb sy in smp.c) doesn't fix the slowdown.
The issue seems to be that HV m1n1 doesn't get out of the wfe in spin_lock when it should (removing the wfe avoids the issue). Judging by the time in the kernel log we spend the time in the hypervisor (time doesn't progress although it is incredibly slow).

Next idea: s/ldxr/ldaxr/ in spin_lock.

Basically my theory is the CPU is speculating through two loops of ldxr/wfe since ldxr doesn't have acquire semantics, so it doesn't introduce ordering.
ldxr (lock is locked)
    exclusive monitor set
ldxr (speculative, lock is locked)
    exclusive monitor remains set
(lock becomes unlocked here)
    exclusive monitor becomes clear, event set
wfe
    event is cleared
wfe
    stuck```

@marcan I don't think that happens since the loop contains casa. I have not confirmed that though (I broke my x86 PC so I cannot run proxyclient :/)

Ah, but casa may not enforce the acquire semantics if it failed.

no change with ldaxr and even an isb after wfe makes no difference

I rechecked the reference manual and it seems casa always enforce the acquire semantics.

The issue seems to be that HV m1n1 doesn't get out of the wfe in spin_lock when it should (removing the wfe avoids the issue).

This might be a red herring. What happens if you do a "sevl" at the end of spin_lock, leaving the wfe?

no, sevl instead of sev in spin_unlock() is still slow

Fixed. It had nothing to do with the spinlock. The SMP WFE codepath was just pathologically thrashing the hypervisor.

As for why this all had to do with the spinlock change: it probably changed the fairness characteristics of the lock, where previously CPU#0 had better chances and things didn't slow down to a crawl since the guest could make forward progress at a reasonable pace until it initializes SMP and takes the secondaries out of the WFE loop. After the change CPU#0 got the short end of the stick more often and the problem, which was always there, became evident as a massive slowdown.


example: refine shell script

refine shell script to replace registry and image tag according to user

sample usage:
./deploy-and-exec-ccnp-example.sh -r docker.io/test -g 0.1 -i '1 2'


Error interacting with Redis on Docker Desktop

app version: 2.7.0
Docker Desktop on Mac bookair M2
Last Redis version running

issue description:
Hi, (big noob here, not a coder !!)
First move on Docker and trying to run Vod2pod...
Redis container is running, but I have this issue...
Any idea ??
Thanks a lot Matt

2024-08-30 19:47:33 2024-08-30T17:47:33.636Z INFO  [app] app version 1.2.2
2024-08-30 19:47:33 thread 'main' panicked at src/main.rs:22:9:
2024-08-30 19:47:33 Error interacting with Redis (redis is required): Connection refused (os error 111)
2024-08-30 19:47:33
2024-08-30 19:47:33 Location:
2024-08-30 19:47:33     /tmp/vod2pod/src/lib.rs:13:15
2024-08-30 19:47:33 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Hi can you share your docker compose file and the commands you used to stars vod2pod-rss?

Here is what I found : Compose file (docker-compose.yml)
sudo docker compose up -d
I run the container via the play button
(really noob here ;-)

Can you paste the content of the docker-compose.yml? (obscure any api key of course)

Oh wait, you said you run the container with the play button, that is your problem, by running it manually you are not running the redis container.
Please check if docker desktop has a section to use docker compose files in, and use that, do not manually start just the vod2pod container with the play button

I'll close the issues due to inactivity, if the given solution does not work feel free to ask me to reopen it

I wasn't at home this week. I'll check this this week-end 😅

I wasn't at home this week. I'll check this this week-end 😅

No worry, I'll reopen then, let me know ✌

I've tried many things ... I think it's not for newbies (yet)...
Unless a detailed tutorial from scratch, I think I have to forget about this...
Very sad, your tool seems PERFECT for my need :-)
You can close the ticket :-)
Thanks for your time. Matt

If you want to try again I suggest you try from scratch using only terminal + docker + docker compose. You don't need any interface like portainer or docker desktop as this project is pretty light on setup, go to Bing copilot and ask it on how to use docker compose from terminal to run vod2pod-rss (give it the link to the repo so it scans the Readme).
It's not as hard as it sounds, if you ever feel like it, try it again like this and let me know if you make it ✌
I could make a simple windows .exe to run too but I don't want people to get confused as this is not a desktop application and it's meant to be always running on a computer you can reach from the network

I FINALLY MADE IT !!!! A friend of mine suggested me to use chatgpt ... "just explain to me how to use this script on a mac" ... and it was PERFECT !!
Now I use your script. Work well for Youtube but have a "409 error" trying to generate flux on any twitch channel (haven't put any api key so far).
Any idea about 409 ??

Great to hear! 😊
As for the 409 twitch support only works with a twitch API key

IT'S ALIIIIIIIIVE !!!! thanks to chatgpt again, I just downloaded my 1st podcast ep. with VOD2POD on my phone !! Thanks a lot man !!!! really great job !!!


Disable index scan on partition table

Disable index scan on the partition table.

/run-all-tests

@birdstorm hi, do you remember why disable index scan on the partition table？This pr does not has any background
Some users want  index scan on the partition table. Is there any risk?

@birdstorm hi, do you remember why disable index scan on the partition table？This pr does not has any background
Some users want  index scan on the partition table. Is there any risk?

There was a bug for the index scan to run on partition tables that the scan will repeat on every partition on the partition table. It is due to the fact that the partition table was not fully functioning at the moment, and it cannot support all pruning methods supported by index scan.
When the partition table is ready to support pruning for the index scan, this PR can be reverted.

I do not understand why the index scan need to repeat on every partition on the partition table.
for example:
CREATE TABLE employees (
    id INT NOT NULL,
    store_id INT NOT NULL,
		INDEX store_index (store_id)
)

PARTITION BY RANGE (store_id) (
    PARTITION p0 VALUES LESS THAN (6),
    PARTITION p1 VALUES LESS THAN (11),
    PARTITION p2 VALUES LESS THAN (16),
    PARTITION p3 VALUES LESS THAN (21)
);

If we execute select * from employees where store_id<10，p0 and p1 can be pruned. Then index scan can be performed in p0 and p1.
Even partition pruning is invalid, we just perform index scan in all partition tables.
so, why we need to disable it :(

@birdstorm  I do not understand why the index scan need to repeat on every partition on the partition table.
for example:
CREATE TABLE employees (
    id INT NOT NULL,
    store_id INT NOT NULL,
		INDEX store_index (store_id)
)

PARTITION BY RANGE (store_id) (
    PARTITION p0 VALUES LESS THAN (6),
    PARTITION p1 VALUES LESS THAN (11),
    PARTITION p2 VALUES LESS THAN (16),
    PARTITION p3 VALUES LESS THAN (21)
);

If we execute select * from employees where store_id<10，p0 and p1 can be pruned. Then index scan can be performed in p0 and p1.
Even partition pruning is invalid, we just perform index scan in all partition tables.
so, why we need to disable it :(

@shiyuhang0 we do not need to repeat it, it was a bug for the previous implementation because of the incorrect pruning method. That is exactly why we disabled the index scan on partition tables.

@birdstorm  I do not understand why the index scan need to repeat on every partition on the partition table.
for example:
CREATE TABLE employees (
    id INT NOT NULL,
    store_id INT NOT NULL,
		INDEX store_index (store_id)
)

PARTITION BY RANGE (store_id) (
    PARTITION p0 VALUES LESS THAN (6),
    PARTITION p1 VALUES LESS THAN (11),
    PARTITION p2 VALUES LESS THAN (16),
    PARTITION p3 VALUES LESS THAN (21)
);

If we execute select * from employees where store_id<10，p0 and p1 can be pruned. Then index scan can be performed in p0 and p1.
Even partition pruning is invalid, we just perform index scan in all partition tables.
so, why we need to disable it :(

@shiyuhang0 As for this particular SQL, the previous implementation will not be able to prune p0 and p1, so the index scan will be executed on every partition respectively.

thanks


Pass triple to swift link commands

Link commands need to be given the right triple, let's just
pass the full set of SWIFTFLAGS to them.

This looks fine -- but is this only an issue for the python tests? what about the lit ones?

This is only an issue when you cross-compile. I don't think our pure lit tests support cross-compilation at the moment?

I don't think they do either. LGTM then.

Maybe you can amend the commit message adding that this only shows up for cross-compilation? (mainly for archeology purposes).

@swift-ci test and merge

Looks like PR testing is not setup correctly on this branch, I'll just merge it.

This is probably fine.


creating tables our of schema

Hi,
I could not figure out how to get the example to run. I received an error  'no such table users'.
const UserTable = sqliteTable('users', {
  id: integer('id').primaryKey(),
  fullName: text('full_name'),
  createdAt: integer('created_at', { mode: 'timestamp' }),
});

const sqlite = new Database('sqlite.db');
const db = drizzle(sqlite);

// error here
const users = db.select(UserTable).all();
console.log(users);

How do I initialize the database with schema and/or convert UserTable to sql and manually initialize?
I saw the documentation for obtaining sql from expression.
const query = db.select(UserTable).toSQL();

Hi! You need to use drizzle-kit to generate the migrations from your schema and then run them using the migratior. You can check out the docs here: https://github.com/drizzle-team/drizzle-orm/tree/main/drizzle-orm/src/sqlite-core#-migrations


JS evaluates x in y in wrong order

Per spec, lhs in rhs means let (x=lhs) rhs.contains(x), so the lhs should be evaluated first. However, on the JS backend, this prints { 1 } before 1:
T printIt<T>(T t) {
    print(t);
    return t;
}

shared void run() {
    print(printIt(1) in printIt({1}));
}

We should also add some tests for this… perhaps with some generic functions that would permit this?
checkOrder(checkFirst(1) in checkSecond({1}));

checkFirst and checkSecond would modify some global state that checkOrder could then test.

yeah or even more generic checkOrder(["lhs", "rhs"], track("lhs", 1) in track("rhs", {1}))


Position indication does not work properly in new uppercase letter detection

The indication of position (======^ [HERE]) for the new uppercase letter detection doesn't work properly.

For a match at position 0, the repeat count will be illegal (-1)
The position indication depends on the logger output, which in turn depends on name and location of the binary. For example:

06:39:54 WRN ../../../go/pkg/mod/github.com/coreruleset/crs-toolchain@v1.4.3-0.20240301053521-34f5270a4d17/cmd/regex_format.go:211 >   ##!> include-except unix-shell-4andup unix-shell-fps-pl1 -- @ [\s<>&|)] ~ \S
============================================================================^ [HERE]

Yeah, thought about (1) but forgot to create a test case. My bad.

Fixed by #120.


operator [R] gitlab-runner-operator (1.11.0 1.12.0 1.13.0 1.14.0 1.15.0 1.15.1 1.15.2)

@ggeorgiev-gitlab, as explained in #2999, there is a problem with this operator's upgrade graph. Since I did not get a response to my comment, I'm submitting this change in order to resolve the issues this is causing to the release pipeline.

/merge possible

/merge possible

/merge possible

/merge possible


updating snakeyml to 2.0.0

Apologies, totally missed this alongside the dependabot PR that came through. Given this PR is still blocked on CLA, I'll go ahead and merge the dependabot one (https://github.com/GoogleCloudPlatform/appengine-plugins-core/pull/915) to make the update, but thank you for the contribution!


vendor: updated deps

Vendor the latest helmclient changes.

@rossf7 How did you vendor this? dep fails for me when I try to run dep ensure` on master

@MarcelMue What is the error? I don't remember having dep problems.

@rossf7 I just created a new PR with a vendor update https://github.com/giantswarm/chart-operator/pull/203
The problem was that the gopkg.in/yaml.v2 version was not compatible with the one from microkit.
It should be fixed now.

Ack. Thanks for the explanation. I added the YAML support fairly recently but I didn't encounter this problem.


How to make: wasm calls wasm

Hi,
please advise me how to make:

I created a simple library crate:

$cat a/src/lib.rs

#[no_mangle]
pub extern "C" fn funca() {
   println!("funca");
}

#[no_mangle]
pub extern "C" fn _start() {
}

And compiled it:
cargo build --manifest-path=a/Cargo.toml --target=wasm32-wasi
I can invoke funca:
$wasmtime run --invoke funca a/target/wasm32-wasi/debug/a.wasm
funca

I created a simple binary crate:

$cat d/src/main.rs

use anyhow::Result;
use wasmtime::*;
use wasmtime_wasi::{Wasi, WasiCtx};

fn main() -> Result<()> {
    let store = Store::default();
    let module = Module::from_file(&store, "/at/rust/wasmer/a/target/wasm32-wasi/debug/a.wasm")?;
    let wasi = Wasi::new(&store, WasiCtx::new(std::env::args())?);
    let mut imports = Vec::new();
    for import in module.imports() {
        if import.module() == "wasi_snapshot_preview1" {
            if let Some(export) = wasi.get_export(import.name()) {
                imports.push(Extern::from(export.clone()));
                continue;
            }
        }
        panic!(
            "couldn't find import for `{}::{}`",
            import.module(),
            import.name()
        );
    }

    let instance = Instance::new(&module, &imports)?;

    // 1
/*
    let start = instance
        .get_export("_start")
        .and_then(|e| e.func())
        .unwrap();
    let start = start.get0::<()>()?;
    start()?;
*/
    // 2
    let funca = instance
        .get_export("funca")
        .expect("export named `answer` not found")
        .func()
        .expect("export `answer` was not a function");
    let funca = funca.get0::<()>()?;
    funca()?;

    Ok(())
}

And compiled it:
cargo build --manifest-path=d/Cargo.toml
I ran it and got:
$cargo run --manifest-path=d/Cargo.toml
funca

Good! Now I want change d from binary crate to library crate. So, I want wasm lib calls wasm lib.
The first, I tried to compile my bin crate with --target=wasm32-wasi to get wasm and failed:
$cargo +nightly build --manifest-path=d/Cargo.toml --target=wasm32-wasi

   Compiling wat v1.0.13
   Compiling jobserver v0.1.21
   Compiling generic-array v0.12.3
   Compiling region v2.1.2
   Compiling gimli v0.20.0
error[E0425]: cannot find function `lock` in module `os`
  --> /opt/rust/cargo/registry/src/github.com-1ecc6299db9ec823/region-2.1.2/src/lock.rs:30:7
   |
30 |   os::lock(
   |       ^^^^ not found in `os`
   |
help: possible candidate is found in another module, you can import it into scope
   |
1  | use lock::lock;
   |

error[E0425]: cannot find function `unlock` in module `os`
  --> /opt/rust/cargo/registry/src/github.com-1ecc6299db9ec823/region-2.1.2/src/lock.rs:58:7
   |
58 |   os::unlock(
   |       ^^^^^^ not found in `os`
   |
help: possible candidate is found in another module, you can import it into scope
   |
1  | use lock::unlock;
   |

error[E0425]: cannot find function `page_size` in module `os`
  --> /opt/rust/cargo/registry/src/github.com-1ecc6299db9ec823/region-2.1.2/src/page.rs:16:39
   |
16 |     INIT.call_once(|| PAGE_SIZE = os::page_size());
   |                                       ^^^^^^^^^ not found in `os`

error[E0425]: cannot find function `set_protection` in module `os`
  --> /opt/rust/cargo/registry/src/github.com-1ecc6299db9ec823/region-2.1.2/src/protect.rs:40:7
   |
40 |   os::set_protection(
   |       ^^^^^^^^^^^^^^ not found in `os`

error[E0425]: cannot find function `get_region` in module `os`
   --> /opt/rust/cargo/registry/src/github.com-1ecc6299db9ec823/region-2.1.2/src/lib.rs:133:7
    |
133 |   os::get_region(page::floor(address as usize) as *const u8)
    |       ^^^^^^^^^^ not found in `os`

error: aborting due to 5 previous errors

For more information about this error, try `rustc --explain E0425`.
error: could not compile `region`.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

So, I think doesn't region support --target=wasm32-wasi? How to create wasm calls wasm?

You can't compile wasmtime for wasm, as wasm doesn't allow any JIT compilation. What do you want to actually do?

@bjorn3 , ok. Thank you for the notes about wasmtime. I see my mistake.

Per zullip chat, more notes:
-wasmtime-cli does not have a way to configure a linking, (--preload is not a parameter that does that)

it is expected that wasmtime-cli will automatically resolve and load dependent modules.
currently, the embedding (e.g. https://github.com/bytecodealliance/wasmtime/blob/master/examples/linking.rs) is easiest way to do that


doc: fix typos for Erlang guide

Before
After

@Rdx31 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.


Error message for negative power ("-") when battery storage is in grid charge mode

Describe the bug
Description: I have received a warning message indicating negative power from my inverter ("- power"). This message appeared when I configured my hybrid inverter to charge my battery storage via the grid due to current price spikes.
The negative power reading is correct in this scenario, as the inverter is being supplied with DC power to charge the battery storage. Therefore, this displayed negative power is normal technical behavior. It would make sense to consider this situation and prevent the warning message from being issued in this particular case.
I have attached a screenshot that illustrates the situation.
Suggestion: Please consider adjusting the system to avoid triggering an error message when the battery storage is set to grid charge mode. The behavior is technically correct and should not be flagged as an error.
Attachment:
Screenshot showing the warning message.
Thank you in advance!

Steps to reproduce

...

HomeAssistant Add-on
Nightly build

[X] I have verified that the issue is reproducible with the latest nightly build

Version
0.131.4

Missing config


SWIRL won't highlight terms that have preceding or trailing quotes

From the v. 1.7 Release Notes:

For example 'hello or 'hello'. These may be quite acceptable to search engines as phrase searches. This will be fixed in a future release.

This is also true of double quotes; searching returns expected results but SWIRL doesn't highlight the matching word if the query is passed with quotation marks in front, for example.

Resolved in 1.8

Checking this in the latest 1.8 (pulled a few minutes ago), and I don't think it's fixed.
Search term:  'hello
None of the top 10 results returned had any highlighting in them (no occurrence of the * character in the page).
Screen grab of the top 2 hits; matching term visible in both (title and body) but no highlighting from Swirl:

Search term:  "world"
None of the top 10 results returned had any highlighting in them (no occurrence of the * character in the page).
Screen grab of the top 2 hits; matching term visible in both (title and body) but no highlighting from Swirl:

@sidprobstein , wdyt?  Has the expected behavior around this Issue changed in 1.8?

Additional example that may help clarify (or confuse) things 😆
Search term:  'blogger'
We DO see one instance of highlighting here, and it includes the single quotes.  See the 1st result (with

2nd hit included too):
CC:  @sidprobstein

Branch 1.11, 1.10.1, and main, do not see any change in above commented examples of different quote permutations of 'hello' or 'blogger'. However, double quotes appears to be significantly improved and has highlighting applied. Fix remaining is a solution to single quotes for highlighting.


Add Material 3 Slider example

Part of https://github.com/flutter/flutter/issues/101048
This PR adds Material 3 Slider example since Material 3 Slider  landed.

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

This might need to be rebased


Incomplete/Incorrect documentation makes this unusable

There is a part of this documentation that is very unclear and doesn't match with the user experience and as a result, it is impossible to implement the feature of this document.
It concerns the "Open Relay Firewall" part of the documentation.
After running the 2 ARM templates, there is no Relay resource to be found in the resource group. There is a hidden resource of type "microsoft.network/privatednszones/virtualnetworklinks" with the cloud shell relay name but it does not have a "Networking" setting and this point it is unclear what the following sentence actually means, let alone how to achieve it:
Navigate to the relay created using the above template, select "Networking" in settings, allow access from your browser network to the relay. By default the relay is only accessible from the virtual network it has been created in.
Note also that there is no Firewall resource on the VNET, nor was that depicted or mentioned as a required resource, so it is unclear whether that is part of the problem or not.
Perhaps the ARM templates did not deploy all the required resources? As it stands, this article is unusable, which is a shame as this feature will be requested more and more by customers.

Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4be300e5-3323-269f-bb5a-f75fc68576b2
Version Independent ID: 64685f46-c1f7-f195-4bb3-be96ec621193
Content: Cloud Shell in an Azure Virtual Network
Content Source: articles/cloud-shell/private-vnet.md
Service: azure
GitHub Login: @maertendMSFT
Microsoft Alias: damaerte

Sergong Thanks for the feedback. I have assigned the issue to the content author to review the feedback and update as required. Thanks!!

#label:"cloud-shell/svc"

This documentation has been updated.
#please-close


&caption not working

Command that caused the error
&caption
Image that caused the error
No response
Steps to reproduce
I just used the &caption command on an image as it was intended and the bot replied with an error log.
Self-hosted instance?
No
Error file
Message: Error: connect ECONNREFUSED ::1:5432
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1237:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '::1',
  port: 5432
}

Stack Trace: Error: connect ECONNREFUSED ::1:5432
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1237:16)

Additional context
No response

its a known bug right now, the owners are trying to fix it

See this comment


Convert NSwagStudio to MAUI for Mac Support

I don't think this is of any priority because of the state of the NSwag project.
You are free to do so if you want to. But I would suggest doing it with Avalonia instead, since that probably is a more easy transition.

I am experienced in MAUI and XamarinForms. I'll attempt a conversion to Avalonia and revert.

Was also thinking about this but probably it would be a complete rewrite of the UI and then we would also improve the config file itself etc. and then yes, we should only do based on the long-term goal of NSwag which is probably going to be AspNetCore.OpenApi extensions + code generation.

I think that the tool remains relevant until there is a mini of the config file.
Hope to put in some more hours this week


Ability to connect blocks together

This is a feature request, but it would be extremely awesome if you had a shortcut on the outside of each block where you could click and drag to connect it to another block.
After connecting to another block, it would then create an arrow or some sort of connector line. I know this is a lot of work, but it would seriously make excalidraw an even more awesome tool for things like brainstorming and mindmapping.

Possibly duplicate of #157

Duplicate of #157