proto.go ×5

Frontier kind: Joint frontier

unlabeled · c_45ef880df677

45 tests · 18 LOC · 1 file · introduces 5 tests · 18 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
5 ranges18 lines · 1 files
Tests
5 tests

Contains — complete concept membership

All code (extent)
5 ranges18 lines · 1 file · Browse complete extent
All tests (intent)
45 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 specializationTest_updateActivityOptionsAcceptance · 0 introduced LOCTest_updateActivityOptio…Test_updateActivityOptions_PerNSTQ_Allowed · 0 introduced LOCTest_updateActivityOptio…api.go ×4 · 44 introduced LOCapi.go ×4api.go ×2 · 4 introduced LOCapi.go ×2api.go ×2 · 17 introduced LOCapi.go ×2api.go ×1 · 2 introduced LOCapi.go ×1api.go ×1 · 1 introduced LOCapi.go ×1api.go ×1 · 2 introduced LOCapi.go ×1api.go ×3 · 23 introduced LOCapi.go ×3api.go ×5 · 18 introduced LOCapi.go ×5api.go ×1 · 2 introduced LOCapi.go ×1api.go ×4 · 15 introduced LOCapi.go ×4api.go ×11 · 68 introduced LOCapi.go ×11activity.go ×12 · 72 introduced LOCactivity.go ×12TestApplyActivityOptionsReset · 0 introduced LOCTestApplyActivityOptions…TestNewStandaloneActivity_OriginalOptionsUnaffectedBySubfieldUpdate · 0 introduced LOCTestNewStandaloneActivit…reapply:_TSC_updated_with_same_fast-forward · 0 introduced LOCreapply:_TSC_updated_wit…nil_allowed:_nil_with_mask_clears_the_TSC · 0 introduced LOCnil_allowed:_nil_with_ma…TSC_no_change:_version_update_with_fast-forward_untouched · 0 introduced LOCTSC_no_change:_version_u…basic:_disable_from_enabled_config · 0 introduced LOCbasic:_disable_from_enab…basic:_fast-forward_from_nil · 0 introduced LOCbasic:_fast-forward_from…basic:_enable_from_nil_config · 0 introduced LOCbasic:_enable_from_nil_c…api.go ×1 · 2 introduced LOCapi.go ×1api.go ×2 · 7 introduced LOCapi.go ×2api.go ×1 · 3 introduced LOCapi.go ×1api.go ×6 · 20 introduced LOCapi.go ×6api.go ×3 · 11 introduced LOCapi.go ×3same_config_with_side-effect_field_change · 0 introduced LOCsame_config_with_side-ef…TestMergeOptions_VersionOverrideMask · 0 introduced LOCTestMergeOptions_Version…api.go ×1 · 2 introduced LOCapi.go ×1nil_update_-_clears_the_TSC, new_config_to_disable_time_skipping, +1 · 0 introduced LOCnil_update_-_clears_the_…api.go ×1 · 2 introduced LOCapi.go ×1api.go ×1 · 2 introduced LOCapi.go ×1api.go ×1 · 3 introduced LOCapi.go ×1api.go ×1 · 1 introduced LOCapi.go ×1api.go ×1 · 3 introduced LOCapi.go ×1activity.go ×2 · 11 introduced LOCactivity.go ×2api.go ×1 · 3 introduced LOCapi.go ×1activity.go ×1 · 2 introduced LOCactivity.go ×1activity.go ×1 · 1 introduced LOCactivity.go ×1activity.go ×2 · 17 introduced LOCactivity.go ×2merge.go ×1 · 2 introduced LOCmerge.go ×1Sub-fields · 0 introduced LOCSub-fieldsmerge.go ×9 · 18 introduced LOCmerge.go ×9Top-level_fields_with_snake_case · 0 introduced LOCTop-level_fields_with_sn…Top-level_fields_with_CamelCase · 0 introduced LOCTop-level_fields_with_Ca…proto.go ×1 · 4 introduced LOCproto.go ×1proto.go ×1 · 1 introduced LOCproto.go ×1TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/api/historyservice/v1/request_response.pb.go · 12003 LOCv1/request_response.pb.g…go.temporal.io/server/api/persistence/v1/executions.pb.go · 5768 LOCv1/executions.pb.gogo.temporal.io/server/chasm/lib/activity/activity.go · 2087 LOCactivity/activity.gogo.temporal.io/server/chasm/lib/activity/gen/activitypb/v1/activity_state.pb.go · 1411 LOCv1/activity_state.pb.gogo.temporal.io/server/common/activityoptions/merge.go · 129 LOCactivityoptions/merge.gogo.temporal.io/server/common/util/proto.go · 65 LOCutil/proto.gogo.temporal.io/server/service/history/api/command_attr_validator.go · 688 LOCapi/command_attr_validat…go.temporal.io/server/service/history/api/updateactivityoptions/api.go · 378 LOCupdateactivityoptions/ap…go.temporal.io/server/service/history/api/updateworkflowoptions/api.go · 292 LOCupdateworkflowoptions/ap…go.temporal.io/server/service/history/interfaces/mutable_state_mock.go · 3893 LOCinterfaces/mutable_state…go.temporal.io/server/service/history/workflow/activity.go · 545 LOCworkflow/activity.goTestMergeActivityOptionsRejectsInvalidMergedRetryPolicy · introduced test · go.temporal.io/server/chasm/lib/activity/TestMergeActivityOptionsRejectsInvalidMergedRetryPolicyTestMergeActivityOptions…TestNewStandaloneActivity_OriginalOptionsUnaffectedBySubfieldUpdate · introduced test · go.temporal.io/server/chasm/lib/activity/TestNewStandaloneActivity_OriginalOptionsUnaffectedBySubfieldUpdateTestNewStandaloneActivit…TestUpdateStartedActivityExecutionOptionsDoesNotBumpStartedStamp · introduced test · go.temporal.io/server/chasm/lib/activity/TestUpdateStartedActivityExecutionOptionsDoesNotBumpStartedStampTestUpdateStartedActivit…Sub-fields · introduced test · go.temporal.io/server/common/activityoptions/TestMergeActivityOptionsAcceptance/Sub-fieldsSub-fieldsTop-level_fields_with_CamelCase · introduced test · go.temporal.io/server/common/activityoptions/TestMergeActivityOptionsAcceptance/Top-level_fields_with_CamelCaseTop-level_fields_with_Ca…Top-level_fields_with_snake_case · introduced test · go.temporal.io/server/common/activityoptions/TestMergeActivityOptionsAcceptance/Top-level_fields_with_snake_caseTop-level_fields_with_sn…TestMergeActivityOptionsErrors · introduced test · go.temporal.io/server/common/activityoptions/TestMergeActivityOptionsErrorsTestMergeActivityOptions…TestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…Already.CamelCase · introduced test · go.temporal.io/server/common/util/TestConvertPathToCamel/Already.CamelCaseAlready.CamelCaseCamelCase · introduced test · go.temporal.io/server/common/util/TestConvertPathToCamel/CamelCaseCamelCaseDot.Separated · introduced test · go.temporal.io/server/common/util/TestConvertPathToCamel/Dot.SeparatedDot.SeparatedMix.of.Snake_case.and.CamelCase · introduced test · go.temporal.io/server/common/util/TestConvertPathToCamel/Mix.of.Snake_case.and.CamelCaseMix.of.Snake_case.and.Ca…UPPERCASE · introduced test · go.temporal.io/server/common/util/TestConvertPathToCamel/UPPERCASEUPPERCASEdash_separated · introduced test · go.temporal.io/server/common/util/TestConvertPathToCamel/dash_separateddash_separateddash_separated.and_another · introduced test · go.temporal.io/server/common/util/TestConvertPathToCamel/dash_separated.and_anotherdash_separated.and_anoth…underscore · introduced test · go.temporal.io/server/common/util/TestConvertPathToCamel/underscoreunderscoreTest_updateActivityOptionsAcceptance · introduced test · go.temporal.io/server/service/history/api/updateactivityoptions/TestActivityOptionsSuite/Test_updateActivityOptionsAcceptanceTest_updateActivityOptio…Test_updateActivityOptionsRejectsInvalidMergedRetryPolicy · introduced test · go.temporal.io/server/service/history/api/updateactivityoptions/TestActivityOptionsSuite/Test_updateActivityOptionsRejectsInvalidMergedRetryPolicyTest_updateActivityOptio…Test_updateActivityOptionsWfNoActivity · introduced test · go.temporal.io/server/service/history/api/updateactivityoptions/TestActivityOptionsSuite/Test_updateActivityOptionsWfNoActivityTest_updateActivityOptio…Test_updateActivityOptions_PerNSTQ_Allowed · introduced test · go.temporal.io/server/service/history/api/updateactivityoptions/TestActivityOptionsSuite/Test_updateActivityOptions_PerNSTQ_AllowedTest_updateActivityOptio…Test_updateActivityOptions_PerNSTQ_Blocked · introduced test · go.temporal.io/server/service/history/api/updateactivityoptions/TestActivityOptionsSuite/Test_updateActivityOptions_PerNSTQ_BlockedTest_updateActivityOptio…Test_updateActivityOptions_RestoreDefaultFail · introduced test · go.temporal.io/server/service/history/api/updateactivityoptions/TestActivityOptionsSuite/Test_updateActivityOptions_RestoreDefaultFailTest_updateActivityOptio…TestApplyActivityOptionsReset · introduced test · go.temporal.io/server/service/history/api/updateactivityoptions/TestApplyActivityOptionsResetTestApplyActivityOptions…TSC_no_change:_TSC_without_fast-forward_are_updated_with_same_value · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeAndApply/TSC_no_change:_TSC_without_fast-forward_are_updated_with_same_valueTSC_no_change:_TSC_witho…TSC_no_change:_version_update_with_fast-forward_untouched · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeAndApply/TSC_no_change:_version_update_with_fast-forward_untouchedTSC_no_change:_version_u…basic:_disable_from_enabled_config · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeAndApply/basic:_disable_from_enabled_configbasic:_disable_from_enab…basic:_enable_from_nil_config · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeAndApply/basic:_enable_from_nil_configbasic:_enable_from_nil_c…basic:_fast-forward_from_nil · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeAndApply/basic:_fast-forward_from_nilbasic:_fast-forward_from…nil_allowed:_nil_with_mask_clears_the_TSC · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeAndApply/nil_allowed:_nil_with_mask_clears_the_TSCnil_allowed:_nil_with_ma…reapply:_TSC_updated_with_same_fast-forward · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeAndApply/reapply:_TSC_updated_with_same_fast-forwardreapply:_TSC_updated_wit…TestMergeOptions_PartialMask · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeOptions_PartialMaskTestMergeOptions_Partial…new_config_to_disable_time_skipping · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeOptions_TimeSkippingConfig/new_config_to_disable_time_skippingnew_config_to_disable_ti…new_config_to_enable_time_skipping · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeOptions_TimeSkippingConfig/new_config_to_enable_time_skippingnew_config_to_enable_tim…new_config_with_side-effect_field_change · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeOptions_TimeSkippingConfig/new_config_with_side-effect_field_changenew_config_with_side-eff…nil_update_-_clears_the_TSC · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeOptions_TimeSkippingConfig/nil_update_-_clears_the_TSCnil_update_-_clears_the_…same_config_with_no_side-effect_field_change · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeOptions_TimeSkippingConfig/same_config_with_no_side-effect_field_changesame_config_with_no_side…same_config_with_side-effect_field_change · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeOptions_TimeSkippingConfig/same_config_with_side-effect_field_changesame_config_with_side-ef…TestMergeOptions_VersionOverrideMask · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeOptions_VersionOverrideMaskTestMergeOptions_Version…auto_upgrade_oneof_field · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeOptions_VersionOverrideNestedMask/auto_upgrade_oneof_fieldauto_upgrade_oneof_fieldone_time_field · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeOptions_VersionOverrideNestedMask/one_time_fieldone_time_fieldone_time_target_version_build_id_field · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeOptions_VersionOverrideNestedMask/one_time_target_version_build_id_fieldone_time_target_version_…one_time_target_version_deployment_name_field · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeOptions_VersionOverrideNestedMask/one_time_target_version_deployment_name_fieldone_time_target_version_…one_time_target_version_field · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeOptions_VersionOverrideNestedMask/one_time_target_version_fieldone_time_target_version_…pinned_nested_version_field · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeOptions_VersionOverrideNestedMask/pinned_nested_version_fieldpinned_nested_version_fi…pinned_oneof_field · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestMergeOptions_VersionOverrideNestedMask/pinned_oneof_fieldpinned_oneof_fieldTestInvoke_Success · introduced test · go.temporal.io/server/service/history/api/updateworkflowoptions/TestUpdateWorkflowOptionsSuite/TestInvoke_SuccessTestInvoke_SuccessFocused concept · proto.go ×5 · 18 introduced LOCproto.go ×5

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.

5 tests introduced at this concept.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

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

go.temporal.io/server/common/util/proto.go 18 introduced LOC · 5 ranges

Open complete file

9 )
10
11 > func ConvertPathToCamel(input string) []string { proto.go
12 > var pathParts []string
13 > for path := range strings.SplitSeq(input, ".") {
14 > // Split by "_" and convert each word to Title Case (CamelCase)
15 > var b strings.Builder
16 > j := 0
17 > for word := range strings.SplitSeq(path, "_") {
18 > if j > 0 {
19 b.WriteString(cases.Title(language.Und).String(strings.ToLower(word)))
20 > } else { proto.go
21 > // lowercase the first letter
22 > if len(word) > 0 {
23 > b.WriteString(strings.ToLower(word[:1]))
24 > if len(word) > 1 {
25 > b.WriteString(word[1:])
26 > }
27 }
28 }
29 > j++ proto.go
30 }
31 // Join the words into a CamelCase substring
32 > pathParts = append(pathParts, b.String()) proto.go
33 }
34 // Join all CamelCase substrings back with "."
35 > return pathParts proto.go
36 }
37