Aias00 commented on code in PR #982:
URL: https://github.com/apache/dubbo-go-pixiu/pull/982#discussion_r4522261959
##########
pkg/cmd/gateway.go:
##########
@@ -78,9 +78,16 @@ var (
return nil
},
RunE: func(cmd *cobra.Command, args []string) error {
- err := deploy.start()
- if err != nil {
- return errors.Wrap(err, "failed to start
gateway")
+ startErr := deploy.start()
+ stopErr := deploy.stop()
Review Comment:
Added the disabled-timeout regression test in `bce3ba87`: omitted
configuration, `0s`, and negative timeouts must not register signal handling or
run cleanup hooks. Mutation checks confirm it catches both zero-timeout
registration and cleanup moved before the guard. Server/CLI/shutdown race tests
and golangci-lint v2.4.0 pass. The PR body now has a `release-note` block with
`action required`, Nacos 2.x/port requirements, and the positive
shutdown-timeout requirement. The documented runtime behavior is unchanged.
--
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]