You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ma...@apache.org on 2025/12/18 17:14:20 UTC

(dubbo-go) branch main updated (dbb029098 -> 053cab86d)

This is an automated email from the ASF dual-hosted git repository.

marsevilspirit pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git


    from dbb029098 Fix panic when retrieving metadata from Java providers via RPC (#3092)
     add afc686da4 fix(filter/trace): adjust the trace scope name with the otel spec (#3041)
     add 7f852aa81 perf(ci): add `make check-fmt` command for ci enhanced code format validation (#3055)
     add 29db20997 fix: add NOSONAR comment to cloc.yml to suppress SonarQube warnings (#3060)
     add 64d946610 fix: correctly distinguish between empty nodes and non-existent nodes in config center (nacos), and change Zookeeper's empty node errorf to warnf (#3059)
     add 8b90a278e fix(roundrobin): add lastUpdate field when storing weightedRoundRobin (#3053)
     add cdf278029 Fix the issue of multiple package imports when generating triple files. (#3052)
     add e57596571 Feat-conf hot-loading capacity (#2992)
     add f90420170 feat: inject dubbo.tag into service metadata (#3069)
     add 47d80e2aa fix: replace panic with error handling in compatUnaryServerInterceptor (#3064)
     add 1af833720 feat: update go vesion to 1.24 and remove the use of rand.seed (#3046)
     add 2fb09a2f1 upadate gost version to v1.14.3 (#3073)
     add 0026310a4 chore: update tag and polaris from config to global (#3029)
     add 58805d6cf fix: nil pointer bug (#3071)
     add 029e040ba feat: Allow using group/version wildcards when the interface matches exactly (#3080)
     add 60bfb76f4 optimize config (#3034)
     add 36ba462d7 feat: finished 2 todos in client_stream.go (#3088)
     add 7d7b84d7a test: add unit tests for service discovery registry (#3085)
     add 7acdd578e Expose api of router (#3066)
     add 6024a3427 ci: latest version of gopls/modernize has delete -category (#3109)
     add d87cffec2 chore(CI): add pr template (#3105)
     add 54d8cb15a chore(CI): delete unused CI workflow (#3106)
     add 3a341b04a fix: fix nacos deregister when receiving shutdown signal (#3108)
     new 053cab86d Merge branch 'develop'

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/pull_request_template.md                   |   7 +
 .github/workflows/cloc.yml                         |  51 --
 .github/workflows/github-actions.yml               |   2 +-
 Makefile                                           |  16 +-
 client/action.go                                   |   4 +
 client/client.go                                   |   4 +
 client/options.go                                  |  93 ++-
 cluster/cluster/failover/cluster_invoker.go        |   5 +-
 .../cluster_invoker_test.go                        |  81 ++-
 cluster/loadbalance/p2c/loadbalance.go             |  70 ++-
 cluster/loadbalance/p2c/loadbalance_test.go        |  44 +-
 cluster/loadbalance/roundrobin/loadbalance.go      |  27 +-
 cluster/router/affinity/router.go                  |  14 +-
 cluster/router/config.go                           |  32 -
 {logger => cluster/router}/options.go              |  56 +-
 cluster/router/polaris/factory.go                  |   4 +-
 cluster/router/polaris/router.go                   |  60 +-
 cluster/router/tag/match.go                        |   8 +-
 cluster/router/tag/router.go                       |   8 +-
 cluster/router/tag/router_test.go                  |  32 +-
 common/constant/default.go                         |   5 +
 common/constant/key.go                             |  11 +-
 common/constant/otel.go                            |   6 +-
 common/extension/registry_directory.go             |  14 +-
 common/url.go                                      |   9 +-
 common/url_test.go                                 |  27 +-
 compat.go                                          | 137 +++-
 config/consumer_config.go                          |   4 -
 config_center/mock_dynamic_config.go               |   6 +
 config_center/nacos/impl.go                        |  26 +-
 config_center/zookeeper/impl.go                    |   5 +
 dubbo.go                                           |  26 +-
 filter/otel/trace/attachment.go                    |   2 +-
 filter/otel/trace/filter.go                        |  35 +-
 global/registry_config.go                          |  17 +
 {config => global}/router_config.go                | 180 ++----
 go.mod                                             |  17 +-
 go.sum                                             |  26 +-
 loader.go                                          | 181 +++++-
 loader_test.go                                     | 110 ++++
 options.go                                         |  28 +-
 protocol/dubbo3/internal/client.go                 |   1 +
 protocol/dubbo3/internal/server.go                 |   1 +
 protocol/grpc/client.go                            |  63 +-
 protocol/grpc/server.go                            |  47 +-
 protocol/triple/dubbo3_invoker.go                  |   6 +
 protocol/triple/triple_protocol/client_stream.go   |  13 +-
 protocol/triple/triple_protocol/handler_compat.go  |  10 +-
 registry/directory/directory.go                    |  40 ++
 registry/directory/directory_test.go               |   5 +-
 registry/nacos/registry_test.go                    |  12 +
 registry/nacos/service_discovery.go                |  13 +-
 registry/nacos/service_discovery_test.go           |   4 +
 registry/protocol/protocol.go                      | 132 +++-
 registry/protocol/protocol_test.go                 | 117 +++-
 .../customizer/service_instance_tag_customizer.go  |  24 +-
 ....go => service_instance_tag_customizer_test.go} |  21 +-
 .../servicediscovery/service_discovery_registry.go |  34 +-
 .../service_discovery_registry_test.go             | 691 +++++++++++++++------
 remoting/getty/config.go                           |  20 +-
 remoting/getty/getty_client.go                     |  41 +-
 remoting/getty/getty_client_test.go                |  26 +-
 remoting/getty/getty_server.go                     |  41 +-
 remoting/getty/getty_server_test.go                |  19 +-
 server/action.go                                   |  31 +-
 server/server.go                                   | 174 ++++--
 .../gen/generator/genTriple.go                     |  28 +-
 .../gen/generator/tripleTpl.go                     |   5 -
 tools/protoc-gen-go-triple/go.mod                  |   5 +-
 tools/protoc-gen-go-triple/go.sum                  |   4 +-
 tools/protoc-gen-go-triple/main.go                 |  40 +-
 tools/protoc-gen-triple-openapi/constant/format.go |   2 +-
 72 files changed, 2302 insertions(+), 858 deletions(-)
 create mode 100644 .github/pull_request_template.md
 delete mode 100644 .github/workflows/cloc.yml
 copy cluster/cluster/{broadcast => failover}/cluster_invoker_test.go (55%)
 delete mode 100644 cluster/router/config.go
 copy {logger => cluster/router}/options.go (60%)
 copy {config => global}/router_config.go (58%)
 create mode 100644 loader_test.go
 copy filter/polaris/limit/default.go => registry/servicediscovery/customizer/service_instance_tag_customizer.go (64%)
 copy registry/servicediscovery/customizer/{metadata_service_url_params_customizer_test.go => service_instance_tag_customizer_test.go} (70%)


(dubbo-go) 01/01: Merge branch 'develop'

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

marsevilspirit pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git

commit 053cab86db135a1fc002f70d40cd79a1b2d63ca3
Merge: dbb029098 3a341b04a
Author: marsevilspirit <ma...@gmail.com>
AuthorDate: Fri Dec 19 01:13:10 2025 +0800

    Merge branch 'develop'

 .github/pull_request_template.md                   |   7 +
 .github/workflows/cloc.yml                         |  51 --
 .github/workflows/github-actions.yml               |   2 +-
 Makefile                                           |  16 +-
 client/action.go                                   |   4 +
 client/client.go                                   |   4 +
 client/options.go                                  |  93 ++-
 cluster/cluster/failover/cluster_invoker.go        |   5 +-
 cluster/cluster/failover/cluster_invoker_test.go   | 176 ++++++
 cluster/loadbalance/p2c/loadbalance.go             |  70 ++-
 cluster/loadbalance/p2c/loadbalance_test.go        |  44 +-
 cluster/loadbalance/roundrobin/loadbalance.go      |  27 +-
 cluster/router/affinity/router.go                  |  14 +-
 cluster/router/config.go                           |  32 -
 cluster/router/options.go                          |  97 +++
 cluster/router/polaris/factory.go                  |   4 +-
 cluster/router/polaris/router.go                   |  60 +-
 cluster/router/tag/match.go                        |   8 +-
 cluster/router/tag/router.go                       |   8 +-
 cluster/router/tag/router_test.go                  |  32 +-
 common/constant/default.go                         |   5 +
 common/constant/key.go                             |  11 +-
 common/constant/otel.go                            |   6 +-
 common/extension/registry_directory.go             |  14 +-
 common/url.go                                      |   9 +-
 common/url_test.go                                 |  27 +-
 compat.go                                          | 137 +++-
 config/consumer_config.go                          |   4 -
 config_center/mock_dynamic_config.go               |   6 +
 config_center/nacos/impl.go                        |  26 +-
 config_center/zookeeper/impl.go                    |   5 +
 dubbo.go                                           |  26 +-
 filter/otel/trace/attachment.go                    |   2 +-
 filter/otel/trace/filter.go                        |  35 +-
 global/registry_config.go                          |  17 +
 global/router_config.go                            | 156 +++++
 go.mod                                             |  17 +-
 go.sum                                             |  26 +-
 loader.go                                          | 181 +++++-
 loader_test.go                                     | 110 ++++
 options.go                                         |  28 +-
 protocol/dubbo3/internal/client.go                 |   1 +
 protocol/dubbo3/internal/server.go                 |   1 +
 protocol/grpc/client.go                            |  63 +-
 protocol/grpc/server.go                            |  47 +-
 protocol/triple/dubbo3_invoker.go                  |   6 +
 protocol/triple/triple_protocol/client_stream.go   |  13 +-
 protocol/triple/triple_protocol/handler_compat.go  |  10 +-
 registry/directory/directory.go                    |  40 ++
 registry/directory/directory_test.go               |   5 +-
 registry/nacos/registry_test.go                    |  12 +
 registry/nacos/service_discovery.go                |  13 +-
 registry/nacos/service_discovery_test.go           |   4 +
 registry/protocol/protocol.go                      | 132 +++-
 registry/protocol/protocol_test.go                 | 117 +++-
 .../customizer/service_instance_tag_customizer.go  |  26 +-
 .../service_instance_tag_customizer_test.go        |  36 +-
 .../servicediscovery/service_discovery_registry.go |  34 +-
 .../service_discovery_registry_test.go             | 691 +++++++++++++++------
 remoting/getty/config.go                           |  20 +-
 remoting/getty/getty_client.go                     |  41 +-
 remoting/getty/getty_client_test.go                |  26 +-
 remoting/getty/getty_server.go                     |  41 +-
 remoting/getty/getty_server_test.go                |  19 +-
 server/action.go                                   |  31 +-
 server/server.go                                   | 174 ++++--
 .../gen/generator/genTriple.go                     |  28 +-
 .../gen/generator/tripleTpl.go                     |   5 -
 tools/protoc-gen-go-triple/go.mod                  |   5 +-
 tools/protoc-gen-go-triple/go.sum                  |   4 +-
 tools/protoc-gen-go-triple/main.go                 |  40 +-
 tools/protoc-gen-triple-openapi/constant/format.go |   2 +-
 72 files changed, 2578 insertions(+), 711 deletions(-)