case *tasks.DeleteExecutionVisibilityTask:
err = t.processDeleteExecution(ctx, task)
task.Attempt = executable.Attempt()
err = t.processChasmTask(ctx, task)
default:
err = errUnknownVisibilityTask
Frontier kind: Code frontier
unlabeled · c_3981a3565a2d
3 tests · 6644 LOC · 241 files · introduces 0 tests · 44 LOC · 7 files
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.
Every exact file and test below is linked only from the concept that introduces it.
go.temporal.io/server/common/persistence/client/TestQuotasSuite/TestAPITypeCallOriginPriorityOverrideMappinggo.temporal.io/server/common/persistence/client/TestQuotasSuite/TestBackgroundTypeAPIPriorityOverrideMappinggo.temporal.io/server/common/persistence/client/TestQuotasSuite/TestCallerTypeDefaultPriorityMappinggo.temporal.io/server/common/persistence/client/TestQuotasSuite/TestRequestPrioritiesOrderedgo.temporal.io/server/common/future/TestFutureSuite/TestGetWhenContextCanceledgo.temporal.io/server/common/future/TestFutureSuite/TestSetGetReady_Sequentialgo.temporal.io/server/common/future/TestFutureSuite/TestSetReadyGet_Parallelgo.temporal.io/server/common/future/TestFutureSuite/TestSetReadyGet_SequentialEvery collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Every collected source range enters the hierarchy at exactly one concept.
7 files ranked by introduced lines: 44 introduced LOC across 15 ranges. Expand a file to inspect source; the > gutter marks introduced lines.
case *tasks.DeleteExecutionVisibilityTask:
err = t.processDeleteExecution(ctx, task)
task.Attempt = executable.Attempt()
err = t.processChasmTask(ctx, task)
default:
err = errUnknownVisibilityTask
ctx context.Context,
task *tasks.ChasmTask,
ctx, cancel := context.WithTimeout(ctx, taskTimeout)
defer cancel()
weContext, release, err := getWorkflowExecutionContextForTask(ctx, t.shardContext, t.cache, task)
if err != nil {
return err
}
mutableState, err := weContext.LoadMutableState(ctx, t.shardContext)
visibility_queue_task_executor.go
if err != nil {
return err
}
return errNoChasmMutableState
}
isTaskInTree, isValidByComponent, err := validateChasmSideEffectTask(ctx, mutableState, task)
visibility_queue_task_executor.go
if err != nil || !isTaskInTree || !isValidByComponent {
return err
}
}
*x = ChasmVisibilityData{}
mi := &file_temporal_server_api_persistence_v1_chasm_visibility_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ChasmVisibilityData) String() string {
}
*x = ChasmVisibilityTaskData{}
mi := &file_temporal_server_api_persistence_v1_chasm_visibility_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ChasmVisibilityTaskData) String() string {
// Marshal an object of type ChasmVisibilityData to the protobuf v3 wire format
return proto.Marshal(val)
}
// Unmarshal an object of type ChasmVisibilityData from the protobuf v3 wire format
// Marshal an object of type ChasmVisibilityTaskData to the protobuf v3 wire format
func (val *ChasmVisibilityTaskData) Marshal() ([]byte, error) {
chasm_visibility.go-helpers.pb.go
return proto.Marshal(val)
}
// Unmarshal an object of type ChasmVisibilityTaskData from the protobuf v3 wire format
// This method should only be used by CHASM framework internal code,
// NOT CHASM library developers.
rt, ok := r.taskFor(taskInstance)
if !ok {
return 0, false
}
}
// Marshal an object of type ActivityInfo to the protobuf v3 wire format
return proto.Marshal(val)
}
// Unmarshal an object of type ActivityInfo from the protobuf v3 wire format
if t, ok := task.(tasks.HasArchetypeID); ok {
if name, ok := chasmRegistry.ArchetypeDisplayName(t.GetArchetypeID()); ok {
}
}
return metrics.ArchetypeTag(chasm.WorkflowComponentName)
case *tasks.DeleteExecutionVisibilityTask:
return metrics.TaskTypeVisibilityTaskDeleteExecution
return metrics.TaskTypeVisibilityTaskUpsertChasmExecution
default:
return task.GetType().String()