AsperforMias opened a new pull request, #3772:
URL: https://github.com/apache/dubbo-go/pull/3772

   ### Description
   
   Refs #3769.
   
   Add rules captured through Dubbo Admin's writer and check that consumers 
subscribe to the provider application's `.tag-router` key. The tests cover 
initial loading, updates, disabling, deletion, address matching, fallback and 
force settings. Cached and uncached routes must select the same provider 
identities.
   
   The opt-in integration test uses real Nacos or ZooKeeper and two Triple 
providers. It checks the published location and verifies provider identities 
through RPC calls. The fixture generator records the Admin revision, including 
the difference between the old writer's omitted `enabled: false` and the 
corrected payload.
   
   ### Validation
   
   - `make fmt`
   - `go test -p 2 -count=1 ./cluster/router/...`
   - `go test -p 2 -race -count=1 ./cluster/router/tag`
   - `make test` (root module and `tools/dubbogo-cli`)
   - Real Nacos 2.5.2 and ZooKeeper 3.9.4 lifecycle tests with two Triple 
providers, under `-race`: pass using a temporary modfile with Nacos SDK v2.3.5 
and the GOST `StateSyncConnected` dispatch fix.
   
   The baseline dependencies fail the external test: Nacos SDK v2.2.5 omits 
deletion callbacks, and GOST v1.14.5 does not forward ZooKeeper update events. 
Full compatibility needs [Go 
#3771](https://github.com/apache/dubbo-go/pull/3771), [GOST 
#155](https://github.com/dubbogo/gost/pull/155) 
(`cb5a982116a3f92c069411808babce18e5833b15`) and the writer fix in [Admin 
#1595](https://github.com/apache/dubbo-admin/pull/1595). This test branch is 
based on `develop` and can be reviewed and merged independently.
   
   ### Checklist
   
   - [x] I confirm the target branch is `develop`
   - [x] I have run `make fmt` to format my code
   - [x] I have run `make test` to run local tests
   - [x] I have added tests that prove my fix is effective or that my feature 
works
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to