Skip to content

refactor(dnsdiam): check discovered identities with DiameterIdentity.Valid - #138

Merged
gomaja merged 1 commit into
mainfrom
feat/i132-dnsdiam-identity
Oct 16, 2026
Merged

gomaja merged 1 commit into
mainfrom
feat/i132-dnsdiam-identity

Conversation

@gomaja

@gomaja gomaja commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

Discovered host and realm names now go through
datatype.DiameterIdentity.Valid instead of dnsdiam's own copy of the rule.
Service owner names such as _diameter._tcp keep their own check, which
allows underscores (RFC 6733 §5.2 as updated by RFC 8553). Accepted
names, ErrInvalid and the normalised names are unchanged.

Require the go-diameter revision that adds Valid.

Closes #132.


Summary by cubic

Discovered host and realm names now go through datatype.DiameterIdentity.Valid instead of dnsdiam's own copy of the rule. Accepted names, ErrInvalid, and normalised names are unchanged; service owner names such as _diameter._tcp keep their own check, which allows underscores (RFC 6733 §5.2 as updated by RFC 8553).

Requires the go-diameter revision that adds Valid. Closes #132.

Written for commit a65625d. Summary will update on new commits.

View guided diff Turn on auto-fix

…Valid

Discovered host and realm names now go through
datatype.DiameterIdentity.Valid instead of dnsdiam's own copy of the rule.
Service owner names such as _diameter._tcp keep their own check, which
allows underscores (RFC 6733 §5.2 as updated by RFC 8553). Accepted
names, ErrInvalid and the normalised names are unchanged.

Require the go-diameter revision that adds Valid.

Closes #132.
Copilot AI balanced review requested due to automatic review settings October 16, 2026 05:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Oct 16, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: dfbc07c7-b6a6-44f3-bf53-ab7f6f4ec4e0
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T06:00:14.024119Z a65625d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@gomaja
gomaja merged commit 00461b4 into main Oct 16, 2026
2 checks passed
@gomaja
gomaja deleted the feat/i132-dnsdiam-identity branch October 16, 2026 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

datatype: export one DiameterIdentity syntax check and use it in dnsdiam

2 participants