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

   ### Description
   Fixes #3398 #3397
   
   This PR fixes the application tag propagation in the application-level 
service discovery metadata path.
   
   When a provider is configured with `dubbo.WithTag("gray")`, the exported URL 
carries `application.tag=gray`, but the tag was not fully preserved through 
`MetadataInfo` / `MetadataServiceV2` / `convertMetadataInfoV2`. As a result, 
the consumer-side provider URL could miss `dubbo.tag`, and Tag Router could not 
match the tagged provider.
   
   - Add JSON/Hessian tags for `MetadataInfo.Tag`
   - Add `tag` to `MetadataInfoV2`
   - Return `Tag` from `MetadataServiceV2.GetMetadataInfo`
   - Preserve `Tag` in `convertMetadataInfoV2`
   - Backfill `MetadataInfo.Tag` from `application.tag` in `AddService`
   - Add focused regression tests
   
   ### Checklist
   - [x] I confirm the target branch is `develop`
   - [x] Code has passed local testing
   - [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