Alanxtl opened a new issue, #3456:
URL: https://github.com/apache/dubbo-go/issues/3456

   ## Background
   
   dubbo-go currently depends on `github.com/dubbogo/grpc-go`, while the 
upstream and actively maintained module is `google.golang.org/grpc` / 
`github.com/grpc/grpc-go`.
   
   We should deprecate and remove the usage of `github.com/dubbogo/grpc-go` to 
avoid staying on a forked dependency and to align with the upstream gRPC Go 
ecosystem.
   
   ## Current usage
   
   A quick scan shows the dependency is still present in multiple places:
   
   - `go.mod` depends on `github.com/dubbogo/grpc-go v1.42.10`
   - Triple/Dubbo3 protocol code imports `github.com/dubbogo/grpc-go`, 
including `metadata`, `codes`, and `status`
   - generated compatibility files still reference `github.com/dubbogo/grpc-go`
   - `tools/protoc-gen-go-triple` and `tools/dubbogo-cli` templates/generators 
still emit `github.com/dubbogo/grpc-go`
   
   ## Expected work
   
   - Replace runtime imports from `github.com/dubbogo/grpc-go` with the 
upstream gRPC Go module where compatible.
   - Update code generation templates so newly generated Triple code no longer 
imports `github.com/dubbogo/grpc-go`.
   - Regenerate or update checked-in generated files that currently reference 
the fork.
   - Remove `github.com/dubbogo/grpc-go` from `go.mod` / `go.sum` once no 
longer used.
   - Add or update tests that cover Triple/Dubbo3 compatibility after the 
migration.
   
   ## Acceptance criteria
   
   - `rg "github.com/dubbogo/grpc-go"` returns no runtime or generated-code 
references, except possibly historical docs/changelog entries if intentionally 
kept.
   - `go mod tidy` no longer keeps `github.com/dubbogo/grpc-go` in the module 
graph.
   - Existing Triple/Dubbo3 protocol tests and generator tests continue to pass.
   


-- 
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