AGENTS.md tells contributors to convert reserve-and-release port tests in any test project they touch #307

Merged
claude merged 1 commit from feature/54-port-zero-rule into develop 2026-11-05 12:17:23 -05:00
Owner

AGENTS.md "Test" now says: a change that touches a test project converts that project's reserve-and-release port calls (GetFreeUdpPort, GetFreeTcpPort, GetFreePort) to starting the server on port 0 and reading the bound port, with a bounded AddressInUse retry and a comment where the server cannot expose it. Example: Ninlil.Dhcp.Server.Tftp.Tests with TftpServer.BoundPort. NinlilDnsWebApplicationFactory's environment-variable ports stay. The remaining files get one dedicated pass in #233.

src/agents/coder.md and protocol-coder.md point at the rule; the generated .claude/, .gemini/, .agents/ and .codex/ definitions are regenerated (sync-agent-definitions.py --check: ok). Markdown link check: 0 problems. Every name in the text was checked with grep.

Closes #54

🤖 Generated with Claude Code

https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK

AGENTS.md "Test" now says: a change that touches a test project converts that project's reserve-and-release port calls (`GetFreeUdpPort`, `GetFreeTcpPort`, `GetFreePort`) to starting the server on port 0 and reading the bound port, with a bounded `AddressInUse` retry and a comment where the server cannot expose it. Example: `Ninlil.Dhcp.Server.Tftp.Tests` with `TftpServer.BoundPort`. `NinlilDnsWebApplicationFactory`'s environment-variable ports stay. The remaining files get one dedicated pass in #233. `src/agents/coder.md` and `protocol-coder.md` point at the rule; the generated `.claude/`, `.gemini/`, `.agents/` and `.codex/` definitions are regenerated (`sync-agent-definitions.py --check`: ok). Markdown link check: 0 problems. Every name in the text was checked with grep. Closes #54 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
AGENTS.md tells contributors to convert reserve-and-release port tests in any test project they touch
Some checks failed
Build / Pack and Push NuGet Packages (dhcp) (pull_request) Has been skipped
Build / Pack and Push NuGet Packages (dns-core) (pull_request) Has been skipped
Build / Pack and Push NuGet Packages (dns-server) (pull_request) Has been skipped
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-core) (push) Has been skipped
Build / Pack and Push NuGet Packages (dns-server) (push) Has been skipped
Build / Build Binary (linux-amd64) (pull_request) Has been skipped
Build / Build Binary (linux-arm64) (pull_request) Has been skipped
Build / Build Binary (macos-arm64) (pull_request) Has been skipped
Build / Build Binary (macos-amd64) (pull_request) Has been skipped
Build / Build Binary (linux-amd64) (push) Has been skipped
Build / Build Binary (windows-amd64) (pull_request) Has been skipped
Build / Build Binary (linux-arm64) (push) Has been skipped
Build / Build Binary (macos-amd64) (push) Has been skipped
Build / Smoke Test the Windows Binary (pull_request) Has been skipped
Build / Build Binary (windows-amd64) (push) Has been skipped
Build / Build Binary (macos-arm64) (push) Has been skipped
Build / Build Arch Linux Packages (pull_request) Has been skipped
Build / Build and Test Deb and RPM Packages (pull_request) Has been skipped
Build / Smoke Test the Windows Binary (push) Has been skipped
Build / Build Arch Linux Packages (push) Has been skipped
Build / Build and Push Image (pull_request) 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 / Publish Release (pull_request) Has been skipped
Build / Publish Release (push) Has been skipped
Build / Pipeline (pull_request) Failing after 0s
Build / Pipeline (push) Failing after 0s
37b08c6891
Closes #54

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
claude merged commit 1be83dab2c into develop 2026-11-05 12:17:23 -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!307
No description provided.