transfer_queue_active_task_executor.go ×5

Frontier kind: Code frontier

unlabeled · c_918212a6bbd6

4 tests · 9878 LOC · 266 files · introduces 0 tests · 21 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
6 ranges21 lines · 2 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
2130 ranges9878 lines · 266 files · Browse complete extent
All tests (intent)
4 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.

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

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

Open complete file

664 return nil
665 }
666 > err = CheckTaskVersion(t.shardContext, t.logger, mutableState.GetNamespaceEntry(), signalInfo.Version, task.Version, task) transfer_queue_active_task_executor.go
667 > if err != nil {
668 return err
669 }
670
671 > if !mutableState.IsWorkflowExecutionRunning() { transfer_queue_active_task_executor.go
672 release(nil) // release(nil) so that the mutable state is not unloaded from cache
673 return consts.ErrWorkflowCompleted
674 }
675
676 > initiatedEvent, err := mutableState.GetSignalExternalInitiatedEvent(ctx, task.InitiatedEventID) transfer_queue_active_task_executor.go
677 > if err != nil {
678 return err
679 }
680 > attributes := initiatedEvent.GetSignalExternalWorkflowExecutionInitiatedEventAttributes() transfer_queue_active_task_executor.go
681 >
682 > var targetNamespaceName namespace.Name
683 > var targetNamespaceID namespace.ID
684 > targetNamespaceEntry, err := t.targetNamespaceEntryHelper(
685 > namespace.ID(attributes.NamespaceId),
686 > namespace.Name(attributes.Namespace),
687 > )
688 > if err != nil {
689 return err
690 }
691
692 > if targetNamespaceEntry == nil { transfer_queue_active_task_executor.go
693 metrics.SignalExternalWorkflowExecutionFailures.With(t.metricHandler).Record(
694 1,
go.temporal.io/server/service/history/workflow/mutable_state_impl.go 6 introduced LOC · 1 range

Open complete file

8124 }
8125 for initiatedEventId := range ms.deleteSignalInfos {
8126 > tombstones = append(tombstones, &persistencespb.StateMachineTombstone{ mutable_state_impl.go
8127 > StateMachineKey: &persistencespb.StateMachineTombstone_SignalExternalInitiatedEventId{
8128 > SignalExternalInitiatedEventId: initiatedEventId,
8129 > },
8130 > })
8131 > }
8132 for chasmNodePath := range chasmNodesMutation.DeletedNodes {
8133 tombstones = append(tombstones, &persistencespb.StateMachineTombstone{