Error during parallel execution of the features Reqnroll.BoDi.ObjectContainerException : Concurrent object resolution timeout (potential circular dependency).

Reqnroll Version
2.1.0
Which test runner are you using?
xUnit
Test Runner Version Number
2.9.1
.NET Implementation
.NET 8.0
Test Execution Method
Visual Studio Test Explorer
Content of reqnroll.json configuration file
not present
Issue Description
Recently I have moved from SpecFLow to Reqnroll. Thank you for quite extensive migration documentation. It was quite easy.
But I have bumped into one issue. It is with parallel test execution. There was no issues with parallel execution at SpecFlow.
================ BeforeTestRun
[xUnit.net 00:00:02.03]     Test title... [FAIL]
[xUnit.net 00:00:02.03]       Reqnroll.BoDi.ObjectContainerException : Concurrent object resolution timeout (potential circular dependency).
[xUnit.net 00:00:02.03]       Stack Trace:
[xUnit.net 00:00:02.03]            at Reqnroll.BoDi.ObjectContainer.RegistrationWithStrategy.ExecuteWithLock(Object lockObject, Func`1 getter, Func`1 factory, ResolutionList resolutionPath, TimeSpan timeout)
[xUnit.net 00:00:02.03]            at Reqnroll.BoDi.ObjectContainer.FactoryRegistration.ResolvePerContext(ObjectContainer container, RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.03]            at Reqnroll.BoDi.ObjectContainer.RegistrationWithStrategy.Resolve(ObjectContainer container, RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.03]            at Reqnroll.BoDi.ObjectContainer.ResolveObject(RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.03]            at Reqnroll.BoDi.ObjectContainer.Resolve(Type typeToResolve, ResolutionList resolutionPath, String name)
[xUnit.net 00:00:02.03]            at Reqnroll.BoDi.ObjectContainer.Resolve(Type typeToResolve, String name)
[xUnit.net 00:00:02.03]            at Reqnroll.BoDi.ObjectContainer.Resolve[T](String name)
[xUnit.net 00:00:02.03]            at Reqnroll.BoDi.ObjectContainer.Resolve[T]()
[xUnit.net 00:00:02.03]            at Reqnroll.Microsoft.Extensions.DependencyInjection.DependencyInjectionPlugin.CustomizeFeatureDependenciesEventHandler(Object sender, CustomizeFeatureDependenciesEventArgs args)
[xUnit.net 00:00:02.03]            at Reqnroll.Plugins.RuntimePluginEvents.RaiseCustomizeFeatureDependencies(ObjectContainer featureContainer)
[xUnit.net 00:00:02.03]            at Reqnroll.Infrastructure.ContainerBuilder.CreateFeatureContainer(IObjectContainer testThreadContainer, FeatureInfo featureInfo)
[xUnit.net 00:00:02.03]            at Reqnroll.Infrastructure.ContextManager.InitializeFeatureContext(FeatureInfo featureInfo)
[xUnit.net 00:00:02.03]            at Reqnroll.Infrastructure.TestExecutionEngine.OnFeatureStartAsync(FeatureInfo featureInfo)
[xUnit.net 00:00:02.03]            at Reqnroll.TestRunner.OnFeatureStartAsync(FeatureInfo featureInfo)
[xUnit.net 00:00:02.03]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FeatureSetupAsync()
[xUnit.net 00:00:02.03]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FixtureData.Xunit.IAsyncLifetime.InitializeAsync()

There is my Before Test Run hook that set ups wait time
using Reqnroll.BoDi;

using Reqnroll;

namespace some.name.space.e2e.Tests
{
    [Binding]
    public class Hooks
    {
        private readonly IReqnrollOutputHelper _outputHelper;
        private IEnodeTestApiClientFactory _enodeTestApiClientFactory;
        private readonly ScenarioContext _scenarioContext;

        public Hooks(
            ScenarioContext scenarioContext,
            IReqnrollOutputHelper outputHelper,
            IEnodeTestApiClientFactory enodeTestApiClientFactory)
        {
            _scenarioContext = scenarioContext;
            _outputHelper = outputHelper;
            _enodeTestApiClientFactory = enodeTestApiClientFactory;
        }

