Kestrel not returning response on time

I have a web application built against .NET Core 2.1.403 running on Linux with Apache as a proxy. It works fine except for some long running requests. If the processing of the request takes longer than ~10s the request doesn't return response for much longer. Both my application logging and RequestDurationMiddleware (see below) says the request is done but I'm staring at a loading circle in my browser (Waiting for first byte). These requests are less than 100KB so bandwidth is not an issue. Here is the Invoke method of RequestDurationMiddleware:
    public async Task Invoke(HttpContext context)
    {
        var watch = Stopwatch.StartNew();
        await _next.Invoke(context);
        watch.Stop();
        var ms = watch.ElapsedMilliseconds;
        if (ms > 500)
            log.Info("SLOW: " + context.Request.Path + context.Request.QueryString.ToString() + $" for {context.User?.Identity?.Name}: {ms}ms");
    }

This would output "SLOW: .... 13000ms" but client is waiting for results for a full minute.
The slow action just awaits a slow internal method.
Any pointers what should I look into?

Are you sure it's waiting for the first byte? All the bytes should have been written by the time _next.Invoke completes. The only thing Kestrel writes at the end is what's called a chunked terminator to signify the response is complete.
The webhost includes its own timing logs, what do those show?
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 0.8093ms 200 image/x-icon

thanks for looking into this. Here are my logs:
2018-10-30 09:44:53,110 INFO ...Controller - User started long running request
2018-10-30 09:47:46,466 INFO BusinessLogic - Request done in<PHONE_NUMBER>s .
2018-10-30 09:47:46,484 INFO RequestDurationMiddleware - SLOW: Request ... took 173407ms

apache reports the request took 202s. What's happening during the 29s (between requestdurationmiddleware and apache)? Another question is what's happening for the 5s between when BusinessLogic is done and the request returns ... the action just await result of the business logic and returns a super simple query.

Here are the debug logs, they do indeed seem to be helpful!:
Nov 01 13:34:45 srv app[70509]: info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
Nov 01 13:34:45 srv app[70509]:       Executing action method app.Controllers.Controller.Controller (app) with arguments (...) - Validation state: Valid

Nov 01 13:35:44 srv app[70509]: info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Nov 01 13:35:44 srv app[70509]:       Executed action method app.Controllers.Controller.Import (app), returned result Microsoft.AspNetCore.Mvc.ViewResult in 59152.7816ms.
   ....
Nov 01 13:35:44 srv app[70509]: dbug: Microsoft.AspNetCore.Server.Kestrel[9]
Nov 01 13:35:44 srv app[70509]:       Connection id "0HLHVTEOA5IRU" completed keep alive response.
Nov 01 13:35:44 srv app[70509]: info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Nov 01 13:35:44 srv app[70509]:       Controller finished in 59251.8836ms 200 text/html; charset=utf-8
Nov 01 13:37:10 srv app[70509]: dbug: Microsoft.AspNetCore.Server.Kestrel[10]
Nov 01 13:37:10 srv app[70509]:       Connection id "0HLHVTEOA5IRT" disconnecting.
Nov 01 13:37:31 srv app[70509]: dbug: Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets[7]
Nov 01 13:37:31 srv app[70509]:       Connection id "0HLHVTEOA5IRT" sending FIN.
Nov 01 13:37:31 srv app[70509]: dbug: Microsoft.AspNetCore.Server.Kestrel[2]
Nov 01 13:37:31 srv app[70509]:       Connection id "0HLHVTEOA5IRT" stopped.

