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

hanahmily pushed a commit to branch trace/liaison
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git

commit 6f3a14b2974705a8df6634eb4d7d5d0d18d7c5c0
Author: Gao Hongtao <hanahm...@gmail.com>
AuthorDate: Thu Aug 28 09:31:06 2025 +0800

    Update GolangCI configuration and coding guidelines to include trace 
service alias
    
    - Added 'tracev1' alias for the new trace service in .golangci.yml.
    - Updated AI_CODING_GUIDELINES.md to reflect the new alias for trace 
service.
    - Imported tracev1 in server.go and registered its service handler in 
initGRPCClient.
---
 .golangci.yml                  | 2 ++
 AI_CODING_GUIDELINES.md        | 1 +
 banyand/liaison/http/server.go | 2 ++
 3 files changed, 5 insertions(+)

diff --git a/.golangci.yml b/.golangci.yml
index 6fad3c15..be8bc5de 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -69,6 +69,8 @@ linters-settings:
       alias: streamv1
     - pkg: github.com/apache/skywalking-banyandb/api/proto/banyandb/cluster/v1
       alias: clusterv1
+    - pkg: github.com/apache/skywalking-banyandb/api/proto/banyandb/trace/v1
+      alias: tracev1
     - pkg: github.com/apache/skywalking-banyandb/pkg/pb/v1
       alias: pbv1
   lll:
diff --git a/AI_CODING_GUIDELINES.md b/AI_CODING_GUIDELINES.md
index 2f5b9c62..c02cdce8 100644
--- a/AI_CODING_GUIDELINES.md
+++ b/AI_CODING_GUIDELINES.md
@@ -49,6 +49,7 @@ Use these specific aliases for protobuf packages:
 - github.com/apache/skywalking-banyandb/api/proto/banyandb/measure/v1 → 
measurev1
 - github.com/apache/skywalking-banyandb/api/proto/banyandb/stream/v1 → streamv1
 - github.com/apache/skywalking-banyandb/api/proto/banyandb/cluster/v1 → 
clusterv1
+- github.com/apache/skywalking-banyandb/api/proto/banyandb/trace/v1 → tracev1
 - github.com/apache/skywalking-banyandb/pkg/pb/v1 → pbv1
 
 ## ERROR HANDLING PATTERNS
diff --git a/banyand/liaison/http/server.go b/banyand/liaison/http/server.go
index 20bac794..d5259514 100644
--- a/banyand/liaison/http/server.go
+++ b/banyand/liaison/http/server.go
@@ -43,6 +43,7 @@ import (
        measurev1 
"github.com/apache/skywalking-banyandb/api/proto/banyandb/measure/v1"
        propertyv1 
"github.com/apache/skywalking-banyandb/api/proto/banyandb/property/v1"
        streamv1 
"github.com/apache/skywalking-banyandb/api/proto/banyandb/stream/v1"
+       tracev1 
"github.com/apache/skywalking-banyandb/api/proto/banyandb/trace/v1"
        "github.com/apache/skywalking-banyandb/banyand/liaison/pkg/auth"
        "github.com/apache/skywalking-banyandb/pkg/healthcheck"
        "github.com/apache/skywalking-banyandb/pkg/logger"
@@ -359,6 +360,7 @@ func (p *server) initGRPCClient() error {
                measurev1.RegisterMeasureServiceHandlerFromEndpoint(p.grpcCtx, 
p.gwMux, p.grpcAddr, opts),
                
propertyv1.RegisterPropertyServiceHandlerFromEndpoint(p.grpcCtx, p.gwMux, 
p.grpcAddr, opts),
                
databasev1.RegisterTraceRegistryServiceHandlerFromEndpoint(p.grpcCtx, p.gwMux, 
p.grpcAddr, opts),
+               tracev1.RegisterTraceServiceHandlerFromEndpoint(p.grpcCtx, 
p.gwMux, p.grpcAddr, opts),
        )
        if err != nil {
                return errors.Wrap(err, "failed to register endpoints")

Reply via email to