retry_policy.go ×1

Frontier kind: Code frontier

unlabeled · c_dc0f01c30b06

28 tests · 10 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)
7 ranges10 lines · 2 files · Browse complete extent
All tests (intent)
28 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 specializationworkflow_handler.go ×11 · 117 introduced LOCworkflow_handler.go ×11common.go ×1 · 11 introduced LOCcommon.go ×1request_response.pb.go ×6 · 246 introduced LOCrequest_response.pb.go ×…telemetry.go ×2 · 15 introduced LOCtelemetry.go ×2TestNewServer · 0 introduced LOCTestNewServerpri_matcher.go ×1 · 2 introduced LOCpri_matcher.go ×1timer_queue_active_task_executor.go ×1 · 3 introduced LOCtimer_queue_active_task_…logger.go ×1 · 2 introduced LOClogger.go ×1pri_matcher.go ×1 · 4 introduced LOCpri_matcher.go ×1workflow_handler.go ×8 · 144 introduced LOCworkflow_handler.go ×8workflow_task_completed_handler.go ×1 · 3 introduced LOCworkflow_task_completed_…workflow_task_completed_handler.go ×1 · 3 introduced LOCworkflow_task_completed_…TestRespondWorkflowTaskCompleted_ActivityEagerExecution_NotCancelled · 0 introduced LOCTestRespondWorkflowTaskC…workflow_task_completed_handler.go ×1 · 5 introduced LOCworkflow_task_completed_…TestRespondWorkflowTaskCompletedSingleActivityScheduledWorkflowTask · 0 introduced LOCTestRespondWorkflowTaskC…api.go ×1 · 4 introduced LOCapi.go ×1workflow_task_completed_handler.go ×2 · 6 introduced LOCworkflow_task_completed_…workflow_task_completed_handler.go ×4 · 10 introduced LOCworkflow_task_completed_…workflow_task_completed_handler.go ×1 · 2 introduced LOCworkflow_task_completed_…workflow_task_completed_handler.go ×11 · 66 introduced LOCworkflow_task_completed_…Test_updateActivityOptionsAcceptance · 0 introduced LOCTest_updateActivityOptio…Test_updateActivityOptions_PerNSTQ_Allowed · 0 introduced LOCTest_updateActivityOptio…api.go ×4 · 44 introduced LOCapi.go ×4TestStartWorkflowExecution_EnsureNonNilRetryPolicyInitialized · 0 introduced LOCTestStartWorkflowExecuti…per-ns-tq_workflow_scheduling_activity_on_per-ns-tq_is_allowed · 0 introduced LOCper-ns-tq_workflow_sched…normal_workflow_scheduling_activity_on_normal_task_queue_is_allowed · 0 introduced LOCnormal_workflow_scheduli…command_attr_validator.go ×1 · 7 introduced LOCcommand_attr_validator.g…StartActivityExecution · 0 introduced LOCStartActivityExecutionserver-generated · 0 introduced LOCserver-generatedfrontend.go ×1 · 2 introduced LOCfrontend.go ×1frontend.go ×1 · 2 introduced LOCfrontend.go ×1frontend.go ×12 · 56 introduced LOCfrontend.go ×12override_non-set_policy · 0 introduced LOCoverride_non-set_policyoverride_all_defaults · 0 introduced LOCoverride_all_defaultspartial_override_of_fields · 0 introduced LOCpartial_override_of_fiel…default_fields_are_set_, non-retryable_errors_are_set, +1 · 0 introduced LOCdefault_fields_are_set_,…non-default_BackoffCoefficient_is_not_set · 0 introduced LOCnon-default_BackoffCoeff…non-default_MaximumIntervalInSeconds_is_not_set · 0 introduced LOCnon-default_MaximumInter…non-default_Maximum_attempts_is_not_set · 0 introduced LOCnon-default_Maximum_atte…retry_policy.go ×4 · 5 introduced LOCretry_policy.go ×4duration.go ×1 · 1 introduced LOCduration.go ×1duration.go ×1 · 2 introduced LOCduration.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/historyservice/v1/service_grpc.pb.go · 3373 LOCv1/service_grpc.pb.gogo.temporal.io/server/api/matchingservice/v1/request_response.pb.go · 6878 LOCv1/request_response.pb.g…go.temporal.io/server/api/matchingservice/v1/service_grpc.pb.go · 1911 LOCv1/service_grpc.pb.gogo.temporal.io/server/api/persistence/v1/executions.pb.go · 5768 LOCv1/executions.pb.gogo.temporal.io/server/chasm/lib/activity/frontend.go · 579 LOCactivity/frontend.gogo.temporal.io/server/client/history/client.go · 313 LOChistory/client.gogo.temporal.io/server/client/history/client_gen.go · 1548 LOChistory/client_gen.gogo.temporal.io/server/client/history/metric_client_gen.go · 1046 LOChistory/metric_client_ge…go.temporal.io/server/client/history/retryable_client_gen.go · 1152 LOChistory/retryable_client…go.temporal.io/server/client/matching/client.go · 535 LOCmatching/client.gogo.temporal.io/server/client/matching/client_gen.go · 702 LOCmatching/client_gen.gogo.temporal.io/server/client/matching/metric_client.go · 263 LOCmatching/metric_client.g…go.temporal.io/server/client/matching/metric_client_gen.go · 500 LOCmatching/metric_client_g…go.temporal.io/server/client/matching/retryable_client_gen.go · 642 LOCmatching/retryable_clien…go.temporal.io/server/common/persistence/sql/common.go · 137 LOCsql/common.gogo.temporal.io/server/common/primitives/timestamp/duration.go · 88 LOCtimestamp/duration.gogo.temporal.io/server/common/retrypolicy/retry_policy.go · 97 LOCretrypolicy/retry_policy…go.temporal.io/server/common/rpc/interceptor/routing_key_extractor_gen.go · 162 LOCinterceptor/routing_key_…go.temporal.io/server/common/rpc/interceptor/telemetry.go · 412 LOCinterceptor/telemetry.gogo.temporal.io/server/common/searchattribute/mapper.go · 243 LOCsearchattribute/mapper.g…go.temporal.io/server/service/frontend/workflow_handler.go · 7521 LOCfrontend/workflow_handle…go.temporal.io/server/service/history/api/command_attr_validator.go · 688 LOCapi/command_attr_validat…go.temporal.io/server/service/history/api/respondworkflowtaskcompleted/api.go · 1173 LOCrespondworkflowtaskcompl…go.temporal.io/server/service/history/api/respondworkflowtaskcompleted/workflow_task_completed_handler.go · 1625 LOCrespondworkflowtaskcompl…go.temporal.io/server/service/history/api/updateactivityoptions/api.go · 378 LOCupdateactivityoptions/ap…go.temporal.io/server/service/history/handler.go · 2627 LOChistory/handler.gogo.temporal.io/server/service/history/interfaces/mutable_state_mock.go · 3893 LOCinterfaces/mutable_state…go.temporal.io/server/service/history/queues/executable.go · 979 LOCqueues/executable.gogo.temporal.io/server/service/history/queues/queue_scheduled.go · 301 LOCqueues/queue_scheduled.g…go.temporal.io/server/service/history/queues/scheduler.go · 324 LOCqueues/scheduler.gogo.temporal.io/server/service/history/timer_queue_active_task_executor.go · 1180 LOChistory/timer_queue_acti…go.temporal.io/server/service/history/transfer_queue_task_executor_base.go · 307 LOChistory/transfer_queue_t…go.temporal.io/server/service/history/worker_versioning_util.go · 237 LOChistory/worker_versionin…go.temporal.io/server/service/history/workflow/activity.go · 545 LOCworkflow/activity.gogo.temporal.io/server/service/history/workflow/mutable_state_impl.go · 9930 LOCworkflow/mutable_state_i…go.temporal.io/server/service/history/workflow/workflow_task_state_machine.go · 1602 LOCworkflow/workflow_task_s…go.temporal.io/server/service/matching/db.go · 995 LOCmatching/db.gogo.temporal.io/server/service/matching/handler.go · 726 LOCmatching/handler.gogo.temporal.io/server/service/matching/matching_engine.go · 3939 LOCmatching/matching_engine…go.temporal.io/server/service/matching/pri_forwarder.go · 305 LOCmatching/pri_forwarder.g…go.temporal.io/server/service/matching/pri_matcher.go · 702 LOCmatching/pri_matcher.gogo.temporal.io/server/temporaltest/logger.go · 41 LOCtemporaltest/logger.gogo.temporal.io/server/temporaltest/options.go · 52 LOCtemporaltest/options.goStartActivityExecution · introduced test · go.temporal.io/server/chasm/lib/activity/TestRequestIDGeneratedWhenMissing/StartActivityExecutionStartActivityExecutionclient-provided · introduced test · go.temporal.io/server/chasm/lib/activity/TestRequestIdStableAcrossRetries/start/client-providedclient-providedserver-generated · introduced test · go.temporal.io/server/chasm/lib/activity/TestRequestIdStableAcrossRetries/start/server-generatedserver-generatedTestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…default_fields_are_set_ · introduced test · go.temporal.io/server/common/retrypolicy/TestEnsureRetryPolicyDefaults/default_fields_are_set_default_fields_are_set_empty_policy_has_non-zero_defaults · introduced test · go.temporal.io/server/common/retrypolicy/TestEnsureRetryPolicyDefaults/empty_policy_has_non-zero_defaultsempty_policy_has_non-zer…non-default_BackoffCoefficient_is_not_set · introduced test · go.temporal.io/server/common/retrypolicy/TestEnsureRetryPolicyDefaults/non-default_BackoffCoefficient_is_not_setnon-default_BackoffCoeff…non-default_MaximumIntervalInSeconds_is_not_set · introduced test · go.temporal.io/server/common/retrypolicy/TestEnsureRetryPolicyDefaults/non-default_MaximumIntervalInSeconds_is_not_setnon-default_MaximumInter…non-default_Maximum_attempts_is_not_set · introduced test · go.temporal.io/server/common/retrypolicy/TestEnsureRetryPolicyDefaults/non-default_Maximum_attempts_is_not_setnon-default_Maximum_atte…non-retryable_errors_are_set · introduced test · go.temporal.io/server/common/retrypolicy/TestEnsureRetryPolicyDefaults/non-retryable_errors_are_setnon-retryable_errors_are…TestStartWorkflowExecution_EnsureNonNilRetryPolicyInitialized · introduced test · go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestStartWorkflowExecution_EnsureNonNilRetryPolicyInitializedTestStartWorkflowExecuti…TestRespondWorkflowTaskCompletedConflictOnUpdate · introduced test · go.temporal.io/server/service/history/TestEngineSuite/TestRespondWorkflowTaskCompletedConflictOnUpdateTestRespondWorkflowTaskC…TestRespondWorkflowTaskCompletedSingleActivityScheduledAttribute · introduced test · go.temporal.io/server/service/history/TestEngineSuite/TestRespondWorkflowTaskCompletedSingleActivityScheduledAttributeTestRespondWorkflowTaskC…TestRespondWorkflowTaskCompletedSingleActivityScheduledWorkflowTask · introduced test · go.temporal.io/server/service/history/TestEngineSuite/TestRespondWorkflowTaskCompletedSingleActivityScheduledWorkflowTaskTestRespondWorkflowTaskC…TestRespondWorkflowTaskCompleted_ActivityEagerExecution_Cancelled · introduced test · go.temporal.io/server/service/history/TestEngineSuite/TestRespondWorkflowTaskCompleted_ActivityEagerExecution_CancelledTestRespondWorkflowTaskC…TestRespondWorkflowTaskCompleted_ActivityEagerExecution_NotCancelled · introduced test · go.temporal.io/server/service/history/TestEngineSuite/TestRespondWorkflowTaskCompleted_ActivityEagerExecution_NotCancelledTestRespondWorkflowTaskC…TestRespondWorkflowTaskCompleted_ActivityEagerExecution_WorkflowClosed · introduced test · go.temporal.io/server/service/history/TestEngineSuite/TestRespondWorkflowTaskCompleted_ActivityEagerExecution_WorkflowClosedTestRespondWorkflowTaskC…override_all_defaults · introduced test · go.temporal.io/server/service/history/api/TestCommandAttrValidatorSuite/TestValidateActivityRetryPolicy/override_all_defaultsoverride_all_defaultsoverride_non-set_policy · introduced test · go.temporal.io/server/service/history/api/TestCommandAttrValidatorSuite/TestValidateActivityRetryPolicy/override_non-set_policyoverride_non-set_policypartial_override_of_fields · introduced test · go.temporal.io/server/service/history/api/TestCommandAttrValidatorSuite/TestValidateActivityRetryPolicy/partial_override_of_fieldspartial_override_of_fiel…normal_workflow_scheduling_activity_on_normal_task_queue_is_allowed · introduced test · go.temporal.io/server/service/history/api/TestCommandAttrValidatorSuite/TestValidateActivityScheduleAttributes_WorkflowTaskQueue/normal_workflow_scheduling_activity_on_normal_task_queue_is_allowednormal_workflow_scheduli…per-ns-tq_workflow_scheduling_activity_on_per-ns-tq_is_allowed · introduced test · go.temporal.io/server/service/history/api/TestCommandAttrValidatorSuite/TestValidateActivityScheduleAttributes_WorkflowTaskQueue/per-ns-tq_workflow_scheduling_activity_on_per-ns-tq_is_allowedper-ns-tq_workflow_sched…Test_updateActivityOptionsAcceptance · introduced test · go.temporal.io/server/service/history/api/updateactivityoptions/TestActivityOptionsSuite/Test_updateActivityOptionsAcceptanceTest_updateActivityOptio…Test_updateActivityOptions_PerNSTQ_Allowed · introduced test · go.temporal.io/server/service/history/api/updateactivityoptions/TestActivityOptionsSuite/Test_updateActivityOptions_PerNSTQ_AllowedTest_updateActivityOptio…ExampleNewServer · introduced test · go.temporal.io/server/temporaltest/ExampleNewServerExampleNewServerTestClientWithCustomInterceptor · introduced test · go.temporal.io/server/temporaltest/TestClientWithCustomInterceptorTestClientWithCustomInte…TestDefaultWorkerOptions · introduced test · go.temporal.io/server/temporaltest/TestDefaultWorkerOptionsTestDefaultWorkerOptionsTestNewServer · introduced test · go.temporal.io/server/temporaltest/TestNewServerTestNewServerTestNewWorkerWithOptions · introduced test · go.temporal.io/server/temporaltest/TestNewWorkerWithOptionsTestNewWorkerWithOptionsFocused concept · retry_policy.go ×1 · 2 introduced LOCretry_policy.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/retrypolicy/retry_policy.go 2 introduced LOC · 1 range

Open complete file

44
45 if timestamp.DurationValue(originalPolicy.GetInitialInterval()) == 0 {
46 > originalPolicy.InitialInterval = durationpb.New(defaultSettings.InitialInterval) retry_policy.go
47 > }
48
49 if timestamp.DurationValue(originalPolicy.GetMaximumInterval()) == 0 {