We ended up rewriting NuGet Restore in .NET 9
devblogs.microsoft.com