And here is the apache record, I'm appending %T s|%D us|%B B (length of request in seconds, length of request in microseconds and length of request in bytes):
192.168.x.x - - [01/Nov/2018:13:34:45 +0100] "POST /Request HTTP/1.1" 200 2426 166 s|166418989 us|2426 B
Apache seems to think it took 166s - 2 minutes and 46s, so starting at 13:34:45 that would end exactly at 13:37:31 when Kestrel send FIN.
Here is my site in apache (I haven't changed httpd.conf):
<VirtualHost *:80>
    RewriteEngine On
    RewriteRule "/app/(.*)" "/$1" [P]
    ProxyPass / http://<IP_ADDRESS>:5000/
    ProxyPassReverse /  http://<IP_ADDRESS>:5000/
</VirtualHost>

Please include the full log for the request, especially Microsoft.AspNetCore.Hosting.Internal.WebHost[1].
There's 1:26 there between Kestrel saying the request was done and the connection starting to disconnect. There's another 20s before the disconnect finishes. The connection was marked as keep alive, so it's expected that it would stay open after a request for the duration of the keep-alive timeout (2m), but disconnecting started earlier than that so maybe it was instigated by Apache?
Can you confirm the controller consumed the entire request body?

How can I confirm that the entire request was consumed? It's sent from a form:
<form class="form-horizontal" method="post" asp-action="Import">

with a type="submit" button. I'm not doing any black magic. It's handled by
    [HttpPost]
    [ValidateAntiForgeryToken]
    public async Task<IActionResult> Import(ImportOptions opt)

Here are the completish logs:
Nov 01 13:34:45 srv app[70509]: info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Nov 01 13:34:45 srv app[70509]:       Request starting HTTP/1.1 POST http://<IP_ADDRESS>:5000/Request application/x-www-form-urlencoded 599
Nov 01 13:34:45 srv app[70509]: trce: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[0]
Nov 01 13:34:45 srv app[70509]:       All hosts are allowed.
Nov 01 13:34:45 srv app[70509]: dbug: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[1]
Nov 01 13:34:45 srv app[70509]:       POST requests are not supported
Nov 01 13:34:45 srv app[70509]: trce: Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector[5]
Nov 01 13:34:45 srv app[70509]:       Performing unprotect operation to key {2892737c-0af7-4a1b-83db-36efbd980acc} with purposes ('/var/www/app', 'Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware', 'Identity.Application', 'v2').
Nov 01 13:34:45 srv app[70509]: dbug: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler[8]
Nov 01 13:34:45 srv app[70509]:       AuthenticationScheme: Identity.Application was successfully authenticated.
Nov 01 13:34:45 srv app[70509]: dbug: Microsoft.AspNetCore.Routing.RouteBase[1]
Nov 01 13:34:45 srv app[70509]:       Request successfully matched the route with name 'default' and template '{controller=Home}/{action=Index}/{id?}'.
Nov 01 13:34:45 srv app[70509]: info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
Nov 01 13:34:45 srv app[70509]:       Route matched with {action = "Import", controller = "Controller"}. Executing action app.Controllers.Controller.Import (app)
Nov 01 13:34:45 srv app[70509]: dbug: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
Nov 01 13:34:45 srv app[70509]:       Execution plan of authorization filters (in the following order): Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter, Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ValidateAntiforgeryTokenAuthorizationFilter
Nov 01 13:34:45 srv app[70509]: dbug: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
Nov 01 13:34:45 srv app[70509]:       Execution plan of resource filters (in the following order): Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.SaveTempDataFilter
Nov 01 13:34:45 srv app[70509]: dbug: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
Nov 01 13:34:45 srv app[70509]:       Execution plan of action filters (in the following order): Microsoft.AspNetCore.Mvc.Internal.ControllerActionFilter (Order: -2147483648), StackExchange.Profiling.Internal.ProfilingActionFilter (Order: 0), Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter
Nov 01 13:34:45 srv app[70509]: dbug: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
Nov 01 13:34:45 srv app[70509]:       Execution plan of exception filters (in the following order): None
Nov 01 13:34:45 srv app[70509]: dbug: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
Nov 01 13:34:45 srv app[70509]:       Execution plan of result filters (in the following order): Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.SaveTempDataFilter, StackExchange.Profiling.Internal.ProfilingActionFilter (Order: 0)
Nov 01 13:34:45 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Nov 01 13:34:45 srv app[70509]:       Authorization Filter: Before executing OnAuthorizationAsync on filter Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter.
Nov 01 13:34:45 srv app[70509]: info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[1]
Nov 01 13:34:45 srv app[70509]:       Authorization was successful.
Nov 01 13:34:45 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[3]
Nov 01 13:34:45 srv app[70509]:       Authorization Filter: After executing OnAuthorizationAsync on filter Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter.
Nov 01 13:34:45 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Nov 01 13:34:45 srv app[70509]:       Authorization Filter: Before executing OnAuthorizationAsync on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ValidateAntiforgeryTokenAuthorizationFilter.
Nov 01 13:34:45 srv app[70509]: dbug: Microsoft.AspNetCore.Server.Kestrel[25]
Nov 01 13:34:45 srv app[70509]:       Connection id "0HLHVTEOA5IRU", Request id "0HLHVTEOA5IRU:00000004": started reading request body.
Nov 01 13:34:45 srv app[70509]: dbug: Microsoft.AspNetCore.Server.Kestrel[26]
Nov 01 13:34:45 srv app[70509]:       Connection id "0HLHVTEOA5IRU", Request id "0HLHVTEOA5IRU:00000004": done reading request body.
Nov 01 13:34:45 srv app[70509]: trce: Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector[5]
Nov 01 13:34:45 srv app[70509]:       Performing unprotect operation to key {394fec96-e40c-41c2-8ff9-a3901ef85a30} with purposes ('/var/www/app', 'Microsoft.AspNetCore.Antiforgery.AntiforgeryToken.v1').
Nov 01 13:34:45 srv app[70509]: trce: Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector[5]
Nov 01 13:34:45 srv app[70509]:       Performing unprotect operation to key {2892737c-0af7-4a1b-83db-36efbd980acc} with purposes ('/var/www/app', 'Microsoft.AspNetCore.Antiforgery.AntiforgeryToken.v1').
Nov 01 13:34:45 srv app[70509]: dbug: Microsoft.AspNetCore.Antiforgery.Internal.DefaultAntiforgery[2]
Nov 01 13:34:45 srv app[70509]:       Antiforgery successfully validated a request.
Nov 01 13:34:45 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[3]
Nov 01 13:34:45 srv app[70509]:       Authorization Filter: After executing OnAuthorizationAsync on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ValidateAntiforgeryTokenAuthorizationFilter.
Nov 01 13:34:45 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Nov 01 13:34:45 srv app[70509]:       Resource Filter: Before executing OnResourceExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.SaveTempDataFilter.
Nov 01 13:34:45 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[3]
Nov 01 13:34:45 srv app[70509]:       Resource Filter: After executing OnResourceExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.SaveTempDataFilter.
Nov 01 13:34:45 srv app[70509]: dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[22]
Nov 01 13:34:45 srv app[70509]:       Attempting to bind parameter 'opt' of type 'app.Models.ImageViewModels.Model' ...
Nov 01 13:34:45 srv app[70509]: dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexTypeModelBinder[24]
Nov 01 13:34:45 srv app[70509]:       Attempting to bind model of type 'app.Models.ImageViewModels.Model' using the name '' in request data ...
Nov 01 13:34:45 srv app[70509]: dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder[13]
Nov 01 13:34:45 srv app[70509]:       Attempting to bind property 'app.Models.ImageViewModels.Model.ToImport' of type 'app.Models.ImageViewModels.Model+WhatToImport' using the name 'ToImport' in request data ...
Nov 01 13:34:45 srv app[70509]: dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder[14]
Nov 01 13:34:45 srv app[70509]:       Done attempting to bind property 'app.Models.ImageViewModels.Model.ToImport' of type 'app.Models.ImageViewModels.Model+WhatToImport'.
Nov 01 13:34:45 srv app[70509]: dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexTypeModelBinder[25]
Nov 01 13:34:45 srv app[70509]:       Done attempting to bind model of type 'app.Models.ImageViewModels.Model' using the name ''.
Nov 01 13:34:45 srv app[70509]: dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[23]
Nov 01 13:34:45 srv app[70509]:       Done attempting to bind parameter 'opt' of type 'app.Models.ImageViewModels.Model'.
Nov 01 13:34:45 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Nov 01 13:34:45 srv app[70509]:       Action Filter: Before executing OnActionExecutionAsync on filter Microsoft.AspNetCore.Mvc.Internal.ControllerActionFilter.
Nov 01 13:34:45 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Nov 01 13:34:45 srv app[70509]:       Action Filter: Before executing OnActionExecutionAsync on filter StackExchange.Profiling.Internal.ProfilingActionFilter.
Nov 01 13:34:45 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Nov 01 13:34:45 srv app[70509]:       Action Filter: Before executing OnActionExecuting on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter.
Nov 01 13:34:45 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[3]
Nov 01 13:34:45 srv app[70509]:       Action Filter: After executing OnActionExecuting on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter.
Nov 01 13:34:45 srv app[70509]: info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
Nov 01 13:34:45 srv app[70509]:       Executing action method app.Controllers.Controller.Import (app) with arguments (One: , delete: [Everything, ]) - Validation state: Valid
Nov 01 13:35:44 srv app[70509]: info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Nov 01 13:35:44 srv app[70509]:       Executed action method app.Controllers.Controller.Import (app), returned result Microsoft.AspNetCore.Mvc.ViewResult in 59152.7816ms.
Nov 01 13:35:44 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Nov 01 13:35:44 srv app[70509]:       Action Filter: Before executing OnActionExecuted on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter.
Nov 01 13:35:44 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[3]
Nov 01 13:35:44 srv app[70509]:       Action Filter: After executing OnActionExecuted on filter Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter.
Nov 01 13:35:44 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[3]
Nov 01 13:35:44 srv app[70509]:       Action Filter: After executing OnActionExecutionAsync on filter StackExchange.Profiling.Internal.ProfilingActionFilter.
Nov 01 13:35:44 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[3]
Nov 01 13:35:44 srv app[70509]:       Action Filter: After executing OnActionExecutionAsync on filter Microsoft.AspNetCore.Mvc.Internal.ControllerActionFilter.
Nov 01 13:35:44 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Nov 01 13:35:44 srv app[70509]:       Result Filter: Before executing OnResultExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.SaveTempDataFilter.
Nov 01 13:35:44 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[3]
Nov 01 13:35:44 srv app[70509]:       Result Filter: After executing OnResultExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.SaveTempDataFilter.
Nov 01 13:35:44 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Nov 01 13:35:44 srv app[70509]:       Result Filter: Before executing OnResultExecutionAsync on filter StackExchange.Profiling.Internal.ProfilingActionFilter.
Nov 01 13:35:44 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[4]
Nov 01 13:35:44 srv app[70509]:       Before executing action result Microsoft.AspNetCore.Mvc.ViewResult.
Nov 01 13:35:44 srv app[70509]: dbug: Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine[1]
Nov 01 13:35:44 srv app[70509]:       View lookup cache miss for view 'Import' in controller 'Controller'.
Nov 01 13:35:44 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Razor.Internal.RazorViewCompiler[5]
Nov 01 13:35:44 srv app[70509]:       Located compiled view for view at path '/Views/Request.cshtml'.
Nov 01 13:35:44 srv app[70509]: dbug: Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine[3]
Nov 01 13:35:44 srv app[70509]:       Using precompiled view for '/Views/Request.cshtml'.
Nov 01 13:35:44 srv app[70509]: info: Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor[1]
Nov 01 13:35:44 srv app[70509]:       Executing ViewResult, running view Import.
Nov 01 13:35:44 srv app[70509]: dbug: Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor[2]
Nov 01 13:35:44 srv app[70509]:       The view path '/Views/Request.cshtml' was found in 2.949ms.
Nov 01 13:35:44 srv app[70509]: dbug: Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine[2]
Nov 01 13:35:44 srv app[70509]:       View lookup cache hit for view '_Layout' in controller 'Controller'.
Nov 01 13:35:44 srv app[70509]: dbug: Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine[2]
Nov 01 13:35:44 srv app[70509]:       View lookup cache hit for view '_LoginPartial' in controller 'Controller'.
Nov 01 13:35:44 srv app[70509]: trce: Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector[31]
Nov 01 13:35:44 srv app[70509]:       Performing protect operation to key {2892737c-0af7-4a1b-83db-36efbd980acc} with purposes ('/var/www/app', 'Microsoft.AspNetCore.Antiforgery.AntiforgeryToken.v1').
Nov 01 13:35:44 srv app[70509]: dbug: Microsoft.AspNetCore.Antiforgery.Internal.DefaultAntiforgery[6]
Nov 01 13:35:44 srv app[70509]:       An antiforgery cookie token was reused.
Nov 01 13:35:44 srv app[70509]: info: Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor[4]
Nov 01 13:35:44 srv app[70509]:       Executed ViewResult - view Import executed in 21.5979ms.
Nov 01 13:35:44 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[5]
Nov 01 13:35:44 srv app[70509]:       After executing action result Microsoft.AspNetCore.Mvc.ViewResult.
Nov 01 13:35:44 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[3]
Nov 01 13:35:44 srv app[70509]:       Result Filter: After executing OnResultExecutionAsync on filter StackExchange.Profiling.Internal.ProfilingActionFilter.
Nov 01 13:35:44 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Nov 01 13:35:44 srv app[70509]:       Result Filter: Before executing OnResultExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.SaveTempDataFilter.
Nov 01 13:35:44 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[3]
Nov 01 13:35:44 srv app[70509]:       Result Filter: After executing OnResultExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.SaveTempDataFilter.
Nov 01 13:35:44 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Nov 01 13:35:44 srv app[70509]:       Resource Filter: Before executing OnResourceExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.SaveTempDataFilter.
Nov 01 13:35:44 srv app[70509]: trce: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[3]
Nov 01 13:35:44 srv app[70509]:       Resource Filter: After executing OnResourceExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.SaveTempDataFilter.
Nov 01 13:35:44 srv app[70509]: info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Nov 01 13:35:44 srv app[70509]:       Executed action app.Controllers.Controller.Import (app) in 59224.3093ms
Nov 01 13:35:44 srv app[70509]: dbug: Microsoft.AspNetCore.Server.Kestrel[9]
Nov 01 13:35:44 srv app[70509]:       Connection id "0HLHVTEOA5IRU" completed keep alive response.
Nov 01 13:35:44 srv app[70509]: info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Nov 01 13:35:44 srv app[70509]:       Request finished in 59251.8836ms 200 text/html; charset=utf-8
Nov 01 13:37:10 srv app[70509]: dbug: Microsoft.AspNetCore.Server.Kestrel[10]
Nov 01 13:37:10 srv app[70509]:       Connection id "0HLHVTEOA5IRT" disconnecting.
Nov 01 13:37:31 srv app[70509]: dbug: Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets[7]
Nov 01 13:37:31 srv app[70509]:       Connection id "0HLHVTEOA5IRT" sending FIN.
Nov 01 13:37:31 srv app[70509]: dbug: Microsoft.AspNetCore.Server.Kestrel[2]
Nov 01 13:37:31 srv app[70509]:       Connection id "0HLHVTEOA5IRT" stopped.
Nov 01 13:37:31 srv app[70509]: info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Nov 01 13:37:31 srv app[70509]:       Request starting HTTP/1.1 GET http://<IP_ADDRESS>:5000/css/site.min.css?v=kd_Sb3YWjfxxyPEvWA2rMZh_f96MckHEPM1Edti4V8A
Nov 01 13:37:31 srv app[70509]: trce: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[0]
Nov 01 13:37:31 srv app[70509]:       All hosts are allowed.
Nov 01 13:37:31 srv app[70509]: trce: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[0]
Nov 01 13:37:31 srv app[70509]:       Range header's value is empty.
Nov 01 13:37:31 srv app[70509]: info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
Nov 01 13:37:31 srv app[70509]:       Sending file. Request path: '/css/site.min.css'. Physical path: '/var/www/app/wwwroot/css/site.min.css'
Nov 01 13:37:31 srv app[70509]: dbug: Microsoft.AspNetCore.Server.Kestrel[9]
Nov 01 13:37:31 srv app[70509]:       Connection id "0HLHVTEOA5IRU" completed keep alive response.
Nov 01 13:37:31 srv app[70509]: info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Nov 01 13:37:31 srv app[70509]:       Request finished in 2.9583ms 200 text/css
Nov 01 13:37:31 srv app[70509]: info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Nov 01 13:37:31 srv app[70509]:       Request starting HTTP/1.1 GET http://<IP_ADDRESS>:5000/js/site.min.js?v=TnmyJsW1L2-G3SbkO8PTxg6bhOiKG9ymIpbAwM_y7wQ
Nov 01 13:37:31 srv app[70509]: trce: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[0]
Nov 01 13:37:31 srv app[70509]:       All hosts are allowed.
Nov 01 13:37:31 srv app[70509]: trce: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[0]
Nov 01 13:37:31 srv app[70509]:       Range header's value is empty.
Nov 01 13:37:31 srv app[70509]: info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
Nov 01 13:37:31 srv app[70509]:       Sending file. Request path: '/js/site.min.js'. Physical path: '/var/www/app/wwwroot/js/site.min.js'
Nov 01 13:37:31 srv app[70509]: dbug: Microsoft.AspNetCore.Server.Kestrel[9]
Nov 01 13:37:31 srv app[70509]:       Connection id "0HLHVTEOA5IRU" completed keep alive response.
Nov 01 13:37:31 srv app[70509]: info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Nov 01 13:37:31 srv app[70509]:       Request finished in 3.4538ms 200 application/javascript
Nov 01 13:37:31 srv app[70509]: info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Nov 01 13:37:31 srv app[70509]:       Request starting HTTP/1.1 GET http://<IP_ADDRESS>:5000/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2
Nov 01 13:37:31 srv app[70509]: trce: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[0]
Nov 01 13:37:31 srv app[70509]:       All hosts are allowed.
Nov 01 13:37:31 srv app[70509]: trce: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[0]
Nov 01 13:37:31 srv app[70509]:       Range header's value is empty.
Nov 01 13:37:31 srv app[70509]: info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
Nov 01 13:37:31 srv app[70509]:       Sending file. Request path: '/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2'. Physical path: '/var/www/app/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2'
Nov 01 13:37:31 srv app[70509]: dbug: Microsoft.AspNetCore.Server.Kestrel[9]
Nov 01 13:37:31 srv app[70509]:       Connection id "0HLHVTEOA5IRU" completed keep alive response.
Nov 01 13:37:31 srv app[70509]: info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Nov 01 13:37:31 srv app[70509]:       Request finished in 1.9576ms 200 font/woff2
Nov 01 13:37:31 srv app[70509]: dbug: Microsoft.AspNetCore.Server.Kestrel[1]
Nov 01 13:37:31 srv app[70509]:       Connection id "0HLHVTEOA5IRV" started.
Nov 01 13:37:31 srv app[70509]: info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Nov 01 13:37:31 srv app[70509]:       Request starting HTTP/1.1 GET http://<IP_ADDRESS>:5000/images/logo.png
Nov 01 13:37:31 srv app[70509]: trce: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[0]
Nov 01 13:37:31 srv app[70509]:       All hosts are allowed.
Nov 01 13:37:31 srv app[70509]: trce: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[0]
Nov 01 13:37:31 srv app[70509]:       Range header's value is empty.
Nov 01 13:37:31 srv app[70509]: info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
Nov 01 13:37:31 srv app[70509]:       Sending file. Request path: '/images/logo.png'. Physical path: '/var/www/app/wwwroot/images/logo.png'
Nov 01 13:37:31 srv app[70509]: dbug: Microsoft.AspNetCore.Server.Kestrel[9]
Nov 01 13:37:31 srv app[70509]:       Connection id "0HLHVTEOA5IRV" completed keep alive response.
Nov 01 13:37:31 srv app[70509]: info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Nov 01 13:37:31 srv app[70509]:       Request finished in 1.4074ms 200 image/png

I've captured traces when it's happening, although with less severity: Kestrel finishes processing the request at 22:50:12 but nothing happens on the wire and the HTTP request doesn't finish until 22:50:27 when a request for another resource comes in. Chrome Dev Tools also show Waiting (TTFB) as 3.2 minutes:
Nov 17 22:50:12 srv dotnet-app[72357]: info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Nov 17 22:50:12 srv dotnet-app[72357]:       Executed action method appcore.Controllers.StuffController.Import (appcore), returned result Microsoft.AspNetCore.Mvc.ViewResult
Nov 17 22:50:12 srv dotnet-app[72357]: dbug: Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine[1]
Nov 17 22:50:12 srv dotnet-app[72357]:       View lookup cache miss for view 'Import' in controller 'Stuff'.
Nov 17 22:50:12 srv dotnet-app[72357]: dbug: Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine[3]
Nov 17 22:50:12 srv dotnet-app[72357]:       Using precompiled view for '/Views/Stuff/Import.cshtml'.
Nov 17 22:50:12 srv dotnet-app[72357]: info: Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor[1]
Nov 17 22:50:12 srv dotnet-app[72357]:       Executing ViewResult, running view Import.
Nov 17 22:50:12 srv dotnet-app[72357]: dbug: Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor[2]
Nov 17 22:50:12 srv dotnet-app[72357]:       The view path '/Views/Stuff/Import.cshtml' was found in 3.195ms.
Nov 17 22:50:12 srv dotnet-app[72357]: dbug: Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine[2]
Nov 17 22:50:12 srv dotnet-app[72357]:       View lookup cache hit for view '_Layout' in controller 'Stuff'.
Nov 17 22:50:12 srv dotnet-app[72357]: dbug: Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine[2]
Nov 17 22:50:12 srv dotnet-app[72357]:       View lookup cache hit for view '_LoginPartial' in controller 'Stuff'.
Nov 17 22:50:12 srv dotnet-app[72357]: dbug: Microsoft.AspNetCore.Antiforgery.Internal.DefaultAntiforgery[6]
Nov 17 22:50:12 srv dotnet-app[72357]:       An antiforgery cookie token was reused.
Nov 17 22:50:12 srv dotnet-app[72357]: info: Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor[4]
Nov 17 22:50:12 srv dotnet-app[72357]:       Executed ViewResult - view Import executed in 25.5461ms.
Nov 17 22:50:12 srv dotnet-app[72357]: info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Nov 17 22:50:12 srv dotnet-app[72357]:       Executed action appcore.Controllers.StuffController.Import (appcore) in 179955.606ms
Nov 17 22:50:12 srv dotnet-app[72357]: dbug: Microsoft.AspNetCore.Server.Kestrel[9]
Nov 17 22:50:12 srv dotnet-app[72357]:       Connection id "0HLICQN39M726" completed keep alive response.
Nov 17 22:50:12 srv dotnet-app[72357]: info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Nov 17 22:50:12 srv dotnet-app[72357]:       Request finished in<PHONE_NUMBER>ms 200 text/html; charset=utf-8
Nov 17 22:50:27 srv dotnet-app[72357]: info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Nov 17 22:50:27 srv dotnet-app[72357]:       Request starting HTTP/1.1 GET http://<IP_ADDRESS>:5000/css/site.min.css?v=kd_Sb3YWjfxxyPEvWA2rMZh_f96MckHEPM1Edti4V8A
Nov 17 22:50:27 srv dotnet-app[72357]: info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
Nov 17 22:50:27 srv dotnet-app[72357]:       Sending file. Request path: '/css/site.min.css'. Physical path: '/var/www/appcore/wwwroot/css/site.min.css'
Nov 17 22:50:27 srv dotnet-app[72357]: dbug: Microsoft.AspNetCore.Server.Kestrel[9]
Nov 17 22:50:27 srv dotnet-app[72357]:       Connection id "0HLICQN39M726" completed keep alive response.
Nov 17 22:50:27 srv dotnet-app[72357]: info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Nov 17 22:50:27 srv dotnet-app[72357]:       Request finished in 10.9784ms 200 text/css
Nov 17 22:50:27 srv dotnet-app[72357]: info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]

