task_mock.go ×2

Frontier kind: Joint frontier

unlabeled · c_a0cdb54d32c3

1 test · 2905 LOC · 104 files · introduces 1 test · 17 LOC · 3 files

Introduces — evidence that enters the hierarchy at this concept

Code
5 ranges17 lines · 3 files
Tests
1 test

Contains — complete concept membership

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

go.temporal.io/server/chasm/task_mock.go 10 introduced LOC · 2 ranges

Open complete file

56
57 // Execute mocks base method.
58 > func (m *MockSideEffectTaskHandler[C, T]) Execute(arg0 context.Context, arg1 ComponentRef, arg2 TaskAttributes, arg3 T) error { task_mock.go
59 > m.ctrl.T.Helper()
60 > ret := m.ctrl.Call(m, "Execute", arg0, arg1, arg2, arg3)
61 > ret0, _ := ret[0].(error)
62 > return ret0
63 > }
64
65 // Execute indicates an expected call of Execute.
66 > func (mr *MockSideEffectTaskHandlerMockRecorder[C, T]) Execute(arg0, arg1, arg2, arg3 any) *gomock.Call { task_mock.go
67 > mr.mock.ctrl.T.Helper()
68 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Execute", reflect.TypeOf((*MockSideEffectTaskHandler[C, T])(nil).Execute), arg0, arg1, arg2, arg3)
69 > }
70
71 // Validate mocks base method.
go.temporal.io/server/chasm/tree.go 4 introduced LOC · 2 ranges

Open complete file

3699 chasmTask *tasks.ChasmTask,
3700 validate func(NodeBackend, Context, Component) error,
3701 > ) error { tree.go
3702 > rt, err := n.lookupSideEffectTask(ctx, "ExecuteSideEffectTask", chasmTask)
3703 > if err != nil {
3704 return err
3705 }
3706 > return n.invokeSideEffectTaskFn(ctx, rt, executionKey, chasmTask, validate, rt.sideEffectTaskExecuteFn) tree.go
3707 }
3708
go.temporal.io/server/chasm/registrable_task.go 3 introduced LOC · 1 range

Open complete file

75 taskAttrs TaskAttributes,
76 taskData any,
77 > ) error { registrable_task.go
78 > return handler.Execute(ctx, componentRef, taskAttrs, taskData.(T))
79 > },
80 false,
81 func(ctx context.Context, ref ComponentRef, attrs TaskAttributes, task any) error {