Windows test suite, part 1: clean-up, bind failures, Linux-only skips, TLS and drain, settings save, certificate store and OpenAPI text #346

Merged
claude merged 14 commits from feature/8-windows-test-suite into develop 2026-11-06 15:02:25 -05:00
Owner

First part of the Windows test epic #8. Each child below was verified separately; #10 to #15 were checked natively on Lofnheim.

  • #9: test clean-up on Windows deletes SQLite temporary folders without an in-use error.
  • #10: bind-failure tests accept the operating system's own port-taken reason (access denied on Windows).
  • #11: tests of the Linux-only DHCP, Router Advertisement and ARP features return early on Windows.
  • #12:
    • The TLS zone-transfer test uses a persisted-key certificate.
    • Product fix: after a handler asks to close, TCP and DNSCrypt-over-TCP listeners shut down their side and linger up to 2 s (cut short by host shutdown) before closing. A connection reset no longer discards the last reply on Windows. There is a red/green test, TcpZoneTransferCloseTests.
    • DNS-over-TLS has the same pattern and is filed as #340.
  • #13 (product fix): a settings write on Windows retries File.Replace for about a second when another reader holds the file.
  • #14: a Windows test run removes the certificate-store entries and CNG key files its fixtures created. Lofnheim showed the same counts before and after a whole-solution run.
  • #15 (product fix): the OpenAPI document normalises \r\n to \n, so a Windows build serves the same document. The snapshot is unchanged.
  • CHANGELOG lines for #12, #13 and #15.

Results:

  • Linux: whole solution green (8232 tests).
  • Windows (Lofnheim), whole solution: one failure left, the OpenAPI snapshot, which is now fixed by #15. After the fix, Web.Tests passes 2353/2353 natively.

