timer_queue_standby_task_executor.go ×5

Frontier kind: Joint frontier

unlabeled · c_d01568dcedd7

1 test · 5294 LOC · 219 files · introduces 1 test · 30 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
6 ranges30 lines · 2 files
Tests
1 test

Contains — complete concept membership

All code (extent)
872 ranges5294 lines · 219 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: 30 introduced LOC across 6 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/history/timer_queue_standby_task_executor.go 28 introduced LOC · 5 ranges

Open complete file

106 case *tasks.StateMachineTimerTask:
107 err = t.executeStateMachineTimerTask(ctx, task)
108 > case *tasks.ChasmTaskPure: timer_queue_standby_task_executor.go
109 > err = t.executeChasmPureTimerTask(ctx, task)
110 case *tasks.ChasmTask:
111 task.Attempt = executable.Attempt()
127 ctx context.Context,
128 task *tasks.ChasmTaskPure,
130 > actionFn := func(
131 > ctx context.Context,
132 > wfContext historyi.WorkflowContext,
133 > mutableState historyi.MutableState,
134 > _ historyi.ReleaseWorkflowContextFunc,
135 > ) (any, error) {
136 > err := t.executeChasmPureTimers(
137 > mutableState,
138 > task,
139 > func(_ chasm.NodePureTask, _ chasm.TaskAttributes, _ any) (bool, error) {
140 // Any task present means replication has not yet removed it — retry.
141 return false, consts.ErrTaskRetry
142 },
143 )
144 > if err != nil && errors.Is(err, consts.ErrTaskRetry) { timer_queue_standby_task_executor.go
145 > return &struct{}{}, nil
146 > }
147
148 > return nil, err timer_queue_standby_task_executor.go
149 }
150
151 > return t.processTimer( timer_queue_standby_task_executor.go
152 > ctx,
153 > task,
154 > actionFn,
155 > getStandbyPostActionFn(
156 > task,
157 > t.getCurrentTime,
158 > t.config.StandbyTaskMissingEventsDiscardDelay(task.GetType()),
159 > t.checkExecutionStillExistsOnSourceBeforeDiscard,
160 > ),
161 > )
162 }
163
go.temporal.io/server/service/history/queues/metrics.go 2 introduced LOC · 1 range

Open complete file

145 case *tasks.ChasmTask:
146 return prefix + "." + getCHASMTaskTypeTagValue(t, chasmRegistry)
147 > case *tasks.ChasmTaskPure: metrics.go
148 > return metrics.TaskTypeTimerStandbyTaskChasmPureTask
149 case *tasks.TimeSkippingTimerTask:
150 return metrics.TaskTypeTimerStandbyTaskTimeSkippingTimer