From c0d4300871a7682ee63ffa14ccb6f19efe5c3b45 Mon Sep 17 00:00:00 2001 From: OpenWaygate <27287694+OpenWaygate@users.noreply.github.com> Date: Tue, 21 Apr 2026 00:36:40 +0800 Subject: [PATCH] :white_check_mark: Resolve bazel tests --- cmd/BUILD.bazel | 2 ++ pkg/auth/BUILD.bazel | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/cmd/BUILD.bazel b/cmd/BUILD.bazel index 72121fd..4ccb970 100644 --- a/cmd/BUILD.bazel +++ b/cmd/BUILD.bazel @@ -21,7 +21,9 @@ go_library( deps = [ "//pkg", "//pkg/auth", + "//pkg/common", "@com_github_eat_pray_ai_cobra_mcp//:cobra-mcp", + "@com_github_modelcontextprotocol_go_sdk//oauthex", "@com_github_savioxavier_termlink//:termlink", "@com_github_spf13_cobra//:cobra", ], diff --git a/pkg/auth/BUILD.bazel b/pkg/auth/BUILD.bazel index 8ff5201..ad9cec5 100644 --- a/pkg/auth/BUILD.bazel +++ b/pkg/auth/BUILD.bazel @@ -5,12 +5,14 @@ go_library( srcs = [ "auth.go", "service.go", + "verifier.go", ], importpath = "github.com/eat-pray-ai/yutu/pkg/auth", visibility = ["//visibility:public"], deps = [ "//pkg", "//pkg/utils", + "@com_github_modelcontextprotocol_go_sdk//auth", "@org_golang_google_api//option", "@org_golang_google_api//youtube/v3:youtube", "@org_golang_x_oauth2//:oauth2", @@ -23,10 +25,12 @@ go_test( srcs = [ "auth_test.go", "service_test.go", + "verifier_test.go", ], embed = [":auth"], deps = [ "//pkg", + "@com_github_modelcontextprotocol_go_sdk//auth", "@org_golang_google_api//youtube/v3:youtube", "@org_golang_x_oauth2//:oauth2", ],