You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The condition-router tests cover parsing and provider selection, but do not tie those checks to the rules and configuration keys written by Dubbo Admin. A valid rule is ineffective if Go listens on a different key, group or path.
We need coverage for Admin's service/application condition routes and its instance disable/enable operation.
Proposed solution (optional)
Use rules produced by the existing Admin condition-route implementation as test fixtures. Cover:
Service keys with a non-empty group/version, and application keys where consumer and provider have different application names.
The Nacos data ID/group and ZooKeeper path used to load and watch each rule.
A rule present before subscription, followed by update, enable/disable and deletion events.
Disabling instance A while B remains available, then re-enabling A without removing unrelated conditions. When a forced rule excludes every provider, routing must not fall back to an excluded instance.
Assert which providers are selected through the normal router path. Keep the automated tests self-contained and document a separate RPC reproduction with a real config center. Record the Admin revision used for the fixtures and the results of that run.
The implementation is in #3773, based directly on develop. It can be reviewed independently of the tag-route tests.
Full live acceptance uses the fixes in Admin #1595, #3771 and GOST #155. The Go SDK will also need a GOST version containing the watch fix after it merges. Keep the current application-level discovery model.
changed the title [-][Feature]: Verify Admin condition routes and instance traffic switches in Go[/-][+][Feature]: Add Admin condition-route compatibility tests[/+]on Oct 15, 2026
Activity
[-][Feature]: Verify Admin condition routes and instance traffic switches in Go[/-][+][Feature]: Add Admin condition-route compatibility tests[/+]fix(router): load existing consumer application conditions
test(router): distinguish Admin service resource names and keys
docs(router): link condition compatibility prerequisites
test(router): use a tagged switch for condition scopes
fix(router): keep dynamic condition rules ahead of static config and …
fix(router): handle omitted condition flags and test Admin rules
fix(router): load existing consumer application conditions
test(router): distinguish Admin service resource names and keys
docs(router): link condition compatibility prerequisites
test(router): use a tagged switch for condition scopes
fix(router): keep dynamic condition rules ahead of static config and …
test(router): explain blank config center imports
fix(router): load initial application rules and handle omitted flags (#…
AsperforMias commentedon Oct 30, 2026
Closed by #3773