transfer_queue_active_task_executor.go ×3

Frontier kind: Joint frontier

unlabeled · c_eb63ac493810

1 test · 8822 LOC · 263 files · introduces 1 test · 20 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
4 ranges20 lines · 2 files
Tests
1 test

Contains — complete concept membership

All code (extent)
1800 ranges8822 lines · 263 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: 20 introduced LOC across 4 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/history/transfer_queue_active_task_executor.go 14 introduced LOC · 3 ranges

Open complete file

1873 }
1874
1875 > childNamespaceID := namespace.ID(childInfo.GetNamespaceId()) transfer_queue_active_task_executor.go
1876 > if childNamespaceID.IsEmpty() {
1877 // TODO (alex): Remove after childInfo.NamespaceId is back filled. Backward compatibility: old childInfo doesn't have NamespaceId set.
1878 // TODO (alex): consider reverse lookup of namespace name from ID but namespace name is not actually used.
1889 }
1890
1891 > executions = append(executions, parentclosepolicy.RequestDetail{ transfer_queue_active_task_executor.go
1892 > Namespace: childInfo.Namespace,
1893 > NamespaceID: childNamespaceID.String(),
1894 > WorkflowID: childInfo.StartedWorkflowId,
1895 > RunID: childInfo.StartedRunId,
1896 > Policy: childInfo.ParentClosePolicy,
1897 > })
1898 }
1899
1902 }
1903
1904 > request := parentclosepolicy.Request{ transfer_queue_active_task_executor.go
1905 > ParentExecution: parentExecution,
1906 > Executions: executions,
1907 > }
1908 > return t.parentClosePolicyClient.SendParentClosePolicyRequest(ctx, request)
1909 }
1910
go.temporal.io/server/service/worker/parentclosepolicy/client_mock.go 6 introduced LOC · 1 range

Open complete file

42
43 // SendParentClosePolicyRequest mocks base method.
44 > func (m *MockClient) SendParentClosePolicyRequest(arg0 context.Context, arg1 Request) error { client_mock.go
45 > m.ctrl.T.Helper()
46 > ret := m.ctrl.Call(m, "SendParentClosePolicyRequest", arg0, arg1)
47 > ret0, _ := ret[0].(error)
48 > return ret0
49 > }
50
51 // SendParentClosePolicyRequest indicates an expected call of SendParentClosePolicyRequest.