time_skipping_time_source.go ×1

Frontier kind: Code frontier

unlabeled · c_b2c07c044eea

22 tests · 3 LOC · 1 file · introduces 0 tests · 3 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
1 range3 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
1 range3 lines · 1 file · Browse complete extent
All tests (intent)
22 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 specializationtimeskipping.go ×5 · 11 introduced LOCtimeskipping.go ×5TestProcessActivityTimeout_StandbyHeartbeat_DedupUnderSkip · 0 introduced LOCTestProcessActivityTimeo…timeskipping.go ×7 · 28 introduced LOCtimeskipping.go ×7TestProcessActivityTimeout_StandbyFiresUnderSkip · 0 introduced LOCTestProcessActivityTimeo…TestProcessUserTimerTimeout_StandbyFiresUnderSkip · 0 introduced LOCTestProcessUserTimerTime…timer_queue_active_task_executor.go ×1 · 2 introduced LOCtimer_queue_active_task_…timer_queue_active_task_executor.go ×1 · 3 introduced LOCtimer_queue_active_task_…timer_queue_active_task_executor.go ×1 · 3 introduced LOCtimer_queue_active_task_…HasReached · 0 introduced LOCHasReachedtimer_queue_active_task_executor.go ×1 · 3 introduced LOCtimer_queue_active_task_…timer_queue_active_task_executor.go ×2 · 3 introduced LOCtimer_queue_active_task_…ConfigDisabled · 0 introduced LOCConfigDisabledtimeskipping.go ×2 · 8 introduced LOCtimeskipping.go ×2timer_queue_active_task_executor.go ×1 · 3 introduced LOCtimer_queue_active_task_…Discard · 0 introduced LOCDiscardWait · 0 introduced LOCWaittimer_queue_standby_task_executor.go ×1 · 1 introduced LOCtimer_queue_standby_task…timer_queue_standby_task_executor.go ×1 · 2 introduced LOCtimer_queue_standby_task…timer_queue_standby_task_executor.go ×4 · 26 introduced LOCtimer_queue_standby_task…task_generator_mock.go ×1 · 7 introduced LOCtask_generator_mock.go ×…task_refresher.go ×1 · 2 introduced LOCtask_refresher.go ×1executions.pb.go ×1 · 8 introduced LOCexecutions.pb.go ×1timeskipping.go ×2 · 11 introduced LOCtimeskipping.go ×2time_skipping_time_source.go ×1 · 3 introduced LOCtime_skipping_time_sourc…time_skipping_time_source.go ×1 · 3 introduced LOCtime_skipping_time_sourc…time_skipping_time_source.go ×1 · 3 introduced LOCtime_skipping_time_sourc…time_skipping_time_source.go ×1 · 2 introduced LOCtime_skipping_time_sourc…time_skipping_time_source.go ×2 · 4 introduced LOCtime_skipping_time_sourc…TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/api/persistence/v1/executions.pb.go · 5768 LOCv1/executions.pb.gogo.temporal.io/server/common/clock/time_skipping_time_source.go · 48 LOCclock/time_skipping_time…go.temporal.io/server/service/history/historybuilder/history_builder.go · 949 LOChistorybuilder/history_b…go.temporal.io/server/service/history/queues/metrics.go · 246 LOCqueues/metrics.gogo.temporal.io/server/service/history/timer_queue_active_task_executor.go · 1180 LOChistory/timer_queue_acti…go.temporal.io/server/service/history/timer_queue_standby_task_executor.go · 861 LOChistory/timer_queue_stan…go.temporal.io/server/service/history/workflow/mutable_state_impl.go · 9930 LOCworkflow/mutable_state_i…go.temporal.io/server/service/history/workflow/task_generator_mock.go · 374 LOCworkflow/task_generator_…go.temporal.io/server/service/history/workflow/task_refresher.go · 723 LOCworkflow/task_refresher.…go.temporal.io/server/service/history/workflow/timeskipping.go · 523 LOCworkflow/timeskipping.goTestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…TestTimeSkippingTimeSource_AfterFunc_DelegatesToBase · introduced test · go.temporal.io/server/common/clock/TestTimeSkippingTimeSource_AfterFunc_DelegatesToBaseTestTimeSkippingTimeSour…TestTimeSkippingTimeSource_NewTimer_DelegatesToBase · introduced test · go.temporal.io/server/common/clock/TestTimeSkippingTimeSource_NewTimer_DelegatesToBaseTestTimeSkippingTimeSour…TestTimeSkippingTimeSource_Now_NilGetter · introduced test · go.temporal.io/server/common/clock/TestTimeSkippingTimeSource_Now_NilGetterTestTimeSkippingTimeSour…TestTimeSkippingTimeSource_Now_ReadsOffsetLazily · introduced test · go.temporal.io/server/common/clock/TestTimeSkippingTimeSource_Now_ReadsOffsetLazilyTestTimeSkippingTimeSour…TestTimeSkippingTimeSource_Now_WithZeroOffset · introduced test · go.temporal.io/server/common/clock/TestTimeSkippingTimeSource_Now_WithZeroOffsetTestTimeSkippingTimeSour…TestTimeSkippingTimeSource_Since_IncludesOffset · introduced test · go.temporal.io/server/common/clock/TestTimeSkippingTimeSource_Since_IncludesOffsetTestTimeSkippingTimeSour…ConfigDisabled · introduced test · go.temporal.io/server/service/history/TestTimerQueueActiveTaskExecutorSuite/TestExecuteTimeSkippingTimerTask/ConfigDisabledConfigDisabledFastForwardInfoDeleted · introduced test · go.temporal.io/server/service/history/TestTimerQueueActiveTaskExecutorSuite/TestExecuteTimeSkippingTimerTask/FastForwardInfoDeletedFastForwardInfoDeletedHappyPath · introduced test · go.temporal.io/server/service/history/TestTimerQueueActiveTaskExecutorSuite/TestExecuteTimeSkippingTimerTask/HappyPathHappyPathHasReached · introduced test · go.temporal.io/server/service/history/TestTimerQueueActiveTaskExecutorSuite/TestExecuteTimeSkippingTimerTask/HasReachedHasReachedTransitionCountMismatch · introduced test · go.temporal.io/server/service/history/TestTimerQueueActiveTaskExecutorSuite/TestExecuteTimeSkippingTimerTask/TransitionCountMismatchTransitionCountMismatchVersionMismatch · introduced test · go.temporal.io/server/service/history/TestTimerQueueActiveTaskExecutorSuite/TestExecuteTimeSkippingTimerTask/VersionMismatchVersionMismatchWorkflowNotRunning · introduced test · go.temporal.io/server/service/history/TestTimerQueueActiveTaskExecutorSuite/TestExecuteTimeSkippingTimerTask/WorkflowNotRunningWorkflowNotRunningTestProcessActivityTimeout_Heartbeat_DedupUnderSkip · introduced test · go.temporal.io/server/service/history/TestTimerQueueActiveTaskExecutorSuite/TestProcessActivityTimeout_Heartbeat_DedupUnderSkipTestProcessActivityTimeo…Ack · introduced test · go.temporal.io/server/service/history/TestTimerQueueStandbyTaskExecutorSuite/TestExecuteTimeSkippingTimerTask/AckAckDiscard · introduced test · go.temporal.io/server/service/history/TestTimerQueueStandbyTaskExecutorSuite/TestExecuteTimeSkippingTimerTask/DiscardDiscardWait · introduced test · go.temporal.io/server/service/history/TestTimerQueueStandbyTaskExecutorSuite/TestExecuteTimeSkippingTimerTask/WaitWaitTestProcessActivityTimeout_StandbyFiresUnderSkip · introduced test · go.temporal.io/server/service/history/TestTimerQueueStandbyTaskExecutorSuite/TestProcessActivityTimeout_StandbyFiresUnderSkipTestProcessActivityTimeo…TestProcessActivityTimeout_StandbyHeartbeat_DedupUnderSkip · introduced test · go.temporal.io/server/service/history/TestTimerQueueStandbyTaskExecutorSuite/TestProcessActivityTimeout_StandbyHeartbeat_DedupUnderSkipTestProcessActivityTimeo…TestProcessUserTimerTimeout_StandbyFiresUnderSkip · introduced test · go.temporal.io/server/service/history/TestTimerQueueStandbyTaskExecutorSuite/TestProcessUserTimerTimeout_StandbyFiresUnderSkipTestProcessUserTimerTime…DoesNotRegenerate · introduced test · go.temporal.io/server/service/history/workflow/TestTaskRefresherSuite/TestRefreshTasksForTimeSkipping/SkipBeforeDelta/DoesNotRegenerateDoesNotRegenerateRegenerates · introduced test · go.temporal.io/server/service/history/workflow/TestTaskRefresherSuite/TestRefreshTasksForTimeSkipping/SkipWithinDelta/RegeneratesRegeneratesFocused concept · time_skipping_time_source.go ×1 · 3 introduced LOCtime_skipping_time_sourc…

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: 3 introduced LOC across 1 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/common/clock/time_skipping_time_source.go 3 introduced LOC · 1 range

Open complete file

20 // the base's Now()/Since() on every call. If getOffset is nil, the wrapper behaves
21 // as a pass-through to base.
22 > func WrapTimeSourceWithTimeSkipping(base TimeSource, getOffset func() time.Duration) TimeSource { time_skipping_time_source.go
23 > return &TimeSkippingTimeSourceWrapper{base: base, getOffset: getOffset}
24 > }
25
26 func (ts *TimeSkippingTimeSourceWrapper) Now() time.Time {