service_grpc.pb.mock.go ×2

Frontier kind: Joint frontier

unlabeled · c_50c6bc1e0641

1 test · 3352 LOC · 153 files · introduces 1 test · 16 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
4 ranges16 lines · 2 files
Tests
1 test

Contains — complete concept membership

All code (extent)
458 ranges3352 lines · 153 files · Browse complete extent
All tests (intent)
1 testBrowse 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.

1 test introduced at this concept.

Introduced code

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

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

go.temporal.io/server/api/historyservicemock/v1/service_grpc.pb.mock.go 11 introduced LOC · 2 ranges

Open complete file

2987
2988 // Recv mocks base method.
2989 > func (m *MockHistoryService_StreamWorkflowReplicationMessagesServer) Recv() (*historyservice.StreamWorkflowReplicationMessagesRequest, error) { service_grpc.pb.mock.go
2990 > m.ctrl.T.Helper()
2991 > ret := m.ctrl.Call(m, "Recv")
2992 > ret0, _ := ret[0].(*historyservice.StreamWorkflowReplicationMessagesRequest)
2993 > ret1, _ := ret[1].(error)
2994 > return ret0, ret1
2995 > }
2996
2997 // Recv indicates an expected call of Recv.
2998 > func (mr *MockHistoryService_StreamWorkflowReplicationMessagesServerMockRecorder) Recv() *gomock.Call { service_grpc.pb.mock.go
2999 > mr.mock.ctrl.T.Helper()
3000 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Recv", reflect.TypeOf((*MockHistoryService_StreamWorkflowReplicationMessagesServer)(nil).Recv))
3001 > }
3002
3003 // RecvMsg mocks base method.
go.temporal.io/server/service/history/replication/stream_sender.go 5 introduced LOC · 2 ranges

Open complete file

182
183 for !s.shutdownChan.IsShutdown() {
184 > if s.isTieredStackEnabled != s.config.EnableReplicationTaskTieredProcessing() { stream_sender.go
185 return NewStreamError("StreamSender detected tiered stack change, restart the stream", nil)
186 }
187
188 > req, err := s.server.Recv() stream_sender.go
189 > if err != nil {
190 > return NewStreamError("StreamSender failed to receive", err)
191 > }
192 switch attr := req.GetAttributes().(type) {
193 case *historyservice.StreamWorkflowReplicationMessagesRequest_SyncReplicationState: