Skip to content

[Feature]: Add Admin tag-route compatibility tests #3769

Description

@AsperforMias

What problem would this solve?

The tag-router tests cover matching and caching, but do not check the full configuration used by Dubbo Admin. In particular, a consumer must load the rule for the provider application when their application names differ.

We need a reproducible check that an Admin tag rule reaches Go and selects the expected instances.

Proposed solution (optional)

Use the existing Admin tag-rule implementation to produce fixtures and test:

  • The provider application's .tag-router key, including the Nacos group/data ID and ZooKeeper path.
  • Initial loading, updates, disabling and deletion of a dynamic rule.
  • Tagged, untagged and unmatched-tag requests, with the existing fallback and force settings.
  • Address-based matching across two provider instances. Check that the cached and uncached paths select the same providers for supported rules.
  • Defaults when optional fields are omitted, alongside explicit enabled/disabled values.

Assert the selected provider identities through the router, and add a short RPC reproduction with a real config center. Record the Admin revision used for the rule and keep external-service requirements separate from the self-contained tests.

Relevant code: Go tag router, existing tests, and Admin tag service.

The tests are in #3772, based directly on develop and independent of the condition-route change.

Full live acceptance uses Admin #1595 for explicit false flags, #3771 for Nacos deletion callbacks, and GOST #155 for ZooKeeper watch events. The SDK must consume the GOST fix after it merges. Retain application-level discovery.

Activity

  1. changed the title [-][Feature]: Verify Admin application tag-route delivery and matching in Go[/-] [+][Feature]: Add Admin tag-route compatibility tests[/+] on Oct 15, 2026
  2. linked a pull request that will close this issuetest: cover Admin tag route compatibility #3772on Oct 16, 2026
  3. AsperforMias commented on Oct 30, 2026

    @AsperforMias
    ContributorAuthor

    Closed by #3772

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

3.3.3✏️ Feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions