version_checker.go ×1

Frontier kind: Code frontier

unlabeled · c_81901bddf799

23 tests · 8 LOC · 1 file · introduces 0 tests · 8 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
1 range8 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
1 range8 lines · 1 file · Browse complete extent
All tests (intent)
23 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 specializationapi.go ×18 · 122 introduced LOCapi.go ×18TestGetWorkflowExecutionHistory · 0 introduced LOCTestGetWorkflowExecution…get_history_util.go ×3 · 15 introduced LOCget_history_util.go ×3get_history_util.go ×5 · 20 introduced LOCget_history_util.go ×5overrides.go ×5 · 13 introduced LOCoverrides.go ×5two_valid_events · 0 introduced LOCtwo_valid_eventsall_conditions_met · 0 introduced LOCall_conditions_metinvalid_events_-_first_event_not_scheduled · 0 introduced LOCinvalid_events_-_first_e…UI_client, CLI_client · 0 introduced LOCUI_client, CLI_clientGo_SDK_returns_true, PHP_SDK_returns_true, +5 · 0 introduced LOCGo_SDK_returns_true, PHP…get_history_util.go ×1 · 2 introduced LOCget_history_util.go ×1get_history_util.go ×1 · 5 introduced LOCget_history_util.go ×1context_mock.go ×1 · 2 introduced LOCcontext_mock.go ×1sdk_version.go ×1 · 11 introduced LOCsdk_version.go ×1version_checker.go ×2 · 4 introduced LOCversion_checker.go ×2version_checker.go ×1 · 2 introduced LOCversion_checker.go ×1TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/api/token/v1/message.go-helpers.pb.go · 265 LOCv1/message.go-helpers.pb…go.temporal.io/server/api/token/v1/message.pb.go · 809 LOCv1/message.pb.gogo.temporal.io/server/chasm/context_mock.go · 238 LOCchasm/context_mock.gogo.temporal.io/server/common/headers/version_checker.go · 171 LOCheaders/version_checker.…go.temporal.io/server/common/rpc/interceptor/sdk_version.go · 75 LOCinterceptor/sdk_version.…go.temporal.io/server/service/frontend/overrides.go · 58 LOCfrontend/overrides.gogo.temporal.io/server/service/history/api/get_history_util.go · 639 LOCapi/get_history_util.gogo.temporal.io/server/service/history/api/getworkflowexecutionhistory/api.go · 530 LOCgetworkflowexecutionhist…go.temporal.io/server/service/history/api/token.go · 118 LOCapi/token.goTestTransitionStarted · introduced test · go.temporal.io/server/chasm/lib/activity/TestTransitionStartedTestTransitionStartedTestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…TestClientSupported · introduced test · go.temporal.io/server/common/headers/TestVersionCheckerSuite/TestClientSupportedTestClientSupportedTestSDKVersionRecorder · introduced test · go.temporal.io/server/common/rpc/interceptor/TestSDKVersionRecorderTestSDKVersionRecorderTestDisableEagerActivityDispatchForBuggyClients · introduced test · go.temporal.io/server/service/frontend/TestDisableEagerActivityDispatchForBuggyClientsTestDisableEagerActivity…TestGetWorkflowExecutionHistory_InternalRawHistoryEnabled · introduced test · go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestGetWorkflowExecutionHistory_InternalRawHistoryEnabledTestGetWorkflowExecution…TestGetWorkflowExecutionHistory · introduced test · go.temporal.io/server/service/history/TestEngineSuite/TestGetWorkflowExecutionHistoryTestGetWorkflowExecution…TestGetWorkflowExecutionHistory_RawHistoryWithTransientDecision · introduced test · go.temporal.io/server/service/history/TestEngineSuite/TestGetWorkflowExecutionHistory_RawHistoryWithTransientDecisionTestGetWorkflowExecution…CLI_client_returns_false · introduced test · go.temporal.io/server/service/history/api/TestClientSupportsTranOrSpecTasks/CLI_client_returns_falseCLI_client_returns_falseGo_SDK_returns_true · introduced test · go.temporal.io/server/service/history/api/TestClientSupportsTranOrSpecTasks/Go_SDK_returns_trueGo_SDK_returns_trueJava_SDK_returns_true · introduced test · go.temporal.io/server/service/history/api/TestClientSupportsTranOrSpecTasks/Java_SDK_returns_trueJava_SDK_returns_truePHP_SDK_returns_true · introduced test · go.temporal.io/server/service/history/api/TestClientSupportsTranOrSpecTasks/PHP_SDK_returns_truePHP_SDK_returns_truePython_SDK_returns_true · introduced test · go.temporal.io/server/service/history/api/TestClientSupportsTranOrSpecTasks/Python_SDK_returns_truePython_SDK_returns_trueTypeScript_SDK_returns_true · introduced test · go.temporal.io/server/service/history/api/TestClientSupportsTranOrSpecTasks/TypeScript_SDK_returns_trueTypeScript_SDK_returns_t…UI_client_returns_false · introduced test · go.temporal.io/server/service/history/api/TestClientSupportsTranOrSpecTasks/UI_client_returns_falseUI_client_returns_falseno_client_name_returns_true · introduced test · go.temporal.io/server/service/history/api/TestClientSupportsTranOrSpecTasks/no_client_name_returns_trueno_client_name_returns_t…unknown_client_returns_true · introduced test · go.temporal.io/server/service/history/api/TestClientSupportsTranOrSpecTasks/unknown_client_returns_trueunknown_client_returns_t…CLI_client · introduced test · go.temporal.io/server/service/history/api/TestShouldIncludeTransientOrSpeculativeTasks/CLI_clientCLI_clientUI_client · introduced test · go.temporal.io/server/service/history/api/TestShouldIncludeTransientOrSpeculativeTasks/UI_clientUI_clientall_conditions_met · introduced test · go.temporal.io/server/service/history/api/TestShouldIncludeTransientOrSpeculativeTasks/all_conditions_metall_conditions_metempty_history_suffix · introduced test · go.temporal.io/server/service/history/api/TestShouldIncludeTransientOrSpeculativeTasks/empty_history_suffixempty_history_suffixinvalid_events_-_first_event_not_scheduled · introduced test · go.temporal.io/server/service/history/api/TestShouldIncludeTransientOrSpeculativeTasks/invalid_events_-_first_event_not_scheduledinvalid_events_-_first_e…nil_history_suffix · introduced test · go.temporal.io/server/service/history/api/TestShouldIncludeTransientOrSpeculativeTasks/nil_history_suffixnil_history_suffixtwo_valid_events · introduced test · go.temporal.io/server/service/history/api/TestShouldIncludeTransientOrSpeculativeTasks/two_valid_eventstwo_valid_eventsFocused concept · version_checker.go ×1 · 8 introduced LOCversion_checker.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: 8 introduced LOC across 1 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/common/headers/version_checker.go 8 introduced LOC · 1 range

Open complete file

104 // SetVersionsForTests sets headers as they would be received from the client.
105 // Must be used in tests only.
106 > func SetVersionsForTests(ctx context.Context, clientVersion, clientName, supportedServerVersions, supportedFeatures string) context.Context { version_checker.go
107 > return metadata.NewIncomingContext(ctx, metadata.New(map[string]string{
108 > ClientNameHeaderName: clientName,
109 > ClientVersionHeaderName: clientVersion,
110 > SupportedServerVersionsHeaderName: supportedServerVersions,
111 > SupportedFeaturesHeaderName: supportedFeatures,
112 > }))
113 > }
114
115 // ClientSupported returns an error if client is unsupported, nil otherwise.