execution_manager.go ×3

Frontier kind: Code frontier

unlabeled · c_cee83800acd5

24 tests · 4953 LOC · 171 files · introduces 0 tests · 11 LOC · 4 files

Introduces — evidence that enters the hierarchy at this concept

Code
6 ranges11 lines · 4 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
946 ranges4953 lines · 171 files · Browse complete extent
All tests (intent)
24 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.

4 files ranked by introduced lines: 11 introduced LOC across 6 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/common/persistence/execution_manager.go 4 introduced LOC · 3 ranges

Open complete file

589 events := make([]*historypb.HistoryEvent, 0)
590 for _, b := range blobs {
591 > if b == nil { execution_manager.go
592 // Should not happen, log and discard to prevent callers from consuming
593 m.logger.Warn("discarding nil buffered event")
595 }
596
597 > history, err := m.serializer.DeserializeEvents(b) execution_manager.go
598 > if err != nil {
599 return nil, err
600 }
601 > events = append(events, history...) execution_manager.go
602 }
603 return events, nil
go.temporal.io/server/common/persistence/size.go 3 introduced LOC · 1 range

Open complete file

155 bufferedEventsSize := 0
156 if mutation.NewBufferedEvents != nil {
157 > bufferedEventsCount = 1 size.go
158 > bufferedEventsSize = mutation.NewBufferedEvents.Size()
159 > }
160
161 taskCountByCategory := taskCountsByCategory(&mutation.Tasks)
go.temporal.io/server/common/persistence/size_util.go 2 introduced LOC · 1 range

Open complete file

77 size := 0
78 for _, blob := range blobSlice {
79 > size += blob.Size() size_util.go
80 > }
81 return size
82 }
go.temporal.io/server/common/persistence/tests/execution_mutable_state.go 2 introduced LOC · 1 range

Open complete file

2841 mutableState.BufferedEvents = nil
2842 } else if mutation.NewBufferedEvents != nil {
2843 > mutableState.BufferedEvents = append(mutableState.BufferedEvents, mutation.NewBufferedEvents...) execution_mutable_state.go
2844 > }
2845 }
2846