1	22:47:12 17-11-2018	0.0000000	<IP_ADDRESS>	<IP_ADDRESS>	HTTP	HTTP:Request, POST /Stuff/Import
2	22:47:12 17-11-2018	0.0000360	<IP_ADDRESS>	<IP_ADDRESS>	HTTP	HTTP:HTTP Payload, URL: /Stuff/Import
3	22:47:12 17-11-2018	0.0000430	<IP_ADDRESS>	<IP_ADDRESS>	TCP	TCP: [Bad CheckSum]Flags=...A...., SrcPort=GENA(5000), DstPort=49740, PayloadLen=0, Seq=3824579721, Ack=1939105195, Win=3637
4	22:49:25 17-11-2018<PHONE_NUMBER>	<IP_ADDRESS>	<IP_ADDRESS>	TCP	TCP: [Bad CheckSum]Flags=......S., SrcPort=54360, DstPort=9180, PayloadLen=0, Seq=1942897392, Ack=0, Win=43690 ( Negotiating scale factor 0x7 ) = 43690
5	22:49:25 17-11-2018<PHONE_NUMBER>	<IP_ADDRESS>	<IP_ADDRESS>	TCP	TCP:Flags=...A.R.., SrcPort=9180, DstPort=54360, PayloadLen=0, Seq=0, Ack=1942897393, Win=0
6	22:50:27 17-11-2018<PHONE_NUMBER>	<IP_ADDRESS>	<IP_ADDRESS>	HTTP	HTTP:Response, HTTP/1.1, Status: Ok, URL: /Stuff/Import
7	22:50:27 17-11-2018<PHONE_NUMBER>	<IP_ADDRESS>	<IP_ADDRESS>	TCP	TCP: [Bad CheckSum]Flags=...A...., SrcPort=49740, DstPort=GENA(5000), PayloadLen=0, Seq=1939105195, Ack=3824594169, Win=3637
8	22:50:27 17-11-2018<PHONE_NUMBER>	<IP_ADDRESS>	<IP_ADDRESS>	HTTP	HTTP:Request, GET /css/site.min.css, Query:v=kd_Sb3YWjfxxyPEvWA2rMZh_f96MckHEPM1Edti4V8A
9	22:50:27 17-11-2018<PHONE_NUMBER>	<IP_ADDRESS>	<IP_ADDRESS>	HTTP	HTTP:HTTP Payload, URL: /css/site.min.css

@j-hudecek
Any thoughts on what the [Bad CheckSum] reports may be about?
We don't control the TCP framing so OS/network level issue maybe? Do you have anything that may be causing issues there?

I don't know, but all the other packets (except the 5th one, which is from a different port so probably unrelated to Kestrel) also show [Bad Checksum] (but they are reasonable like Checksum: 0x48B, Bad not 0000). So, it does seem to be an issue but what could be causing it?

@j-hudecek,
Per the following segment, it looks like your app code has spent (almost exactly) 3 minutes in your controller. What's the controller doing there? Is there some time consuming/blocking thing? Uploading something big?
Nov 17 22:50:12 srv dotnet-app[72357]: info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Nov 17 22:50:12 srv dotnet-app[72357]:       Executed action appcore.Controllers.StuffController.Import (appcore) in 179955.606ms
Nov 17 22:50:12 srv dotnet-app[72357]: dbug: Microsoft.AspNetCore.Server.Kestrel[9]
Nov 17 22:50:12 srv dotnet-app[72357]:       Connection id "0HLICQN39M726" completed keep alive response.
Nov 17 22:50:12 srv dotnet-app[72357]: info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Nov 17 22:50:12 srv dotnet-app[72357]:       Request finished in<PHONE_NUMBER>ms 200 text/html; charset=utf-8

BTW, we don't seem to have the start of the request in your logs, just the end.

@muratg Yes, it's a long running import, I will probably change it to a background worker and polling. Nonetheless, it should still work, right?
The issue seems to be that at 22:50:12 Kestrel declares the request as finished but nothing happens on the wire until another request comes in.
You can see the logs including beginning of (a different) request in the previous comment of mine. I didn't want to spam the whole logs again when nothing interesting happens there.

OK. So the request starts at 22:47:12, the response is flushed at 22:50:12, and then Apache receives the response at 22:50:27 according to the network trace. I didn't really notice the last 15 second delay earlier.
@j-hudecek Can you provide us with a pcap file along with the ASP.NET logs and Apache records for the entire duration of the slow request?

... nothing happens on the wire until another request comes in.

This might be reversing cause and effect. I suspect Apache (or the end client) was waiting on the /Stuff/Import request to complete before requesting /css/site.min.css.

I could share the pcap file but it's full of confidential stuff so I don't want to post it publicly. Can I share it with you privately after I redact the more sensitive stuff?

Feel free to share privately. My email is in my GitHub profile.


[Internal] Provide Installation options via OS-specific channels

To make the installation of the CLI a smooth experience, we should distribute the CLI via the typical channels for the OS (Win, MacOs, Linux):

