require_ctx.go ×1

Frontier kind: Code frontier

unlabeled · c_ed9c5fcf7e1a

29 tests · 26 LOC · 2 files · introduces 0 tests · 4 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
1 range4 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
5 ranges26 lines · 2 files · Browse complete extent
All tests (intent)
29 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 specializationTestGetTaskQueueUserData_LongPoll_WakesUp_FromNothing · 0 introduced LOCTestGetTaskQueueUserData…TestGetTaskQueueUserData_LongPoll_WakesUp_FromNothing · 0 introduced LOCTestGetTaskQueueUserData…TestGetTaskQueueUserData_LongPoll_WakesUp_From2to3 · 0 introduced LOCTestGetTaskQueueUserData…TestGetTaskQueueUserData_LongPoll_WakesUp_From2to3 · 0 introduced LOCTestGetTaskQueueUserData…TestGetTaskQueueUserData_LongPoll_WakesUp_From2to3 · 0 introduced LOCTestGetTaskQueueUserData…TestGetTaskQueueUserData_LongPoll_WakesUp_FromNothing · 0 introduced LOCTestGetTaskQueueUserData…require_ctx.go ×1 · 1 introduced LOCrequire_ctx.go ×1reports_all_attempt_errors_on_timeout · 0 introduced LOCreports_all_attempt_erro…reports_timeout · 0 introduced LOCreports_timeoutreport.go ×1 · 5 introduced LOCreport.go ×1require_ctx.go ×1 · 4 introduced LOCrequire_ctx.go ×1report.go ×1 · 3 introduced LOCreport.go ×1require_ctx.go ×1 · 2 introduced LOCrequire_ctx.go ×1cancels_attempt_context_on_timeout, TestRequire_WaitsForInFlightAttemptOnTimeout, +1 · 0 introduced LOCcancels_attempt_context_…TestRequire_SoftDeadlockLogsAndCancels · 0 introduced LOCTestRequire_SoftDeadlock…TestRequire_SetsTimeoutContextDeadline · 0 introduced LOCTestRequire_SetsTimeoutC…require_ctx.go ×1 · 2 introduced LOCrequire_ctx.go ×1Fatalf · 0 introduced LOCFatalfFatal · 0 introduced LOCFatalFatal_stops_real_TB, Errorf_marks_real_TB_failed · 0 introduced LOCFatal_stops_real_TB, Err…FailNow · 0 introduced LOCFailNowErrorf · 0 introduced LOCErrorfTestRequire_PollIntervalStartsAfterAttemptFinishes · 0 introduced LOCTestRequire_PollInterval…require_ctx.go ×2 · 10 introduced LOCrequire_ctx.go ×2TestRequire_PropagatesParentContextValues · 0 introduced LOCTestRequire_PropagatesPa…TestRequire_ImmediateSuccess · 0 introduced LOCTestRequire_ImmediateSuc…require_ctx.go ×2 · 3 introduced LOCrequire_ctx.go ×2does_not_poll_after_prior_failure · 0 introduced LOCdoes_not_poll_after_prio…config.go ×1 · 12 introduced LOCconfig.go ×1config.go ×2 · 10 introduced LOCconfig.go ×2TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/common/testing/await/config.go · 40 LOCawait/config.gogo.temporal.io/server/common/testing/await/report.go · 94 LOCawait/report.gogo.temporal.io/server/common/testing/await/require_ctx.go · 285 LOCawait/require_ctx.goTestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…TestConfig_OverrideAttemptTimeout · introduced test · go.temporal.io/server/common/testing/await/TestConfig_OverrideAttemptTimeoutTestConfig_OverrideAttem…TestRequire_DeadlockDetected · introduced test · go.temporal.io/server/common/testing/await/TestRequire_DeadlockDetectedTestRequire_DeadlockDete…cancels_attempt_context_on_timeout · introduced test · go.temporal.io/server/common/testing/await/TestRequire_FailureScenarios/cancels_attempt_context_on_timeoutcancels_attempt_context_…caps_attempt_context_with_parent_deadline · introduced test · go.temporal.io/server/common/testing/await/TestRequire_FailureScenarios/caps_attempt_context_with_parent_deadlinecaps_attempt_context_wit…does_not_poll_after_prior_failure · introduced test · go.temporal.io/server/common/testing/await/TestRequire_FailureScenarios/does_not_poll_after_prior_failuredoes_not_poll_after_prio…does_not_poll_again_after_attempt_consumes_timeout · introduced test · go.temporal.io/server/common/testing/await/TestRequire_FailureScenarios/does_not_poll_again_after_attempt_consumes_timeoutdoes_not_poll_again_afte…panic_propagates · introduced test · go.temporal.io/server/common/testing/await/TestRequire_FailureScenarios/panic_propagatespanic_propagatesparent_context_cancellation_stops_polling · introduced test · go.temporal.io/server/common/testing/await/TestRequire_FailureScenarios/parent_context_cancellation_stops_pollingparent_context_cancellat…reports_all_attempt_errors_on_timeout · introduced test · go.temporal.io/server/common/testing/await/TestRequire_FailureScenarios/reports_all_attempt_errors_on_timeoutreports_all_attempt_erro…Errorf_marks_real_TB_failed · introduced test · go.temporal.io/server/common/testing/await/TestRequire_FailureScenarios/reports_real_TB_misuse/Errorf_marks_real_TB_failedErrorf_marks_real_TB_fai…Fatal_stops_real_TB · introduced test · go.temporal.io/server/common/testing/await/TestRequire_FailureScenarios/reports_real_TB_misuse/Fatal_stops_real_TBFatal_stops_real_TBreports_timeout · introduced test · go.temporal.io/server/common/testing/await/TestRequire_FailureScenarios/reports_timeoutreports_timeoutretries_after_attempt_timeout_until_await_timeout · introduced test · go.temporal.io/server/common/testing/await/TestRequire_FailureScenarios/retries_after_attempt_timeout_until_await_timeoutretries_after_attempt_ti…truncates_middle_attempts_when_many_fail · introduced test · go.temporal.io/server/common/testing/await/TestRequire_FailureScenarios/truncates_middle_attempts_when_many_failtruncates_middle_attempt…TestRequire_ImmediateSuccess · introduced test · go.temporal.io/server/common/testing/await/TestRequire_ImmediateSuccessTestRequire_ImmediateSuc…TestRequire_PollIntervalStartsAfterAttemptFinishes · introduced test · go.temporal.io/server/common/testing/await/TestRequire_PollIntervalStartsAfterAttemptFinishesTestRequire_PollInterval…TestRequire_PropagatesParentContextValues · introduced test · go.temporal.io/server/common/testing/await/TestRequire_PropagatesParentContextValuesTestRequire_PropagatesPa…Errorf · introduced test · go.temporal.io/server/common/testing/await/TestRequire_RetriesUntilAttemptPasses/ErrorfErrorfFailNow · introduced test · go.temporal.io/server/common/testing/await/TestRequire_RetriesUntilAttemptPasses/FailNowFailNowFatal · introduced test · go.temporal.io/server/common/testing/await/TestRequire_RetriesUntilAttemptPasses/FatalFatalFatalf · introduced test · go.temporal.io/server/common/testing/await/TestRequire_RetriesUntilAttemptPasses/FatalfFatalfTestRequire_SetsTimeoutContextDeadline · introduced test · go.temporal.io/server/common/testing/await/TestRequire_SetsTimeoutContextDeadlineTestRequire_SetsTimeoutC…TestRequire_SoftDeadlockLogsAndCancels · introduced test · go.temporal.io/server/common/testing/await/TestRequire_SoftDeadlockLogsAndCancelsTestRequire_SoftDeadlock…TestRequire_WaitsForInFlightAttemptOnTimeout · introduced test · go.temporal.io/server/common/testing/await/TestRequire_WaitsForInFlightAttemptOnTimeoutTestRequire_WaitsForInFl…TestGetTaskQueueUserData_LongPoll_WakesUp_From2to3 · introduced test · go.temporal.io/server/service/matching/TestMatchingEngine_Classic_Suite/TestGetTaskQueueUserData_LongPoll_WakesUp_From2to3TestGetTaskQueueUserData…TestGetTaskQueueUserData_LongPoll_WakesUp_FromNothing · introduced test · go.temporal.io/server/service/matching/TestMatchingEngine_Classic_Suite/TestGetTaskQueueUserData_LongPoll_WakesUp_FromNothingTestGetTaskQueueUserData…TestGetTaskQueueUserData_LongPoll_WakesUp_From2to3 · introduced test · go.temporal.io/server/service/matching/TestMatchingEngine_Fair_Suite/TestGetTaskQueueUserData_LongPoll_WakesUp_From2to3TestGetTaskQueueUserData…TestGetTaskQueueUserData_LongPoll_WakesUp_FromNothing · introduced test · go.temporal.io/server/service/matching/TestMatchingEngine_Fair_Suite/TestGetTaskQueueUserData_LongPoll_WakesUp_FromNothingTestGetTaskQueueUserData…TestGetTaskQueueUserData_LongPoll_WakesUp_From2to3 · introduced test · go.temporal.io/server/service/matching/TestMatchingEngine_Pri_Suite/TestGetTaskQueueUserData_LongPoll_WakesUp_From2to3TestGetTaskQueueUserData…TestGetTaskQueueUserData_LongPoll_WakesUp_FromNothing · introduced test · go.temporal.io/server/service/matching/TestMatchingEngine_Pri_Suite/TestGetTaskQueueUserData_LongPoll_WakesUp_FromNothingTestGetTaskQueueUserData…Focused concept · require_ctx.go ×1 · 4 introduced LOCrequire_ctx.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: 4 introduced LOC across 1 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/common/testing/await/require_ctx.go 4 introduced LOC · 1 range

Open complete file

54 // Pass the *await.T to require.*/assert.* — failures cause a retry, not a
55 // test failure. Use t.Context() inside the callback to honor the timeout.
56 > func Require(ctx context.Context, tb testing.TB, condition func(*T), timeout, pollInterval time.Duration) { require_ctx.go
57 > tb.Helper()
58 > run(ctx, tb, condition, legacyConfig(timeout, pollInterval, ""), "Require", requireMisuseHint, true)
59 > }
60
61 // Requiref is like [Require] but adds a formatted message to the timeout