transfer_queue_task_executor_base.go ×3

Frontier kind: Code frontier

unlabeled · c_0dac3b8ab520

4 tests · 4892 LOC · 215 files · introduces 0 tests · 21 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
5 ranges21 lines · 2 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
742 ranges4892 lines · 215 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: 21 introduced LOC across 5 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/history/transfer_queue_task_executor_base.go 11 introduced LOC · 3 ranges

Open complete file

263 // This can happen when task was created from explicit user API call.
264 // Or the namespace is a local namespace which will not have version conflict.
265 > taskVersion := common.EmptyVersion transfer_queue_task_executor_base.go
266 > if taskWithVersion, ok := task.(tasks.HasVersion); ok {
267 taskVersion = taskWithVersion.GetVersion()
268 }
269
270 > if taskVersion != common.EmptyVersion { transfer_queue_task_executor_base.go
271 closeVersion, err := mutableState.GetCloseVersion()
272 if err != nil {
279 }
280
281 > return t.workflowDeleteManager.DeleteWorkflowExecution( transfer_queue_task_executor_base.go
282 > ctx,
283 > namespace.ID(task.GetNamespaceID()),
284 > &workflowExecution,
285 > weCtx,
286 > mutableState,
287 > stage,
288 > )
289 }
290
go.temporal.io/server/service/history/deletemanager/delete_manager_mock.go 10 introduced LOC · 2 ranges

Open complete file

60
61 // DeleteWorkflowExecution mocks base method.
62 > func (m *MockDeleteManager) DeleteWorkflowExecution(ctx context.Context, nsID namespace.ID, we *common.WorkflowExecution, weCtx interfaces.WorkflowContext, ms interfaces.MutableState, stage *tasks.DeleteWorkflowExecutionStage) error { delete_manager_mock.go
63 > m.ctrl.T.Helper()
64 > ret := m.ctrl.Call(m, "DeleteWorkflowExecution", ctx, nsID, we, weCtx, ms, stage)
65 > ret0, _ := ret[0].(error)
66 > return ret0
67 > }
68
69 // DeleteWorkflowExecution indicates an expected call of DeleteWorkflowExecution.
70 > func (mr *MockDeleteManagerMockRecorder) DeleteWorkflowExecution(ctx, nsID, we, weCtx, ms, stage any) *gomock.Call { delete_manager_mock.go
71 > mr.mock.ctrl.T.Helper()
72 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteWorkflowExecution", reflect.TypeOf((*MockDeleteManager)(nil).DeleteWorkflowExecution), ctx, nsID, we, weCtx, ms, stage)
73 > }
74
75 // DeleteWorkflowExecutionByRetention mocks base method.