Windows: winget (docs) and chocolatey (docs)
MacOs: brew (as a custom formula)
Linux: as deb and rpm package (= we ned to build the corresponding binaries and publish them in the repository

As a reference see how the Gardener CLI is providing the CLI: https://github.com/gardener/gardenctl-v2


Task list as of now

Answer the following questions -

[ ] How will the factors affect algorithm?

[x] Finalize algorithm - Djikshtra's

[ ] Finalize data structure (List or matrix), trial and error

[x] Do we need ship specifications for indian porting?

[ ] Can we implement DP and Greedy? (To compare efficiency)

We need to keep this project as top priority. It is a great career boost.

ASCAT Data Products > Daily > wind stress & wind speed+direction
Ocean analysis daily from 2022 > 2022 > zonal current


Installing VSCode v1.86 broke debug breakpoints

Does this issue occur when all extensions are disabled?: Yes/No
Yes still occurs with all extension disabled

VS Code Version: 1.86.1
OS Version: Wndows 10 22H2 (OS Build 19045.3996)

Steps to Reproduce:

Install v1.86.1
Run node process, connect VSCode as debugger, try to set a breakpoint.
Note that breakpoints have empty circle not red dot.

Notes

There is a new panel, loaded scripts, that is empty.

Node debugging with Chrome works fine.
I set a breakpoint in Chrome debugger separately.
Noticed that my connected session in VSCode also hit the breakpoint and highlighted the correct line of code.

I think the debugger simply lost the path to my code for setting breakpoints.

My "launch.json" config
    {
      "name": "Meris.meris",
      "port": 5838,
      "request": "attach",
      "skipFiles": [
        "<node_internals>/**"
      ],
      "type": "node",
      "sourceMaps": true,
      "remoteRoot": "${workspaceFolder}/meris",
      "localRoot": "${workspaceFolder}/meris",
      "sourceMapPathOverrides": {
        "meteor://💻app/packages/*": "${workspaceFolder}/packages/*",  // Example: "meteor://💻app/main.ts" -> "c:/code/main.ts"
        "meteor://💻app/*": "${workspaceFolder}/meris/*"  // Example: "meteor://💻app/main.ts" -> "c:/code/main.ts"
      },
    },

Workaround
go back to v1.85. All works fine.
Had to uninstall GitHub CoPilot to get CoPilot working again. (yeah, I know another issue)

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

OK, went back and verified that v1.86.1 still fails. And I updated all the comments in the initial issue comment.

Up! Also facing this issue, my entire day went down the drain trying to figure out why they are not working

@brucejo75 downgrading to 1.85.2 until this is fixed, works on my end. You can get it from here https://code.visualstudio.com/updates/v1_85

/jsDebugLogs

Please collect trace logs using the following instructions:

If you're able to, add "trace": true to your launch.json and reproduce the issue. The location of the log file on your disk will be written to the Debug Console. Share that with us.
⚠ This log file will not contain source code, but will contain file paths. You can drop it into https://microsoft.github.io/vscode-pwa-analyzer/index.html to see what it contains. If you'd rather not share the log publicly, you can email it to<EMAIL_ADDRESS>

The breakpoints work for me, but sometimes the debug control panel

disappears during debugging even though the debug session is still running. Only after a vs code restart everything works normally again. But then the error occurs again after an undefined time or action.

Here is the log.
What I did:

connected to my node server.
set a breakpoint at a location I know I was going to hit (the breakpoint showed up as an unfilled grey circle, not red circle)
Ran my code

Expected: breakpoint to be hit
Actual: no breakpoint hit
Log file: vscode-debugadapter-d7a9e62e.json.gz

In the log you provided, you set breakpoints in files named handler.js, server.js, and upload.js, however I'm not seeing any files with these names get loaded by your program -- the breakpoints show as unverified unless the associated source gets loaded.
Are you able to share a log from 1.85 as well so I can see how things 'should' be working?

Hi @connor4312,
Ran the same test on v1.85.2. This time the breakpoint in handlers.js was hit.
Log file: vscode-debugadapter-ac6fd48a.json.gz

Thanks. I'm actually not sure why it was working before; it shouldn't have been. You should be able to resolve this by setting "resolveSourceMapLocations": null in your launch.json.
It seems like meteor sets the URL of compiled files, not just source files (e.g. meteor://💻app/packages/meris.data-tables.js is the URL in the scriptParsed event.) We could solve this in the debugger by applying sourceMapPathMappings to scripts with sourceURL's as well as sourcemaps. I think that should be quite safe.

That does the trick!  Thanks!
FIX
add "resolveSourceMapLocations": null to my launch.json.

I'll keep this issue open to track the fix I mentioned that we could do on the debugger side


sceneId error when starting from prefab mode

Describe the bug
Whenever I start my scene from prefab mode of any prefab, Unity starts the previously loaded scene, but Mirror complains:
Scene <scene> needs to be opened and resaved, because the scene object <sceneobject>has no valid sceneId yet.
I then have to exit the game, exit prefab mode, run the scene once, only to receive the same error and get the asterisk for unsaved changes, save and THEN it works again.
Repro project
PrefabModeBug.zip
To Reproduce
Steps to reproduce the behavior:

Open the SampleScene
Open the Assets/GameObject Prefab in Prefab Mode
Press Play
See error
Stop the game and exit prefab mode
Press Play
See same error
Stop Play
See that the scene now shows an asterisk
save and play
error is gone

Expected behavior
Since nothing changed in the scene, no error should be thrown
Desktop (please complete the following information):

OS: Windows
Build target: Windows: Editor Standalone, Editor UWP
Unity version: 2018.4.2f1
Mirror branch: latest store version

taking a look at this now, thanks for report

@Alexees could you make a video and also post the exact error please?
I tried it with 2018.3.6 but can't reproduce it there yet.

@vis2k Sorry for the late reply. I checked my step description for the zip content I uploaded here and it's reliably reproducible with it. But it seems it's a Unity 2018.4.x problem, I am using 2018.4.2f1

@vis2k is a video and exact error still necessary to get this going, or do you mind checking this out on Unity 2018.4?

While I can reproduce this in Unity 2018.2.6 with the sample provided, I cannot reproduce it with any other scene or prefab I have in the same project.  I didn't use the entire provided project, but rather pulled in the few relevant files and that was sufficient to get the error thrown.

Somehow your scene or that prefab, which isn't even referenced in the scene, are in some corrupted state.  Deleting and recreating one or both made the error go away entirely.
Unless someone can give us steps to get into this bad state, there's really nothing we can do here.  It seems likely to be a Unity glitch that got you in this state.
Closing this and the related PR for now - will revisit if more concrete information comes to light.

I faced this problem as well. After rebuilding my scene and all my prefabs I found a strange issue:
If you instantiate a GameObject "GoA" that has a script attached, that instaniate a GameObject "GoB" before the Unity start function can be called, then you get this error as well. If you wait until the start function is called and then instantiate the GameObject "GoB" / or do it in the start function, the error will not occur.
Examble with the error
ScriptA sa = Instantiate(mpGo, mpParent).GetComponent<ScriptA>();
sa.StartTheScript();
public void StartTheScript() { Instantiate("GoB"); }

Example without error
ScriptA sa = Instantiate(mpGo, mpParent).GetComponent<ScriptA>();
public void Start() { Instantiate("GoB"); }

I deleted the Mirror Folder and reimport it from the package manager then it restarted the references and the error disappeared

In my case the problem comes from having a FSM component from Playmaker in the prefab, dont know exactly why but the prefab could not have FSM component

.unity needs to be opened and resaved before building, because the scene object ta has no valid sceneId yet.2021,ll2cpp


Added keywords.txt file

I've added a keywords.txt file for syntax highlighting of the Arduboy library functions, types, etc. when using the Arduino IDE.
I didn't include the audio stuff because I'm not sure how mature it is and I haven't researched what should be exposed to a sketch developer.
I might have also missed a few other functions, and there may be some that shouldn't be there, but it's a start.
I've put everything in alphabetical order, which IMHO makes it easy to maintain.

Thank you : )


Support of React StyleSheet object

I have a problem with using React StyleSheet library. I get the following error:
Invalid prop `style` of type `number` supplied to `Styled(Content)`, expected `object`

But this styles works correctly if I add it to contentContainerStyle.
How to use React StyleSheet object with NativeBase?

Sorry.
I found a solution here:

If you have overwritten the styles of NativeBase components in your project using StyleSheet.create(), modify them to plain JavaScript objects. StyleSheet.create() is redundant as it's been called in the source of NativeBase components itself.


[sync with universe] unable to sync universe: proof for key  is invalid

Hi, I am trying to mint my own taproot assets and I followed the steps:

Launched bitcoin testnet with bitcoind, where the bitcoin.conf looks like:

txindex=1
rpcuser=umi
rpcpassword=whatever
rpcallowip=<IP_ADDRESS>
rpcconnect=<IP_ADDRESS>
datadir=/bitcoin/data
server=1
daemon=1
zmqpubrawblock=tcp://<IP_ADDRESS>:28332
zmqpubrawtx=tcp://<IP_ADDRESS>:28333

Launched lnd, with lnd.conf:

externalip=whatever
bitcoin.active=1
bitcoin.testnet=1
bitcoin.node=bitcoind
btcd.rpchost=localhost
btcd.rpcuser=umi
btcd.rpcpass=whatever

Launched tapd, with
tapd --network=testnet --debuglevel=debug --lnd.host=localhost:10009 --lnd.macaroonpath=~/.lnd/data/chain/bitcoin/testnet/admin.macaroon --lnd.tlspath=~/.lnd/tls.cert

Unlock lnd, create wallet address, and receive some testnet bitcoin:

lncli unlock
lncli --network=testnet newaddress p2tr
lncli --network=testnet walletbalance

after that, mint asset:
root@umibitcoin ~ # tapcli assets mint --type normal --name fantasycoin --supply 100 --meta_bytes "fantastic money"
{
    "batch_key": "0395abdd75f14cdb7ce6b70bd822146a24e9734450c9585fd3759eca76c001d508"
}
root@umibitcoin ~ # tapcli assets mint finalize
{
    "batch_key": "0395abdd75f14cdb7ce6b70bd822146a24e9734450c9585fd3759eca76c001d508"
}

root@umibitcoin ~ # tapcli assets list
{
    "assets": [
        {
            "version": 0,
            "asset_genesis": {
                "genesis_point": "6b47b7f3b5b4f016795cb9189fc1c03e8383aa811cb30b9d545232714dae0796:1",
                "name": "umicoin",
                "meta_hash": "4ff1b02c93487f8762f49d09877d2c8edcb19104ecff0bc0119b4f22b85b3e4c",
                "asset_id": "a466936816b579a3e94ddcfb6acebe6561783533fc726cbc0bb9c31ec7a046de",
                "output_index": 0,
                "version": 0
            },
            "asset_type": "NORMAL",
            "amount": "100",
            "lock_time": 0,
            "relative_lock_time": 0,
            "script_version": 0,
            "script_key": "0269de60f71c12b4a0af995d985ac0a6fb0d2245f46c1f1b66c991fecc8bc126f1",
            "script_key_is_local": true,
            "asset_group": null,
            "chain_anchor": {
                "anchor_tx": "020000000001019607ae4d713252549d0bb31c81aa83833ec0c19f18b95c7916f0b4b5f3b7476b0100000000ffffffff02e803000000000000225120c9b3a5ce2a56b709942c62b0cd03644861169d6de70864be277a4bbcd101289c84270000000000002251205d01bdb7edfc1e979f6d87abc68d5e028e16571c2d851f3621ef9ecbcbea8e7401403aa5205ab10d2602c1706a678d7138656b8fb53e20e6b904240967aa8a3315c2875a8b571b8d8ff900bae5d969ec517ec62b13df11d18459aa684cd4e0b4e4c100000000",
                "anchor_txid": "20bddae3da15e81dfced293be1b90a282b15d7765b3c8b9832cb0a517999361f",
                "anchor_block_hash": "196e7df84ee470d28ad1e4474989e38e98815d7eed9399bb0600000000000000",
                "anchor_outpoint": "20bddae3da15e81dfced293be1b90a282b15d7765b3c8b9832cb0a517999361f:0",
                "internal_key": "03e136f8df58e3cdd048c1004237c06f197dc903a14218b0e4a22dd35edad77017",
                "merkle_root": "a533a174f089f6fa7b58a204d3c2e4b15ba790567d7efc1fbc7ede0ddc7be655",
                "tapscript_sibling": ""
            },
            "prev_witnesses": [],
            "is_spent": false
        }
    ]
}

And then, when I want to sync with universe, I got this error:
root@umibitcoin ~ # tapcli universe sync --universe_host testnet.universe.lightning.finance
[tapcli] rpc error: code = Unknown desc = unable to sync universe: proof for key=(universe.BaseKey) {
 MintingOutpoint: (wire.OutPoint) afbb5f6b0ca78c2798d7671d5dccbd34efc8983079aa732b1f719779a95dfd8a:0,
 ScriptKey: (*asset.ScriptKey)(0xc0002efc80)({
  PubKey: (*secp256k1.PublicKey)(0xc000a20910)({
   x: (secp256k1.FieldVal) 7f9b360585bf4d55b05e4726514114eb0ec39bf1b27e19768d51e7b09ceab2a0,
   y: (secp256k1.FieldVal) 537430f37dd123fd639b1492b8e16ad2dee246a421b00cd0d04d2862faac4ea2
  }),
  TweakedScriptKey: (*asset.TweakedScriptKey)(<nil>)
 })
}
 is invalid

Interesting, it looks like you're trying to download a proof from the server that your tapd then thinks is invalid. So the problem might not be on your end at all.
Thanks for the report, we'll investigate.

Dug into this a bit, and it looks like the proof returned by the server fails before the actual tap level validation. instead the SMT inclusion proof doesn't match the universe root we fetch.

Confirmed the same RPC error on my testnet setup, same minting outpoint. ScriptKey shows different x & y values.

ScriptKey shows different x & y values.

Can you elaborate on that? As in another leaf for that asset group or something else?

Some inserted debug logs:
2023-05-26 17:33:14.435 [INF] UNIV: Reconstructed root: (mssmt.NodeHash) (len=32 cap=32) 75fa411dc1702cb57819dc699b8c662f649cffda918efc4a750875f190cfe25f

2023-05-26 17:33:14.435 [INF] UNIV: Expected root: (mssmt.NodeHash) (len=32 cap=32) 174d433bd665bad3be8ea975c14e5945804d92913abd9852e024fc85c347d2f9

2023-05-26 17:33:14.435 [INF] UNIV: Universe root root: (mssmt.NodeHash) (len=32 cap=32) 174d433bd665bad3be8ea975c14e5945804d92913abd9852e024fc85c347d2f9

So it is the case that the roots mismatch. I think then this would mean the issuance proof isn't being serialized properly for the request/response of RpcUniverseDiff.

Encountered the similar issue while syncing universe. I was testing a workflow to transfer one asset from one tapd instance to address generated on another tapd instance.
The CLI command I hit was : tapcli universe sync --universe_host testnet.universe.lightning.finance
And the output I received was
[tapcli] rpc error: code = Unknown desc = unable to sync universe: proof for key=(universe.BaseKey) {
MintingOutpoint: (wire.OutPoint) afbb5f6b0ca78c2798d7671d5dccbd34efc8983079aa732b1f719779a95dfd8a:0,
ScriptKey: (*asset.ScriptKey)(0xc000031030)({
PubKey: (*secp256k1.PublicKey)(0xc00093a000)({
x: (secp256k1.FieldVal) 63d5f10e1912bfbc9a53ea1decd49b55af231a30675a342b40954af6d1d2103e,
y: (secp256k1.FieldVal) 5c7da2252d8e24e26adaedb5f6887ff58c7699d3131812d94b22f683e670fc60
}),
TweakedScriptKey: (*asset.TweakedScriptKey)()
})
}
is invalid

Will be the teams P0 this issue will be encountered by many users.

Solve by cleaning up DB state


Cannot locate jwt package in app_check.py after updating to firebase-admin-python V6.0.0

[REQUIRED] Step 2: Describe your environment

Operating System version: MacOS 10.15.7
Firebase SDK version: V6.0.0
Firebase Product: app_check
Python version: 3.7.9
Pip version: 22.1.2

[REQUIRED] Step 3: Describe the problem
Updated to V6.0.0 and attempted to run my development server within Flask and encountered the following errors:
Error: While importing 'api', an ImportError was raised:

Traceback (most recent call last):
  File "/Users/kdfriedman/Desktop/curate-ai-python-api/env/lib/python3.7/site-packages/flask/cli.py", line 218, in locate_app
    __import__(module_name)
  File "/Users/kdfriedman/Desktop/curate-ai-python-api/api/api.py", line 2, in <module>
    from auth import validate_auth, validate_app
  File "/Users/kdfriedman/Desktop/curate-ai-python-api/api/auth.py", line 2, in <module>
    from service.firebase import verify_auth_token, verify_app_token
  File "/Users/kdfriedman/Desktop/curate-ai-python-api/api/service/firebase.py", line 2, in <module>
    from firebase_admin import credentials, auth, firestore, app_check
  File "/Users/kdfriedman/Desktop/curate-ai-python-api/env/lib/python3.7/site-packages/firebase_admin/app_check.py", line 18, in <module>
    import jwt
ModuleNotFoundError: No module named 'jwt'

After attempting to install the jwt package to fix the issue, a new error occurred:
Error: While importing 'api', an ImportError was raised:

Traceback (most recent call last):
  File "/Users/kdfriedman/Desktop/curate-ai-python-api/env/lib/python3.7/site-packages/flask/cli.py", line 218, in locate_app
    __import__(module_name)
  File "/Users/kdfriedman/Desktop/curate-ai-python-api/api/api.py", line 2, in <module>
    from auth import validate_auth, validate_app
  File "/Users/kdfriedman/Desktop/curate-ai-python-api/api/auth.py", line 2, in <module>
    from service.firebase import verify_auth_token, verify_app_token
  File "/Users/kdfriedman/Desktop/curate-ai-python-api/api/service/firebase.py", line 2, in <module>
    from firebase_admin import credentials, auth, firestore, app_check
  File "/Users/kdfriedman/Desktop/curate-ai-python-api/env/lib/python3.7/site-packages/firebase_admin/app_check.py", line 19, in <module>
    from jwt import PyJWKClient, ExpiredSignatureError, InvalidTokenError
ImportError: cannot import name 'PyJWKClient' from 'jwt' (/Users/kdfriedman/Desktop/curate-ai-python-api/env/lib/python3.7/site-packages/jwt/__init__.py)

Steps to reproduce:
I updated to V6 of the SDK and immediately encountered this issue. When I attempted to install the jwt package, a different error occurred.
Relevant Code:
import firebase_admin
from firebase_admin import credentials, auth, firestore, app_check
import os

# Initialize the default app
ENV_KEYS = {
    "CREDS_GO_HERE"
}

CREDENTIALS = credentials.Certificate(ENV_KEYS)
firebase_app = firebase_admin.initialize_app(CREDENTIALS)

verify_app_token = app_check.verify_token

Hey @kdfriedman, Thank you for reporting this issue!
I think we need to add the new dependency to setup.py to include it in the final artifacts. I will submit a fix for this.
In the meantime, could you check installing the dependency pyjwt in your project would fix this issue?
pip install pyjwt[crypto]

Thanks!

Thanks for the update! Yea, installing that particular package fixed my issue. Thanks again


WsgiFunctionApp with DispatcherMiddleware and registering new HTTP triggers blueprints

Using a technique called DispatcherMiddleware it is possible to mount a Flask app only at an arbitrary prefix path.
Would it be possible for the http_app_func to manage only this mount path so that the app can register other HTTP endpoints (using durable functions and orchestrators for example)
import azure.functions as func
from werkzeug.serving import run_simple
from werkzeug.middleware.dispatcher import DispatcherMiddleware

flask_app = Flask(__name__)
@flask_app.get("/")
def hello():
    return Response(f"
Hello World
", mimetype="text/html")

flask_app.wsgi_app = DispatcherMiddleware(run_simple, {'/abc/123': flask_app.wsgi_app})
# see https://stackoverflow.com/a/18967744/1360476

app = func.WsgiFunctionApp(app=flask_app.wsgi_app, http_auth_level=func.AuthLevel.ANONYMOUS)
# app.register_blueprint(other_http_bp_here)

It appears every routes become managed by http_app_func because of the constant route template below.
https://github.com/Azure/azure-functions-python-library/blob/b85eb7a7909198de93fd974dd8225aa9d9cbdbc5/azure/functions/decorators/function_app.py#L2842-L2847
Moreover using the host.json file it looks like it is only possible to set the $.extensions.http.routePrefix globally
https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook?tabs=isolated-process%2Cfunctionsv2&pivots=programming-language-python#hostjson-settings

Adding this class solved the problem
prefix = "v1"

class FlaskFunctionApp(ExternalHttpFunctionApp):
    """A class to create a WsgiFunctionApp object."""

    def __init__(self, app, http_auth_level: AuthLevel | str = AuthLevel.FUNCTION):
        """Constructor of WsgiFunctionApp object."""

        super().__init__(auth_level=http_auth_level)
        self._add_http_app(WsgiMiddleware(app))

    def _add_http_app(self, http_middleware: AsgiMiddleware | WsgiMiddleware) -> None:
        """Add a Wsgi app integrated http function."""

        if not isinstance(http_middleware, WsgiMiddleware):
            raise TypeError("Please pass WsgiMiddleware instance" " as parameter.")

        wsgi_middleware: WsgiMiddleware = http_middleware

        @self.http_type(http_type="wsgi")
        @self.route(methods=(method for method in HttpMethod), auth_level=self.auth_level, route=prefix + "/{*route}")
        def http_app_func(req: HttpRequest, context: Context):
            return wsgi_middleware.handle(req, context)

I then just need to mount using the same prefix
from werkzeug.exceptions import NotFound

flask_app.wsgi_app = DispatcherMiddleware(NotFound(), {f"/{prefix}": flask_app.wsgi_app})


Add file information to getKtFile IllegalArgumentException

We've encountered issues in our CI due to some bogus file in the custom scope we were creating, in a flakey test.
But finding the offending file is harder than it needs to be, as the exception won't say which file it is.
I'm adding the file path to the error, to know earlier which file caused the issues. It's also consistent with the exception being thrown in L49 in KotlinFileParser.kt.

Thanks for this improvement! I created new PR: https://github.com/LemonAppDev/konsist/pull/1296 with passed tests.


Proof mode

Includes documentation (VERY important in this case)

Implementation was done in #154, there's a separate ticket for documentation (#227)


[FEAT][GraphAr] Add API to python client to  enable loading graph  from gar files or archive graph to gar files

What do these changes do?

Add API to python client to enable loading graph from gar files or archive graph to gar files

🤖 Generated by Copilot at dfdff8a
This pull request adds a new feature to load and archive graphs in the GAR format, which is a compressed and portable format for graph data. It modifies the GrapeInstance, PropertyGraphUtils, and PropertyGraphFrame classes in the analytical engine to handle the ARCHIVE_GRAPH operation and the GAR files. It also updates the coordinator and the Python API to support graph archiving and loading from GAR files. It adds new enum values to types.proto and a conditional compilation flag to CMakeLists.txt to enable the feature.
Related issue number
issue https://github.com/alibaba/GraphAr/issues/41

Codecov Report

Merging #2588 (aa9391f) into main (3979f49) will decrease coverage by 5.63%.
The diff coverage is 23.25%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #2588      +/-   ##
==========================================
- Coverage   41.43%   35.81%   -5.63%
==========================================
  Files          99      100       +1
  Lines       10273    10316      +43
==========================================
- Hits         4257     3695     -562
- Misses       6016     6621     +605

Impacted Files
Coverage Δ

python/graphscope/tests/unittest/test_gar.py
0.00% <0.00%> (ø)

python/graphscope/framework/graph_builder.py
71.11% <10.00%> (-17.47%)
:arrow_down:

python/graphscope/framework/dag_utils.py
34.85% <20.00%> (-9.19%)
:arrow_down:

python/graphscope/client/session.py
61.71% <33.33%> (-4.09%)
:arrow_down:

python/graphscope/framework/graph.py
59.45% <42.85%> (-11.69%)
:arrow_down:

python/graphscope/__init__.py
82.75% <100.00%> (+0.61%)
:arrow_up:

... and 26 files with indirect coverage changes

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3979f49...aa9391f. Read the comment docs.

@sighingnow The ci of gar has passed, only networkx ci failed which is not related to this change, can we merge the pr?


Framework for UI testing

This could be worth exploring for UI testing: https://github.com/redhat-developer/vscode-extension-tester

Thank you for bringing this to our attention. I will close this issue because we started adding UI tests with: https://github.com/redhat-developer/vscode-quarkus/pull/172.
We will continue to add more UI tests: https://github.com/redhat-developer/vscode-quarkus/issues?utf8=✓&q=is%3Aopen+is%3Aissue+label%3Adebt+Tests+for


It adds the pull requests that were made to development. But it keeps adding everything, including what has already been part of a previous release.
When is the time to use cookietemple bump-version?
My current workflow is:

make sure everything runs on development
git checkout -b release/xyz
cookietemple bump-version on the release branch
merge release into master
merge master back into development

Of course it also adds the PR from master back into development. I should also mention my default branch is master, not development (as it is in the cookietemple repo).
And it doesn't seem to get that the PRs previous to the bump-version should not be part of the changelog for the current draft.
So does that mean we should first bump the version on the development after the last merge from master back into development?
Could you give some best practise advice and could you document it somehwere on cookietemple.readthedocs.io please?
Also it would be cool to have an additional flag such as cookietemple bump-version --publish to automatically publish the current draft release.

Hey, thanks for the question:

I should also mention my default branch is master, not development (as it is in the cookietemple repo).

Any specific reasoning for this? I'd always recommend setting the default branch to anything but master/main.

When is the time to use cookietemple bump-version?

My workflow is typically to first make sure everything runs on dev, then when I'm ready to release, bump the version on dev branch and checkout to a new release branch and release (maybe after some minor fixes though).
I don't know whether that's the best approach out there or not, but it works very well (for me at least).

Also it would be cool to have an additional flag such as cookietemple bump-version --publish to automatically publish the current draft release.

I'm not quite sure whether this should be part of bump-version or a command at it's own, but an interesting idea. What do you think @Zethson ?


dotenvx encrypt does not create a public key - can't reproduce. need more info.

Windows, dotenvx 1.20, created a .env.producton with HELLO=world, ran dotenvx.exe encrypt -f .env.production and NO public key header existed in the file. dotenv.exe keypair -f .env.production shows {"DOTENV_PUBLIC_KEY_PRODUCTION"=null, DOTENV_PRIVATE_KEY_PRODUCTION: "redacted"}

i can't reproduce on my non windows machine but I will try on windows later today.
in the meantime, can you check if your env currently happens to have a DOTENV_PUBLIC or DOTENV_PRIVATE key already set? i'm not sure how to do that on windows. on posix it is the env command.

also if you downgrade to 1.19.3 do you experience the same problem still? https://github.com/dotenvx/dotenvx/releases/tag/v1.19.3
(1.20.0 introduced new logic around handling preset global machine private/public keys)

i haven't been able to reproduce this @VictorioBerra. maybe it is a file encoding issue - though dotenvx does try to handle that https://github.com/dotenvx/dotenvx/blob/6248392d49bae432f8685b6f32546475e9196ef5/src/lib/services/run.js#L89
i'm going to close this until you can send more info or if others chime in experiencing the same.

It definitely happened... but I cant repo anymore.

ok good to hear. let me know if it happens again. my best guess is an encoding edge case.


Terraform Mirror for non-primary bundles (part 2)

Fixes #2353
What is being addressed
Second part of running Terraform mirror in bundle build.
How is this addressed

Update all non-primary bundles.
Upgrade Terraform client to 1.2.6
Optimize mlflow image build

/test-force-approve


Split y-axis labels into two lines

Overview

split y-axis labels into two lines to improve readability on small screens

How it was tested

Ran cardio app, resized browser window and checked y-axis labels.

Checklist

[x] The title contains a short meaningful summary
[x] I have added a link to this PR in the Jira issue
[x] I have described how this was tested
[ ] I have included screen shots for changes that affect the user interface
[ ] I have updated unit tests
[ ] I have run unit tests locally
[ ] I have updated documentation (including README)


Dont expose blocking calls externally, except for fluent api

@slang25 Done 👍

@AnthonySteele You are right, at the moment they have been lifted up the fluent api methods, and we warn about this in the release notes (see first item under known issues here).
This removes the other public apis with the blocking, that people may have accidentally called and get tripped up by. Pull async fluent api will come in a later release 👍


Documentation issue

Hi, I'm a Arduino noob :-) and try to install the software with the IDE.
When I try to add the following libraries I get multiple hits with search:
Arduino_GFX_Library.h (installed as there was a screenshot)

ESP8266WiFi.h
PMS.h
Adafruit_Sensor.h
Adafruit_BME280.h (gives one hit in the search so installed)
Wire.h
SPI.h

With multiple hits I don't know which one to install and installing all seems not a good idea(?)
Thanks!.
When switching on the AiryFi from out of the box status the display says connecting... What is the default package installed or are they delivered empty and need to be configured before use?
Some more documentation in the read.me would certainly help a Arduino noob! Thanks!

Here are the libraries you need to install
Adafruit BME280 Library (the two Adafruit librairies indented below are installed as dependences)
Adafruit BusIO
Adafruit Unified Sensor
AdruinJSON
GFX Library for Arduino
PMS Library
The other ones are pre-installed.
The documentation is certainly lacking.

Hi Thanks,
I will start reading, experimenting and gain some knowledge!
Groet, Willem
Op zo 5 feb. 2023 07:20 schreef sharp275 @.***>:

Here are the libraries you need to install
Adafruit BME280 Library (the two Adafruit librairies indented below are
installed as dependences)
Adafruit BusIO
Adafruit Unified Sensor
AdruinJSON
GFX Library for Arduino
PMS Library
The other ones are pre-installed.
The documentation is certainly lacking.
—
Reply to this email directly, view it on GitHub
https://github.com/sbcshop/AiryFi_Software/issues/4#issuecomment-1416933138,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEKHMRSYE6RRJX3VKWUXSPLWV5BD7ANCNFSM6AAAAAAUGP6OUY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Update aws-core, http-client-spi, ... to 2.19.6

Updates

software.amazon.awssdk:aws-core
software.amazon.awssdk:http-client-spi
software.amazon.awssdk:netty-nio-client

from 2.17.295 to 2.19.6.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "software.amazon.awssdk" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #1087.


TypeError: canonicalize_version() got an unexpected keyword argument strip_trailing_zero

🐛 Bug Description
When install pyqlib via poetry, python3.10, I met a dependency conflict that prevented the installation from completing successfully.
I think that's because the version conflict of packaging https://github.com/pypa/setuptools/issues/4483
I want to upgrade packaging to 22.0 but qlib has limited the version to below 22.0.
To Reproduce
Steps to reproduce the behavior:

poetry add pyqlib

Expected Behavior
Install sucessfully
Screenshot

Environment
Note: User could run cd scripts && python collect_info.py all under project directory to get system information
and paste them here directly.

Qlib version: 0.9.5
Python version: 3.10
OS (Windows, Linux, MacOS): MacOS
Commit number (optional, please provide it if you are using the dev version):

Additional Notes

I would like to work on this @mtodd @tpope @sverrejoh @radical

Hi, @sailxjx
I saw your issue and at the time you asked it, qlib didn't support python 3.10, but fortunately, qlib has recently made some adjustments and now supports python 3.10, so you can try pulling the latest code and installing it with make install or make dev.


Vertexmerge

Given that these changes have been more or less tested in production, I think the branch is safe to merge.
Then we can start to work on sprite optimisation.

I agree!


Unable to Remove Mask

Bug Description
No way to remove image from a shape after using drop targets
How can a user remove the image/video from mask if they change their minds? Unless I missed it somehow, I don't see anything in Figma about that
Reported by Claudio on #580
Expected Behaviour
UX should be clear on how to remove a masked image/video
Steps to Reproduce

Screenshots

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria
QA Instructions

There is no intent to remove the image from a mask that is not the page bg. Closing this ticket.


Change supported Gradle and Java versions in the Tooling API

Design spec: https://docs.google.com/document/d/1YcPeOMAYUdHKD8JQ54LAF9C6mBVBZs0CPj7y2z-6jec/edit
This PR contains the functional changes; the documentation will be implemented separately.

@bot-gradle test RFM

OK, I've already triggered the following builds for you:

PullRequestFeedback build

OK, I've already triggered the following builds for you:

ReadyForRelease build

@bot-gradle test RFR

OK, I've already triggered the following builds for you:

ReadyForRelease build

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

OK, I've already triggered a build for you.

@bot-gradle cancel

OK, I've already cancelled the pre-tested commit build.

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.


Provide multiple strategies for choosing which Node Group to increase

As per #1921, the current cluster-autoscaler chooses a node group to increase at random among the groups that can fit at least one pod. This expands this to two additional strategies:

Most Pods - choose the node group that can schedule the most pods, usually due to predicate rules
Least Waste - choose the node group that has the least remaining CPU resources after a scale up, and if that is tied, the least remaining Memory

In the event of a tie, both of these strategies fall back to the current Random method.
This probably needs test coverage, to move to its own package, and there could be some weirdness in the algorithms as it needs manual testing.
Looking mostly to see if I'm on the right track and will proceed after.

This change is

Moved the strategies into their own package and added test coverage. Currently calling them 'expanders' but open to better names.

Thank you for working on this. I guess we will have more than 2-3 estimators - yours are quite basic and eventually we will have to come up with something much more complex that incorporates  $$$ cost and balances the strategies. We need a way to keep everything in order.
So, please:

Define an interface for expander and a common way to build it (factory or whatever).
Put each of the expanders into a separate directory, along with tests.
Create a separate md page where the expanders are documented along with some guidance when to use which.

@mwielgus generally sounds good. one question on 'Put each of the expanders into a separate directory, along with tests.' - are you thinking like the cloudproviders package? One main with the factory and interface, and one for each? Main reason I ask is they are currently quite simple, so it's a lot for very little code, but I'm happy to do it if it makes sense.
Agree this is a first step - solves a particular problem I have and lays the ground work for more in the future.

@mwielgus changes are done except for the md file, in case you want to take a look here

@mwielgus All done my changes. @andrewsykim and I are using this in our production cluster and it's working great so far!

Mostly OK, one comment regarding least waste strategy. Rebase is needed.

@mwielgus I like the idea - made the change, and rebased.

Couple nits. Please fix, squash commits to just 1 and we are good to go.

Good to go once Travis passes.

/approve


Incoming message from slanger

We get mesage from slanger on 'update' event with length about 240k symbols . Front cannot work with so big length data and hangs. This reproduces only for BTC/USD market on 'market-btcusd-global' channel with an 'update' event.
Peatio version 1.8.29

Hi @mkovka
We removed the daemon which produces this event in favor of Event API. See #1379.


[SPARK-32884][TESTS] Mark TPCDSQuery*Suite as ExtendedSQLTest

What changes were proposed in this pull request?
This PR aims to mark the following suite as ExtendedSQLTest to reduce GitHub Action test time.

TPCDSQuerySuite
TPCDSQueryANSISuite
TPCDSQueryWithStatsSuite

Why are the changes needed?
Currently, the longest GitHub Action task is Build and test / Build modules: sql - other tests with 1h 57m 10s while Build and test / Build modules: sql - slow tests takes 42m 20s. With this PR, we can move the workload from other tests to slow tests task and reduce the total waiting time about 7 ~ 8 minutes.
Does this PR introduce any user-facing change?
No. This is a test-only change.
How was this patch tested?
Pass the GitHub Action with the reduced running time.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/33318/
Test PASSed.

Test build #128695 has started for PR 29755 at commit 0b2483d.

This is nice. We should mark more tests. Merged to master.
I manually checked the logs and see it's properly excluded/included.

Thank you, @HyukjinKwon !

Test build #128695 has finished for PR 29755 at commit 0b2483d.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/128695/
Test FAILed.

Nice update! (To get a report Report test results, I often wait for the longest job to be completed... )


lens trace viewer seems busted

Tried to load a trace json and got this. same trace doesn't break in zipkin classic.

I'm also seeing this with 2.13.0

Is the PR closing this issue @tacigar? If that is the case I suggest we use the key Closes #xxx to automagically close the issue on PR merge :).

Works for me now, issue can be closed i think.

Resolved by #2608


Trained baselines values incl. active training

very nice work presented here, well done!
just a small question regarding the speed up evaluation for gymnax environments: I guess that the reported execution times with a neural network policy are based on a fixed policy without active learning (i.e., policy improvement steps), right?
did you also benchmark the speed up with active learning of the policy utilizing standard algorithms like PPO, ES,...?

Thank you and excuse the late response. Yes, you are completely correct. The speed estimates are all done with respect to a fixed policy, i.e. random policy or fixed weights for network forward passes. This is mainly due to the fact that algorithm speed very much depends on implementation details that go beyond gymnax features. I have a lot of anectodal experience, but not hard numbers collected. Maybe I will do so eventually for a write-up. Feel free to share your experience :)
I will close this. Feel free to reopen!


PIP Package for project files of Naarad

Hello @iharshit009! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file naarad/src/fb_login.py:

Line 25:1: E305 expected 2 blank lines after class or function definition, found 1

Hi sir I have opened the PR Please have a look.

Sure. Please resolve the issues raised by @pep8speaks

sir I have made the changes and learnt many things about gitignore file but still have a doubt why we specify various files and extensions that are even not in my project files...??
Instead we should specify only those which are included in our project but want to ignore..

Oh, it's actually for all python projects.
Also, in case we ever expand we won't need to update the .gitignore too
much.
On Sat, May 25, 2019 at 2:34 PM HARSHIT JAIN<EMAIL_ADDRESS>wrote:

sir I have made the changes and learnt many things about gitignore file
but still have a doubt why we specify various files and extensions that are
even not in my project files...??
Instead we should specify only those which are included in our project but
want to ignore..
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/oss2019/naarad/pull/14?email_source=notifications&email_token=AH2K2IAGZC5KMYGI65UKNOTPXD6I5A5CNFSM4HPNLDBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWHLEMI#issuecomment-495890993,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH2K2IFJ7DTKG6VOJ4E24C3PXD6I5ANCNFSM4HPNLDBA
.

Hey @iharshit009 , thanks for adding the .gitignore file. There are still some files such as ".pyc" files which should not be committed.
Can you please remove them?

please check it out sir.

You need to manually delete the already existing unrequired files, commit and then push.

sir i have done it.
but i wanted to know why was this step required as .gitignore should do this job..?

and sir how to identify which to delete(include in gitignore) or not??


quick way to lookup which version of uproxy-lib uProxy was built with

And other dependencies generally.

Oops, just noticed this is already done! We get a very neat version listing for uproxy-lib, etc., at the top of logs.


How to identify application activity or element id on click

I would like to know which element or button was clicked, I require this for a custom application.
when I execute the command
./appetizer trace info mytrace.trace

I get this result {"contacts": 1, "description": "", "height": 1280, "length": 5.08226399999694, "records": 4, "valid": true, "width": 720}
Is it possible to capture/display the element id or application activity  that was launched ?

I understand uiautomator can solve the problem but since it's an automated task, I do not want to use uiautomator to manually identify element. Is there any tool or is it possible to use monkey runner to identify elements that are clicked on the device ?

I mean adb uiautomator dump or the AccessibilityNodeInfo it uses at low level. You can code up a script/program that capture real-time widget tree for cross-referencing.
As for monkey-runner, AFAIK, 1. it is out-dated; 2. it is unstable sometimes, get stuck when connecting to a device; 3. you might not want to deal with the funny Jython when developing on top of that.


GUI Panel not dynamically resizeable

GUI Panel dimensions can be set in constructor but cannot be resized dynamically after construction. Solutions would either be to edit the mesh and re-upload (maybe with stream draw) to VRAM which is slow, or find a way to apply uniforms to the shader without knowing the program-handle which would be nice and fast but also hard as nails to achieve elegantly

Fixed in commit 3369f8d29ca012f5b3d96bd984bf64cb0cb56d49


Is there a way to send local video frame by socket to this tool ?

thanks your great work !
I want to make a tool,
It receive window screen shot in a loop, and send screen shot to remote server,
if remote server use streamlit-webrtc, how to show each screen shot as video frame?
thanks.

At this moment it's not supported as the video source is only limited to WebCam.
Let me leave this issue as a feature request.


Minor sanction description content tweaks

Context
There have been some minor tweaks to the sanction copy
Changes proposed in this pull request

Add some email links
Update misconduct panel to 'of serious misconduct'

As per the content spreadsheet
Guidance to review
Quite a bit of whitespace noise 😬
Checklist

[x] Attach to Trello card
[x] Rebased main
[x] Cleaned commit history
[x] Tested by running locally

 Update sanction description content


Enhancement: change RemoveModal prop type for body

Name of component or pattern
RemoveModal
Brief description
The idea is to make the body prop able to accept node as value instead of just "string" in order to allow adding more detailed texts to the component. It doesn't break if passing ReactNode component, however it causes warning messages about the prop type.
Example:
This is an example of the a RemoveModal that receives as body prop the following HTML:
  const Body = () => (
    <>

        Removing bx1001 will permanently remove the configuration.

        Note:  This action cannot be undone.

    </>
  );

Details
Link to example or existing component - RemoveModal

@matthewgallo yep i can do :)


