state_machine_task.go ×5

Frontier kind: Code frontier

unlabeled · c_fb7134853846

6 tests · 7008 LOC · 219 files · introduces 0 tests · 22 LOC · 3 files

Introduces — evidence that enters the hierarchy at this concept

Code
8 ranges22 lines · 3 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
1407 ranges7008 lines · 219 files · Browse complete extent
All tests (intent)
6 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.

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

go.temporal.io/server/service/history/tasks/state_machine_task.go 15 introduced LOC · 5 ranges

Open complete file

23 }
24
25 > func (t *StateMachineTask) SetTaskID(id int64) { state_machine_task.go
26 > t.TaskID = id
27 > }
28
29 > func (t *StateMachineTask) GetVisibilityTime() time.Time { state_machine_task.go
30 > return t.VisibilityTimestamp
31 > }
32
33 > func (t *StateMachineTask) SetVisibilityTime(timestamp time.Time) { state_machine_task.go
34 > t.VisibilityTimestamp = timestamp
35 > }
36
37 func (t *StateMachineTask) OutboundTaskGroup() string {
58 }
59
60 > func (t *StateMachineOutboundTask) GetKey() Key { state_machine_task.go
61 > return NewImmediateKey(t.TaskID)
62 > }
63
64 var _ Task = &StateMachineOutboundTask{}
89 }
90
91 > func (t *StateMachineTimerTask) SetTaskID(id int64) { state_machine_task.go
92 > t.TaskID = id
93 > }
94
95 func (t *StateMachineTimerTask) GetVisibilityTime() time.Time {
go.temporal.io/server/service/history/ndc/hsm_state_replicator.go 5 introduced LOC · 2 ranges

Open complete file

107 }
108
109 > if r.shardContext.GetConfig().EnableUpdateWorkflowModeIgnoreCurrent() { hsm_state_replicator.go
110 > return workflowContext.UpdateWorkflowExecutionAsPassive(ctx, r.shardContext)
111 > }
112
113 // TODO: remove following code once EnableUpdateWorkflowModeIgnoreCurrent config is deprecated.
189 }
190
191 > synced = true hsm_state_replicator.go
192 > return currentNode.Sync(incomingNode)
193 }); err != nil {
194 return false, err
go.temporal.io/server/api/enums/v1/task.pb.go 2 introduced LOC · 1 range

Open complete file

275 case TASK_TYPE_ARCHIVAL_ARCHIVE_EXECUTION:
276 return "ArchivalArchiveExecution"
277 > case TASK_TYPE_STATE_MACHINE_OUTBOUND: task.pb.go
278 > return "StateMachineOutbound"
279 case TASK_TYPE_STATE_MACHINE_TIMER:
280 return "StateMachineTimer"