util.go ×1

Frontier kind: Code frontier

unlabeled · c_014dc9bb9716

36 tests · 9 LOC · 2 files · introduces 0 tests · 2 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
1 range2 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
4 ranges9 lines · 2 files · Browse complete extent
All tests (intent)
36 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.

Introduced files, introduced tests, and structurally relevant concept specializationvisibility_store.go ×17 · 171 introduced LOCvisibility_store.go ×17onebox.go ×75 · 1256 introduced LOConebox.go ×75metric_client_gen.go ×4 · 50 introduced LOCmetric_client_gen.go ×4workflow_task_completed_handler.go ×1 · 6 introduced LOCworkflow_task_completed_…TestEagerWorkflowStart_WithSearchAttributes · 0 introduced LOCTestEagerWorkflowStart_W…TestStartWorkflowExecution_BrandNew_SearchAttributes · 0 introduced LOCTestStartWorkflowExecuti…mutable_state_impl.go ×1 · 2 introduced LOCmutable_state_impl.go ×1TestExecuteTask_RetryableFailure · 0 introduced LOCTestExecuteTask_Retryabl…TestExecuteTask_BackoffUsesFrameworkClock · 0 introduced LOCTestExecuteTask_BackoffU…invoker_tasks.go ×5 · 13 introduced LOCinvoker_tasks.go ×5TestExecuteTask_DistinctRequestsCanReuseCompletedWorkflowID · 0 introduced LOCTestExecuteTask_Distinct…invoker_tasks.go ×1 · 1 introduced LOCinvoker_tasks.go ×1TestExecuteTask_Basic · 0 introduced LOCTestExecuteTask_Basicinvoker_tasks.go ×1 · 2 introduced LOCinvoker_tasks.go ×1invoker_tasks.go ×1 · 9 introduced LOCinvoker_tasks.go ×1TestExecuteTask_AlreadyStarted · 0 introduced LOCTestExecuteTask_AlreadyS…invoker_tasks.go ×3 · 14 introduced LOCinvoker_tasks.go ×3invoker_tasks.go ×1 · 2 introduced LOCinvoker_tasks.go ×1invoker_tasks.go ×7 · 89 introduced LOCinvoker_tasks.go ×7scheduler.go ×1 · 5 introduced LOCscheduler.go ×1TestUpdate_MemoReplaceSemantics · 0 introduced LOCTestUpdate_MemoReplaceSe…TestUpdate_WithNilMemo · 0 introduced LOCTestUpdate_WithNilMemoTestScheduler_Describe_ReturnsIsolatedVisibilityMaps · 0 introduced LOCTestScheduler_Describe_R…scheduler.go ×1 · 3 introduced LOCscheduler.go ×1scheduler.go ×5 · 21 introduced LOCscheduler.go ×5operation.go ×8 · 68 introduced LOCoperation.go ×8TestReplays · 0 introduced LOCTestReplaysTestReplaysWithDynamicConfigChange · 0 introduced LOCTestReplaysWithDynamicCo…workflow.go ×15 · 52 introduced LOCworkflow.go ×15message.pb.go ×1 · 4 introduced LOCmessage.pb.go ×1worker_versioning.go ×1 · 4 introduced LOCworker_versioning.go ×1TestWorkflowExecutionContinueAsNew · 0 introduced LOCTestWorkflowExecutionCon…TestWorkflowExecutionStarted_NilSearchAttributesFiltered · 0 introduced LOCTestWorkflowExecutionSta…TestWorkflowExecutionStarted_AllNilSearchAttributesFiltered · 0 introduced LOCTestWorkflowExecutionSta…TestStartChildWorkflowExecutionInitiated_NilSearchAttributesFiltered · 0 introduced LOCTestStartChildWorkflowEx…TestContinuedAsNew_NilSearchAttributesFiltered · 0 introduced LOCTestContinuedAsNew_NilSe…visibility.go ×1 · 2 introduced LOCvisibility.go ×1visibility.go ×1 · 2 introduced LOCvisibility.go ×1TestReplaceCustomMemo · 0 introduced LOCTestReplaceCustomMemovisibility.go ×3 · 15 introduced LOCvisibility.go ×3visibility.go ×1 · 5 introduced LOCvisibility.go ×1visibility.go ×2 · 3 introduced LOCvisibility.go ×2visibility.go ×3 · 12 introduced LOCvisibility.go ×3visibility.go ×3 · 11 introduced LOCvisibility.go ×3visibility.go ×3 · 11 introduced LOCvisibility.go ×3visibility.go ×1 · 5 introduced LOCvisibility.go ×1TestFilterNilSearchAttributes · 0 introduced LOCTestFilterNilSearchAttri…payload.go ×1 · 2 introduced LOCpayload.go ×1payload.go ×1 · 1 introduced LOCpayload.go ×1payload.go ×1 · 2 introduced LOCpayload.go ×1payload.go ×2 · 3 introduced LOCpayload.go ×2nil_payloads_are_filtered · 0 introduced LOCnil_payloads_are_filtere…nil_map_merging_key_with_string_value · 0 introduced LOCnil_map_merging_key_with…payload.go ×1 · 2 introduced LOCpayload.go ×1empty_map · 0 introduced LOCempty_maputil.go ×2 · 4 introduced LOCutil.go ×2payload.go ×1 · 3 introduced LOCpayload.go ×1TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/api/matchingservice/v1/service_grpc.pb.go · 1911 LOCv1/service_grpc.pb.gogo.temporal.io/server/api/workflow/v1/message.pb.go · 302 LOCv1/message.pb.gogo.temporal.io/server/chasm/lib/nexusoperation/gen/nexusoperationpb/v1/operation.pb.go · 1027 LOCv1/operation.pb.gogo.temporal.io/server/chasm/lib/nexusoperation/operation.go · 713 LOCnexusoperation/operation…go.temporal.io/server/chasm/lib/scheduler/invoker_tasks.go · 807 LOCscheduler/invoker_tasks.…go.temporal.io/server/chasm/lib/scheduler/scheduler.go · 1081 LOCscheduler/scheduler.gogo.temporal.io/server/chasm/lib/scheduler/scheduler_tasks.go · 347 LOCscheduler/scheduler_task…go.temporal.io/server/chasm/nexus_completion.go · 83 LOCchasm/nexus_completion.g…go.temporal.io/server/chasm/visibility.go · 409 LOCchasm/visibility.gogo.temporal.io/server/client/frontend/client.go · 48 LOCfrontend/client.gogo.temporal.io/server/client/frontend/client_gen.go · 1230 LOCfrontend/client_gen.gogo.temporal.io/server/client/frontend/metric_client.go · 68 LOCfrontend/metric_client.g…go.temporal.io/server/client/frontend/metric_client_gen.go · 1718 LOCfrontend/metric_client_g…go.temporal.io/server/common/client_cache.go · 146 LOCcommon/client_cache.gogo.temporal.io/server/common/cluster/metadata.go · 612 LOCcluster/metadata.gogo.temporal.io/server/common/log/tag/tags.go · 1039 LOCtag/tags.gogo.temporal.io/server/common/membership/static/fx.go · 36 LOCstatic/fx.gogo.temporal.io/server/common/membership/static/monitor.go · 78 LOCstatic/monitor.gogo.temporal.io/server/common/membership/static/service_resolver.go · 117 LOCstatic/service_resolver.…go.temporal.io/server/common/metrics/metricstest/capture_handler.go · 145 LOCmetricstest/capture_hand…go.temporal.io/server/common/namespace/namespace.go · 377 LOCnamespace/namespace.gogo.temporal.io/server/common/payload/payload.go · 127 LOCpayload/payload.gogo.temporal.io/server/common/persistence/persistence-tests/persistence_test_base.go · 448 LOCpersistence-tests/persis…go.temporal.io/server/common/persistence/persistence-tests/setup.go · 141 LOCpersistence-tests/setup.…go.temporal.io/server/common/persistence/persistence_rate_limited_clients.go · 1186 LOCpersistence/persistence_…go.temporal.io/server/common/persistence/sql/sqlplugin/sqlite/visibility.go · 207 LOCsqlite/visibility.gogo.temporal.io/server/common/persistence/sql/sqlplugin/visibility.go · 336 LOCsqlplugin/visibility.gogo.temporal.io/server/common/persistence/sql/task_queues.go · 259 LOCsql/task_queues.gogo.temporal.io/server/common/persistence/visibility/store/sql/query_converter_legacy.go · 677 LOCsql/query_converter_lega…go.temporal.io/server/common/persistence/visibility/store/sql/query_converter_legacy_factory.go · 32 LOCsql/query_converter_lega…go.temporal.io/server/common/persistence/visibility/store/sql/query_converter_legacy_sqlite.go · 334 LOCsql/query_converter_lega…go.temporal.io/server/common/persistence/visibility/store/sql/visibility_store.go · 968 LOCsql/visibility_store.gogo.temporal.io/server/common/persistence/visibility/visibility_manager_impl.go · 619 LOCvisibility/visibility_ma…go.temporal.io/server/common/persistence/visibility/visibility_manager_rate_limited.go · 185 LOCvisibility/visibility_ma…go.temporal.io/server/common/persistence/visibility/visiblity_manager_metrics.go · 237 LOCvisibility/visiblity_man…go.temporal.io/server/common/rpc/interceptor/dc_redirection_policy.go · 221 LOCinterceptor/dc_redirecti…go.temporal.io/server/common/rpc/interceptor/namespace_logger.go · 61 LOCinterceptor/namespace_lo…go.temporal.io/server/common/rpc/rpc.go · 413 LOCrpc/rpc.gogo.temporal.io/server/common/searchattribute/mapper.go · 243 LOCsearchattribute/mapper.g…go.temporal.io/server/common/searchattribute/test_provider.go · 161 LOCsearchattribute/test_pro…go.temporal.io/server/common/testing/mockapi/workflowservicemock/v1/service_grpc.pb.mock.go · 2483 LOCv1/service_grpc.pb.mock.…go.temporal.io/server/common/testing/taskpoller/taskpoller.go · 680 LOCtaskpoller/taskpoller.gogo.temporal.io/server/common/testing/testhooks/test_impl.go · 103 LOCtesthooks/test_impl.gogo.temporal.io/server/common/util.go · 791 LOCcommon/util.gogo.temporal.io/server/common/util/util.go · 197 LOCutil/util.gogo.temporal.io/server/common/worker_versioning/worker_versioning.go · 1327 LOCworker_versioning/worker…go.temporal.io/server/service/frontend/fx.go · 1057 LOCfrontend/fx.gogo.temporal.io/server/service/frontend/http_api_server.go · 506 LOCfrontend/http_api_server…go.temporal.io/server/service/frontend/namespace_handler.go · 1202 LOCfrontend/namespace_handl…go.temporal.io/server/service/frontend/workflow_handler.go · 7521 LOCfrontend/workflow_handle…go.temporal.io/server/service/fx.go · 180 LOCservice/fx.gogo.temporal.io/server/service/history/api/respondworkflowtaskcompleted/workflow_task_completed_handler.go · 1625 LOCrespondworkflowtaskcompl…go.temporal.io/server/service/history/fx.go · 529 LOChistory/fx.gogo.temporal.io/server/service/history/historybuilder/history_builder.go · 949 LOChistorybuilder/history_b…go.temporal.io/server/service/history/workflow/mutable_state_impl.go · 9930 LOCworkflow/mutable_state_i…go.temporal.io/server/service/matching/db.go · 995 LOCmatching/db.gogo.temporal.io/server/service/matching/matching_engine.go · 3939 LOCmatching/matching_engine…go.temporal.io/server/service/matching/pri_matcher.go · 702 LOCmatching/pri_matcher.gogo.temporal.io/server/service/matching/task.go · 394 LOCmatching/task.gogo.temporal.io/server/service/worker/scheduler/workflow.go · 1752 LOCscheduler/workflow.gogo.temporal.io/server/temporal/fx.go · 1273 LOCtemporal/fx.gogo.temporal.io/server/temporaltest/server.go · 172 LOCtemporaltest/server.gogo.temporal.io/server/tests/testcore/clients.go · 343 LOCtestcore/clients.gogo.temporal.io/server/tests/testcore/context.go · 31 LOCtestcore/context.gogo.temporal.io/server/tests/testcore/flag.go · 37 LOCtestcore/flag.gogo.temporal.io/server/tests/testcore/functional_test_base.go · 762 LOCtestcore/functional_test…go.temporal.io/server/tests/testcore/onebox.go · 883 LOCtestcore/onebox.gogo.temporal.io/server/tests/testcore/replication_stream_recorder.go · 330 LOCtestcore/replication_str…go.temporal.io/server/tests/testcore/shared_cluster_t.go · 152 LOCtestcore/shared_cluster_…go.temporal.io/server/tests/testcore/test_cluster.go · 639 LOCtestcore/test_cluster.gogo.temporal.io/server/tests/testcore/test_cluster_pool.go · 379 LOCtestcore/test_cluster_po…go.temporal.io/server/tests/testcore/test_env.go · 681 LOCtestcore/test_env.gogo.temporal.io/server/tests/testcore/utils.go · 126 LOCtestcore/utils.goTestMergeCustomMemo · introduced test · go.temporal.io/server/chasm/TestVisibilitySuite/TestMergeCustomMemoTestMergeCustomMemoTestMergeCustomSearchAttributes · introduced test · go.temporal.io/server/chasm/TestVisibilitySuite/TestMergeCustomSearchAttributesTestMergeCustomSearchAtt…TestNewVisibilityWithData_FilterNilSearchAttributes · introduced test · go.temporal.io/server/chasm/TestVisibilitySuite/TestNewVisibilityWithData_FilterNilSearchAttributesTestNewVisibilityWithDat…TestReplaceCustomMemo · introduced test · go.temporal.io/server/chasm/TestVisibilitySuite/TestReplaceCustomMemoTestReplaceCustomMemoTestReplaceCustomSearchAttributes · introduced test · go.temporal.io/server/chasm/TestVisibilitySuite/TestReplaceCustomSearchAttributesTestReplaceCustomSearchA…TestOperation_BuildExecutionInfo_ReturnsIsolatedSearchAttributes · introduced test · go.temporal.io/server/chasm/lib/nexusoperation/TestOperation_BuildExecutionInfo_ReturnsIsolatedSearchAttributesTestOperation_BuildExecu…TestCreateSchedulerFromMigration · introduced test · go.temporal.io/server/chasm/lib/scheduler/TestCreateSchedulerFromMigrationTestCreateSchedulerFromM…TestExecuteTask_AlreadyStarted · introduced test · go.temporal.io/server/chasm/lib/scheduler/TestExecuteTask_AlreadyStartedTestExecuteTask_AlreadyS…TestExecuteTask_BackoffUsesFrameworkClock · introduced test · go.temporal.io/server/chasm/lib/scheduler/TestExecuteTask_BackoffUsesFrameworkClockTestExecuteTask_BackoffU…TestExecuteTask_Basic · introduced test · go.temporal.io/server/chasm/lib/scheduler/TestExecuteTask_BasicTestExecuteTask_BasicTestExecuteTask_DistinctRequestsCanReuseCompletedWorkflowID · introduced test · go.temporal.io/server/chasm/lib/scheduler/TestExecuteTask_DistinctRequestsCanReuseCompletedWorkflowIDTestExecuteTask_Distinct…TestExecuteTask_ExceedsMaxActionsPerExecution · introduced test · go.temporal.io/server/chasm/lib/scheduler/TestExecuteTask_ExceedsMaxActionsPerExecutionTestExecuteTask_ExceedsM…TestExecuteTask_RetryableFailure · introduced test · go.temporal.io/server/chasm/lib/scheduler/TestExecuteTask_RetryableFailureTestExecuteTask_Retryabl…TestScheduler_Describe_ReturnsIsolatedVisibilityMaps · introduced test · go.temporal.io/server/chasm/lib/scheduler/TestScheduler_Describe_ReturnsIsolatedVisibilityMapsTestScheduler_Describe_R…TestUpdate_MemoReplaceSemantics · introduced test · go.temporal.io/server/chasm/lib/scheduler/TestUpdate_MemoReplaceSemanticsTestUpdate_MemoReplaceSe…TestUpdate_WithMemo · introduced test · go.temporal.io/server/chasm/lib/scheduler/TestUpdate_WithMemoTestUpdate_WithMemoTestUpdate_WithNilMemo · introduced test · go.temporal.io/server/chasm/lib/scheduler/TestUpdate_WithNilMemoTestUpdate_WithNilMemoTestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…TestFilterNilMemo · introduced test · go.temporal.io/server/common/payload/TestFilterNilMemoTestFilterNilMemoTestFilterNilSearchAttributes · introduced test · go.temporal.io/server/common/payload/TestFilterNilSearchAttributesTestFilterNilSearchAttri…empty_map · introduced test · go.temporal.io/server/common/payload/TestMergeMapOfPayload/empty_mapempty_mapnil_map_merging_key_with_string_value · introduced test · go.temporal.io/server/common/payload/TestMergeMapOfPayload/nil_map_merging_key_with_string_valuenil_map_merging_key_with…nil_payloads_are_filtered · introduced test · go.temporal.io/server/common/payload/TestMergeMapOfPayload/nil_payloads_are_filterednil_payloads_are_filtere…TestRespondWorkflowTaskCompleted_StartChildWithSearchAttributes · introduced test · go.temporal.io/server/service/history/TestEngine2Suite/TestRespondWorkflowTaskCompleted_StartChildWithSearchAttributesTestRespondWorkflowTaskC…TestStartWorkflowExecution_BrandNew_SearchAttributes · introduced test · go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_BrandNew_SearchAttributesTestStartWorkflowExecuti…TestEagerWorkflowStart_WithSearchAttributes · introduced test · go.temporal.io/server/service/history/TestEngineSuite/TestEagerWorkflowStart_WithSearchAttributesTestEagerWorkflowStart_W…TestContinuedAsNew_NilSearchAttributesFiltered · introduced test · go.temporal.io/server/service/history/historybuilder/TestHistoryBuilderSuite/TestContinuedAsNew_NilSearchAttributesFilteredTestContinuedAsNew_NilSe…TestStartChildWorkflowExecutionInitiated · introduced test · go.temporal.io/server/service/history/historybuilder/TestHistoryBuilderSuite/TestStartChildWorkflowExecutionInitiatedTestStartChildWorkflowEx…TestStartChildWorkflowExecutionInitiated_NilSearchAttributesFiltered · introduced test · go.temporal.io/server/service/history/historybuilder/TestHistoryBuilderSuite/TestStartChildWorkflowExecutionInitiated_NilSearchAttributesFilteredTestStartChildWorkflowEx…TestWorkflowExecutionContinueAsNew · introduced test · go.temporal.io/server/service/history/historybuilder/TestHistoryBuilderSuite/TestWorkflowExecutionContinueAsNewTestWorkflowExecutionCon…TestWorkflowExecutionStarted · introduced test · go.temporal.io/server/service/history/historybuilder/TestHistoryBuilderSuite/TestWorkflowExecutionStartedTestWorkflowExecutionSta…TestWorkflowExecutionStarted_AllNilSearchAttributesFiltered · introduced test · go.temporal.io/server/service/history/historybuilder/TestHistoryBuilderSuite/TestWorkflowExecutionStarted_AllNilSearchAttributesFilteredTestWorkflowExecutionSta…TestWorkflowExecutionStarted_NilSearchAttributesFiltered · introduced test · go.temporal.io/server/service/history/historybuilder/TestHistoryBuilderSuite/TestWorkflowExecutionStarted_NilSearchAttributesFilteredTestWorkflowExecutionSta…TestReplays · introduced test · go.temporal.io/server/service/worker/scheduler/TestReplaysTestReplaysTestReplaysWithDynamicConfigChange · introduced test · go.temporal.io/server/service/worker/scheduler/TestReplaysWithDynamicConfigChangeTestReplaysWithDynamicCo…TestSearchAttributeRegistration · introduced test · go.temporal.io/server/temporaltest/TestSearchAttributeRegistrationTestSearchAttributeRegis…TestWorkerServiceHealthCheck · introduced test · go.temporal.io/server/tests/testcore/TestFunctionalTestBaseSuite/TestWorkerServiceHealthCheckTestWorkerServiceHealthC…Focused concept · util.go ×1 · 2 introduced LOCutil.go ×1

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.

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

go.temporal.io/server/common/util/util.go 2 introduced LOC · 1 range

Open complete file

62 m = maps.Clone(m)
63 if m == nil {
64 > m = make(M) util.go
65 > }
66 return m
67 }