Skip to content

Conversation

@stagegrowth
Copy link

Background

EquivalentAddressGroup is intended to represent a small set of addresses for the same endpoint (e.g., IPv4/IPv6). A long-standing TODO in EquivalentAddressGroup#toString() suggested adding summarization for very large address lists.

During review, maintainers noted that large address lists within a single EquivalentAddressGroup are no longer expected in current designs, and the historical behavior that could create a very large group (e.g., by aggregating many groups into one) has been removed. As a result, the TODO is now obsolete.

Changes

Remove the obsolete TODO comment in EquivalentAddressGroup#toString().

Add a brief explanatory comment capturing why summarization is no longer needed.

Purpose

Avoid leaving stale TODOs that imply work is still required.

Align the codebase with the intended semantics and current behavior of EquivalentAddressGroup.

Note

This change is comment-only and does not alter any runtime behavior or output format.

Fixes #12593

@stagegrowth
Copy link
Author

stagegrowth commented Jan 25, 2026

@ejona86 @kannanjgithub Thank you for the review on the previous PR. Based on your feedback, I’ve opened this follow-up PR that only removes the now-obsolete TODO in EquivalentAddressGroup#toString() (with a brief explanatory comment).

Previous PR: #12600.

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.

Summarize EquivalentAddressGroup.toString() output for large address lists

1 participant