Google license

Greetings
I have been trying to develop a game and use iap
However there was a problem with the licenses
I could not find anywhere to place Google license into Godot project.
I uploaded my game into Google play and I tried to use this plugin without Google license but I could not use it
Please help

@m4gr3d please respond

@mani144 Godot contributors are helping people on their spare time. Please be mindful of this :slightly_smiling_face:

@Calinou I know,
and im supporting Godot engine from 2.0
however the problem took 2 weeks of searching and I did not find any resources, and I don't think i`m the only one who is asking for this>
I even open a reddit topic and said in that topic that if someone knows he should let me know so I can update the docs.
i already contributed to godot docs

I don't understand what the actual problem is, you should share more information. Are you following the tutorial mentioned in the README, and what does your code look like? What is the actual problem you're talking about?

@akien-mga
sorry for saying like this, but this problem is making me going into loops for exactly two weeks, and I have been doing a lot of searches but could not find anything related to this.
So let me explain it:
I used to develop apps on a different platform and I noticed something quite weird.
Usually, when creating a IAP google gives a License to verify the purchases and also to allow testing purchases.
However, I did not c anything talking about this in Godot so I thought maybe Godot implement IAP differently and I opened a thread in reddit explaining the problem and someone said you can put the licenses ( this was a confirmation that godot uses the same method)
However, nothing in Godot docs or demo is talking about linking godot with google play ( or the license), the only thing mention google play is that you must upload the apk to google ( I have uploaded the apk and iap did not work)
I feel that something missing either in the docs or in the plugin ...
I tried every possible way and even let my friend reads the docs just in case I missed something or I did not understand it.
please advise and thank you for your time

