visibility_store_mock.go ×2

Frontier kind: Joint frontier

unlabeled · c_efa76f5c21ec

1 test · 2424 LOC · 116 files · introduces 1 test · 15 LOC · 3 files

Introduces — evidence that enters the hierarchy at this concept

Code
4 ranges15 lines · 3 files
Tests
1 test

Contains — complete concept membership

All code (extent)
392 ranges2424 lines · 116 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.

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

go.temporal.io/server/common/persistence/visibility/store/visibility_store_mock.go 11 introduced LOC · 2 ranges

Open complete file

142
143 // GetWorkflowExecution mocks base method.
144 > func (m *MockVisibilityStore) GetWorkflowExecution(ctx context.Context, request *manager.GetWorkflowExecutionRequest) (*InternalGetWorkflowExecutionResponse, error) { visibility_store_mock.go
145 > m.ctrl.T.Helper()
146 > ret := m.ctrl.Call(m, "GetWorkflowExecution", ctx, request)
147 > ret0, _ := ret[0].(*InternalGetWorkflowExecutionResponse)
148 > ret1, _ := ret[1].(error)
149 > return ret0, ret1
150 > }
151
152 // GetWorkflowExecution indicates an expected call of GetWorkflowExecution.
153 > func (mr *MockVisibilityStoreMockRecorder) GetWorkflowExecution(ctx, request any) *gomock.Call { visibility_store_mock.go
154 > mr.mock.ctrl.T.Helper()
155 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetWorkflowExecution", reflect.TypeOf((*MockVisibilityStore)(nil).GetWorkflowExecution), ctx, request)
156 > }
157
158 // ListChasmExecutions mocks base method.
go.temporal.io/server/common/persistence/visibility/visibility_manager_impl.go 2 introduced LOC · 1 range

Open complete file

474 ) (*workflowpb.WorkflowExecutionInfo, error) {
475 if internalExecution == nil {
476 > return nil, nil visibility_manager_impl.go
477 > }
478
479 customSAs, _ := splitSearchAttributes(internalExecution.SearchAttributes)
go.temporal.io/server/common/persistence/visibility/visibility_manager_rate_limited.go 2 introduced LOC · 1 range

Open complete file

153 ) (*manager.GetWorkflowExecutionResponse, error) {
154 if ok := allow(ctx, "GetWorkflowExecution", m.readRateLimiter); !ok {
155 > return nil, persistence.ErrPersistenceSystemLimitExceeded visibility_manager_rate_limited.go
156 > }
157 return m.delegate.GetWorkflowExecution(ctx, request)
158 }