        [BeforeTestRun]
        public static void BeforeTestRun()
        {
            Console.WriteLine("================ BeforeTestRun");

            // Default is 1 second, which is not enough to resolve our ServiceCollection (see Startup.cs)
            // if we run multiple features in parallel (this leads to "Concurrent object resolution timeout (potential circular dependency)." exception)
            ObjectContainer.DefaultConcurrentObjectResolutionTimeout = TimeSpan.FromSeconds(30);
        }

Build orde:
Build started at 7:42 ...
1>------ Build started: Project: Eneco.Vpp.BehindTheMeter.Common.Core.Infrastructure, Configuration: Debug Any CPU ------
1>C:\Eneco.Vpp.BehindTheMeter\src\Common\Core\Eneco.Vpp.BehindTheMeter.Common.Core.Infrastructure\Eneco.Vpp.BehindTheMeter.Common.Core.Infrastructure.csproj : warning NU1902: Package 'OpenTelemetry.Instrumentation.AspNetCore' 1.7.0 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-vh2m-22xx-q94f
1>Skipping analyzers to speed up the build. You can execute 'Build' or 'Rebuild' command to run analyzers.
1>Eneco.Vpp.BehindTheMeter.Common.Core.Infrastructure -> C:\Eneco.Vpp.BehindTheMeter\src\Common\Core\Eneco.Vpp.BehindTheMeter.Common.Core.Infrastructure\bin\Debug\net8.0\Eneco.Vpp.BehindTheMeter.Common.Core.Infrastructure.dll
1>Done building project "Eneco.Vpp.BehindTheMeter.Common.Core.Infrastructure.csproj".
2>------ Build started: Project: Eneco.Vpp.BehindTheMeter.Hems.Common.Infrastructure, Configuration: Debug Any CPU ------
2>Skipping analyzers to speed up the build. You can execute 'Build' or 'Rebuild' command to run analyzers.
2>Eneco.Vpp.BehindTheMeter.Hems.Common.Infrastructure -> C:\Eneco.Vpp.BehindTheMeter\src\Hems\Common\Eneco.Vpp.BehindTheMeter.Hems.Common.Infrastructure\bin\Debug\net8.0\Eneco.Vpp.BehindTheMeter.Hems.Common.Infrastructure.dll
3>------ Build started: Project: Eneco.Vpp.BehindTheMeter.Common.Api.Application, Configuration: Debug Any CPU ------
3>Skipping analyzers to speed up the build. You can execute 'Build' or 'Rebuild' command to run analyzers.
3>Eneco.Vpp.BehindTheMeter.Common.Api.Application -> C:\Eneco.Vpp.BehindTheMeter\src\Common\Api\Eneco.Vpp.BehindTheMeter.Common.Api.Application\bin\Debug\net8.0\Eneco.Vpp.BehindTheMeter.Common.Api.Application.dll
4>------ Build started: Project: Eneco.Vpp.BehindTheMeter.Hems.Api.Application, Configuration: Debug Any CPU ------
4>Skipping analyzers to speed up the build. You can execute 'Build' or 'Rebuild' command to run analyzers.
4>Eneco.Vpp.BehindTheMeter.Hems.Api.Application -> C:\Eneco.Vpp.BehindTheMeter\src\Hems\Api\Eneco.Vpp.BehindTheMeter.Hems.Api.Application\bin\Debug\net8.0\Eneco.Vpp.BehindTheMeter.Hems.Api.Application.dll
5>------ Build started: Project: Eneco.Vpp.BehindTheMeter.Hems.Common.Api.Tests, Configuration: Debug Any CPU ------
5>Skipping analyzers to speed up the build. You can execute 'Build' or 'Rebuild' command to run analyzers.
5>Eneco.Vpp.BehindTheMeter.Hems.Common.Api.Tests -> C:\Eneco.Vpp.BehindTheMeter\src\Hems\Common\Eneco.Vpp.BehindTheMeter.Hems.Common.Api.Tests\bin\Debug\net8.0\Eneco.Vpp.BehindTheMeter.Hems.Common.Api.Tests.dll
6>------ Build started: Project: Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests, Configuration: Debug Any CPU ------
6>ReqnrollFeatureFiles: Features\DeviceSettingsAndState.feature;Features\Onboarding.feature;Features\PriceIngestionTests.feature;Features\TriggerAndScheduleGenerationWithoutPowerForecast.feature;Features\TriggerAndScheduleGenerationWithPowerForecast.feature
6>-> Using default config
6>ReqnrollGeneratedFiles: Features\DeviceSettingsAndState.feature.cs
6>ReqnrollGeneratedFiles: Features\Onboarding.feature.cs
6>ReqnrollGeneratedFiles: Features\PriceIngestionTests.feature.cs
6>ReqnrollGeneratedFiles: Features\TriggerAndScheduleGenerationWithoutPowerForecast.feature.cs
6>ReqnrollGeneratedFiles: Features\TriggerAndScheduleGenerationWithPowerForecast.feature.cs
6>Skipping analyzers to speed up the build. You can execute 'Build' or 'Rebuild' command to run analyzers.
6>Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests -> C:\Eneco.Vpp.BehindTheMeter\src\Hems\E2E-Tests\Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests\bin\Debug\net8.0\Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.dll
========== Build: 6 succeeded, 0 failed, 9 up-to-date, 0 skipped ==========
========== Build completed at 7:42  and took 07,999 seconds ==========

Reqnroll
Info: OnActivityStarted: Starting Visual Studio Extension...
Info: CreateProjectScope: Initializing project: Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests
Info: StartRetryInitializeTimer: Project settings not available yet, retry in 5 seconds...
Info: OnSettingsInitialized: Project settings initialized: .NETCoreApp,Version=v8.0,Reqnroll:2.1.0
Info: ThenImportBindings: 49 step definitions and 6 hooks discovered for project Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests

Test Output
Log level is set to Informational (Default).
Connected to test environment '< Local Windows Environment >'
Test data store opened in 0,252 sec.
========== Starting test discovery ==========
========== Test discovery skipped: All test containers are up to date ==========
Building Test Projects
========== Starting test run ==========
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.8.2+699d445a1a (64-bit .NET 8.0.8)
[xUnit.net 00:00:00.60]   Starting:    Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests
-> Loading plugin C:\Eneco.Vpp.BehindTheMeter\src\Hems\E2E-Tests\Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests\bin\Debug\net8.0\Reqnroll.Microsoft.Extensions.DependencyInjection.ReqnrollPlugin.dll
-> Loading plugin C:\Eneco.Vpp.BehindTheMeter\src\Hems\E2E-Tests\Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests\bin\Debug\net8.0\Reqnroll.xUnit.ReqnrollPlugin.dll
-> Loading plugin C:\Eneco.Vpp.BehindTheMeter\src\Hems\E2E-Tests\Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests\bin\Debug\net8.0\Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.dll
-> Using default config
================ BeforeTestRun
[xUnit.net 00:00:02.03]     Check that GET Device State returns correct information - External(customer: "customer_4_nl_device_state", country_Code: "NL", state: "PLUGGED_IN:CHARGING", level: "33", range: "330", location: "Home", exampleTags: []) [FAIL]
[xUnit.net 00:00:02.03]       Reqnroll.BoDi.ObjectContainerException : Concurrent object resolution timeout (potential circular dependency).
[xUnit.net 00:00:02.03]       Stack Trace:
[xUnit.net 00:00:02.03]            at Reqnroll.BoDi.ObjectContainer.RegistrationWithStrategy.ExecuteWithLock(Object lockObject, Func`1 getter, Func`1 factory, ResolutionList resolutionPath, TimeSpan timeout)
[xUnit.net 00:00:02.03]            at Reqnroll.BoDi.ObjectContainer.FactoryRegistration.ResolvePerContext(ObjectContainer container, RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.03]            at Reqnroll.BoDi.ObjectContainer.RegistrationWithStrategy.Resolve(ObjectContainer container, RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.03]            at Reqnroll.BoDi.ObjectContainer.ResolveObject(RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.03]            at Reqnroll.BoDi.ObjectContainer.Resolve(Type typeToResolve, ResolutionList resolutionPath, String name)
[xUnit.net 00:00:02.03]            at Reqnroll.BoDi.ObjectContainer.Resolve(Type typeToResolve, String name)
[xUnit.net 00:00:02.03]            at Reqnroll.BoDi.ObjectContainer.Resolve[T](String name)
[xUnit.net 00:00:02.03]            at Reqnroll.BoDi.ObjectContainer.Resolve[T]()
[xUnit.net 00:00:02.03]            at Reqnroll.Microsoft.Extensions.DependencyInjection.DependencyInjectionPlugin.CustomizeFeatureDependenciesEventHandler(Object sender, CustomizeFeatureDependenciesEventArgs args)
[xUnit.net 00:00:02.03]            at Reqnroll.Plugins.RuntimePluginEvents.RaiseCustomizeFeatureDependencies(ObjectContainer featureContainer)
[xUnit.net 00:00:02.03]            at Reqnroll.Infrastructure.ContainerBuilder.CreateFeatureContainer(IObjectContainer testThreadContainer, FeatureInfo featureInfo)
[xUnit.net 00:00:02.03]            at Reqnroll.Infrastructure.ContextManager.InitializeFeatureContext(FeatureInfo featureInfo)
[xUnit.net 00:00:02.03]            at Reqnroll.Infrastructure.TestExecutionEngine.OnFeatureStartAsync(FeatureInfo featureInfo)
[xUnit.net 00:00:02.03]            at Reqnroll.TestRunner.OnFeatureStartAsync(FeatureInfo featureInfo)
[xUnit.net 00:00:02.03]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FeatureSetupAsync()
[xUnit.net 00:00:02.03]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FixtureData.Xunit.IAsyncLifetime.InitializeAsync()
[xUnit.net 00:00:02.04]     Check that GET Device State returns correct information - External(customer: "customer_4_be_device_state", country_Code: "BE", state: "UNPLUGGED", level: "35", range: "350", location: "Home", exampleTags: []) [FAIL]
[xUnit.net 00:00:02.04]       Reqnroll.BoDi.ObjectContainerException : Concurrent object resolution timeout (potential circular dependency).
[xUnit.net 00:00:02.04]       Stack Trace:
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.RegistrationWithStrategy.ExecuteWithLock(Object lockObject, Func`1 getter, Func`1 factory, ResolutionList resolutionPath, TimeSpan timeout)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.FactoryRegistration.ResolvePerContext(ObjectContainer container, RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.RegistrationWithStrategy.Resolve(ObjectContainer container, RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.ResolveObject(RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.Resolve(Type typeToResolve, ResolutionList resolutionPath, String name)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.Resolve(Type typeToResolve, String name)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.Resolve[T](String name)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.Resolve[T]()
[xUnit.net 00:00:02.04]            at Reqnroll.Microsoft.Extensions.DependencyInjection.DependencyInjectionPlugin.CustomizeFeatureDependenciesEventHandler(Object sender, CustomizeFeatureDependenciesEventArgs args)
[xUnit.net 00:00:02.04]            at Reqnroll.Plugins.RuntimePluginEvents.RaiseCustomizeFeatureDependencies(ObjectContainer featureContainer)
[xUnit.net 00:00:02.04]            at Reqnroll.Infrastructure.ContainerBuilder.CreateFeatureContainer(IObjectContainer testThreadContainer, FeatureInfo featureInfo)
[xUnit.net 00:00:02.04]            at Reqnroll.Infrastructure.ContextManager.InitializeFeatureContext(FeatureInfo featureInfo)
[xUnit.net 00:00:02.04]            at Reqnroll.Infrastructure.TestExecutionEngine.OnFeatureStartAsync(FeatureInfo featureInfo)
[xUnit.net 00:00:02.04]            at Reqnroll.TestRunner.OnFeatureStartAsync(FeatureInfo featureInfo)
[xUnit.net 00:00:02.04]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FeatureSetupAsync()
[xUnit.net 00:00:02.04]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FixtureData.Xunit.IAsyncLifetime.InitializeAsync()
[xUnit.net 00:00:02.04]     Check that GET Device State returns correct information - External(customer: "customer_4_nl_device_state", country_Code: "NL", state: "UNPLUGGED", level: "36", range: "360", location: "Home", exampleTags: []) [FAIL]
[xUnit.net 00:00:02.04]       Reqnroll.BoDi.ObjectContainerException : Concurrent object resolution timeout (potential circular dependency).
[xUnit.net 00:00:02.04]       Stack Trace:
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.RegistrationWithStrategy.ExecuteWithLock(Object lockObject, Func`1 getter, Func`1 factory, ResolutionList resolutionPath, TimeSpan timeout)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.FactoryRegistration.ResolvePerContext(ObjectContainer container, RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.RegistrationWithStrategy.Resolve(ObjectContainer container, RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.ResolveObject(RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.Resolve(Type typeToResolve, ResolutionList resolutionPath, String name)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.Resolve(Type typeToResolve, String name)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.Resolve[T](String name)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.Resolve[T]()
[xUnit.net 00:00:02.04]            at Reqnroll.Microsoft.Extensions.DependencyInjection.DependencyInjectionPlugin.CustomizeFeatureDependenciesEventHandler(Object sender, CustomizeFeatureDependenciesEventArgs args)
[xUnit.net 00:00:02.04]            at Reqnroll.Plugins.RuntimePluginEvents.RaiseCustomizeFeatureDependencies(ObjectContainer featureContainer)
[xUnit.net 00:00:02.04]            at Reqnroll.Infrastructure.ContainerBuilder.CreateFeatureContainer(IObjectContainer testThreadContainer, FeatureInfo featureInfo)
[xUnit.net 00:00:02.04]            at Reqnroll.Infrastructure.ContextManager.InitializeFeatureContext(FeatureInfo featureInfo)
[xUnit.net 00:00:02.04]            at Reqnroll.Infrastructure.TestExecutionEngine.OnFeatureStartAsync(FeatureInfo featureInfo)
[xUnit.net 00:00:02.04]            at Reqnroll.TestRunner.OnFeatureStartAsync(FeatureInfo featureInfo)
[xUnit.net 00:00:02.04]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FeatureSetupAsync()
[xUnit.net 00:00:02.04]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FixtureData.Xunit.IAsyncLifetime.InitializeAsync()
[xUnit.net 00:00:02.04]     Check that GET Device State returns correct information - External(customer: "customer_4_be_device_state", country_Code: "BE", state: "PLUGGED_IN:CHARGING", level: "55", range: "550", location: "Home", exampleTags: []) [FAIL]
[xUnit.net 00:00:02.04]       Reqnroll.BoDi.ObjectContainerException : Concurrent object resolution timeout (potential circular dependency).
[xUnit.net 00:00:02.04]       Stack Trace:
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.RegistrationWithStrategy.ExecuteWithLock(Object lockObject, Func`1 getter, Func`1 factory, ResolutionList resolutionPath, TimeSpan timeout)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.FactoryRegistration.ResolvePerContext(ObjectContainer container, RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.RegistrationWithStrategy.Resolve(ObjectContainer container, RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.ResolveObject(RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.Resolve(Type typeToResolve, ResolutionList resolutionPath, String name)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.Resolve(Type typeToResolve, String name)
[xUnit.net 00:00:02.04]            at Reqnroll.BoDi.ObjectContainer.Resolve[T](String name)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.Resolve[T]()
[xUnit.net 00:00:02.05]            at Reqnroll.Microsoft.Extensions.DependencyInjection.DependencyInjectionPlugin.CustomizeFeatureDependenciesEventHandler(Object sender, CustomizeFeatureDependenciesEventArgs args)
[xUnit.net 00:00:02.05]            at Reqnroll.Plugins.RuntimePluginEvents.RaiseCustomizeFeatureDependencies(ObjectContainer featureContainer)
[xUnit.net 00:00:02.05]            at Reqnroll.Infrastructure.ContainerBuilder.CreateFeatureContainer(IObjectContainer testThreadContainer, FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Reqnroll.Infrastructure.ContextManager.InitializeFeatureContext(FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Reqnroll.Infrastructure.TestExecutionEngine.OnFeatureStartAsync(FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Reqnroll.TestRunner.OnFeatureStartAsync(FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FeatureSetupAsync()
[xUnit.net 00:00:02.05]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FixtureData.Xunit.IAsyncLifetime.InitializeAsync()
[xUnit.net 00:00:02.05]     Check that GET Device State returns correct information - Internal(customer: "customer_4_be_device_state", level: "35", range: "350", connected: "1", connected_Home: "0", charge_Rate: "5.1", charge_State: "ChargingAway", exampleTags: []) [FAIL]
[xUnit.net 00:00:02.05]       Reqnroll.BoDi.ObjectContainerException : Concurrent object resolution timeout (potential circular dependency).
[xUnit.net 00:00:02.05]       Stack Trace:
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.RegistrationWithStrategy.ExecuteWithLock(Object lockObject, Func`1 getter, Func`1 factory, ResolutionList resolutionPath, TimeSpan timeout)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.FactoryRegistration.ResolvePerContext(ObjectContainer container, RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.RegistrationWithStrategy.Resolve(ObjectContainer container, RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.ResolveObject(RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.Resolve(Type typeToResolve, ResolutionList resolutionPath, String name)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.Resolve(Type typeToResolve, String name)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.Resolve[T](String name)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.Resolve[T]()
[xUnit.net 00:00:02.05]            at Reqnroll.Microsoft.Extensions.DependencyInjection.DependencyInjectionPlugin.CustomizeFeatureDependenciesEventHandler(Object sender, CustomizeFeatureDependenciesEventArgs args)
[xUnit.net 00:00:02.05]            at Reqnroll.Plugins.RuntimePluginEvents.RaiseCustomizeFeatureDependencies(ObjectContainer featureContainer)
[xUnit.net 00:00:02.05]            at Reqnroll.Infrastructure.ContainerBuilder.CreateFeatureContainer(IObjectContainer testThreadContainer, FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Reqnroll.Infrastructure.ContextManager.InitializeFeatureContext(FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Reqnroll.Infrastructure.TestExecutionEngine.OnFeatureStartAsync(FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Reqnroll.TestRunner.OnFeatureStartAsync(FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FeatureSetupAsync()
[xUnit.net 00:00:02.05]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FixtureData.Xunit.IAsyncLifetime.InitializeAsync()
[xUnit.net 00:00:02.05]     Check that GET Device State returns correct information - Internal(customer: "customer_4_nl_device_state", level: "95", range: "950", connected: "0", connected_Home: "0", charge_Rate: "0", charge_State: "Away", exampleTags: []) [FAIL]
[xUnit.net 00:00:02.05]       Reqnroll.BoDi.ObjectContainerException : Concurrent object resolution timeout (potential circular dependency).
[xUnit.net 00:00:02.05]       Stack Trace:
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.RegistrationWithStrategy.ExecuteWithLock(Object lockObject, Func`1 getter, Func`1 factory, ResolutionList resolutionPath, TimeSpan timeout)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.FactoryRegistration.ResolvePerContext(ObjectContainer container, RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.RegistrationWithStrategy.Resolve(ObjectContainer container, RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.ResolveObject(RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.Resolve(Type typeToResolve, ResolutionList resolutionPath, String name)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.Resolve(Type typeToResolve, String name)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.Resolve[T](String name)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.Resolve[T]()
[xUnit.net 00:00:02.05]            at Reqnroll.Microsoft.Extensions.DependencyInjection.DependencyInjectionPlugin.CustomizeFeatureDependenciesEventHandler(Object sender, CustomizeFeatureDependenciesEventArgs args)
[xUnit.net 00:00:02.05]            at Reqnroll.Plugins.RuntimePluginEvents.RaiseCustomizeFeatureDependencies(ObjectContainer featureContainer)
[xUnit.net 00:00:02.05]            at Reqnroll.Infrastructure.ContainerBuilder.CreateFeatureContainer(IObjectContainer testThreadContainer, FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Reqnroll.Infrastructure.ContextManager.InitializeFeatureContext(FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Reqnroll.Infrastructure.TestExecutionEngine.OnFeatureStartAsync(FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Reqnroll.TestRunner.OnFeatureStartAsync(FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FeatureSetupAsync()
[xUnit.net 00:00:02.05]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FixtureData.Xunit.IAsyncLifetime.InitializeAsync()
[xUnit.net 00:00:02.05]     Check that GET Device State returns correct information - Internal(customer: "customer_4_nl_device_state", level: "25", range: "250", connected: "1", connected_Home: "1", charge_Rate: "4.1", charge_State: "Charging", exampleTags: []) [FAIL]
[xUnit.net 00:00:02.05]       Reqnroll.BoDi.ObjectContainerException : Concurrent object resolution timeout (potential circular dependency).
[xUnit.net 00:00:02.05]       Stack Trace:
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.RegistrationWithStrategy.ExecuteWithLock(Object lockObject, Func`1 getter, Func`1 factory, ResolutionList resolutionPath, TimeSpan timeout)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.FactoryRegistration.ResolvePerContext(ObjectContainer container, RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.RegistrationWithStrategy.Resolve(ObjectContainer container, RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.ResolveObject(RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.Resolve(Type typeToResolve, ResolutionList resolutionPath, String name)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.Resolve(Type typeToResolve, String name)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.Resolve[T](String name)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.Resolve[T]()
[xUnit.net 00:00:02.05]            at Reqnroll.Microsoft.Extensions.DependencyInjection.DependencyInjectionPlugin.CustomizeFeatureDependenciesEventHandler(Object sender, CustomizeFeatureDependenciesEventArgs args)
[xUnit.net 00:00:02.05]            at Reqnroll.Plugins.RuntimePluginEvents.RaiseCustomizeFeatureDependencies(ObjectContainer featureContainer)
[xUnit.net 00:00:02.05]            at Reqnroll.Infrastructure.ContainerBuilder.CreateFeatureContainer(IObjectContainer testThreadContainer, FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Reqnroll.Infrastructure.ContextManager.InitializeFeatureContext(FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Reqnroll.Infrastructure.TestExecutionEngine.OnFeatureStartAsync(FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Reqnroll.TestRunner.OnFeatureStartAsync(FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FeatureSetupAsync()
[xUnit.net 00:00:02.05]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FixtureData.Xunit.IAsyncLifetime.InitializeAsync()
[xUnit.net 00:00:02.05]     Check that GET Device State returns error response when wrong device id [FAIL]
[xUnit.net 00:00:02.05]       Reqnroll.BoDi.ObjectContainerException : Concurrent object resolution timeout (potential circular dependency).
[xUnit.net 00:00:02.05]       Stack Trace:
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.RegistrationWithStrategy.ExecuteWithLock(Object lockObject, Func`1 getter, Func`1 factory, ResolutionList resolutionPath, TimeSpan timeout)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.FactoryRegistration.ResolvePerContext(ObjectContainer container, RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.RegistrationWithStrategy.Resolve(ObjectContainer container, RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.ResolveObject(RegistrationKey keyToResolve, ResolutionList resolutionPath)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.Resolve(Type typeToResolve, ResolutionList resolutionPath, String name)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.Resolve(Type typeToResolve, String name)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.Resolve[T](String name)
[xUnit.net 00:00:02.05]            at Reqnroll.BoDi.ObjectContainer.Resolve[T]()
[xUnit.net 00:00:02.05]            at Reqnroll.Microsoft.Extensions.DependencyInjection.DependencyInjectionPlugin.CustomizeFeatureDependenciesEventHandler(Object sender, CustomizeFeatureDependenciesEventArgs args)
[xUnit.net 00:00:02.05]            at Reqnroll.Plugins.RuntimePluginEvents.RaiseCustomizeFeatureDependencies(ObjectContainer featureContainer)
[xUnit.net 00:00:02.05]            at Reqnroll.Infrastructure.ContainerBuilder.CreateFeatureContainer(IObjectContainer testThreadContainer, FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Reqnroll.Infrastructure.ContextManager.InitializeFeatureContext(FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Reqnroll.Infrastructure.TestExecutionEngine.OnFeatureStartAsync(FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Reqnroll.TestRunner.OnFeatureStartAsync(FeatureInfo featureInfo)
[xUnit.net 00:00:02.05]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FeatureSetupAsync()
[xUnit.net 00:00:02.05]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FixtureData.Xunit.IAsyncLifetime.InitializeAsync()
[xUnit.net 00:00:02.06]     [Test Class Cleanup Failure (Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature)] System.NullReferenceException
[xUnit.net 00:00:02.06]       System.NullReferenceException : Object reference not set to an instance of an object.
[xUnit.net 00:00:02.06]       Stack Trace:
[xUnit.net 00:00:02.06]            at Reqnroll.Infrastructure.TestExecutionEngine.GetHookContainer(HookType hookType)
[xUnit.net 00:00:02.06]            at Reqnroll.Infrastructure.TestExecutionEngine.FireRuntimePluginTestExecutionLifecycleEvents(HookType hookType)
[xUnit.net 00:00:02.06]            at Reqnroll.Infrastructure.TestExecutionEngine.FireEventsAsync(HookType hookType)
[xUnit.net 00:00:02.06]            at Reqnroll.Infrastructure.TestExecutionEngine.OnFeatureEndAsync()
[xUnit.net 00:00:02.06]            at Reqnroll.TestRunner.OnFeatureEndAsync()
[xUnit.net 00:00:02.06]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FeatureTearDownAsync()
[xUnit.net 00:00:02.06]            at Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests.Features.DeviceSettingsAndStateTestsFeature.FixtureData.Xunit.IAsyncLifetime.DisposeAsync()
======== BeforeFeature
======== AfterFeature
================ AfterTestRun
-> warning: Found 1 not released TestRunners (ids: 2)
[xUnit.net 00:02:26.08]   Finished:    Eneco.Vpp.BehindTheMeter.Hems.e2e.Tests
========== Test run finished: 24 Tests (8 Passed, 16 Failed, 0 Skipped) run in 2,4 min ==========

Steps to Reproduce
When two feature files are executed or more then One of them is being executed and all other features are failied almost imideate.
Link to Repro Project
No response

Most probably the issue is related to the Reqnroll.Microsoft.Extensions.DependencyInjection plugin and not to the core Reqnroll. But it's a good question still why it produces this error.
Could you please share a bit more information about the situation?

Why do you need the timeout setting? Is there any resource that resolves slowly?
What happens if you remove the timeout setting?
What happens if you increase the timeout setting?
Could you please confirm that you don't use test-level parallelization (could you please share the parallel settings)?
Is it possible that you really have a circular dependency (that was somehow ignored by SpecFlow)?
Can you reproduce this if you disable parallel execution?
Can you reproduce it with the debugger attached (so that you can better see what is happening when the exception comes)?

Hello,
Sorry for the late reply. I had to switch back to specflow due to a
parallel execution issue and long response on the issue. I cannot recreate
the issue now, cause I have a different unit test library.

Why do you need the timeout setting? Is there any resource that
resolves slowly?

Yes, slow resources, but test were failing immediately

What happens if you remove the timeout setting?

Did not try, and I cannot try it now

What happens if you increase the timeout setting?

No change, tests were failing the same way, one feature was executing other
were failing immediate

Could you please confirm that you don't use test-level parallelization
(could you please share the parallel settings)?

Not sure, but I did not play with additional settings. I simply migrated
from specflow to reqnroll. On specflow the parallelization was per feature.
Feature files were executed in parallel.

Is it possible that you really have a circular dependency (that was
somehow ignored by SpecFlow)?

Not sure and I cannot check it now

Can you reproduce this if you disable parallel execution?

Did not try. But I could execute all feature files one by one in debug
mode. Debug mode in Rider disables parallelisation.

Can you reproduce it with the debugger attached (so that you can
better see what is happening when the exception comes)?

No, I could not. Parallelisation is disabled in debug mode
Best regards,
Andrei
пн, 14 окт. 2024 г. в 16:48, Gáspár Nagy @.***>:

@padnevici https://github.com/padnevici Do you have any feedback on
this?
—
Reply to this email directly, view it on GitHub
https://github.com/reqnroll/Reqnroll/issues/263#issuecomment-2411483201,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACXYP5YCCBSANEXLXNTDXW3Z3PKVHAVCNFSM6AAAAABOQOGONSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJRGQ4DGMRQGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thx for the answers. I would suggest closing this issue until you (or someone) get into the position of reproducing this issue again.
So if there is any update, feel free to reopen it.


Add enterprise image properties

Like bring your own license or terms of use.

EULA/Terms of Use (URL)
Support status:

Support by CSP with OSV backing
Direct Support from OSV included
Supportable/Approved OSV image (but needs additional contract)
Not supported

Licensing/Maintenance terms

License included in instance cost
BYOL (Bring your own license) required
Optional
Not applicable (default?)

Let's also have a look what various CSPs do here ...

Will be fixed with #332.


FieldArray not updates on own field change

Are you submitting a bug report or a feature request?
Bug
What is the current behavior?
https://jsfiddle.net/vadim91/nduqzsst/1/
What is the expected behavior?
In this example "Remove" button should disable other inputs and "Restore" button should enable them. But this doesn't happen after each button click.
What's your environment?
Ubuntu 16.04.2 LTS
node 6.10.1
npm 3.10.10
"react": "^15.5.4"
"react-dom": "^15.5.4"
"react-redux": "^5.0.5"
"redux": "^3.6.0"
"redux-form": "6.7.0"
Other information
Looks like a bug in shouldComponentUpdate method of ConnectedFieldArray
    shouldComponentUpdate(nextProps) {
      // Update if the elements of the value array was updated.
      const thisValue = this.props.value
      const nextValue = nextProps.value

      if (thisValue && nextValue) {
        if (
          thisValue.length !== nextValue.length ||
          thisValue.every(val => nextValue.some(next => deepEqual(val, next))) // <--------------
        ) {
          return true
        }
      }

Now component updates if each prev value equals each next value and not otherwise.

This is not a bug; it's a feature! 😀 The FieldArray component (renderMembers in this example) does not rerender every time one of the values inside it changes. That would be horribly inefficient for large arrays.
That said, the line that you highlighted makes no sense to me; I don't recall writing it, and all the tests pass when it is removed. Why on earth we would want to rerender the FieldArray when all the values are equal? It certainly seems misplaced.
As for your particular use case, I don't have a great answer. Perhaps some sort of prop like rerenderOnEveryChange to FieldArray might work....?

Fix published in v6.8.0.

Thank you!

I caught a bug.
https://jsfiddle.net/nduqzsst/3/
If there are multiple fields groups with same values, "remove" works incorrectly.
A little later I'll fix.

yep same problem happen when you change the order of the FieldArray.
In my use case, I have an array of tags in which the order matters.
If you switch tag 1 with tag 3 shouldComponentUpdateReturns false.
Your PR https://github.com/erikras/redux-form/pull/3089 fixes it, thx 👍

Since @nihaux said it fixes, I'll close this one. Watch out for new releases!

Okay! Thank you!

Fix published in v7.0.0.


Testbr

@monsij - Might I suggest this site
There, you can play and experiment with markdown as much as you like.


cupy.sparse.csr_matrix.multiply behaves differently than scipy.sparse.csr_matrix.multiply for ndim>2

Per the title, I am trying to replicate the result from Scipy when multiplying a csr_matrix with an nD array, n>2, specifically where one dimension being multiplied is intentionally a singleton. In scipy, the nD array is broadcast in the singleton dimension for the multiply, whereas cupy throws a ValueError (shown below). The array sizes are larger in practice than in this minimal working example.
As an aside regarding numpy vs. scipy, this question came about as part of a workaround for matrix multiplication a@b when a is a csr_matrix and b is nD (not necessarily having any singleton dimensions). When a is not stored as a sparse array, numpy.matmul treats b as a stack of 2D arrays residing in the last two dimensions, and the matrix multiplication works great. If a is stored as a sparse array, the matrix multiplication does not work as is.

Code to reproduce

import cupy as cp
from cupyx.scipy.sparse import csr_matrix as csr_gpu
from scipy.sparse import csr_matrix as csr_cpu
import numpy as np

x = np.random.randn(20,20,20)
y = np.eye(20)
ys = csr_cpu(y)

try:
    zs = ys.multiply(np.expand_dims(x,axis=2))
    print('Scipy threw no errors')
except ValueError:
    print('Error on scipy end')

x_gpu = cp.asarray(x)
ys_gpu = csr_gpu(ys)

try:
    zs_gpu = ys_gpu.multiply(cp.expand_dims(x_gpu,axis=2))
    print('No cupy errors')
except ValueError:
    print('Cupy error: ValueError: too many values to unpack (expected 2)')

Error messages, stack traces, or logs
Traceback (most recent call last):
File "/home/range6-raid2/from-buddy/buddy-raid1/username/Documents/Dual_Polarity_MPSSFP/untitled0.py", line 29, in
zs_gpu = cp.sum(ys_gpu.multiply(cp.expand_dims(x_gpu,axis=2)),axis=-1)
File "/home/buddy-raid1/mmullen/anaconda3/envs/dual_pol_MRI/lib/python3.6/site-packages/cupyx/scipy/sparse/csr.py", line 314, in multiply
return multiply_by_dense(self, other)
File "/home/buddy-raid1/mmullen/anaconda3/envs/dual_pol_MRI/lib/python3.6/site-packages/cupyx/scipy/sparse/csr.py", line 581, in multiply_by_dense
check_shape_for_pointwise_op(sp.shape, dn.shape)
File "/home/buddy-raid1/mmullen/anaconda3/envs/dual_pol_MRI/lib/python3.6/site-packages/cupyx/scipy/sparse/csr.py", line 563, in check_shape_for_pointwise_op
b_m, b_n = b_shape

ValueError: too many values to unpack (expected 2)

Conditions
OS                           : Linux-3.10.0-1160.6.1.el7.x86_64-x86_64-with-centos-7.9.2009-Core
CuPy Version                 : 9.0.0b1
NumPy Version                : 1.19.2
SciPy Version                : 1.5.2
Cython Build Version         : 0.29.21
Cython Runtime Version       : 0.29.21
CUDA Root                    : /opt/local/cuda-10.1
CUDA Build Version           : 10010
CUDA Driver Version          : 11000
CUDA Runtime Version         : 10010
cuBLAS Version               : 10201
cuFFT Version                : 10101
cuRAND Version               : 10101
cuSOLVER Version             : (10, 2, 0)
cuSPARSE Version             : 10300
NVRTC Version                : (10, 1)
Thrust Version               : 100906
CUB Build Version            : 100800
Jitify Build Version         : 60e9e72
cuDNN Build Version          : None
cuDNN Version                : None
NCCL Build Version           : 2708
NCCL Runtime Version         : 2708
cuTENSOR Version             : None
Device 0 Name                : Tesla V100-PCIE-32GB
Device 0 Compute Capability  : 70
Device 1 Name                : Tesla V100-PCIE-32GB
Device 1 Compute Capability  : 70
Device 2 Name                : Tesla V100-PCIE-32GB
Device 2 Compute Capability  : 70
Device 3 Name                : Tesla V100-PCIE-32GB
Device 3 Compute Capability  : 70

Sorry, I am not really familiar with all the sparse code and scipy so I may be wrong here.
When ndim > 2 this is just a batched product, am I right?
I am not sure whether cuSPARSE supports batched products or not but as a last resort we can just throw a for loop inside.

Regarding the batched product, I believe you are correct. I am not even slightly familiar with cuSPARSE - hopefully someone who is sees this!


Make task MaxAttemptsPerTask configurable

This PR makes task MaxAttemptsPerTask configurable. Right now the MaxAttemptsPerTask setting is hard coded as 1. This change would allow applications to configure different MaxAttemptsPerTask for tasks.

High level question: why do you need multiple attempts? Currently minion task is modeled as idempotent. Task failures should be retried in the next schedule. If this is for the ad-hoc task, we probably need to also change the failure threshold

Currently we are facing the following problem:
We have enabled rollup for a large table and we have 30 minions in our cluster. Each time the controller will schedule around 600 - 1000 tasks. It will take 10 - 16 hours to complete all the tasks. During this time period, if one or a few of the tasks fails, due to timeout or minion restart or transient controller error, it will result in not being able to bump up the watermark. So next time the controller will schedule the same tasks again with segments that are already merged.
I have created a PR trying to resolve this issue previously but it turns out a more comprehensive design is needed. So now I'm trying to increase the MaxAttemptsPerTask number and hope some retries will partially solve the problem.

Codecov Report

Merging #11243 (69e4b1c) into master (12ddd33) will increase coverage by 0.00%.
Report is 84 commits behind head on master.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master   #11243     +/-   ##
=========================================
  Coverage    0.11%    0.11%
=========================================
  Files        2205     2155     -50
  Lines      118328   116782   -1546
  Branches    17908    17731    -177
=========================================
  Hits          137      137
+ Misses     118171   116625   -1546
  Partials       20       20

Flag
Coverage Δ

integration1temurin11
?

integration1temurin17
?

integration1temurin20
?

integration2temurin17
?

integration2temurin20
?

unittests1temurin17
?

unittests1temurin20
?

unittests2temurin11
?

unittests2temurin17
?

unittests2temurin20
0.11% <0.00%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

...lix/core/minion/PinotHelixTaskResourceManager.java
0.00% <0.00%> (ø)

...controller/helix/core/minion/PinotTaskManager.java
0.00% <0.00%> (ø)

...helix/core/minion/generator/BaseTaskGenerator.java
0.00% <0.00%> (ø)

...elix/core/minion/generator/PinotTaskGenerator.java
0.00% <0.00%> (ø)

.../org/apache/pinot/core/common/MinionConstants.java
0.00% <ø> (ø)

... and 273 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Hi @snleee can you help merge this PR? Thank you.


Start and Congrat Views

UI made, but navigation is usual -- swift, not TCA. Need to rearrange it. Also I need to fix final point for an animation in congrat view because now it freezes in wrong shape.


release: sam-lib v0.1.1

:tractor: New release prepared
0.1.1 (2023-01-25)
Bug Fixes

add licence file (c5fe49b)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/flovogt/test-lib-rp/releases/tag/sam-lib-v0.1.1 :sunflower:


Getting 404 error while adding the app to Tab

Hi All,
I have followed the steps mentioned above. But Getting error 404 when trying to add the app to the MS Teams apps. If i am not wrong i think "configurationUrl": "https://{teamSiteDomain}{teamSitePath}/_layouts/15/TeamsLogon.aspx?SPFX=true&dest={teamSitePath}/_layouts/15/teamshostedapp.aspx%3FopenPropertyPane=true%26teams%26componentId=b7771434-9587-4a79-9990-48c310f78a3d%26forceLocale={locale}"
part is wrong for me in the manifest. However can anyone help me with this?

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

ID: 4521ae6c-2ac6-8898-4731-0a5a50349d76
Version Independent ID: 49edacf9-9538-079b-24ab-3ce17017ba77
Content: Building Microsoft Teams tab using SharePoint Framework - Tutorial
Content Source: docs/spfx/web-parts/get-started/using-web-part-as-ms-teams-tab.md
Product: sharepoint
Technology: sharepoint-framework
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

Have you (1) deployed the SharePoint Framework package to SharePoint Online, (2) and installed it globally / in the site collection that is backing the SharePoint site?
This is required as the component must be hosted by SharePoint to be surfaced in MSFT Teams.
If you have, then what's the component ID of your web part?

Thank you Andrew for your response.
Yes, I have deployed the webpart to sharepoint app catalog as given in the section "Packaging and deploying your web part to SharePoint".
When you mean component ID do you want the ID which i have in manifest file of the webpart or Product ID which i have in App catalog?

@shwethegde said:

When you mean component ID do you want the ID which i have in manifest file of the webpart or Product ID which i have in App catalog?

The product ID listed in the app catalog is the ID of the package, defined in the package-solution.json file.
The component ID is the ID of the component (web part/extension) found in its manifest file which is typically found in the same folder as the code file for the component.

I'll also add - do you need to create a custom manifest because your teams solutions contains extra things (bots, etc.)?  From the app catalog, there should be a "sync to teams" button that will create the manifest and load it into teams for you.

I'll also add - do you need to create a custom manifest because your teams solutions contains extra things (bots, etc.)? From the app catalog, there should be a "sync to teams" button that will create the manifest and load it into teams for you.

This also i have tried. Yet, while adding the webpart to tab i get this error.

@shwethegde said:

When you mean component ID do you want the ID which i have in manifest file of the webpart or Product ID which i have in App catalog?

The product ID listed in the app catalog is the ID of the package, defined in the package-solution.json file.
The component ID is the ID of the component (web part/extension) found in its manifest file which is typically found in the same folder as the code file for the component.

Component ID: cc4ee9db-e867-4b20-94ae-d998a02fd292

@shwethegde said:

Component ID: cc4ee9db-e867-4b20-94ae-d998a02fd292

There's your problem... look at the URL in your OP. You'll see componentId=b7771434-9587-4a79-9990-48c310f78a3d. This is what Teams is using to tell SharePoint to "load this component on the page in the IFRAME in the custom tab". You aren't pointing to the correct component ID.
Refer this doc for details on creating the manifest.json manually:
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/creating-team-manifest-manually-for-webpart


Purge not working

I noticed that one of our events (https://theorangealliance.org/events/1920-IA-L9) has incorrect data from a previous event in it.  I believe this probably happened when many of our events were named incorrectly.
I have attempted to purge the data from that event using the DS tool and get this error:
DELETE https://theorangealliance.org/api/event/1920-IA-L9/matches/all 500 (Internal Server Error)
sync.bundle.js:337 Uncaught (in promise) Error: Request failed with status code 500
    at e.exports (sync.bundle.js:337)
    at e.exports (sync.bundle.js:344)
    at XMLHttpRequest.f.onreadystatechange (sync.bundle.js:337)

Can you please delete the data from this event before Saturday?

Any update on this?  Right now it shows results and rankings from both events.  The correct archive file for this event is here.  Can you please purge the data and re-sync it?
lothal_2019_12_14_meet8.zip

We fixed the purge button and re-sync it.

Perfect, thanks @ofekashery!


NVDImporter not populating affected packages

Import
(venv) ; ./manage.py import vulnerabilities.importers.nvd.NVDImporter

Importing data using vulnerabilities.importers.nvd.NVDImporter
Successfully imported data using vulnerabilities.importers.nvd.NVDImporter

Data
vulnerablecode> SELECT affected_packages, count(*) FROM vulnerabilities_advisory WHER
 E created_by = 'vulnerabilities.importers.nvd.NVDImporter' GROUP BY affected_package
 s;
+-------------------+--------+
| affected_packages | count  |
|-------------------+--------|
| []                | 213166 |
+-------------------+--------+
SELECT 1
Time: 0.240s

Something is wrong

NVD returns CPE and not purl, thus unable to populate affected_packages
Related:

https://github.com/nexB/vulnerablecode/issues/942
https://github.com/nexB/vulnerablecode/issues/943
https://github.com/nexB/univers/pull/11#discussion_r739885184


⚠ Bofrost.fr has degraded performance

In 93d847c, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1956 ms

Resolved: Bofrost.fr performance has improved in d71de42.


I can't record video to my PC (Windows 10)

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

Windows 10
scrcpy version: 1.14
installation method: windows release
device model: Google Pixel 2 XL
Android version: 11 Beta 2.5 (but had same issue running Android 10)

Describe the bug
I can't record video.  I get these errors:
C:\Program Files\scrcpy>scrcpy --record file.mp4
INFO: scrcpy 1.14 https://github.com/Genymobile/scrcpy
C:\Program Files\scrcpy\scrcpy-server: 1 file pushed, 0 skipped. 4.1 MB/s (33142 bytes in 0.008s)
[server] INFO: Device: Google Pixel 2 XL (Android 11)
ERROR: Failed to open output file: file.mp4
ERROR: Could not open recorder
INFO: Created renderer: direct3d
INFO: Renderer: direct3d
INFO: Initial texture: 1440x2880
WARN: Device disconnected

ERROR: Failed to open output file: file.mp4

Do you have write access to C:\Program Files\scrcpy? Try to create some file here (without scrcpy).
Use a path you have write access.

That was an easy fix! Thank you


IOException

OS:Windows 10 latest
Exception: https://pastebin.com/wetU2nCi
Code: example from github
It sounds like your not getting the ipv4 dynamically yes there is a way to do this in java it's called
public static void main(String[] args) {
try {
InetAddress i = InetAddress.getLocalHost();
System.out.println(i);                  // host name and IP address
System.out.println(i.getHostName());    // name
System.out.println(i.getHostAddress()); // IP address only
} catch (Exception e) {
e.printStackTrace();
}
}

This error is expected on Windows. It shouldn't hinder any of the functionality provided by the library.

no it's not expected on windows make it more dynamic to get the ip like internet adress.getHost

The commands are run to get the IP address of the gateway. Java doesn't
provide you with a way to get gateway addresses -- that's why those
commands get run.
It's discussed at
https://github.com/offbynull/portmapper#how-does-this-library-discover-nat-pmp-and-pcp-gateway-devices
On Sat, 23 Jun 2018 at 11:10, jredfox<EMAIL_ADDRESS>wrote:

no it's not expected on windows make it more dynamic to get the ip like
internet adress.getHost
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/offbynull/portmapper/issues/39#issuecomment-399698029,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGD4IvvyAlC8cqUeVPBX-tU6bQRcd-JGks5t_oR9gaJpZM4U0WJo
.

PCP, NAT-PMP, and UPnP-IGD are different protocols that essentially do this
same thing: open up ports to the outside world.
UPnP-IGD is the oldest and most supported, but it's also the most
heavy/complicated. NAT-PMP is newer but has since been deprecated in favour
of PCP.
Your router may support any of the 3 protocols.
On Sat, 23 Jun 2018 at 11:41, Kasra Faghihi<EMAIL_ADDRESS>wrote:

The commands are run to get the IP address of the gateway. Java doesn't
provide you with a way to get gateway addresses -- that's why those
commands get run.
It's discussed at
https://github.com/offbynull/portmapper#how-does-this-library-discover-nat-pmp-and-pcp-gateway-devices
On Sat, 23 Jun 2018 at 11:10, jredfox<EMAIL_ADDRESS>wrote:

no it's not expected on windows make it more dynamic to get the ip like
internet adress.getHost
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/offbynull/portmapper/issues/39#issuecomment-399698029,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGD4IvvyAlC8cqUeVPBX-tU6bQRcd-JGks5t_oR9gaJpZM4U0WJo
.

Actually it does look at the source of WaifUPnP which is what I am using now.

No it doesn't. UPnP does broadcasting to probe for compatible
routers/devices. NAT-PMP and PCP require a gateway address, which is
usually supplied by the OS.
The UPnP implementation in portmapper uses broadcasting to locate your
router.
The NAT-PMP/PCP implementation in portmapper uses OS commands to locate
your router/gateway.
Last I checked, there was a PCP RFC that provided some form of probing to
find the gateway, but it was far from finalized and even when it is
finalized there'll be a broad range of existing devices that won't support
it. I spent a good chunk of time struggling with this problem when I first
implemented portmapper. Unfortunately, there is no elegant solution here.
The OS commands are required if you want to use NAT-PMP/PCP. They aren't
required if you want to use UPnP.
On Sat, 23 Jun 2018 at 14:56, jredfox<EMAIL_ADDRESS>wrote:

Actually it does look at the source of WaifUPnP which is what I am using
now.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/offbynull/portmapper/issues/39#issuecomment-399713225,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGD4Imj2MFGvkMVzWtmiigUtSCONERgWks5t_rlygaJpZM4U0WJo
.

Well look again they dynamically get the gateways of the router and he said it only supports UPNP

... okay.
On Sat, 23 Jun 2018 at 16:57, jredfox<EMAIL_ADDRESS>wrote:

Well look again they dynamically get the gateways of the router and he
said it only supports UPNP
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/offbynull/portmapper/issues/39#issuecomment-399718273,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGD4IqDU9GF9Q4Yormh8GM5KD1tuaIDTks5t_tXPgaJpZM4U0WJo
.


posit<4,0> does not compare correctly

The posit<4,0> does not compute comparisons correctly.
For example,
1.5 < -4 returns true,
-0.5 < 0 returns false.

Which version: specialized or unspecialized?

Tested on current master branch. Commit hash: 1dea12c546749e9b8d76bfaba7062ff1c889ab3a

You found a verification test hole: it is not the comparisons that are to blame, it is the integer conversion. The conversion verification suite only tested the float/double/long double code path.
I need to figure out how to create an integer conversion reference to make certain this code path is covered as well.
I was not able to reproduce your -0.5 < 0 is false failure. I need more contextual code to see what path you are hitting.
If you are stuck behind this bug, simply change your assignment using a float.

See if you can reproduce with this test program.
https://gist.github.com/xman/f3d1860c641d6e6c1ef7b0ba37149d2a#file-runpositn4e0-cpp

that code passes on my build, except of course for your erroneous handling of NaR. Your gist is following the IEEE ordering and not the posit ordering.
I added an integer conversion verification test suite to plug the integer conversion test hole you found. Running regressions now.

@xman checked in the bug fix: https://github.com/stillwater-sc/universal/commit/896c265748f351d411034869364e226ab29736fa
Please confirm if this resolves your issue.

Thanks. It resolves the issue.

I believe the issue was with the specialized code for posit<4,0>. Not urgent for me now, but you may like to check when you have time to run with -DPOSIT_FAST_SPECIALIZATION.


[SUBS] Error message is not shown anymore

During merging of #102 the "Something went wrong" error message got messed up and is not showing up anymore
Easiest way to reproduce, try to start a transaction and reject it in your wallet, notice how the Not started turns into an empty string and the dot stays grey , this would be very confusing for new users , as there is no indication of stuff going wrong and the button just stays disabled

This was intentional.


Plugin Parse Error in Visual Studio

Hi There.
I am trying to make a Cordova Android App for MBTiles Map View. I am using Visual Studio 2015. I tried to add this plugin in my project with the git link "https://github.com/ffournier/cordova-plugin-mbtiles.git". I am getting Error in Visual Studio "Unable to parse plugin.xml".
Can you please advise?
Thanks in advance.
Regards.

Cordova Mbtiles plugin make for 3.4 i don't know if we have new architecture since the 4.0. In memory I didn't install plugin since the visual studio but console. After I loaded the application generate by visual studio. Maybe it's still the case.
Can you test this procedure :
create project by cordova
cordova create <project_name> <package_name> <name_class>
Then
cordova platform add wp8
cordova add plugin <path_to_src>
After need to istall and add reference SQlite For Windows.
Maybe since the last version of windows 8 Phone SQlite is already implemented ? I didn't checked this since a long time.

Plugin.xml is still broken for Visual Studio 15. Please give this matter immediate attention.

Sorry i didn't have visual studio on my pc.
I think as i said before that's the problem provide of the config.xml which is not upgrade for the cordova 4.0. You just need to upgrade it with the new pattern configuration provide by Cordova.
I will try to watch it asap, but i can't promise you if it will work on Visual Studio.


Retain user input values on signup and login pages if actions fail.

Along with the passed error message, the previous values that the user entered into the login or signup pages should be sent back to them and set as the initial values in order to prevent retyping.

Merged with another similar issue.


Numeric: remove sort from numerics

Motivation
#40 and https://github.com/grafana/grafana/issues/85689.
What is this change?
This PR accomplishes the third task from https://github.com/grafana/grafana/issues/85689, and is the second of the two dataplane changes needed to address #40.
This will become ready for review after #41 is merged.
This PR closes #40.

@kylebrandt with respect to this feedback in #41:

We could maybe have similar problems with Wide time series: https://github.com/grafana/dataplane/blob/main/sdata/timeseries/wide.go#L194
(Long is sorted as well, but the nature of that data format - I don't think that matters and can stay sorted).

, this PR removes the sort from all numeric types (Long, Wide, and Multi). Then, the sort is applied to all three numeric types (the result of collectionReader.GetCollection) in https://github.com/grafana/grafana/pull/85911 behind a new disableNumericMetricsSortingInExpressions feature toggle, with the intention of totally disabling that sort as we roll out that feature toggle.
To resolve https://github.com/grafana/grafana/issues/85689 specifically, we must remove sorting from Long. Do you think it's a problem that this PR also removes the sorting from Wide and Multi? If so, I will need to look at a different approach.

To resolve grafana/grafana#85689 specifically, we must remove sorting from Long. Do you think it's a problem that this PR also removes the sorting from Wide and Multi? If so, I will need to look at a different approach.

Resolved offline ✅

I think its fine to remove sort everywhere


Add documentation request issue template

Didn't see a good issue template to add documentation requests, here's a simple one.

Added the documentation badge as well, so people can click into the docs.


After vagrant up: chmod: cannot access ‘/etc/systemd/system/docker.service.d/http-proxy.conf’: No such file or directory

Environment

OS: macOS 10.14.4 (18E224)
Kubernetes version: 1.15.0
VirtualBox version: 6.0.10 r132072 (Qt5.6.3)
Vagrant version: 2.2.5

What I did?
I just cloned this repo and used vagrant up, then get the error messages below.
Messages
The following error messages is the same as node1.
    ...
    node2: configure node2
    node2: Created symlink from /etc/systemd/system/multi-user.target.wants/kubelet.service to /usr/lib/systemd/system/kubelet.service.
    node2: Created symlink from /etc/systemd/system/multi-user.target.wants/kube-proxy.service to /usr/lib/systemd/system/kube-proxy.service.
    node2: Configure Kubectl to autocomplete
==> node2: Configuring proxy for Docker...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

chmod 0644 /etc/systemd/system/docker.service.d/http-proxy.conf

Stdout from the command:

Stderr from the command:

chmod: cannot access ‘/etc/systemd/system/docker.service.d/http-proxy.conf’: No such file or directory

I fixed it through the following operations in node1. After I sshed into the node1 and touched a new empty /etc/systemd/system/docker.service.d/http-proxy.conf, then everything was OK for node1. But the same thing happened in the node2. I thought this may be a bug and i didn't find an issue on this rep, therefore I open this issue looking for help. Thanks.

@YoungWilliamZ This is a bug which has been solved just now.

@rootsongjc  how to solved it , l have the same problem too.

Can you paste your error messages here? @xtay315

downgrade the plugin
vagrant plugin install --plugin-version 2.0.1 vagrant-proxyconf
or
changed ~/.vagrant.d/gems/${version}/gems/vagrant-proxyconf-${version}/lib/vagrant-proxyconf/action/configure_docker_proxy.rb like this:
tmp = Tempfile.new('vagrant-proxyconf-docker-config.json')
@docker_client_config_path = tmp.path
@rootsongjc

@xtay315 can you make a PR to fix this bug?

As already mentioned here ist the issue from the plugin:
https://github.com/tmatilai/vagrant-proxyconf/issues/206
PR: https://github.com/tmatilai/vagrant-proxyconf/pull/208


Adding multiparty threshold ECDSA

There is a working implementation already, though more research is required [no security proof as of now, I believe]

For more than 2-of-2 it is very challenging and really hard to implement. Why not to use Schnorr's instead?

Question: Is there a blind and untraceable threshold signature scheme out there that is sane? Because we would have to tick all three of blind, untraceable and threshold for it to make sense at all, and it should not require coordination on signature generation either. I don't see that done with any scheme right now, but I might be missing something.

Setup for big n's is too complicated for now. Gonna drop this until we have reached freeze of v1.

Question: Is there a blind and untraceable threshold signature scheme out there that is sane?

Replying to your question, it seems that Schnorrs can do blind signatures https://github.com/sipa/bips/blob/bip-schnorr/bip-schnorr.mediawiki#Blind_Signatures however it looks like to be an imperfect one...

@JonathanLogan check out this paper on selective  disclosure  credentialscheme  supporting  distributed  threshold  issuance,  public  andprivate attributes, re-randomization, and multiple unlinkable se-lective attribute revelations.

Thank you


User can currently pay and question the title claim—can these two options coexist, or must the user choose one?

On the form, the user can check both that they agree to pay and can also question the title claim. Is there some kind of escrow or avenue where both are possible, or should we offer these as two different options, one of which the user must choose?

ANSWER FROM 6/25/24 MEETING W/ TRIAL CT LEADERSHIP: These two options can coexist, so we must approach this question in a way that allows the user to select both options.

Our current form has been formatted to allow the user to pick both options if necessary.


The link to the list of contributors in doc might be out of date

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/repositories/viewing-activity-and-data-for-your-repository/viewing-a-projects-contributors
What part(s) of the article would you like to see updated?
The link https://github.com/REPO-OWNER/REPO-NAME/community_contributors for any repository leads to a 404 page. Please check that it is not outdated. Thank you
Perhaps the pattern should look like this: https://github.com/REPO-OWNER/REPO-NAME/graphs/contributors
Additional information
No response

Examples

https://github.com/MarcGiffing/bucket4j-spring-boot-starter/community_contributors - other repo
https://github.com/Kirikx/bucket4j-spring-boot-starter/community_contributors - my repo

@Kirikx Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:

Thanks @Kirikx, it looks like the URL is indeed out of date and should be changed to https://github.com/REPO-OWNER/REPO-NAME/graphs/contributors. 👍
You or anyone else is welcome to open a PR for that!

Thank you for watching.
Created PR: https://github.com/github/docs/pull/24198


Add support for 'saturating' P4_14 field attribute

Codecov Report

Merging #90 into master will decrease coverage by 0.05%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##           master      #90      +/-   ##
==========================================
- Coverage   97.13%   97.08%   -0.06%
==========================================
  Files          10       10
  Lines        1677     1681       +4
==========================================
+ Hits         1629     1632       +3
- Misses         48       49       +1

Impacted Files
Coverage Δ

p4c_bm/gen_json.py
98.02% <80%> (-0.1%)
:arrow_down:

Continue to review full report at Codecov.

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


Set gen_kwargs['n'] dynamically in the simple pipelines

We need a way to allow --num-instructions to influence how many
instructions we generate using the simple pipelines. The way to do
this seems to be to set n to this value. Since this is a runtime
parameter, and we only want to set it for n in certain cases, add a
new value for gen_kwargs['n'] called dynamic which is a hint to use
the runtime parameter here.
Closes #130
Signed-off-by: Russell Bryant<EMAIL_ADDRESS>

in draft form so I can let CI run.
I'm also not in love with this implementation, but I don't have any better ideas ...

I think we're saying "the pipeline author needs to tell us they want --sdg-scale-factor" to be applied to this block (as per instructlab/instructlab#1570)
Would n: scaled be more intuitive?

I think we're saying "the pipeline author needs to tell us they want --sdg-scale-factor to be applied to this block" (as per instructlab/instructlab#1570)
Would n: scaled be more intuitive?

Thanks, I like that name better.

I think we're saying "the pipeline author needs to tell us they want --sdg-scale-factor to be applied to this block" (as per instructlab/instructlab#1570)
Would n: scaled be more intuitive?

Thanks, I like that name better.

I pushed an update to rename the value to scaled as suggested

I checked the e2e CI output and it looks correct


Reuse of code in bayesfam

Hi,
I'd be interested in using your code from eg. the Generalized Gamma or Shifted Beta Geometric distributions for brms custom families in https://github.com/sims1253/bayesfam but that would require a license on this repo (or at least the stan code) as currently the lack of a specific license means "all rights reserved".
Regardless of the specific attribution requirements of the license you'd choose, I would attribute you and link to the corresponding blog posts (unless you explicitly don't want me to do that of course).
Cheers
Maximilian

Sure, I think that's fine.  I'll slap a licence in the post's folder


build: prepares jormungandr/vitss for SVE

The last commit removed the artifacts. They are being supplied by S3 and should no longer be stored in revision control.

It appears jormungandr broke at some point:
error: could not compile `jormungandr` due to 2 previous errors
  warning: build failed, waiting for other jobs to finish...
  error[E0609]: no field `prometheus` on type `&FullContext`
    --> src/jormungandr/jormungandr/src/rest/prometheus.rs:14:18
     |
  14 |                 .prometheus
     |                  ^^^^^^^^^^ unknown field
     |
     = note: available fields are: `stats_counter`, `network_task`, `topology_task`, `transaction_task`, `leadership_logs` ... and 2 others

  error: aborting due to previous error


Set preview images for all lora at once, and display preview images on autocomplete lora text

Is there a way to set previews for all loras at once? I have too many loras, and setting previews for them one by one is cumbersome and time-consuming.
In addition, when the mouse is hovering over Autocomplete lora text,
It would be useful to be able to see a preview!

came here because I just ended up downloading a bunch more, and, yes... it's a pain.

civit link auto downloads previews and png files. These integrate perfectly with it.

civit link auto downloads png previews and json files. These integrate perfectly with it.

Sorry, could you be more specific? Which node downloads the previews?

So, I ended up writing a janky lil' python script to handle image previews, if anyone here is handy with python and wants something they can kinda just run.
@pythongosssss I'd be happy to upstream this (after making it like, nicer) if you're interested, but I'd need to know what your preference is for activation - like, where should I put the button and how should this be triggered.  My immediate thought is to have a checkbox somewhere that enables running on startup or something of that nature.
Also, how do you prefer your PRs?  Forks I'm guessing?
Note if anyone plans on using this:  You have to either get an api key from civitai and put that where it says REDACTED or just delete the authorization from the header entirely (which if I understood correctly would mean some models won't allow you to download their data?)
usage: python script.py <path-to-models-dir>
import os
import hashlib
from pathlib import Path
import requests
import sys
import json

def get_file_hash(file_path):
    hasher = hashlib.sha256()  # Using SHA256 for hashing
    with open(file_path, "rb") as file:
        chunk = file.read(4096)
        while chunk:
            hasher.update(chunk)
            chunk = file.read(4096)
    return hasher.hexdigest()

def get_model_image_url(file_path):
    file_hash = get_file_hash(file_path)
    api_url = f"https://civitai.com/api/v1/model-versions/by-hash/{file_hash}"
    headers = {"Content-Type": "application/json", "Authorization": "Bearer REDACTED"}
    response = requests.get(api_url, headers=headers)

    try:
        return response.json()["images"][0]["url"]
    except Exception as e:
        print(f"could not establish image url: {e}")

def save_model_preview_image(file_path):
    preview_path = file_path.with_suffix(".preview.png")
    if Path(preview_path).exists():
        print(f"{preview_path} exists.   Skipping...")
    else:
        image_url = get_model_image_url(file_path)
        if image_url is not None:
            response = requests.get(image_url)
            if response.status_code == 200:
                with open(preview_path, "wb") as f:
                    f.write(response.content)
        else:
            print(f"No image URL; Couldn't save image for {file_path}")

def fetch_and_save_previews(directory):
    # Walk through all directories and files in the specified directory
    for root, dirs, files in os.walk(directory):
        for filename in files:
            # Check if the file is a .safetensors file
            if filename.endswith(".safetensors"):
                file_path = Path(root) / filename
                save_model_preview_image(file_path)

if __name__ == "__main__":
    file_path = sys.argv[1]
    fetch_and_save_previews(file_path)

this is good, yet, I feel like most of this logic already exists, and should be leveraged from here: https://github.com/pythongosssss/ComfyUI-Custom-Scripts/blob/main/py/model_info.py
That way we get the previews, we get the .sha256 files, etc.

My bad. This all happens in JS here: https://github.com/pythongosssss/ComfyUI-Custom-Scripts/blob/3f2c021e50be2fed3c9d1552ee8dcaae06ad1fe5/web/js/common/modelInfoDialog.js#L211
https://github.com/pythongosssss/ComfyUI-Custom-Scripts/blob/3f2c021e50be2fed3c9d1552ee8dcaae06ad1fe5/web/js/common/modelInfoDialog.js#L270-L290

@pksebben in the short term, this could be just a regular node. Not thing that would run often, but loading up an empty workflow with just this one thing would be fine. Another idea for where it could be used is in the ComfyUI Manager as another button there.

@pksebben I made some improvements to the script. Saving/Reading the .sha256 file in order to avoid hashing each model on every run.
import os
import hashlib
from pathlib import Path
import requests
import sys

def get_and_save_file_hash(file_path):
    sha256_path = file_path.with_suffix(".sha256")
    if Path(sha256_path).exists():
        print(f"existing hash found: {sha256_path}")
        with open(sha256_path, "r") as file:
            return str(file.read()).strip()

    print(f"hashing: {file_path}")
    hasher = hashlib.sha256()  # Using SHA256 for hashing
    with open(file_path, "rb") as file:
        chunk = file.read(4096)
        while chunk:
            hasher.update(chunk)
            chunk = file.read(4096)
    file_hash = str(hasher.hexdigest())

    with open(sha256_path, "w") as file:
        file.write(file_hash)

    return file_hash

def get_model_image_url(file_hash):
    api_url = f"https://civitai.com/api/v1/model-versions/by-hash/{file_hash}"
    print(f"getting model info from: {api_url}")
    headers = {"Content-Type": "application/json", "Authorization": "Bearer REDACTED"}
    response = requests.get(api_url, headers=headers)

    try:
        return response.json()["images"][0]["url"]
    except Exception as e:
        print(f"could not establish image url: {e}")

def save_model_meta(file_path):
    preview_path = file_path.with_suffix(".preview.png")
    file_hash = get_and_save_file_hash(file_path)
    if Path(preview_path).exists():
        print(f"{preview_path} exists.   Skipping...")
    else:
        image_url = get_model_image_url(file_hash)
        if image_url is not None:
            response = requests.get(image_url)
            if response.status_code == 200:
                with open(preview_path, "wb") as f:
                    f.write(response.content)
        else:
            print(f"No image URL; Couldn't save image for {file_path}")

def fetch_and_save_previews(directory):
    # Walk through all directories and files in the specified directory
    for root, _, files in os.walk(directory):
        for filename in files:
            # Check if the file is a .safetensors file
            if filename.endswith(".safetensors"):
                file_path = Path(root) / filename
                print(f"→ {file_path}")
                save_model_meta(file_path)

if __name__ == "__main__":
    file_path = sys.argv[1]
    fetch_and_save_previews(file_path)