Settings that have no effect are removed (DoH listener and Backup paths) #292

Merged
claude merged 4 commits from feature/27-remove-dead-settings into develop 2026-11-05 06:48:36 -05:00
Owner

Eight settings that never changed anything are removed, following owner decision Q-REL-4. The environment-variable count goes from 343 to 335.

  • DNS-over-HTTPS listener: the port and certificate settings moved out of DnsOverHttpsOptions into the new DnsOverHttpsListenerOptions.
    • Only DnsOverHttpsHostedService reads them: the standalone listener that library consumers, its tests and DohTransportBenchmarks start.
    • Ninlil.Web neither binds nor registers the new class, so its variables are gone.
    • The web listener's DoH endpoint still uses Enable, Path and MaxMessageSizeBytes.
  • Backup paths: DataProtectionKeyRingDirectory and RuntimeConfigurationFilePath are now in a BackupPathSettings singleton that Program.cs registers with the same values the removed PostConfigure block set. It is not bound to configuration, so it has no variables.
  • ENVIRONMENT.md: rows removed and totals recounted. The branch includes develop, so #24's new Default-column check runs on it too.
  • CHANGELOG Unreleased:
    • The removed variables are listed in full.
    • An environment that still sets one starts as before and logs Ninlil's existing "matches no known setting" warning.
    • The library API change for NuGet consumers of the two constructors is noted.
  • No API document change.

Tests:

  • DoH.Tests 33, Backup.Tests 61, Web.Tests 2069, and Data.Integration.Tests 500 (with Docker).
  • The Release benchmark build has 0 warnings.
  • The verifier passed the change. Its three CHANGELOG findings are fixed in the last commit.

Closes #27

🤖 Generated with Claude Code

https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK

Eight settings that never changed anything are removed, following owner decision Q-REL-4. The environment-variable count goes from 343 to 335. - **DNS-over-HTTPS listener:** the port and certificate settings moved out of `DnsOverHttpsOptions` into the new `DnsOverHttpsListenerOptions`. - Only `DnsOverHttpsHostedService` reads them: the standalone listener that library consumers, its tests and `DohTransportBenchmarks` start. - Ninlil.Web neither binds nor registers the new class, so its variables are gone. - The web listener's DoH endpoint still uses `Enable`, `Path` and `MaxMessageSizeBytes`. - **Backup paths:** `DataProtectionKeyRingDirectory` and `RuntimeConfigurationFilePath` are now in a `BackupPathSettings` singleton that `Program.cs` registers with the same values the removed `PostConfigure` block set. It is not bound to configuration, so it has no variables. - **ENVIRONMENT.md:** rows removed and totals recounted. The branch includes develop, so #24's new Default-column check runs on it too. - **CHANGELOG `Unreleased`:** - The removed variables are listed in full. - An environment that still sets one starts as before and logs Ninlil's existing "matches no known setting" warning. - The library API change for NuGet consumers of the two constructors is noted. - No API document change. Tests: - DoH.Tests 33, Backup.Tests 61, Web.Tests 2069, and Data.Integration.Tests 500 (with Docker). - The Release benchmark build has 0 warnings. - The verifier passed the change. Its three CHANGELOG findings are fixed in the last commit. Closes #27 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Refs #27

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
The changelog spells out the removed variables, the startup warning for one still set and the library API change
All checks were successful
Build / Pack and Push NuGet Packages (dns-core) (push) Successful in -1m13s
Build / Pack and Push NuGet Packages (dns-server) (push) Successful in -56s
Build / Build Binary (linux-arm64) (push) Successful in 38s
Build / Build Binary (macos-arm64) (push) Successful in 51s
Build / Build Binary (windows-amd64) (push) Successful in 1m5s
Build / Build Binary (linux-amd64) (push) Successful in 7m1s
Build / Build Binary (macos-amd64) (push) Successful in 6m57s
Build / Build and Push Image (push) Successful in -2m28s
Build / Smoke Test the Windows Binary (push) Successful in 18s
Build / Build Arch Linux Packages (push) Successful in 32s
Build / Test .NET (pull_request) Successful in 17m15s
Build / Stage Draft Release (pull_request) Successful in -6s
Build / Pack and Push NuGet Packages (common) (pull_request) Successful in 24s
Build / Pack and Push NuGet Packages (dhcp) (pull_request) Successful in 54s
Build / Pack and Push NuGet Packages (dns-core) (pull_request) Successful in -1m22s
Build / Pack and Push NuGet Packages (dns-server) (pull_request) Successful in -1m19s
Build / Build and Test Deb and RPM Packages (push) Successful in 4m8s
Build / Publish Release (push) Successful in 8s
Build / Pipeline (push) Successful in 0s
Build / Build Binary (linux-arm64) (pull_request) Successful in 26s
Build / Build Binary (linux-amd64) (pull_request) Successful in 28s
Build / Build Binary (macos-arm64) (pull_request) Successful in 3m31s
Build / Build Binary (windows-amd64) (pull_request) Successful in 3m14s
Build / Build Binary (macos-amd64) (pull_request) Successful in 4m4s
Build / Build and Push Image (pull_request) Successful in 9s
Build / Smoke Test the Windows Binary (pull_request) Successful in 16s
Build / Build Arch Linux Packages (pull_request) Successful in 27s
Build / Build and Test Deb and RPM Packages (pull_request) Successful in 2m33s
Build / Publish Release (pull_request) Successful in 4s
Build / Pipeline (pull_request) Successful in 0s
e14b4e64ee
Refs #27

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
claude merged commit dc7785c0c4 into develop 2026-11-05 06:48:36 -05:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
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!292
No description provided.