what "License" are you talking about? is that "License Test" on google developer console?
what do you mean "iap did not work"?
did nothing come up when trying to purchase?
is there any error message?
did you add your test account for a tester at Publish > Test > Internal (or alpha/beta) and accept testing on your account?

what "License" are you talking about? is that "License Test" on google developer console?

when you upload an apk, there is an option called Monetization setup
which provide a license to prevent the unauthorized distribution of your app and test in-app billing integrations
what do you mean "iap did not work"?
did nothing come up when trying to purchase?
is there any error message?
IAP does not connect using :
payment.startConnection()
no error is shown even in adb logcat
did you add your test account for a tester at Publish > Test > Internal (or alpha/beta) and accept testing on your account?
yes I already installed the game using play store direct USB installation

I didn't set the public key for licensing with my current project, but testing iap works as expected for me.
there probably be something wrong in another place.

I didn't set the public key for licensing with my current project, but testing iap works as expected for me.
there probably be something wrong in another place.

so you just did the tutorial and added uploaded the apk to google play and did work ?
ok, so you using the debug key as the release key for ur game ?
another question is how did use product ID (SKU) ?
did you add com.android.vending.BILLING as a permission ?

so you just did the tutorial and added uploaded the apk to google play and did work ?

yes

also, did you use the debug key as the release key for ur game ?

