mutable_state_impl.go ×3

Frontier kind: Joint frontier

unlabeled · c_5b103e7ccde5

1 test · 7181 LOC · 246 files · introduces 1 test · 20 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
4 ranges20 lines · 2 files
Tests
1 test

Contains — complete concept membership

All code (extent)
1394 ranges7181 lines · 246 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: 20 introduced LOC across 4 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/history/workflow/mutable_state_impl.go 13 introduced LOC · 3 ranges

Open complete file

8463 workflowEventsSeq,
8464 ); err != nil {
8465 > return nil, nil, nil, false, err mutable_state_impl.go
8466 > }
8467
8468 if len(workflowEventsSeq) > 0 {
8672 return nil
8673
8674 > default: mutable_state_impl.go
8675 > ms.logError(
8676 > "encountered case where events appears after workflow finish.",
8677 > tag.WorkflowNamespaceID(ms.executionInfo.NamespaceId),
8678 > tag.WorkflowID(ms.executionInfo.WorkflowId),
8679 > tag.WorkflowRunID(ms.executionState.RunId),
8680 > )
8681 > return consts.ErrEventsAterWorkflowFinish
8682 }
8683 }
9040 }
9041
9042 > func (ms *MutableStateImpl) logError(msg string, tags ...tag.Tag) { mutable_state_impl.go
9043 > ms.logger.Error(msg, tags...)
9044 > }
9045
9046 func (ms *MutableStateImpl) logDataInconsistency() {
go.temporal.io/server/service/history/api/requestcancelworkflow/api.go 7 introduced LOC · 1 range

Open complete file

45 mutableState := workflowLease.GetMutableState()
46 if !mutableState.IsWorkflowExecutionRunning() {
47 > // the request to cancel this workflow is a success even api.go
48 > // if the target workflow has already finished
49 > return &api.UpdateWorkflowAction{
50 > Noop: true,
51 > CreateWorkflowTask: false,
52 > }, nil
53 > }
54
55 // There is a workflow execution currently running with the WorkflowID.