The rest of the epic (#16, #17, #18, #339, #341) follows in a second pull request; #8 stays open.

Closes #9
Closes #10
Closes #11
Closes #12
Closes #13
Closes #14
Closes #15
Refs #8

🤖 Generated with Claude Code

https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK

First part of the Windows test epic #8. Each child below was verified separately; #10 to #15 were checked natively on Lofnheim. - #9: test clean-up on Windows deletes SQLite temporary folders without an in-use error. - #10: bind-failure tests accept the operating system's own port-taken reason (access denied on Windows). - #11: tests of the Linux-only DHCP, Router Advertisement and ARP features return early on Windows. - #12: - The TLS zone-transfer test uses a persisted-key certificate. - **Product fix:** after a handler asks to close, TCP and DNSCrypt-over-TCP listeners shut down their side and linger up to 2 s (cut short by host shutdown) before closing. A connection reset no longer discards the last reply on Windows. There is a red/green test, `TcpZoneTransferCloseTests`. - DNS-over-TLS has the same pattern and is filed as #340. - #13 (**product fix**): a settings write on Windows retries `File.Replace` for about a second when another reader holds the file. - #14: a Windows test run removes the certificate-store entries and CNG key files its fixtures created. Lofnheim showed the same counts before and after a whole-solution run. - #15 (**product fix**): the OpenAPI document normalises `\r\n` to `\n`, so a Windows build serves the same document. The snapshot is unchanged. - CHANGELOG lines for #12, #13 and #15. Results: - Linux: whole solution green (8232 tests). - Windows (Lofnheim), whole solution: one failure left, the OpenAPI snapshot, which is now fixed by #15. After the fix, Web.Tests passes 2353/2353 natively. The rest of the epic (#16, #17, #18, #339, #341) follows in a second pull request; #8 stays open. Closes #9 Closes #10 Closes #11 Closes #12 Closes #13 Closes #14 Closes #15 Refs #8 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Closes #9
Refs #8

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Closes #13
Refs #8

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Closes #10
Refs #8

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Closes #11
Refs #8

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Refs #10
Refs #11

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Refs #12
Refs #8

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Refs #12
Refs #8

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Refs #8

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Refs #12
Refs #8

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Refs #14
Refs #8

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Refs #15
Refs #8

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Refs #15
Refs #8

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
The changelog names the Windows settings-save retry
Some checks failed
Build / Test .NET (push) Failing after 20m31s
Build / Pack and Push NuGet Packages (common) (pull_request) Has been skipped
Build / Build Binary (linux-arm64) (pull_request) Has been skipped
Build / Build Binary (linux-amd64) (pull_request) Has been skipped
Build / Pack and Push NuGet Packages (dns-server) (pull_request) Has been skipped
Build / Build Binary (macos-amd64) (pull_request) Has been skipped
Build / Build Binary (macos-arm64) (pull_request) Has been skipped
Build / Build Binary (windows-amd64) (pull_request) Has been skipped
Build / Build and Test Deb and RPM Packages (pull_request) Has been skipped
Build / Build and Push Image (pull_request) Has been skipped
Build / Build Arch Linux Packages (pull_request) Has been skipped
Build / Smoke Test the Windows Binary (pull_request) Has been skipped
Build / Publish Release (pull_request) Has been skipped
Build / Pipeline (pull_request) Failing after 0s
Build / Stage Draft Release (push) Has been skipped
Build / Pack and Push NuGet Packages (dhcp) (push) Has been skipped
Build / Pack and Push NuGet Packages (common) (push) Has been skipped
Build / Pack and Push NuGet Packages (dns-server) (push) Has been skipped
Build / Pack and Push NuGet Packages (dns-core) (push) Has been skipped
Build / Build Binary (macos-arm64) (push) Has been skipped
Build / Build Binary (linux-arm64) (push) Has been skipped
Build / Build Binary (macos-amd64) (push) Has been skipped
Build / Build Binary (linux-amd64) (push) Has been skipped
Build / Build Binary (windows-amd64) (push) Has been skipped
Build / Build Arch Linux Packages (push) Has been skipped
Build / Build and Test Deb and RPM Packages (push) Has been skipped
Build / Build and Push Image (push) Has been skipped
Build / Smoke Test the Windows Binary (push) Has been skipped
Build / Publish Release (push) Has been skipped
Build / Pipeline (push) Failing after 0s
cf3f760013
Refs #13
Refs #8

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Merge develop into feature/8-windows-test-suite
Some checks failed
Build / Pack and Push NuGet Packages (dns-core) (push) Has been skipped
Build / Pack and Push NuGet Packages (dns-server) (push) Has been skipped
Build / Test .NET (pull_request) Successful in 5m25s
Build / Build Binary (linux-amd64) (push) Has been skipped
Build / Build Binary (linux-arm64) (push) Has been skipped
Build / Build Binary (macos-amd64) (push) Has been skipped
Build / Build Binary (macos-arm64) (push) Has been skipped
Build / Build Binary (windows-amd64) (push) Has been skipped
Build / Smoke Test the Windows Binary (push) Has been skipped
Build / Stage Draft Release (pull_request) Successful in -2m42s
Build / Pack and Push NuGet Packages (common) (pull_request) Successful in -2m25s
Build / Pack and Push NuGet Packages (dhcp) (pull_request) Successful in -2m3s
Build / Pack and Push NuGet Packages (dns-core) (pull_request) Successful in -1m55s
Build / Pack and Push NuGet Packages (dns-server) (pull_request) Successful in -2m4s
Build / Build Arch Linux Packages (push) Has been skipped
Build / Build and Test Deb and RPM Packages (push) Has been skipped
Build / Build and Push Image (push) Has been skipped
Build / Build Binary (linux-amd64) (pull_request) Successful in -21s
Build / Build Binary (linux-arm64) (pull_request) Successful in -43s
Build / Build Binary (macos-amd64) (pull_request) Successful in -1m27s
Build / Build Binary (macos-arm64) (pull_request) Successful in -47s
Build / Smoke Test the Windows Binary (pull_request) Successful in 16s
Build / Build Arch Linux Packages (pull_request) Successful in -2m5s
Build / Publish Release (pull_request) Successful in -2m41s
Build / Publish Release (push) Has been skipped
Build / Pipeline (push) Failing after 0s
Build / Build Binary (windows-amd64) (pull_request) Successful in -29s
Build / Build and Push Image (pull_request) Successful in -2m38s
Build / Build and Test Deb and RPM Packages (pull_request) Successful in -25s
Build / Pipeline (pull_request) Successful in 0s
5f91cfea0f
claude merged commit 9a7a6e7e55 into develop 2026-11-06 15:02:25 -05:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lantea-one/ninlil!346
No description provided.