using release key as debug key

another question is how did use product ID (SKU) ?

reversed domain form. like org.godot.product_1

did you add com.android.vending.BILLING as a permission ?

no. it's already inside GodotGooglePlayBilling.1.0.1.release.aar

@volzhs
so my problem is with startConnection...
I will try and debug and get back to you

Sorry for the trouble guys
It seems, I was using an android emulator which does not have iap ( the default emulator as far as read)
However using something like bluestack, it's a necessity that you must sign in to Google play to make it work.
If used my personal phone this wasn't going to be a problem
I will try to update the docs in a way that explains it
Thabk you all for your trouble


How to disable Defender Plans in Security Center

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Versions

terraform:1.8.5
azure provider:3.117.0
module:6.2.0
Description
Describe the bug
I'm trying to disable the Defender for Servers Plan in the Defender for Cloud Security Center environment settings for my existing subcriptions under the root management group of the caf-es module by disabling the service in the config.
After rolling out the changes the policy is updated, but the setting for the plan is unchanged in security center.
Steps to Reproduce
Disable the Defender for Servers Plan in configure_management_resources:
...
      security_center = {
        enabled = true
        config = {
          email_security_contact                                =<EMAIL_ADDRESS>          enable_defender_for_app_services                      = true
          enable_defender_for_arm                               = true
          enable_defender_for_containers                        = true
          enable_defender_for_cosmosdbs                         = true
          enable_defender_for_cspm                              = true
          enable_defender_for_key_vault                         = true
          enable_defender_for_oss_databases                     = true
          enable_defender_for_servers                           = false
          enable_defender_for_servers_vulnerability_assessments = false
          enable_defender_for_sql_servers                       = true
          enable_defender_for_sql_server_vms                    = true
          enable_defender_for_storage                           = true
        }
      }
