events.go ×6
Frontier kind: Joint frontier
unlabeled · c_c9abff7d0df2
1 test · 2849 LOC · 133 files · introduces 1 test · 24 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
6 ranges 24 lines · 1 files
Tests
1 test
Contains — complete concept membership
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.
Focus concept
Ancestors (broader)
Descendants (narrower)
Introduced files
Introduced tests
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.
JavaScript is disabled; use the native relationship evidence on this page to explore the same evidence.
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.
1 file ranked by introduced lines: 24 introduced LOC across 6 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
go.temporal.io/server/components/nexusoperations/events.go 24 introduced LOC · 6 ranges
Open complete file
30
}
31
32
>
func ( d ScheduledEventDefinition ) CherryPick ( root * hsm . Node , event * historypb . HistoryEvent , _ map [ enumspb . ResetReapplyExcludeType ] struct {}) error {
events.go
33
>
// We never cherry pick command events, and instead allow user logic to reschedule those commands.
34
>
return hsm . ErrNotCherryPickable
35
>
}
36
37
type CancelRequestedEventDefinition struct {}
53
}
54
55
>
func ( d CancelRequestedEventDefinition ) CherryPick ( root * hsm . Node , event * historypb . HistoryEvent , _ map [ enumspb . ResetReapplyExcludeType ] struct {}) error {
events.go
56
>
// We never cherry pick command events, and instead allow user logic to reschedule those commands.
57
>
return hsm . ErrNotCherryPickable
58
>
}
59
60
type CancelRequestCompletedEventDefinition struct {}
180
}
181
182
>
func ( d CompletedEventDefinition ) CherryPick ( root * hsm . Node , event * historypb . HistoryEvent , excludeTypes map [ enumspb . ResetReapplyExcludeType ] struct {}) error {
events.go
183
>
if _ , ok := excludeTypes [ enumspb . RESET_REAPPLY_EXCLUDE_TYPE_NEXUS ]; ok {
184
>
return hsm . ErrNotCherryPickable
185
>
}
186
return d . Apply ( root , event )
187
}
212
}
213
214
>
func ( d FailedEventDefinition ) CherryPick ( root * hsm . Node , event * historypb . HistoryEvent , excludeTypes map [ enumspb . ResetReapplyExcludeType ] struct {}) error {
events.go
215
>
if _ , ok := excludeTypes [ enumspb . RESET_REAPPLY_EXCLUDE_TYPE_NEXUS ]; ok {
216
>
return hsm . ErrNotCherryPickable
217
>
}
218
return d . Apply ( root , event )
219
}
243
}
244
245
>
func ( d CanceledEventDefinition ) CherryPick ( root * hsm . Node , event * historypb . HistoryEvent , excludeTypes map [ enumspb . ResetReapplyExcludeType ] struct {}) error {
events.go
246
>
if _ , ok := excludeTypes [ enumspb . RESET_REAPPLY_EXCLUDE_TYPE_NEXUS ]; ok {
247
>
return hsm . ErrNotCherryPickable
248
>
}
249
return d . Apply ( root , event )
250
}
273
}
274
275
>
func ( d TimedOutEventDefinition ) CherryPick ( root * hsm . Node , event * historypb . HistoryEvent , excludeTypes map [ enumspb . ResetReapplyExcludeType ] struct {}) error {
events.go
276
>
if _ , ok := excludeTypes [ enumspb . RESET_REAPPLY_EXCLUDE_TYPE_NEXUS ]; ok {
277
>
return hsm . ErrNotCherryPickable
278
>
}
279
return d . Apply ( root , event )
280
}