You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "robocanic (via GitHub)" <gi...@apache.org> on 2026/01/18 01:15:22 UTC
[PR] Fix/console [dubbo-admin]
robocanic opened a new pull request, #1397:
URL: https://github.com/apache/dubbo-admin/pull/1397
**Please provide a description of this PR:**
**To help us figure out who should review this PR, please put an X in all the areas that this PR affects.**
- [ ] Docs
- [ ] Installation
- [ ] User Experience
- [ ] Dubboctl
- [x] Console
- [ ] Core Component
**Please check any characteristics that apply to this pull request.**
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [PR] Fix/console [dubbo-admin]
Posted by "Copilot (via GitHub)" <gi...@apache.org>.
Copilot commented on code in PR #1397:
URL: https://github.com/apache/dubbo-admin/pull/1397#discussion_r2701950299
##########
pkg/version/version.go:
##########
@@ -19,40 +19,33 @@ package version
import (
"fmt"
- "runtime"
"strings"
)
var (
- buildVersion = "unknown"
+ buildVersion = "0.7.0"
)
-// type BuildInfo struct {
-// Version string `json:"version"`
-// }
-
-func (b BuildInfo) String() string {
- return fmt.Sprintf("%v", b.Version)
-}
-
-func (b BuildInfo) LongForm() string {
- return fmt.Sprintf("%#v", b)
-}
+var Build BuildInfo
func init() {
- Info = BuildInfo{
- Version: buildVersion,
+ Build = BuildInfo{
+ Product: Product,
+ Version: version,
+ GitTag: gitTag,
+ GitCommit: gitCommit,
+ BuildDate: buildDate,
+ BasedOnDubbo: basedOnDubbo,
}
}
var (
- Product = "Dubbo"
- basedOndubbo = ""
- version = "unknown"
- gitTag = "unknown"
- gitCommit = "unknown"
- buildDate = "unknown"
- Envoy = "unknown"
+ Product = "Dubbo Admin"
+ basedOnDubbo = "Dubbo3.x"
Review Comment:
The variable name has a typo: "basedOndubbo" should be "basedOnDubbo" (capital D). This inconsistency with the struct field "BasedOnDubbo" could lead to confusion.
##########
pkg/engine/kubernetes/listerwatcher/runtime_instance.go:
##########
@@ -243,7 +249,10 @@ func (p *PodListerWatcher) getDubboRPCPort(pod *v1.Pod) int64 {
}
func (p *PodListerWatcher) getDubboMesh(pod *v1.Pod) string {
- identifier := p.cfg.Properties.DubboRegistryIdentifier
+ identifier := p.cfg.Properties.DubboDiscoveryIdentifier
Review Comment:
The field name has changed from "DubboRegistryIdentifier" to "DubboDiscoveryIdentifier" at line 252. However, the variable is still named "identifier" which doesn't reflect this semantic change. Consider verifying this rename is intentional and all usages are updated accordingly, as "registry" and "discovery" may have different meanings in the domain.
##########
pkg/governor/nacos2/governor.go:
##########
@@ -104,6 +107,8 @@ func (g *RuleGovernor) DeleteRule(r coremodel.Resource) error {
logger.Errorf("failed to get store in %s, res: %s, cause: %s", r.String(), r.ResourceMesh(), err)
return nil
}
+ // wait for the config to be deleted indeed
+ <-time.After(2 * time.Second)
Review Comment:
Similar issue with hardcoded sleep. Using arbitrary sleep durations (2 seconds) to wait for config deletion is fragile and adds unnecessary latency. Consider implementing proper completion notifications or polling mechanisms.
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [PR] fix: console bugs and ci problems [dubbo-admin]
Posted by "robocanic (via GitHub)" <gi...@apache.org>.
robocanic merged PR #1397:
URL: https://github.com/apache/dubbo-admin/pull/1397
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [PR] Fix/console [dubbo-admin]
Posted by "robocanic (via GitHub)" <gi...@apache.org>.
robocanic commented on code in PR #1397:
URL: https://github.com/apache/dubbo-admin/pull/1397#discussion_r2701946531
##########
release/kubernetes/dubbo-samples-shop/dubbo-samples-shop-all.yaml:
##########
@@ -92,6 +92,7 @@ spec:
-Ddubbo.metadata-report.address=nacos://nacos.dubbo-system.svc:8848?username=nacos&password=nacos
-Ddubbo.application.qos-anonymous-allow-commands=metrics
-Ddubbo.tracing.enabled=true
+ -Ddubbo.traing.sampling.probability=1.0
Review Comment:
fixed
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [PR] Fix/console [dubbo-admin]
Posted by "sonarqubecloud[bot] (via GitHub)" <gi...@apache.org>.
sonarqubecloud[bot] commented on PR #1397:
URL: https://github.com/apache/dubbo-admin/pull/1397#issuecomment-3764626030
## [](https://sonarcloud.io/dashboard?id=apache_dubbo-admin&pullRequest=1397) **Quality Gate passed**
Issues
 [0 New issues](https://sonarcloud.io/project/issues?id=apache_dubbo-admin&pullRequest=1397&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [0 Accepted issues](https://sonarcloud.io/project/issues?id=apache_dubbo-admin&pullRequest=1397&issueStatuses=ACCEPTED)
Measures
 [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_dubbo-admin&pullRequest=1397&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_dubbo-admin&pullRequest=1397&metric=new_coverage&view=list)
 [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_dubbo-admin&pullRequest=1397&metric=new_duplicated_lines_density&view=list)
[See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=apache_dubbo-admin&pullRequest=1397)
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [PR] Fix/console [dubbo-admin]
Posted by "sonarqubecloud[bot] (via GitHub)" <gi...@apache.org>.
sonarqubecloud[bot] commented on PR #1397:
URL: https://github.com/apache/dubbo-admin/pull/1397#issuecomment-3764631663
## [](https://sonarcloud.io/dashboard?id=apache_dubbo-admin&pullRequest=1397) **Quality Gate passed**
Issues
 [0 New issues](https://sonarcloud.io/project/issues?id=apache_dubbo-admin&pullRequest=1397&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [0 Accepted issues](https://sonarcloud.io/project/issues?id=apache_dubbo-admin&pullRequest=1397&issueStatuses=ACCEPTED)
Measures
 [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_dubbo-admin&pullRequest=1397&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_dubbo-admin&pullRequest=1397&metric=new_coverage&view=list)
 [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_dubbo-admin&pullRequest=1397&metric=new_duplicated_lines_density&view=list)
[See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=apache_dubbo-admin&pullRequest=1397)
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [PR] Fix/console [dubbo-admin]
Posted by "sonarqubecloud[bot] (via GitHub)" <gi...@apache.org>.
sonarqubecloud[bot] commented on PR #1397:
URL: https://github.com/apache/dubbo-admin/pull/1397#issuecomment-3764561026
## [](https://sonarcloud.io/dashboard?id=apache_dubbo-admin&pullRequest=1397) **Quality Gate passed**
Issues
 [0 New issues](https://sonarcloud.io/project/issues?id=apache_dubbo-admin&pullRequest=1397&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [0 Accepted issues](https://sonarcloud.io/project/issues?id=apache_dubbo-admin&pullRequest=1397&issueStatuses=ACCEPTED)
Measures
 [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_dubbo-admin&pullRequest=1397&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_dubbo-admin&pullRequest=1397&metric=new_coverage&view=list)
 [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_dubbo-admin&pullRequest=1397&metric=new_duplicated_lines_density&view=list)
[See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=apache_dubbo-admin&pullRequest=1397)
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org