...

Leads to a policy initiative assignment being updated:
  # module.enterprise_scale.azurerm_management_group_policy_assignment.enterprise_scale["/providers/Microsoft.Management/managementGroups/bla/providers/Microsoft.Authorization/policyAssignments/Deploy-MDFC-Config-H224"] will be updated in-place
  ~ resource "azurerm_management_group_policy_assignment" "enterprise_scale" {
        id                   = "/providers/Microsoft.Management/managementGroups/bla/providers/Microsoft.Authorization/policyAssignments/Deploy-MDFC-Config-H224"
        name                 = "Deploy-MDFC-Config-H224"
      ~ parameters           = jsonencode(
          ~ {
              ~ enableAscForServers                         = {
                  ~ value = "DeployIfNotExists" -> "Disabled"
                }
                # (15 unchanged attributes hidden)
            }
        )
        # (8 unchanged attributes hidden)
        # (2 unchanged blocks hidden)
    }

Hi,
The setting you changes manages a policy setting, which when disabled will mean that any new subscriptions falling in scope of the assignment being unchanged.
To disable the setting you will need to manage this in the subscription itself

@matt-FFFFFF Thanks for clarification. I'll close the issue.


Support for Canonicalization (Sorting)

Using canonicalization, it becomes very simple adding a digital signature to a JSON object:
https://github.com/cyberphone/json-canonicalization/tree/master/dotnet/json.net.sign
I have skimmed the code and it "seems" that the least intrusive change would be to add one field to Netwonsoft.Json.Formatting.
The suggested change would introduce the following algorithm:
https://cyberphone.github.io/doc/security/draft-rundgren-json-canonicalization-scheme.html#json.sorting.properties
It would be sufficient calling this formatting mode Sorted since there are other things needed for full-blown I-JSON compatible signature support.

You may wonder what the purpose is, right?
Current standard for signed JSON:
https://openid.net/specs/openid-financial-api-part-2.html#request
eyJhbGciOiJSUzI1NiIsImtpZCI6ImsyYmRjIn0.ew0KICJpc3MiOiA
(... abbreviated for brevity ...)
zCYIb_NMXvtTIVc1jpspnTSD7xMbpL-2QgwUsAlMGzw

JSON clear text signature alternatives depend on canonicalization:
{
  "id": "johndoe",
  "counter": 3,
  "list": [
    "yes",
    "no"
  ],
  "signature": {
    "alg": "HS256",
    "kid": "mykey",
    "val": "rlKLoCBExrwB7NaChPtQ3cAxr83eGdpLA7txrg49slw"
  }
}

End of Base64 tyranny 😂!!!

It's easy enough to do already during serialization, see e.g. OrderedContractResolver from Order of serialized fields using JSON.NET when serializing a type using reflection.
Some additional effort would be required for dictionaries or dynamic objects though.

@dbc2 Yes, I updated the stackoverflow sample (added StringComparer which is compatible with the sorting algorithm)
    public class Canonicalizer : DefaultContractResolver
    {
        protected override IList<JsonProperty> CreateProperties(Type type, MemberSerialization memberSerialization)
        {
            return base.CreateProperties(type, memberSerialization)
                .OrderBy(p => p.PropertyName, StringComparer.Ordinal).ToList();
        }
    }

for a scheme using declared objects but it failed for dynamic objects since the supplied contract resolver is never called (which may be logical since there is no contract).
Anyway, sorting alone does not enable signatures like above; serialization of JSON primitives must also conform to a standard and the only available such is specified in ECMAScript. Here is a 2000 line port achieving that:
https://github.com/cyberphone/json-canonicalization/tree/master/dotnet/es6numberserialization

Hi, everyone!
First of all, thanks for opening this issue, @cyberphone (and for the linked library).
I do believe adding a canonical formatter would be extremely helpful, specifically when trying to sign JSON files, and I agree that @cyberphone's suggestion of adding a new formatter in the enum.
@JamesNK - is this something we want to add in a future release?

This is a very useful formatting option for us to achieve deterministic output. Cloud Native App Bundle is also using Canonical JSON.

Is there any .NET library (Newtonsoft.Json or not) which supports Canonical JSON output? We're in desperate need of one :-)

Hi @drauch, here you have source for a variant of Canonical JSON:
https://github.com/cyberphone/json-canonicalization/tree/master/dotnet
The referenced specification is currently in the RFC publication queue.

Thank you for the recommendation.


Improve local area map

Current map is just blank states with no geography or references other than state borders.
Investigate a new map style that can be used in function local_area_map, or possibly creating a new mapping function to allow different version to be selected.

Use contextily to add a base layer underneath the plotted data.
This gets rid of the need to have the state_plotter function. But re-opens the issue of needing separate map generators for the local KC area and for the total area. This is due to the number of tiles needed and the zoom level.
documentation:
https://contextily.readthedocs.io/en/latest/index.html


Fixed configuration display issues, refactoring, preserving folder structure

Fixed Zoom display inconsistency issue PR #10
Refactor source/nijigenerate/io/package.d confusing code
Add the KRA/PSD import "Preserve Folder Structure" configuration option (Currently only PSD works)
Add message box, Import prompt window

@seagetch I marked the PR as ready for review, but I noticed that the KRA import code does not preserve the folder structure when the setting is enabled.

screenshots

@seagetch incMessageBox() and incImportKeepFolderStructPop() has been changed, but the tinyfiledialogs library has poorly defined button IDs, so I need to implement a convert function.

Check the incDialog() implementation in source/nijigenerate/widgets/dialog.d to see if it can replace tinyfiledialogs.

I'm not sure which action is causing incDialogButtonSelected() to return NONE.
I might unifying the enum DialogButton with DialogButtons in source/nijigenerate/widgets/dialog.d.
    incDialog(
        "Import_File_Ask",
        __("Are you sure?"),
        _("test message."),
        DialogLevel.Warning,
        DialogButtons.Yes | DialogButtons.No | DialogButtons.Cancel
    );

    writeln("incDialogButtonSelected: ", incDialogButtonSelected("Import_File_Ask"));

let me know if you think PR is prepared for merge

@seagetch Maybe this is sufficient?
If switch to incDialog need to refactor most of incDialog to class or writing convoluted multi-layer callbacks. No elegant way to implement it. Maybe an event manager is needed first.
Currently, it might be possible to make the incMessageBox and incDialog interfaces consistent if necessary. Please let me know if you think this is necessary. If so, I will push a new commit.
By the way, based on the previous comment about incDialogButtonSelected. I'll mark below code as a potential issue, although it hasn't been verified yet.
https://github.com/nijigenerate/nijigenerate/blob/63902b04a4d2924efcc3a18494922e4ed5e481a6/source/nijigenerate/viewport/vertex/package.d#L168-L186

@seagetch I'm currently implementing the class into dialog.d to avoid environment-related issues. However, I've noticed that nijiui/source/nijiui/widgets and nijigenerate/source/nijigenerate/widgets contain some similar code, and nijigenerate has no dependencies.
I'm not sure if there were specific reasons for not using nijiui. I'm considering whether I could directly use the nijiui program code instead.
https://github.com/nijigenerate/nijiui/tree/main/source/nijiui/widgets
https://github.com/nijigenerate/nijigenerate/tree/main/source/nijigenerate/widgets

@seagetch I'm currently implementing the class into dialog.d to avoid environment-related issues. However, I've noticed that nijiui/source/nijiui/widgets and nijigenerate/source/nijigenerate/widgets contain some duplicate code, and nijigenerate has no dependencies.
I'm not sure if there were specific reasons for not using nijiui. I'm considering whether I could directly use the nijiui program code instead.
https://github.com/nijigenerate/nijiui/tree/main/source/nijiui/widgets
https://github.com/nijigenerate/nijigenerate/tree/main/source/nijigenerate/widgets

nijiui is a fork of inui, which it was made initially by Luna to try to separate the UI code from the program logic on both inochi-creator and inochi-session. She started doing this work in session, but ended up giving up along the way.

@grillo-delmal This PR is not a large-scale refactoring of the project. It’s a minimum viable solution to ensure that users are not disappointed with the FOSS application.
While newer architectures may be developed in the future, they cannot address the current issues.

@seagetch It now uses dialog.d, is no longer affected by the wrapper, and implements DialogHandler to manage click events.


core[major]: do not cast tool outputs to str

Update existing callback manager to not cast tool outputs to string.

Requested here: https://github.com/langchain-ai/langchain/pull/18932

closing in favor of existing PR


[GUI] The details screen is corrupted when the string value is undefined

When a string attribute is given a "null" or undefined value, the details screen is broken.
Steps to reproduce the problem:

Create a flow where the value of the output parameter is not set

Run the flow
View the output device attribute

Test NOK.

Test OK.


HideableView when hidden should not block focus

The scenario:
HideableView #Dialog#
If I create that^^^ and add siv.add_layer(dlg) and the hide that Dialog I will not be able to have any interaction with my application.
Surely hidden dialog should not block input?

Hi, and thanks for the report!
This is a deeper issue with the StackView; right now, all layers are "modal", meaning that they prevent input to reach any lower layer. This means that only the top-level layer is able to get any input, even if that layer is invisible.
Supporting non-modal layers is a long-term goal, I just haven't looked at it yet.

The latest commits should bring a way to have non-modal layers.
One consequence is that if you:

Add some regular layers
Add a HideableView layer
Make that HideableView invisible
Make the layer non-modal (with StackView::set_modal)

Then it will no longer block input.
Note that non-modal (or "modeless") layers can be used in many other situations, for example to have non-interactive "overlay" layers, status bars, ...
It also opens the door for having several "movable" windows where you can grab another inactive window and bring it to the front, similar to a floating window manager.

Great work! Thanks!


Improve Error Handling in IPC CLI

Some contract calls revert with specific errors. For instance, trying to join a subnet as a collateral validator in federated mode fails with revert MethodNotAllowed(ERR_PERMISSIONED_AND_BOOTSTRAPPED). The CLI should parse these errors and report the reason back to the user.

We've had this discussion before. The issue is the ethers-rs somehow does not expose the revert error to ipc-cli, from the tests we did before.

@cryptoAtwill I can have a look.

The issue is that the Calibration net does not return the revert data in the JSON RPC response. Not in the ethers-rs library. Though the error is inside the message field in the response and can be parsed. Suggested solution:

Look at what ethers-rs does internally to turn the value in "data" to a human readable error, and see if the same "interpretation" API is available publicly. Then we could handle this case by extracting the error data from the message string, and calling that API.
See if you can attach a middleware to intercept the response and massage it into what ethers expects.