retrypolicy.go ×1

Frontier kind: Code frontier

unlabeled · c_61b8be5ccb51

6 tests · 30 LOC · 1 file · 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)
6 ranges30 lines · 1 file · Browse complete extent
All tests (intent)
6 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 specializationflag_on_retries_past_cap_until_ctx_cancels · 0 introduced LOCflag_on_retries_past_cap…flag_on_respects_ctx_cancellation · 0 introduced LOCflag_on_respects_ctx_can…TestCreateHistoryClientRetryPolicy_MixedErrorSequence · 0 introduced LOCTestCreateHistoryClientR…TestCreateMatchingClientRetryPolicy_SystemREGating · 0 introduced LOCTestCreateMatchingClient…flag_on_+_system_RE_bypasses_attempt_cap · 0 introduced LOCflag_on_+_system_RE_bypa…TestConditionalRetryPolicy · 0 introduced LOCTestConditionalRetryPoli…retrypolicy.go ×2 · 9 introduced LOCretrypolicy.go ×2retrypolicy.go ×3 · 19 introduced LOCretrypolicy.go ×3TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/common/backoff/retrypolicy.go · 347 LOCbackoff/retrypolicy.goTestCreateHistoryClientRetryPolicy_MixedErrorSequence · introduced test · go.temporal.io/server/common/TestCreateHistoryClientRetryPolicy_MixedErrorSequenceTestCreateHistoryClientR…flag_on_+_system_RE_bypasses_attempt_cap · introduced test · go.temporal.io/server/common/TestCreateHistoryClientRetryPolicy_SystemREGating/flag_on_+_system_RE_bypasses_attempt_capflag_on_+_system_RE_bypa…flag_on_respects_ctx_cancellation · introduced test · go.temporal.io/server/common/TestCreateHistoryClientRetryPolicy_ThrottleRetryContext/flag_on_respects_ctx_cancellationflag_on_respects_ctx_can…flag_on_retries_past_cap_until_ctx_cancels · introduced test · go.temporal.io/server/common/TestCreateHistoryClientRetryPolicy_ThrottleRetryContext/flag_on_retries_past_cap_until_ctx_cancelsflag_on_retries_past_cap…TestCreateMatchingClientRetryPolicy_SystemREGating · introduced test · go.temporal.io/server/common/TestCreateMatchingClientRetryPolicy_SystemREGatingTestCreateMatchingClient…TestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…TestConditionalRetryPolicy · introduced test · go.temporal.io/server/common/backoff/TestRetryPolicySuite/TestConditionalRetryPolicyTestConditionalRetryPoli…Focused concept · retrypolicy.go ×1 · 2 introduced LOCretrypolicy.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/backoff/retrypolicy.go 2 introduced LOC · 1 range

Open complete file

213 func (p *ConditionalRetryPolicy) ComputeNextDelay(elapsedTime time.Duration, numAttempts int, err error) time.Duration {
214 if p.predicate(err) {
215 > return p.whenTrue.ComputeNextDelay(elapsedTime, numAttempts, err) retrypolicy.go
216 > }
217 return p.whenFalse.ComputeNextDelay(elapsedTime, numAttempts, err)
218 }