From 4c36e80d6d43d2726a7268b21fd24c3f0be82fe9 Mon Sep 17 00:00:00 2001 From: "prath.shenoy" Date: Fri, 25 Sep 2026 14:59:55 +0000 Subject: [PATCH] feat(tango): Add dependent target traversal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **What**: - Add a streamed API that returns targets transitively dependent on requested targets. - Reuse compact reverse-dependency traversal for graph comparison and dependent-target lookup. **Why**: - Enable Stovepipe to identify services potentially affected by a target change before running validation. - Let Stovepipe derive that set from Tango’s build graph instead of maintaining its own dependency graph or inferring impact from changed files. --- controller/BUILD.bazel | 2 + controller/getdependenttargets.go | 211 +++++++ controller/getdependenttargets_test.go | 136 +++++ controller/metrics.go | 1 + internal/tgb/BUILD.bazel | 2 + internal/tgb/dependents.go | 71 +++ internal/tgb/dependents_test.go | 68 +++ internal/tgb/reader.go | 35 ++ internal/tgbdiff/compare.go | 56 +- proto/tango.proto | 20 + tangopb/tango.pb.go | 758 +++++++++++++++++++++---- tangopb/tango.pb.yarpc.go | 273 ++++++--- tangopb/tangopbmock/tangopbmock.go | 61 +- 13 files changed, 1453 insertions(+), 241 deletions(-) create mode 100644 controller/getdependenttargets.go create mode 100644 controller/getdependenttargets_test.go create mode 100644 internal/tgb/dependents.go create mode 100644 internal/tgb/dependents_test.go diff --git a/controller/BUILD.bazel b/controller/BUILD.bazel index 8fe1f823..df772ebf 100644 --- a/controller/BUILD.bazel +++ b/controller/BUILD.bazel @@ -8,6 +8,7 @@ go_library( "errors.go", "getchangedtargetgraph.go", "getchangedtargets.go", + "getdependenttargets.go", "gettargetgraph.go", "metrics.go", "output_filter.go", @@ -43,6 +44,7 @@ go_test( "distance_filter_test.go", "getchangedtargets_test.go", "getchangedtargets_tgb_test.go", + "getdependenttargets_test.go", "gettargetgraph_test.go", "metrics_test.go", "output_filter_test.go", diff --git a/controller/getdependenttargets.go b/controller/getdependenttargets.go new file mode 100644 index 00000000..0daecf29 --- /dev/null +++ b/controller/getdependenttargets.go @@ -0,0 +1,211 @@ +// Copyright (c) 2026 Uber Technologies, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package controller + +import ( + "context" + "errors" + "fmt" + "io" + "maps" + "sort" + "time" + + tangoerrors "github.com/uber/tango/core/errors" + "github.com/uber/tango/core/storage" + "github.com/uber/tango/entity" + "github.com/uber/tango/internal/mapper" + "github.com/uber/tango/internal/tgb" + "github.com/uber/tango/observability/metrics" + pb "github.com/uber/tango/tangopb" + "go.uber.org/zap" +) + +// GetDependentTargets returns every target that transitively depends on a requested target. +func (c *controller) GetDependentTargets(request *pb.GetDependentTargetsRequest, stream pb.TangoServiceGetDependentTargetsYARPCServer) (retErr error) { + validationErr := validateGetDependentTargetsRequest(request) + if validationErr != nil { + validationErr = tangoerrors.NewUser(validationErr) + } + repoCfg, repo, repositoryErr := c.resolveRequestRepository(request.GetBuildDescription().GetRemote(), validationErr) + e := c.emitter.Tagged(map[string]string{metrics.TagRepo: repo}) + op := metrics.Begin(e, opGetDependentTargets, metrics.SlowDurationBuckets) + logger := c.logger.WithLazy(zap.String("repository", repo)) + + defer func() { + op.Complete(retErr) + if retErr != nil { + logger.Error("GetDependentTargets failed", tangoerrors.Fields(retErr)...) + retErr = toWireError(retErr) + } + }() + if repositoryErr != nil { + return repositoryErr + } + + ctx, cancel := c.linkRequestCtx(stream.Context()) + defer cancel() + start := time.Now() + + build, err := mapper.ProtoToBuildDescription(request.GetBuildDescription()) + if err != nil { + return tangoerrors.NewUser(fmt.Errorf("convert build description: %w", err)) + } + + graphRequest := entity.GetTargetGraphRequest{ + Build: build, + BypassCache: request.GetBypassCache(), + } + reader, err := c.getGraph(ctx, e, graphRequest, repoCfg.RepositoryID) + if err != nil { + return fmt.Errorf("get graph: %w", err) + } + if reader == nil { + return nil + } + defer func() { _ = reader.Close() }() + + var labels []string + if graph, ok := reader.(*storage.TGBGraphReader); ok { + labels, err = tgb.DependentLabels(ctx, graph.TGB(), request.GetTargets()) + } else { + labels, err = dependentLabels(ctx, reader, request.GetTargets()) + } + if err != nil { + return err + } + + if err := sendDependentTargets(stream, labels, c.maxMessageBytes); err != nil { + return fmt.Errorf("send response: %w", err) + } + logger.Info("GetDependentTargets: Successfully processed request", + zap.Int("target_count", len(labels)), + zap.Duration("total_duration", time.Since(start)), + ) + return nil +} + +func validateGetDependentTargetsRequest(request *pb.GetDependentTargetsRequest) error { + if request == nil { + return errors.New("request is required") + } + build := request.GetBuildDescription() + if build == nil { + return errors.New("build description is required") + } + if build.GetRemote() == "" { + return errors.New("build description remote is required") + } + if build.GetBaseSha() == "" { + return errors.New("build description base_sha is required") + } + if len(request.GetTargets()) == 0 { + return errors.New("at least one target is required") + } + for i, target := range request.GetTargets() { + if target == "" { + return fmt.Errorf("targets[%d] is required", i) + } + } + return nil +} + +func dependentLabels(ctx context.Context, reader storage.GraphReader, requested []string) ([]string, error) { + targets := make(map[int32][]int32) + labels := make(map[int32]string) + + for { + chunk, err := reader.Read() + if err == io.EOF { + break + } + if err != nil { + return nil, err + } + for _, target := range chunk.Targets { + targets[target.ID] = target.DirectDependencies + } + if chunk.Metadata != nil { + maps.Copy(labels, chunk.Metadata.TargetIDMapping) + } + } + + byLabel := make(map[string]int32, len(labels)) + reverse := make(map[int32][]int32) + + for id, dependencies := range targets { + label := labels[id] + if label == "" { + return nil, fmt.Errorf("target ID %d has no label mapping", id) + } + byLabel[label] = id + for _, dependency := range dependencies { + reverse[dependency] = append(reverse[dependency], id) + } + } + + queue := make([]int32, 0, len(requested)) + seen := make(map[int32]struct{}, len(requested)) + + for _, label := range requested { + id, ok := byLabel[label] + if !ok { + return nil, fmt.Errorf("target %q is absent from target graph", label) + } + if _, ok := seen[id]; !ok { + seen[id] = struct{}{} + queue = append(queue, id) + } + } + + for head := 0; head < len(queue); head++ { + if head%cancelCheckInterval == 0 { + if err := ctx.Err(); err != nil { + return nil, context.Cause(ctx) + } + } + for _, dependent := range reverse[queue[head]] { + if _, ok := seen[dependent]; !ok { + seen[dependent] = struct{}{} + queue = append(queue, dependent) + } + } + } + + result := make([]string, 0, len(queue)) + for _, id := range queue { + result = append(result, labels[id]) + } + sort.Strings(result) + return result, nil +} + +func sendDependentTargets(stream pb.TangoServiceGetDependentTargetsYARPCServer, labels []string, maxBytes int) error { + response := &pb.GetDependentTargetsResponse{} + + for _, label := range labels { + response.Targets = append(response.Targets, label) + if response.Size() > maxBytes && len(response.Targets) > 1 { + last := response.Targets[len(response.Targets)-1] + response.Targets = response.Targets[:len(response.Targets)-1] + if err := stream.Send(response); err != nil { + return err + } + response = &pb.GetDependentTargetsResponse{Targets: []string{last}} + } + } + + return stream.Send(response) +} diff --git a/controller/getdependenttargets_test.go b/controller/getdependenttargets_test.go new file mode 100644 index 00000000..637870bc --- /dev/null +++ b/controller/getdependenttargets_test.go @@ -0,0 +1,136 @@ +// Copyright (c) 2026 Uber Technologies, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package controller + +import ( + "bytes" + "context" + "encoding/gob" + "testing" + + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "github.com/uber/tango/core/storage" + storagemock "github.com/uber/tango/core/storage/storagemock" + "github.com/uber/tango/entity" + pb "github.com/uber/tango/tangopb" + tangomock "github.com/uber/tango/tangopb/tangopbmock" + "go.uber.org/mock/gomock" + "go.uber.org/zap/zaptest" +) + +func TestGetDependentTargets(t *testing.T) { + ctrl := gomock.NewController(t) + stream := tangomock.NewMockTangoServiceGetDependentTargetsYARPCServer(ctrl) + stream.EXPECT().Context().Return(context.Background()) + stream.EXPECT().Send(&pb.GetDependentTargetsResponse{Targets: []string{ + "//app:binary", + "//lib:library", + "//service:binary", + }}).Return(nil) + + var graph bytes.Buffer + encoder := gob.NewEncoder(&graph) + require.NoError(t, encoder.Encode(entity.GetTargetGraphResponse{Targets: []entity.OptimizedTarget{ + {ID: 1}, + {ID: 2, DirectDependencies: []int32{1}}, + {ID: 3, DirectDependencies: []int32{2}}, + }})) + require.NoError(t, encoder.Encode(entity.GetTargetGraphResponse{Metadata: &entity.Metadata{TargetIDMapping: map[int32]string{ + 1: "//lib:library", + 2: "//service:binary", + 3: "//app:binary", + }}})) + + store := storagemock.NewMockStorage(ctrl) + gomock.InOrder( + store.EXPECT().Get(gomock.Any(), gomock.Any()). + Return(storage.DownloadResponse{ReadCloser: newMockReadCloser([]byte("treehash"))}, nil), + store.EXPECT().Get(gomock.Any(), gomock.Any()). + Return(storage.DownloadResponse{ReadCloser: newMockReadCloser(graph.Bytes())}, nil), + ) + c := NewController(context.Background(), Params{ + RepoConfig: allowAnyRepositoryConfigProvider{}, + Logger: zaptest.NewLogger(t), + Storage: store, + }) + + err := c.GetDependentTargets(&pb.GetDependentTargetsRequest{ + BuildDescription: &pb.BuildDescription{ + Strategy: pb.COMPUTATION_STRATEGY_UNSET, + Remote: "repo:go-code", + BaseSha: "sha", + }, + Targets: []string{"//lib:library"}, + }, stream) + require.NoError(t, err) +} + +func TestValidateGetDependentTargetsRequest(t *testing.T) { + assert.Error(t, validateGetDependentTargetsRequest(nil)) + assert.Error(t, validateGetDependentTargetsRequest(&pb.GetDependentTargetsRequest{})) + assert.Error(t, validateGetDependentTargetsRequest(&pb.GetDependentTargetsRequest{ + BuildDescription: &pb.BuildDescription{Strategy: pb.COMPUTATION_STRATEGY_UNSET, Remote: "repo:go-code", BaseSha: "sha"}, + })) + assert.Error(t, validateGetDependentTargetsRequest(&pb.GetDependentTargetsRequest{ + BuildDescription: &pb.BuildDescription{Strategy: pb.COMPUTATION_STRATEGY_UNSET, Remote: "repo:go-code", BaseSha: "sha"}, + Targets: []string{""}, + })) + assert.NoError(t, validateGetDependentTargetsRequest(&pb.GetDependentTargetsRequest{ + BuildDescription: &pb.BuildDescription{Strategy: pb.COMPUTATION_STRATEGY_UNSET, Remote: "repo:go-code", BaseSha: "sha"}, + Targets: []string{"//lib:library"}, + })) +} + +func TestSendDependentTargetsSplitsResponses(t *testing.T) { + ctrl := gomock.NewController(t) + stream := tangomock.NewMockTangoServiceGetDependentTargetsYARPCServer(ctrl) + first := "//lib:first" + second := "//lib:second" + stream.EXPECT().Send(&pb.GetDependentTargetsResponse{Targets: []string{first}}).Return(nil) + stream.EXPECT().Send(&pb.GetDependentTargetsResponse{Targets: []string{second}}).Return(nil) + + maxBytes := (&pb.GetDependentTargetsResponse{Targets: []string{first}}).Size() + require.NoError(t, sendDependentTargets(stream, []string{first, second}, maxBytes)) +} + +func TestDependentLabels(t *testing.T) { + reader := newGraphReader(t, + entity.GetTargetGraphResponse{Targets: []entity.OptimizedTarget{ + {ID: 1}, + {ID: 2, DirectDependencies: []int32{1}}, + {ID: 3, DirectDependencies: []int32{2}}, + }}, + entity.GetTargetGraphResponse{Metadata: &entity.Metadata{TargetIDMapping: map[int32]string{ + 1: "//lib:library", + 2: "//service:binary", + 3: "//app:binary", + }}}, + ) + + labels, err := dependentLabels(context.Background(), reader, []string{"//lib:library"}) + require.NoError(t, err) + assert.Equal(t, []string{"//app:binary", "//lib:library", "//service:binary"}, labels) +} + +func TestDependentLabelsRejectsMissingTarget(t *testing.T) { + reader := newGraphReader(t, + entity.GetTargetGraphResponse{Targets: []entity.OptimizedTarget{{ID: 1}}}, + entity.GetTargetGraphResponse{Metadata: &entity.Metadata{TargetIDMapping: map[int32]string{1: "//lib:library"}}}, + ) + + _, err := dependentLabels(context.Background(), reader, []string{"//missing:target"}) + require.Error(t, err) +} diff --git a/controller/metrics.go b/controller/metrics.go index 559e8ee3..0a39d133 100644 --- a/controller/metrics.go +++ b/controller/metrics.go @@ -18,5 +18,6 @@ package controller const ( opGetTargetGraph = "get_target_graph" opGetChangedTargets = "get_changed_targets" + opGetDependentTargets = "get_dependent_targets" opGetChangedTargetGraph = "get_changed_target_graph" ) diff --git a/internal/tgb/BUILD.bazel b/internal/tgb/BUILD.bazel index ff05fdf0..12869e33 100644 --- a/internal/tgb/BUILD.bazel +++ b/internal/tgb/BUILD.bazel @@ -3,6 +3,7 @@ load("@rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "tgb", srcs = [ + "dependents.go", "dict.go", "encode.go", "format.go", @@ -23,6 +24,7 @@ go_library( go_test( name = "tgb_test", srcs = [ + "dependents_test.go", "fuzz_test.go", "hashwidth_test.go", "sentinel_test.go", diff --git a/internal/tgb/dependents.go b/internal/tgb/dependents.go new file mode 100644 index 00000000..f13dd4eb --- /dev/null +++ b/internal/tgb/dependents.go @@ -0,0 +1,71 @@ +// Copyright (c) 2026 Uber Technologies, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package tgb + +import ( + "context" + "fmt" + "sort" +) + +const dependentTargetsCancelCheckInterval = 4096 + +// DependentLabels returns the supplied labels and every target that +// transitively depends on them. +func DependentLabels(ctx context.Context, r *Reader, labels []string) ([]string, error) { + seeds := make([]int32, 0, len(labels)) + for _, label := range labels { + pkg, name := splitLabel(label) + id := r.FindNode(pkg, name) + if id < 0 { + return nil, fmt.Errorf("target %q is absent from target graph", label) + } + seeds = append(seeds, int32(id)) + } + + reverseOffsets, reverseTargets, err := r.ReverseDepsCSR() + if err != nil { + return nil, fmt.Errorf("read graph reverse dependencies: %w", err) + } + visited := make([]bool, r.NodeCount()) + queue := make([]int32, 0, len(seeds)) + for _, seed := range seeds { + if !visited[int(seed)] { + visited[seed] = true + queue = append(queue, seed) + } + } + for head := 0; head < len(queue); head++ { + if head%dependentTargetsCancelCheckInterval == 0 { + if err := ctx.Err(); err != nil { + return nil, context.Cause(ctx) + } + } + id := queue[head] + for _, dependent := range reverseTargets[reverseOffsets[id]:reverseOffsets[id+1]] { + if !visited[int(dependent)] { + visited[dependent] = true + queue = append(queue, dependent) + } + } + } + + result := make([]string, 0, len(queue)) + for _, id := range queue { + result = append(result, r.Label(int(id))) + } + sort.Strings(result) + return result, nil +} diff --git a/internal/tgb/dependents_test.go b/internal/tgb/dependents_test.go new file mode 100644 index 00000000..01a3b536 --- /dev/null +++ b/internal/tgb/dependents_test.go @@ -0,0 +1,68 @@ +// Copyright (c) 2026 Uber Technologies, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package tgb_test + +import ( + "context" + "testing" + + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "github.com/uber/tango/internal/tgb" +) + +func TestDependentLabels(t *testing.T) { + reader, err := tgb.NewReader(mustEncode(t, buildTinyGraph(), tgb.EncodeOptions{HashBytes: 20, BlockSize: 16})) + require.NoError(t, err) + + labels, err := tgb.DependentLabels(context.Background(), reader, []string{"//src/foo/bar:bar.go"}) + require.NoError(t, err) + assert.Equal(t, []string{ + "//src/foo/bar:all", + "//src/foo/bar:bar", + "//src/foo/bar:bar.go", + "//src/foo/bar:cmd", + "//src/foo/qux:qux_test", + }, labels) +} + +func TestReverseDepsCSR(t *testing.T) { + reader, err := tgb.NewReader(mustEncode(t, buildTinyGraph(), tgb.EncodeOptions{HashBytes: 20, BlockSize: 16})) + require.NoError(t, err) + + offsets, targets, err := reader.ReverseDepsCSR() + require.NoError(t, err) + + pkg, name := tgb.SplitLabelString("//src/foo/bar:bar.go") + id := reader.FindNode(pkg, name) + require.GreaterOrEqual(t, id, 0) + + var labels []string + for _, target := range targets[offsets[id]:offsets[id+1]] { + labels = append(labels, reader.Label(int(target))) + } + assert.ElementsMatch(t, []string{ + "//src/foo/bar:all", + "//src/foo/bar:bar", + }, labels) +} + +func TestDependentLabelsRejectsMissingTarget(t *testing.T) { + reader, err := tgb.NewReader(mustEncode(t, buildTinyGraph(), tgb.EncodeOptions{HashBytes: 20, BlockSize: 16})) + require.NoError(t, err) + + _, err = tgb.DependentLabels(context.Background(), reader, []string{"//missing:target"}) + require.Error(t, err) +} diff --git a/internal/tgb/reader.go b/internal/tgb/reader.go index c684cfed..560de55e 100644 --- a/internal/tgb/reader.go +++ b/internal/tgb/reader.go @@ -906,6 +906,41 @@ func (r *Reader) DepsCSR() (offsets []int32, targets []int32, err error) { return offsets, targets, nil } +// ReverseDepsCSR returns the graph's reverse dependencies in compressed sparse +// row form. The dependents of node i are targets[offsets[i]:offsets[i+1]]. +func (r *Reader) ReverseDepsCSR() (offsets []int32, targets []int32, err error) { + forwardOffsets, forwardTargets, err := r.DepsCSR() + if err != nil { + return nil, nil, err + } + + n := r.NodeCount() + inDegree := make([]int32, n) + for _, dependency := range forwardTargets { + if dependency >= 0 && int(dependency) < n { + inDegree[dependency]++ + } + } + + offsets = make([]int32, n+1) + for i := range inDegree { + offsets[i+1] = offsets[i] + inDegree[i] + } + + targets = make([]int32, offsets[n]) + next := append([]int32(nil), offsets[:n]...) + for id := 0; id < n; id++ { + for i := forwardOffsets[id]; i < forwardOffsets[id+1]; i++ { + dependency := forwardTargets[i] + if dependency >= 0 && int(dependency) < n { + targets[next[dependency]] = int32(id) + next[dependency]++ + } + } + } + return offsets, targets, nil +} + // Tags returns the tag dict IDs for node i, appended to buf. func (r *Reader) Tags(node int, buf []int32) []int32 { degs, offsets, tagsData, err := r.ensureTagOffsets() diff --git a/internal/tgbdiff/compare.go b/internal/tgbdiff/compare.go index b561bf95..1a948ced 100644 --- a/internal/tgbdiff/compare.go +++ b/internal/tgbdiff/compare.go @@ -376,8 +376,7 @@ func compareInternal(ctx context.Context, before, after *tgb.Reader, opts Option // ── Phase 3a: build reverse CSR ────────────────────────────────────────── t3 := time.Now() nAfter := nAfterNodes - var csrDepBuf []int32 - csrOffsets, csrTargets, err := buildReverseCSR(after, nAfter, &csrDepBuf) + csrOffsets, csrTargets, err := after.ReverseDepsCSR() if err != nil { return nil, phases, cnt, err } @@ -919,56 +918,3 @@ func attrsChanged(before, after map[string]string) bool { } return false } - -// ─── phase 3a: reverse CSR ─────────────────────────────────────────────────── - -// buildReverseCSR builds the reverse adjacency of the after graph as a CSR -// in three linear passes (count, prefix-sum, scatter). -// -// Returns (offsets, targets) where reverse neighbours of node i are -// targets[offsets[i]:offsets[i+1]]. -// -// depBuf is a scratch buffer reused across calls to avoid allocation. -func buildReverseCSR(after *tgb.Reader, n int, depBuf *[]int32) (offsets []int32, targets []int32, err error) { - // Decode the forward edges once into CSR form. Calling Deps per node walks - // the reader's offset table twice over and allocates per node; DepsCSR is a - // single sequential pass over the column. - fwdOff, fwdTgt, err := after.DepsCSR() - if err != nil { - return nil, nil, err - } - - // Pass 1: count in-degrees. - inDeg := make([]int32, n) - for _, d := range fwdTgt { - if d >= 0 && int(d) < n { - inDeg[d]++ - } - } - - // Pass 2: prefix-sum → offsets (length n+1). - offsets = make([]int32, n+1) - var total int32 - for i := 0; i < n; i++ { - offsets[i] = total - total += inDeg[i] - } - offsets[n] = total - - // Pass 3: scatter edges. - targets = make([]int32, total) - pos := make([]int32, n) - copy(pos, offsets[:n]) - - for i := 0; i < n && i+1 < len(fwdOff); i++ { - for k := fwdOff[i]; k < fwdOff[i+1]; k++ { - d := fwdTgt[k] - if d >= 0 && int(d) < n { - targets[pos[d]] = int32(i) - pos[d]++ - } - } - } - - return offsets, targets, nil -} diff --git a/proto/tango.proto b/proto/tango.proto index 197e3358..eb13c15d 100644 --- a/proto/tango.proto +++ b/proto/tango.proto @@ -250,6 +250,23 @@ message GetChangedTargetGraphResponse { } } +// GetDependentTargetsRequest identifies targets and the graph revision used to +// find their reverse dependencies. +message GetDependentTargetsRequest { + // The graph revision to traverse. + BuildDescription build_description = 1; + // Bazel target labels whose transitive dependents should be returned. + repeated string targets = 2; + // When true, skip graph cache reads and recompute the graph. + bool bypass_cache = 3; +} + +// GetDependentTargetsResponse contains one message-size-bounded batch of +// target labels that transitively depend on the requested targets. +message GetDependentTargetsResponse { + repeated string targets = 1; +} + // Tango is the service for analyzing build target graphs and services. It is an abstraction over the underlying build system like Bazel, // enabling quick understanding of the dependencies between software building blocks and changes across source code revisions. service Tango { @@ -259,6 +276,9 @@ service Tango { // Return a set of targets changed between two revisions rpc GetChangedTargets(GetChangedTargetsRequest) returns (stream GetChangedTargetsResponse) {} + // Return targets that transitively depend on the supplied targets. + rpc GetDependentTargets(GetDependentTargetsRequest) returns (stream GetDependentTargetsResponse) {} + // NOT YET IMPLEMENTED — returns Unimplemented. // Return a full target graph across two revisions with change indicator for each target. It differs from GetChangedTargets in that a full target graph can be constructed for either base or target revision. rpc GetChangedTargetGraph(GetChangedTargetGraphRequest) returns (stream GetChangedTargetGraphResponse) {} diff --git a/tangopb/tango.pb.go b/tangopb/tango.pb.go index c4f2ec05..1df39f18 100644 --- a/tangopb/tango.pb.go +++ b/tangopb/tango.pb.go @@ -5,15 +5,14 @@ package tangopb import ( fmt "fmt" + proto "github.com/gogo/protobuf/proto" + github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" io "io" math "math" math_bits "math/bits" reflect "reflect" strconv "strconv" strings "strings" - - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" ) // Reference imports to suppress errors if they are not otherwise used. @@ -1289,6 +1288,115 @@ func (*GetChangedTargetGraphResponse) XXX_OneofWrappers() []interface{} { } } +// GetDependentTargetsRequest identifies targets and the graph revision used to +// find their reverse dependencies. +type GetDependentTargetsRequest struct { + // The graph revision to traverse. + BuildDescription *BuildDescription `protobuf:"bytes,1,opt,name=build_description,json=buildDescription,proto3" json:"build_description,omitempty"` + // Bazel target labels whose transitive dependents should be returned. + Targets []string `protobuf:"bytes,2,rep,name=targets,proto3" json:"targets,omitempty"` + // When true, skip graph cache reads and recompute the graph. + BypassCache bool `protobuf:"varint,3,opt,name=bypass_cache,json=bypassCache,proto3" json:"bypass_cache,omitempty"` +} + +func (m *GetDependentTargetsRequest) Reset() { *m = GetDependentTargetsRequest{} } +func (*GetDependentTargetsRequest) ProtoMessage() {} +func (*GetDependentTargetsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_c4210c857dbeec96, []int{16} +} +func (m *GetDependentTargetsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetDependentTargetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetDependentTargetsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetDependentTargetsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDependentTargetsRequest.Merge(m, src) +} +func (m *GetDependentTargetsRequest) XXX_Size() int { + return m.Size() +} +func (m *GetDependentTargetsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetDependentTargetsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetDependentTargetsRequest proto.InternalMessageInfo + +func (m *GetDependentTargetsRequest) GetBuildDescription() *BuildDescription { + if m != nil { + return m.BuildDescription + } + return nil +} + +func (m *GetDependentTargetsRequest) GetTargets() []string { + if m != nil { + return m.Targets + } + return nil +} + +func (m *GetDependentTargetsRequest) GetBypassCache() bool { + if m != nil { + return m.BypassCache + } + return false +} + +// GetDependentTargetsResponse contains one message-size-bounded batch of +// target labels that transitively depend on the requested targets. +type GetDependentTargetsResponse struct { + Targets []string `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"` +} + +func (m *GetDependentTargetsResponse) Reset() { *m = GetDependentTargetsResponse{} } +func (*GetDependentTargetsResponse) ProtoMessage() {} +func (*GetDependentTargetsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_c4210c857dbeec96, []int{17} +} +func (m *GetDependentTargetsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetDependentTargetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetDependentTargetsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetDependentTargetsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDependentTargetsResponse.Merge(m, src) +} +func (m *GetDependentTargetsResponse) XXX_Size() int { + return m.Size() +} +func (m *GetDependentTargetsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetDependentTargetsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetDependentTargetsResponse proto.InternalMessageInfo + +func (m *GetDependentTargetsResponse) GetTargets() []string { + if m != nil { + return m.Targets + } + return nil +} + func init() { proto.RegisterEnum("uber.tango.ErrorCode", ErrorCode_name, ErrorCode_value) proto.RegisterEnum("uber.tango.ComputationStrategy", ComputationStrategy_name, ComputationStrategy_value) @@ -1315,104 +1423,110 @@ func init() { proto.RegisterType((*GetChangedTargetsResponse)(nil), "uber.tango.GetChangedTargetsResponse") proto.RegisterType((*GetChangedTargetGraphRequest)(nil), "uber.tango.GetChangedTargetGraphRequest") proto.RegisterType((*GetChangedTargetGraphResponse)(nil), "uber.tango.GetChangedTargetGraphResponse") + proto.RegisterType((*GetDependentTargetsRequest)(nil), "uber.tango.GetDependentTargetsRequest") + proto.RegisterType((*GetDependentTargetsResponse)(nil), "uber.tango.GetDependentTargetsResponse") } func init() { proto.RegisterFile("tango.proto", fileDescriptor_c4210c857dbeec96) } var fileDescriptor_c4210c857dbeec96 = []byte{ - // 1462 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0xbd, 0x6f, 0xdb, 0xd6, - 0x16, 0x17, 0xf5, 0x61, 0xcb, 0x47, 0xb6, 0x24, 0x5f, 0x3b, 0x7e, 0xb2, 0x9c, 0xc7, 0x38, 0x44, - 0x02, 0x38, 0x79, 0x78, 0xce, 0x83, 0x1f, 0x82, 0xa6, 0x29, 0x32, 0xc8, 0x12, 0x63, 0x0b, 0x71, - 0x64, 0xf7, 0x9a, 0x4e, 0x91, 0xa6, 0x00, 0x71, 0x45, 0xde, 0xc8, 0x44, 0x25, 0x92, 0x25, 0xaf, - 0x12, 0x3b, 0x53, 0xd7, 0x2e, 0x45, 0xc7, 0x4e, 0x1d, 0x3a, 0x15, 0x5d, 0xbb, 0x76, 0xe9, 0xd6, - 0xa5, 0x40, 0x8a, 0x2e, 0x19, 0x3a, 0x34, 0xce, 0xd2, 0x31, 0x7f, 0x42, 0xc1, 0x7b, 0x29, 0x8a, - 0x94, 0xe5, 0x2f, 0x64, 0xe9, 0xd0, 0xed, 0xde, 0xf3, 0xf1, 0x3b, 0xe7, 0x9e, 0xdf, 0xbd, 0xe7, - 0x50, 0x82, 0x02, 0x23, 0x76, 0xc7, 0x59, 0x75, 0x3d, 0x87, 0x39, 0x08, 0xfa, 0x6d, 0xea, 0xad, - 0x72, 0x89, 0xf2, 0x21, 0x80, 0x16, 0x2c, 0x54, 0xcf, 0x73, 0x3c, 0x74, 0x03, 0xb2, 0x86, 0x63, - 0xd2, 0x8a, 0xb4, 0x2c, 0xad, 0x14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xc1, 0x5e, 0xf9, 0x69, 0x02, 0xf2, - 0x0f, 0x29, 0x23, 0x26, 0x61, 0x04, 0xed, 0xc1, 0xac, 0x08, 0xa0, 0x5b, 0xa6, 0xde, 0x23, 0xae, - 0x6b, 0xd9, 0x9d, 0xb0, 0x62, 0x37, 0xe2, 0xb1, 0x06, 0x0e, 0xab, 0x22, 0x40, 0xd3, 0x7c, 0x28, - 0x6c, 0xc5, 0xed, 0x28, 0xb1, 0xa4, 0x34, 0x80, 0x8d, 0x2e, 0x6f, 0x04, 0x9b, 0x3e, 0x05, 0x16, - 0x87, 0x37, 0x3b, 0x09, 0xeb, 0x25, 0xa5, 0x48, 0x0d, 0x7a, 0x79, 0x27, 0x02, 0x14, 0xbd, 0xef, - 0xda, 0x09, 0x79, 0x76, 0x12, 0x58, 0xc0, 0x22, 0x01, 0x32, 0x61, 0x21, 0xba, 0xce, 0xba, 0x4d, - 0x7a, 0xc3, 0x14, 0xb3, 0x1c, 0x71, 0x75, 0x2c, 0x62, 0x74, 0xe7, 0x5b, 0xa4, 0x97, 0xcc, 0x73, - 0x9e, 0x8c, 0x51, 0xa1, 0x17, 0x20, 0x0f, 0xa3, 0xf8, 0xcc, 0xb3, 0xec, 0x8e, 0xce, 0x5f, 0x41, - 0x14, 0x2d, 0xc7, 0xa3, 0xdd, 0x3e, 0x3d, 0xda, 0x2e, 0xf7, 0x7c, 0x14, 0x38, 0x26, 0x82, 0x2e, - 0x91, 0x93, 0x2d, 0xaa, 0xeb, 0x30, 0x3f, 0x8e, 0xa8, 0xb3, 0xde, 0xe9, 0x54, 0xec, 0x9d, 0x06, - 0x18, 0xe3, 0x58, 0xb9, 0x10, 0xc6, 0x3d, 0x28, 0x8d, 0x10, 0x71, 0x21, 0xf7, 0x0d, 0x58, 0x3c, - 0xb1, 0xea, 0x17, 0x02, 0x6a, 0xc1, 0xf2, 0x59, 0x05, 0xbd, 0x08, 0x9e, 0xf2, 0x45, 0x1a, 0x2e, - 0x6d, 0x50, 0x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e2, 0xac, 0x8b, 0xbf, 0x2a, 0x76, 0x3c, 0x87, 0x39, 0x3b, 0xd2, 0xc7, 0x93, 0x5c, - 0xe8, 0xb6, 0xdb, 0x13, 0xfc, 0x6f, 0x8d, 0xff, 0xff, 0x15, 0x00, 0x00, 0xff, 0xff, 0x99, 0x32, - 0x7a, 0xee, 0xe5, 0x10, 0x00, 0x00, + // 1523 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0xbf, 0x6f, 0xdb, 0xc6, + 0x17, 0x17, 0xf5, 0xc3, 0x96, 0x9f, 0x6c, 0x49, 0x3e, 0x3b, 0xfe, 0xca, 0x72, 0xbe, 0x8c, 0x43, + 0x24, 0xad, 0x93, 0xa2, 0x4e, 0xe1, 0x22, 0x48, 0x9a, 0x22, 0x83, 0x2c, 0x31, 0xb6, 0x10, 0x47, + 0x76, 0xcf, 0x72, 0x8a, 0x34, 0x05, 0x88, 0x93, 0x78, 0x91, 0xd9, 0x4a, 0x24, 0x4b, 0x9e, 0x12, + 0x3b, 0x53, 0xd7, 0x2e, 0x45, 0xc7, 0x4e, 0x1d, 0x8a, 0x0e, 0x41, 0xd7, 0xfe, 0x05, 0xdd, 0xba, + 0x14, 0x48, 0xd1, 0x25, 0x43, 0x87, 0x46, 0x59, 0x3a, 0xe6, 0x4f, 0x28, 0x78, 0xa4, 0x28, 0x92, + 0xa2, 0x7f, 0x21, 0x1d, 0x3a, 0x74, 0xbb, 0x7b, 0x3f, 0x3e, 0xef, 0xdd, 0x7b, 0xef, 0xde, 0x3b, + 0x12, 0x72, 0x8c, 0xe8, 0x1d, 0x63, 0xd5, 0xb4, 0x0c, 0x66, 0x20, 0xe8, 0xb7, 0xa8, 0xb5, 0xca, + 0x29, 0xd2, 0x47, 0x00, 0x4d, 0x67, 0x21, 0x5b, 0x96, 0x61, 0xa1, 0x2b, 0x90, 0x6e, 0x1b, 0x2a, + 0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23, 0xd0, 0xca, 0x71, 0xfe, + 0x86, 0x82, 0x77, 0xe5, 0x14, 0x92, 0x23, 0x8b, 0xeb, 0x0f, 0x9f, 0xbf, 0x14, 0x13, 0x2f, 0x5e, + 0x8a, 0x89, 0xd7, 0x2f, 0x45, 0xe1, 0xcb, 0x81, 0x28, 0x3c, 0x1b, 0x88, 0xc2, 0x2f, 0x03, 0x51, + 0x78, 0x3e, 0x10, 0x85, 0x3f, 0x07, 0xa2, 0xf0, 0xd7, 0x40, 0x4c, 0xbc, 0x1e, 0x88, 0xc2, 0x37, + 0xaf, 0xc4, 0xc4, 0xf3, 0x57, 0x62, 0xe2, 0xc5, 0x2b, 0x31, 0x01, 0xf9, 0xb6, 0xd1, 0x0b, 0xd8, + 0x59, 0x77, 0x7f, 0xfb, 0xec, 0x58, 0x06, 0x33, 0x76, 0x84, 0x4f, 0x26, 0x39, 0xd1, 0x6c, 0xb5, + 0x26, 0xf8, 0x2f, 0xa2, 0xf7, 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x97, 0xc2, 0x7f, 0x92, 0x31, + 0x12, 0x00, 0x00, } func (x ErrorCode) String() string { @@ -2138,6 +2252,70 @@ func (this *GetChangedTargetGraphResponse_Metadata) Equal(that interface{}) bool } return true } +func (this *GetDependentTargetsRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*GetDependentTargetsRequest) + if !ok { + that2, ok := that.(GetDependentTargetsRequest) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.BuildDescription.Equal(that1.BuildDescription) { + return false + } + if len(this.Targets) != len(that1.Targets) { + return false + } + for i := range this.Targets { + if this.Targets[i] != that1.Targets[i] { + return false + } + } + if this.BypassCache != that1.BypassCache { + return false + } + return true +} +func (this *GetDependentTargetsResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*GetDependentTargetsResponse) + if !ok { + that2, ok := that.(GetDependentTargetsResponse) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if len(this.Targets) != len(that1.Targets) { + return false + } + for i := range this.Targets { + if this.Targets[i] != that1.Targets[i] { + return false + } + } + return true +} func (this *TangoError) GoString() string { if this == nil { return "nil" @@ -2488,6 +2666,30 @@ func (this *GetChangedTargetGraphResponse_Metadata) GoString() string { `Metadata:` + fmt.Sprintf("%#v", this.Metadata) + `}`}, ", ") return s } +func (this *GetDependentTargetsRequest) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 7) + s = append(s, "&tangopb.GetDependentTargetsRequest{") + if this.BuildDescription != nil { + s = append(s, "BuildDescription: "+fmt.Sprintf("%#v", this.BuildDescription)+",\n") + } + s = append(s, "Targets: "+fmt.Sprintf("%#v", this.Targets)+",\n") + s = append(s, "BypassCache: "+fmt.Sprintf("%#v", this.BypassCache)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *GetDependentTargetsResponse) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&tangopb.GetDependentTargetsResponse{") + s = append(s, "Targets: "+fmt.Sprintf("%#v", this.Targets)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} func valueToGoStringTango(v interface{}, typ string) string { rv := reflect.ValueOf(v) if rv.IsNil() { @@ -3512,6 +3714,92 @@ func (m *GetChangedTargetGraphResponse_Metadata) MarshalToSizedBuffer(dAtA []byt } return len(dAtA) - i, nil } +func (m *GetDependentTargetsRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetDependentTargetsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetDependentTargetsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.BypassCache { + i-- + if m.BypassCache { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.Targets) > 0 { + for iNdEx := len(m.Targets) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Targets[iNdEx]) + copy(dAtA[i:], m.Targets[iNdEx]) + i = encodeVarintTango(dAtA, i, uint64(len(m.Targets[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.BuildDescription != nil { + { + size, err := m.BuildDescription.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTango(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetDependentTargetsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetDependentTargetsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetDependentTargetsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Targets) > 0 { + for iNdEx := len(m.Targets) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Targets[iNdEx]) + copy(dAtA[i:], m.Targets[iNdEx]) + i = encodeVarintTango(dAtA, i, uint64(len(m.Targets[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + func encodeVarintTango(dAtA []byte, offset int, v uint64) int { offset -= sovTango(v) base := offset @@ -3951,6 +4239,42 @@ func (m *GetChangedTargetGraphResponse_Metadata) Size() (n int) { } return n } +func (m *GetDependentTargetsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.BuildDescription != nil { + l = m.BuildDescription.Size() + n += 1 + l + sovTango(uint64(l)) + } + if len(m.Targets) > 0 { + for _, s := range m.Targets { + l = len(s) + n += 1 + l + sovTango(uint64(l)) + } + } + if m.BypassCache { + n += 2 + } + return n +} + +func (m *GetDependentTargetsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Targets) > 0 { + for _, s := range m.Targets { + l = len(s) + n += 1 + l + sovTango(uint64(l)) + } + } + return n +} func sovTango(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 @@ -4285,6 +4609,28 @@ func (this *GetChangedTargetGraphResponse_Metadata) String() string { }, "") return s } +func (this *GetDependentTargetsRequest) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&GetDependentTargetsRequest{`, + `BuildDescription:` + strings.Replace(this.BuildDescription.String(), "BuildDescription", "BuildDescription", 1) + `,`, + `Targets:` + fmt.Sprintf("%v", this.Targets) + `,`, + `BypassCache:` + fmt.Sprintf("%v", this.BypassCache) + `,`, + `}`, + }, "") + return s +} +func (this *GetDependentTargetsResponse) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&GetDependentTargetsResponse{`, + `Targets:` + fmt.Sprintf("%v", this.Targets) + `,`, + `}`, + }, "") + return s +} func valueToStringTango(v interface{}) string { rv := reflect.ValueOf(v) if rv.IsNil() { @@ -7174,6 +7520,226 @@ func (m *GetChangedTargetGraphResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *GetDependentTargetsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTango + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetDependentTargetsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetDependentTargetsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BuildDescription", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTango + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTango + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTango + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.BuildDescription == nil { + m.BuildDescription = &BuildDescription{} + } + if err := m.BuildDescription.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Targets", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTango + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTango + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTango + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Targets = append(m.Targets, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BypassCache", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTango + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.BypassCache = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipTango(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTango + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetDependentTargetsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTango + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetDependentTargetsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetDependentTargetsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Targets", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTango + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTango + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTango + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Targets = append(m.Targets, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTango(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTango + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipTango(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/tangopb/tango.pb.yarpc.go b/tangopb/tango.pb.yarpc.go index 064d3be9..552085ee 100644 --- a/tangopb/tango.pb.yarpc.go +++ b/tangopb/tango.pb.yarpc.go @@ -24,6 +24,7 @@ var _ = ioutil.NopCloser type TangoYARPCClient interface { GetTargetGraph(context.Context, *GetTargetGraphRequest, ...yarpc.CallOption) (TangoServiceGetTargetGraphYARPCClient, error) GetChangedTargets(context.Context, *GetChangedTargetsRequest, ...yarpc.CallOption) (TangoServiceGetChangedTargetsYARPCClient, error) + GetDependentTargets(context.Context, *GetDependentTargetsRequest, ...yarpc.CallOption) (TangoServiceGetDependentTargetsYARPCClient, error) GetChangedTargetGraph(context.Context, *GetChangedTargetGraphRequest, ...yarpc.CallOption) (TangoServiceGetChangedTargetGraphYARPCClient, error) } @@ -41,6 +42,13 @@ type TangoServiceGetChangedTargetsYARPCClient interface { CloseSend(...yarpc.StreamOption) error } +// TangoServiceGetDependentTargetsYARPCClient receives GetDependentTargetsResponses, returning io.EOF when the stream is complete. +type TangoServiceGetDependentTargetsYARPCClient interface { + Context() context.Context + Recv(...yarpc.StreamOption) (*GetDependentTargetsResponse, error) + CloseSend(...yarpc.StreamOption) error +} + // TangoServiceGetChangedTargetGraphYARPCClient receives GetChangedTargetGraphResponses, returning io.EOF when the stream is complete. type TangoServiceGetChangedTargetGraphYARPCClient interface { Context() context.Context @@ -68,6 +76,7 @@ func NewTangoYARPCClient(clientConfig transport.ClientConfig, options ...protobu type TangoYARPCServer interface { GetTargetGraph(*GetTargetGraphRequest, TangoServiceGetTargetGraphYARPCServer) error GetChangedTargets(*GetChangedTargetsRequest, TangoServiceGetChangedTargetsYARPCServer) error + GetDependentTargets(*GetDependentTargetsRequest, TangoServiceGetDependentTargetsYARPCServer) error GetChangedTargetGraph(*GetChangedTargetGraphRequest, TangoServiceGetChangedTargetGraphYARPCServer) error } @@ -83,6 +92,12 @@ type TangoServiceGetChangedTargetsYARPCServer interface { Send(*GetChangedTargetsResponse, ...yarpc.StreamOption) error } +// TangoServiceGetDependentTargetsYARPCServer sends GetDependentTargetsResponses. +type TangoServiceGetDependentTargetsYARPCServer interface { + Context() context.Context + Send(*GetDependentTargetsResponse, ...yarpc.StreamOption) error +} + // TangoServiceGetChangedTargetGraphYARPCServer sends GetChangedTargetGraphResponses. type TangoServiceGetChangedTargetGraphYARPCServer interface { Context() context.Context @@ -119,6 +134,14 @@ func buildTangoYARPCProcedures(params buildTangoYARPCProceduresParams) []transpo }, ), }, + { + MethodName: "GetDependentTargets", + Handler: protobuf.NewStreamHandler( + protobuf.StreamHandlerParams{ + Handle: handler.GetDependentTargets, + }, + ), + }, { MethodName: "GetChangedTargetGraph", Handler: protobuf.NewStreamHandler( @@ -265,6 +288,17 @@ func (c *_TangoYARPCCaller) GetChangedTargets(ctx context.Context, request *GetC return &_TangoServiceGetChangedTargetsYARPCClient{stream: stream}, nil } +func (c *_TangoYARPCCaller) GetDependentTargets(ctx context.Context, request *GetDependentTargetsRequest, options ...yarpc.CallOption) (TangoServiceGetDependentTargetsYARPCClient, error) { + stream, err := c.streamClient.CallStream(ctx, "GetDependentTargets", options...) + if err != nil { + return nil, err + } + if err := stream.Send(request); err != nil { + return nil, err + } + return &_TangoServiceGetDependentTargetsYARPCClient{stream: stream}, nil +} + func (c *_TangoYARPCCaller) GetChangedTargetGraph(ctx context.Context, request *GetChangedTargetGraphRequest, options ...yarpc.CallOption) (TangoServiceGetChangedTargetGraphYARPCClient, error) { stream, err := c.streamClient.CallStream(ctx, "GetChangedTargetGraph", options...) if err != nil { @@ -306,6 +340,19 @@ func (h *_TangoYARPCHandler) GetChangedTargets(serverStream *protobuf.ServerStre return h.server.GetChangedTargets(request, &_TangoServiceGetChangedTargetsYARPCServer{serverStream: serverStream}) } +func (h *_TangoYARPCHandler) GetDependentTargets(serverStream *protobuf.ServerStream) error { + requestMessage, err := serverStream.Receive(newTangoServiceGetDependentTargetsYARPCRequest) + if requestMessage == nil { + return err + } + + request, ok := requestMessage.(*GetDependentTargetsRequest) + if !ok { + return protobuf.CastError(emptyTangoServiceGetDependentTargetsYARPCRequest, requestMessage) + } + return h.server.GetDependentTargets(request, &_TangoServiceGetDependentTargetsYARPCServer{serverStream: serverStream}) +} + func (h *_TangoYARPCHandler) GetChangedTargetGraph(serverStream *protobuf.ServerStream) error { requestMessage, err := serverStream.Receive(newTangoServiceGetChangedTargetGraphYARPCRequest) if requestMessage == nil { @@ -367,6 +414,30 @@ func (c *_TangoServiceGetChangedTargetsYARPCClient) CloseSend(options ...yarpc.S return c.stream.Close(options...) } +type _TangoServiceGetDependentTargetsYARPCClient struct { + stream *protobuf.ClientStream +} + +func (c *_TangoServiceGetDependentTargetsYARPCClient) Context() context.Context { + return c.stream.Context() +} + +func (c *_TangoServiceGetDependentTargetsYARPCClient) Recv(options ...yarpc.StreamOption) (*GetDependentTargetsResponse, error) { + responseMessage, err := c.stream.Receive(newTangoServiceGetDependentTargetsYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*GetDependentTargetsResponse) + if !ok { + return nil, protobuf.CastError(emptyTangoServiceGetDependentTargetsYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_TangoServiceGetDependentTargetsYARPCClient) CloseSend(options ...yarpc.StreamOption) error { + return c.stream.Close(options...) +} + type _TangoServiceGetChangedTargetGraphYARPCClient struct { stream *protobuf.ClientStream } @@ -415,6 +486,18 @@ func (s *_TangoServiceGetChangedTargetsYARPCServer) Send(response *GetChangedTar return s.serverStream.Send(response, options...) } +type _TangoServiceGetDependentTargetsYARPCServer struct { + serverStream *protobuf.ServerStream +} + +func (s *_TangoServiceGetDependentTargetsYARPCServer) Context() context.Context { + return s.serverStream.Context() +} + +func (s *_TangoServiceGetDependentTargetsYARPCServer) Send(response *GetDependentTargetsResponse, options ...yarpc.StreamOption) error { + return s.serverStream.Send(response, options...) +} + type _TangoServiceGetChangedTargetGraphYARPCServer struct { serverStream *protobuf.ServerStream } @@ -443,6 +526,14 @@ func newTangoServiceGetChangedTargetsYARPCResponse() proto.Message { return &GetChangedTargetsResponse{} } +func newTangoServiceGetDependentTargetsYARPCRequest() proto.Message { + return &GetDependentTargetsRequest{} +} + +func newTangoServiceGetDependentTargetsYARPCResponse() proto.Message { + return &GetDependentTargetsResponse{} +} + func newTangoServiceGetChangedTargetGraphYARPCRequest() proto.Message { return &GetChangedTargetGraphRequest{} } @@ -456,6 +547,8 @@ var ( emptyTangoServiceGetTargetGraphYARPCResponse = &GetTargetGraphResponse{} emptyTangoServiceGetChangedTargetsYARPCRequest = &GetChangedTargetsRequest{} emptyTangoServiceGetChangedTargetsYARPCResponse = &GetChangedTargetsResponse{} + emptyTangoServiceGetDependentTargetsYARPCRequest = &GetDependentTargetsRequest{} + emptyTangoServiceGetDependentTargetsYARPCResponse = &GetDependentTargetsResponse{} emptyTangoServiceGetChangedTargetGraphYARPCRequest = &GetChangedTargetGraphRequest{} emptyTangoServiceGetChangedTargetGraphYARPCResponse = &GetChangedTargetGraphResponse{} ) @@ -463,94 +556,98 @@ var ( var yarpcFileDescriptorClosurec4210c857dbeec96 = [][]byte{ // tango.proto []byte{ - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0x4d, 0x6f, 0xdb, 0x46, - 0x13, 0x36, 0x29, 0xc9, 0x96, 0x47, 0xb6, 0x44, 0xaf, 0x1d, 0xbf, 0xb2, 0x9c, 0x37, 0x71, 0x88, - 0x04, 0x75, 0x52, 0xd4, 0x29, 0x5c, 0x04, 0x4d, 0x53, 0xe4, 0xa0, 0x0f, 0xc6, 0x16, 0xa2, 0xc8, - 0xee, 0x8a, 0x4e, 0x91, 0xb6, 0x00, 0xb1, 0x22, 0x37, 0x12, 0x51, 0x89, 0x64, 0xc9, 0x55, 0x62, - 0xe7, 0x1f, 0xf4, 0xd2, 0x73, 0x4f, 0x3d, 0xf4, 0xd8, 0x6b, 0xaf, 0xbd, 0x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0x9d, 0x95, 0xb3, 0xfc, 0x78, 0xb7, 0x93, 0x0e, 0x75, 0x77, 0xe8, 0x8d, 0x18, 0x09, - 0xd3, 0xe9, 0x44, 0x66, 0x38, 0x76, 0x50, 0x7f, 0x91, 0x60, 0xe5, 0x68, 0xc4, 0xbc, 0x11, 0xab, - 0xbb, 0xce, 0x6b, 0xbb, 0x87, 0xee, 0xc0, 0x8a, 0xed, 0x98, 0x83, 0x91, 0x45, 0x0d, 0x46, 0x7a, - 0x01, 0xcf, 0x3b, 0x8f, 0x0b, 0x91, 0x4c, 0x27, 0xbd, 0x00, 0x7d, 0x04, 0x68, 0x6c, 0x42, 0x18, - 0xf3, 0xed, 0xee, 0x88, 0xd1, 0x80, 0x1f, 0x23, 0x8f, 0xd7, 0x22, 0x4d, 0x35, 0x56, 0xa0, 0x7b, - 0x50, 0x1c, 0x9b, 0xf7, 0x49, 0xd0, 0xa7, 0xe1, 0xb1, 0x42, 0xd3, 0xd5, 0x48, 0x7a, 0xc8, 0x85, - 0x61, 0xe0, 0x21, 0x39, 0x35, 0x2c, 0x3b, 0x60, 0xc4, 0x31, 0x69, 0x39, 0xb7, 0x23, 0xed, 0xe6, - 0x70, 0x61, 0x48, 0x4e, 0x1b, 0x91, 0x48, 0x7d, 0x0e, 0xc5, 0xe8, 0xf8, 0x47, 0xbc, 0xbc, 0x01, - 0xfa, 0x0c, 0xb6, 0xe8, 0x29, 0xf3, 0x89, 0x41, 0x4f, 0x45, 0x84, 0xd7, 0xf6, 0x80, 0x06, 0x86, - 0x4f, 0x7b, 0xf4, 0xb4, 0x2c, 0xed, 0x64, 0x76, 0x97, 0xf1, 0x26, 0x37, 0xd0, 0x84, 0xfe, 0x59, - 0xa8, 0xc6, 0xa1, 0x56, 0xfd, 0x4b, 0x86, 0x52, 0x08, 0x33, 0xb4, 0xdf, 0x51, 0x4b, 0x27, 0x7e, - 0x8f, 0x32, 0x54, 0x04, 0xd9, 0xb6, 0xf8, 0x91, 0x73, 0x58, 0x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, 0x8c, 0xf7, 0xca, 0x2f, 0xb3, 0x50, 0x7a, 0x41, 0x19, 0x31, 0x09, 0x23, 0xe8, 0x18, 0x96, + 0x84, 0x01, 0xdd, 0x32, 0xf5, 0x21, 0x71, 0x5d, 0xcb, 0xee, 0x85, 0x11, 0xbb, 0x17, 0xb7, 0x35, + 0x56, 0xd8, 0x12, 0x06, 0xda, 0xe6, 0x0b, 0x21, 0x2b, 0xaa, 0xa3, 0xca, 0x92, 0xd4, 0x00, 0x36, + 0x2a, 0xde, 0x08, 0x36, 0x77, 0x0e, 0x2c, 0x0e, 0x2b, 0x3b, 0x09, 0xeb, 0x25, 0xa9, 0x48, 0x0d, + 0x7a, 0x79, 0x2f, 0x02, 0x14, 0xbd, 0xef, 0xf6, 0x19, 0x7e, 0xf6, 0x12, 0x58, 0xc0, 0x22, 0x02, + 0x32, 0x61, 0x35, 0x2a, 0x67, 0xdd, 0x26, 0xc3, 0x89, 0x8b, 0x05, 0x8e, 0xb8, 0x95, 0x89, 0x18, + 0xd5, 0x7c, 0x87, 0x0c, 0x93, 0x7e, 0xae, 0x90, 0x0c, 0x16, 0x7a, 0x07, 0x37, 0x26, 0x56, 0x7c, + 0xe6, 0x59, 0x76, 0x4f, 0xe7, 0xb7, 0x20, 0xb2, 0x56, 0xe4, 0xd6, 0x1e, 0x9e, 0x6f, 0xed, 0x88, + 0x6b, 0xbe, 0x0c, 0x14, 0x13, 0x46, 0xd7, 0xc9, 0xd9, 0x12, 0xf5, 0x1d, 0x58, 0xc9, 0x4a, 0xd4, + 0x45, 0xf7, 0x74, 0x3e, 0x76, 0x4f, 0x03, 0x8c, 0xac, 0xac, 0x5c, 0x09, 0xe3, 0x29, 0x54, 0x53, + 0x89, 0xb8, 0x92, 0xfa, 0x2e, 0xac, 0x9d, 0x19, 0xf5, 0x2b, 0x01, 0x75, 0x60, 0xe3, 0xa2, 0x80, + 0x5e, 0x05, 0x4f, 0xf9, 0x3a, 0x07, 0xd7, 0x76, 0x29, 0x13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c, 0x85, 0x8a, 0xe1, 0x0c, + 0x63, 0x3a, 0x3b, 0xe2, 0x17, 0xce, 0xa1, 0xe7, 0x30, 0xe7, 0x50, 0xfa, 0x74, 0x8e, 0x13, 0xdd, + 0x6e, 0x77, 0x96, 0xff, 0xee, 0xf9, 0xe0, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf2, 0x29, 0x3c, + 0xcd, 0xfd, 0x11, 0x00, 0x00, }, } diff --git a/tangopb/tangopbmock/tangopbmock.go b/tangopb/tangopbmock/tangopbmock.go index c0767e91..fe7855c1 100644 --- a/tangopb/tangopbmock/tangopbmock.go +++ b/tangopb/tangopbmock/tangopbmock.go @@ -1,9 +1,9 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/uber/tango/tangopb (interfaces: TangoServiceGetChangedTargetsYARPCServer,TangoServiceGetTargetGraphYARPCServer) +// Source: github.com/uber/tango/tangopb (interfaces: TangoServiceGetChangedTargetsYARPCServer,TangoServiceGetDependentTargetsYARPCServer,TangoServiceGetTargetGraphYARPCServer) // // Generated by this command: // -// mockgen -package=tangopbmock -self_package=tangopbmock -destination=tangopbmock/tangopbmock.go . TangoServiceGetChangedTargetsYARPCServer,TangoServiceGetTargetGraphYARPCServer +// mockgen -package=tangopbmock -self_package=tangopbmock -destination=tangopbmock/tangopbmock.go . TangoServiceGetChangedTargetsYARPCServer,TangoServiceGetDependentTargetsYARPCServer,TangoServiceGetTargetGraphYARPCServer // // Package tangopbmock is a generated GoMock package. @@ -75,6 +75,63 @@ func (mr *MockTangoServiceGetChangedTargetsYARPCServerMockRecorder) Send(arg0 an return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockTangoServiceGetChangedTargetsYARPCServer)(nil).Send), varargs...) } +// MockTangoServiceGetDependentTargetsYARPCServer is a mock of TangoServiceGetDependentTargetsYARPCServer interface. +type MockTangoServiceGetDependentTargetsYARPCServer struct { + ctrl *gomock.Controller + recorder *MockTangoServiceGetDependentTargetsYARPCServerMockRecorder + isgomock struct{} +} + +// MockTangoServiceGetDependentTargetsYARPCServerMockRecorder is the mock recorder for MockTangoServiceGetDependentTargetsYARPCServer. +type MockTangoServiceGetDependentTargetsYARPCServerMockRecorder struct { + mock *MockTangoServiceGetDependentTargetsYARPCServer +} + +// NewMockTangoServiceGetDependentTargetsYARPCServer creates a new mock instance. +func NewMockTangoServiceGetDependentTargetsYARPCServer(ctrl *gomock.Controller) *MockTangoServiceGetDependentTargetsYARPCServer { + mock := &MockTangoServiceGetDependentTargetsYARPCServer{ctrl: ctrl} + mock.recorder = &MockTangoServiceGetDependentTargetsYARPCServerMockRecorder{mock} + return mock +} + +// EXPECT returns an object that allows the caller to indicate expected use. +func (m *MockTangoServiceGetDependentTargetsYARPCServer) EXPECT() *MockTangoServiceGetDependentTargetsYARPCServerMockRecorder { + return m.recorder +} + +// Context mocks base method. +func (m *MockTangoServiceGetDependentTargetsYARPCServer) Context() context.Context { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "Context") + ret0, _ := ret[0].(context.Context) + return ret0 +} + +// Context indicates an expected call of Context. +func (mr *MockTangoServiceGetDependentTargetsYARPCServerMockRecorder) Context() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockTangoServiceGetDependentTargetsYARPCServer)(nil).Context)) +} + +// Send mocks base method. +func (m *MockTangoServiceGetDependentTargetsYARPCServer) Send(arg0 *tangopb.GetDependentTargetsResponse, arg1 ...yarpc.StreamOption) error { + m.ctrl.T.Helper() + varargs := []any{arg0} + for _, a := range arg1 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "Send", varargs...) + ret0, _ := ret[0].(error) + return ret0 +} + +// Send indicates an expected call of Send. +func (mr *MockTangoServiceGetDependentTargetsYARPCServerMockRecorder) Send(arg0 any, arg1 ...any) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]any{arg0}, arg1...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockTangoServiceGetDependentTargetsYARPCServer)(nil).Send), varargs...) +} + // MockTangoServiceGetTargetGraphYARPCServer is a mock of TangoServiceGetTargetGraphYARPCServer interface. type MockTangoServiceGetTargetGraphYARPCServer struct { ctrl *gomock.Controller