service_grpc.pb.mock.go ×3

Frontier kind: Code frontier

unlabeled · c_a1992e38fe21

4 tests · 3177 LOC · 145 files · introduces 0 tests · 17 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
5 ranges17 lines · 2 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
501 ranges3177 lines · 145 files · Browse complete extent
All tests (intent)
4 testsBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

2 files ranked by introduced lines: 17 introduced LOC across 5 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/api/matchingservicemock/v1/service_grpc.pb.mock.go 13 introduced LOC · 3 ranges

Open complete file

144
145 // CancelOutstandingWorkerPollsPartition mocks base method.
146 > func (m *MockMatchingServiceClient) CancelOutstandingWorkerPollsPartition(ctx context.Context, in *matchingservice.CancelOutstandingWorkerPollsPartitionRequest, opts ...grpc.CallOption) (*matchingservice.CancelOutstandingWorkerPollsPartitionResponse, error) { service_grpc.pb.mock.go
147 > m.ctrl.T.Helper()
148 > varargs := []any{ctx, in}
149 > for _, a := range opts {
150 varargs = append(varargs, a)
151 }
152 > ret := m.ctrl.Call(m, "CancelOutstandingWorkerPollsPartition", varargs...) service_grpc.pb.mock.go
153 > ret0, _ := ret[0].(*matchingservice.CancelOutstandingWorkerPollsPartitionResponse)
154 > ret1, _ := ret[1].(error)
155 > return ret0, ret1
156 }
157
158 // CancelOutstandingWorkerPollsPartition indicates an expected call of CancelOutstandingWorkerPollsPartition.
159 > func (mr *MockMatchingServiceClientMockRecorder) CancelOutstandingWorkerPollsPartition(ctx, in any, opts ...any) *gomock.Call { service_grpc.pb.mock.go
160 > mr.mock.ctrl.T.Helper()
161 > varargs := append([]any{ctx, in}, opts...)
162 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CancelOutstandingWorkerPollsPartition", reflect.TypeOf((*MockMatchingServiceClient)(nil).CancelOutstandingWorkerPollsPartition), varargs...)
163 > }
164
165 // CheckTaskQueueUserDataPropagation mocks base method.
go.temporal.io/server/service/matching/matching_engine.go 4 introduced LOC · 2 ranges

Open complete file

1345 continue
1346 }
1347 > wg.Go(func() { matching_engine.go
1348 > resp, err := e.matchingRawClient.CancelOutstandingWorkerPollsPartition(ctx, req)
1349 > if err != nil {
1350 e.logger.Warn("Failed to cancel outstanding worker polls for remote host",
1351 tag.NewStringTag("target-host", target),
1354 return
1355 }
1356 > totalCancelled.Add(resp.GetCancelledCount()) matching_engine.go
1357 })
1358 }