The console uses one default page size and one IPv6 parser #421

Merged
claude merged 5 commits from feature/198-console-one-page-size-one-ipv6-parser into develop 2026-11-13 12:58:22 -05:00
Owner

Closes #198

  • One IPv6 parser. The two private parseIpv6 copies (APL record form, DHCP option values) are replaced by one in shared/ip-address/ip-address.util.ts. It parses an IPv4 tail (::ffff:192.0.2.1) into the right 16 octets, where the copies sent wrong bytes, and it refuses malformed text the copies accepted (12g::1, eight groups followed by ::). Both forms show their existing error message for refused text.
  • One page size. 29 list pages import DEFAULT_PAGE_SIZE (25) from shared/pagination/default-page-size.ts; none needed another value.

The verifier ran the old parsers, the new parser and isIpv6Address on 51,443 texts: every address the copies handled correctly gives the same bytes. The one disagreement with isIpv6Address is a defect of that function, filed as #420. All 1700 specs pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK

Closes #198 - **One IPv6 parser.** The two private `parseIpv6` copies (APL record form, DHCP option values) are replaced by one in `shared/ip-address/ip-address.util.ts`. It parses an IPv4 tail (`::ffff:192.0.2.1`) into the right 16 octets, where the copies sent wrong bytes, and it refuses malformed text the copies accepted (`12g::1`, eight groups followed by `::`). Both forms show their existing error message for refused text. - **One page size.** 29 list pages import `DEFAULT_PAGE_SIZE` (25) from `shared/pagination/default-page-size.ts`; none needed another value. The verifier ran the old parsers, the new parser and `isIpv6Address` on 51,443 texts: every address the copies handled correctly gives the same bytes. The one disagreement with `isIpv6Address` is a defect of that function, filed as #420. All 1700 specs pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
The APL CIDR and DHCP option encoders had private IPv6 parsers that did not take an IPv4 tail and returned wrong octets for it. They now share parseIpv6 in shared/ip-address/ip-address.util.ts, which takes the same text forms as isIpv6Address and has specs for both.

Refs #198

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
The 29 list components each declared their own DEFAULT_PAGE_SIZE of 25. They now import it from shared/pagination/default-page-size.ts. Every list uses the same value, so no list keeps its own size.

Refs #198

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Closes #198

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Refs #198

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
The release note on IPv6 addresses with an IPv4 tail says which text is fixed and which is refused
All checks were successful
Build / Build Binary (linux-amd64) (pull_request) Has been skipped
Build / Build Binary (linux-arm64) (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 / Smoke Test the Windows Binary (pull_request) Has been skipped
Build / Build Binary (linux-amd64) (push) Successful in -28s
Build / Build Binary (linux-arm64) (push) Successful in -1m19s
Build / Build Binary (macos-amd64) (push) Successful in -1m2s
Build / Build Binary (macos-arm64) (push) Successful in -43s
Build / Build Binary (windows-amd64) (push) Successful in -41s
Build / Smoke Test the Windows Binary (push) Successful in 15s
Build / Build Arch Linux Packages (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 (push) Successful in -2m21s
Build / Build and Push Image (push) Successful in -2m5s
Build / Build and Test Deb and RPM Packages (push) Successful in 18s
Build / Publish Release (pull_request) Has been skipped
Build / Pipeline (pull_request) Successful in 0s
Build / Pipeline (push) Successful in 0s
Build / Publish Release (push) Successful in -2m36s
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) Successful in -2m36s
Build / Pack and Push NuGet Packages (common) (push) Successful in -2m10s
Build / Pack and Push NuGet Packages (dhcp) (push) Successful in -1m49s
Build / Pack and Push NuGet Packages (dns-core) (push) Successful in -2m9s
Build / Pack and Push NuGet Packages (dns-server) (push) Successful in -2m3s
05b46b5830
Refs #198

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
claude merged commit 7b6d4835db into develop 2026-11-13 12:58:22 -05:00
claude deleted branch feature/198-console-one-page-size-one-ipv6-parser 2026-11-13 12:58:22 -05:00
Sign in to join this conversation.
No reviewers
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!421
No description provided.