retry_policy.go ×1

Frontier kind: Joint frontier

unlabeled · c_fb1c4bf66a7e

9 tests · 7 LOC · 1 file · introduces 1 test · 4 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
1 range4 lines · 1 files
Tests
1 test

Contains — complete concept membership

All code (extent)
3 ranges7 lines · 1 file · Browse complete extent
All tests (intent)
9 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 ×1 · 2 introduced LOCworkflow_handler.go ×1validator.go ×1 · 2 introduced LOCvalidator.go ×1TestStartWorkflowExecution_Failed_InvalidRunTimeout · 0 introduced LOCTestStartWorkflowExecuti…validator.go ×1 · 2 introduced LOCvalidator.go ×1workflow_handler.go ×1 · 2 introduced LOCworkflow_handler.go ×1workflow_handler.go ×1 · 2 introduced LOCworkflow_handler.go ×1validator.go ×1 · 2 introduced LOCvalidator.go ×1TestStartWorkflowExecution_Failed_CronAndStartDelaySet · 0 introduced LOCTestStartWorkflowExecuti…workflow_handler.go ×1 · 2 introduced LOCworkflow_handler.go ×1retry_policy.go ×1 · 1 introduced LOCretry_policy.go ×1retry_policy.go ×1 · 2 introduced LOCretry_policy.go ×1TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/chasm/lib/workflow/validator.go · 221 LOCworkflow/validator.gogo.temporal.io/server/common/retrypolicy/retry_policy.go · 97 LOCretrypolicy/retry_policy…go.temporal.io/server/service/frontend/workflow_handler.go · 7521 LOCfrontend/workflow_handle…TestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…maxAttempts_is_1,_coefficient_<_1 · introduced test · go.temporal.io/server/common/retrypolicy/TestValidateRetryPolicy/maxAttempts_is_1,_coefficient_<_1maxAttempts_is_1,_coeffi…TestStartWorkflowExecution_Failed_CronAndStartDelaySet · introduced test · go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestStartWorkflowExecution_Failed_CronAndStartDelaySetTestStartWorkflowExecuti…TestStartWorkflowExecution_Failed_InvalidExecutionTimeout · introduced test · go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestStartWorkflowExecution_Failed_InvalidExecutionTimeoutTestStartWorkflowExecuti…TestStartWorkflowExecution_Failed_InvalidRunTimeout · introduced test · go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestStartWorkflowExecution_Failed_InvalidRunTimeoutTestStartWorkflowExecuti…TestStartWorkflowExecution_Failed_InvalidStartDelay · introduced test · go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestStartWorkflowExecution_Failed_InvalidStartDelayTestStartWorkflowExecuti…TestStartWorkflowExecution_Failed_InvalidTaskTimeout · introduced test · go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestStartWorkflowExecution_Failed_InvalidTaskTimeoutTestStartWorkflowExecuti…TestStartWorkflowExecution_Failed_NamespaceNotSet · introduced test · go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestStartWorkflowExecution_Failed_NamespaceNotSetTestStartWorkflowExecuti…TestStartWorkflowExecution_Failed_TaskQueueNotSet · introduced test · go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestStartWorkflowExecution_Failed_TaskQueueNotSetTestStartWorkflowExecuti…TestStartWorkflowExecution_Failed_WorkflowTypeNotSet · introduced test · go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestStartWorkflowExecution_Failed_WorkflowTypeNotSetTestStartWorkflowExecuti…Focused concept · retry_policy.go ×1 · 4 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.

1 test introduced at this concept.

Introduced code

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

1 file ranked by introduced lines: 4 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 4 introduced LOC · 1 range

Open complete file

64
65 if policy.GetMaximumAttempts() == 1 {
66 > // One maximum attempt effectively disable retries. Validating the retry_policy.go
67 > // rest of the arguments is pointless
68 > return nil
69 > }
70 if err := timestamp.ValidateAndCapProtoDuration(policy.GetInitialInterval()); err != nil {
71 return serviceerror.NewInvalidArgumentf("invalid InitialInterval set on retry policy: %v", err)