From 86b8abff3fdfadcace2dfa5338063f55a1478b88 Mon Sep 17 00:00:00 2001 From: Gas City Adopt-PR Date: Tue, 29 Sep 2026 14:46:41 +0000 Subject: [PATCH] build(bazel): enumerate cmd/bd/routing_role.go in bd_lib srcs The PR adds cmd/bd/routing_role.go, whose detectUserRoleForActiveRepo is called from create.go and routing_read.go. cmd/bd/BUILD.bazel lists go_library srcs explicitly, so the unenumerated new file broke the Bazel library compile: cmd/bd/create.go:303:21: undefined: detectUserRoleForActiveRepo cmd/bd/routing_read.go:52:19: undefined: detectUserRoleForActiveRepo Generated by `bazel run //:gazelle` (one srcs row, idempotent; no deps row owed because the library already carries internal/beads and internal/routing). Base parity at 89348699b0 was 336/336 non-test .go files enumerated in cmd/bd, so the gap was PR-introduced, not pre-existing. --- cmd/bd/BUILD.bazel | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/bd/BUILD.bazel b/cmd/bd/BUILD.bazel index 85e633049..f2a1bd85c 100644 --- a/cmd/bd/BUILD.bazel +++ b/cmd/bd/BUILD.bazel @@ -268,6 +268,7 @@ go_library( "restore.go", "routed.go", "routing_read.go", + "routing_role.go", "rules.go", "sandbox_unix.go", "sandbox_windows.go",