From ac310d5c9a781b607d7cd879d205888bea6d0ede Mon Sep 17 00:00:00 2001 From: Repo Assist Date: Wed, 25 Feb 2026 17:25:55 +0000 Subject: [PATCH 1/2] Fix Windows CI: use 127.0.0.1 instead of localhost for test HTTP servers On Windows GitHub Actions runners, binding Kestrel to 'localhost' fails because it attempts to bind to both 127.0.0.1 (IPv4) and ::1 (IPv6), and IPv6 socket creation is forbidden (SocketException 10013: WSAEACCES). Using '127.0.0.1' explicitly avoids the IPv6 bind attempt and makes the tests reliable on Windows CI. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- tests/FSharp.Data.Core.Tests/Http.fs | 2 +- tests/FSharp.Data.Core.Tests/XmlExtensions.fs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/FSharp.Data.Core.Tests/Http.fs b/tests/FSharp.Data.Core.Tests/Http.fs index be30f8891..dc41d1dce 100644 --- a/tests/FSharp.Data.Core.Tests/Http.fs +++ b/tests/FSharp.Data.Core.Tests/Http.fs @@ -57,7 +57,7 @@ let startHttpLocalServer() = port <- random.Next(10000, 65000) port - let baseAddress = $"http://localhost:{freePort}" + let baseAddress = $"http://127.0.0.1:{freePort}" let workerTask = app.RunAsync(baseAddress) printfn $"Started local http server with address {baseAddress}" diff --git a/tests/FSharp.Data.Core.Tests/XmlExtensions.fs b/tests/FSharp.Data.Core.Tests/XmlExtensions.fs index 9182d6cde..4520a060a 100644 --- a/tests/FSharp.Data.Core.Tests/XmlExtensions.fs +++ b/tests/FSharp.Data.Core.Tests/XmlExtensions.fs @@ -60,7 +60,7 @@ let startXmlHttpLocalServer() = port <- random.Next(10000, 65000) port - let baseAddress = $"http://localhost:{freePort}" + let baseAddress = $"http://127.0.0.1:{freePort}" let workerTask = app.RunAsync(baseAddress) { new ITestHttpServer with From bc69472659528662bce6e7e36a7d225bee4baf7b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 25 Feb 2026 17:27:44 +0000 Subject: [PATCH 2/2] ci: trigger CI checks