client.go ×2

Frontier kind: Code frontier

unlabeled · c_05cc2f0aa4d7

35 tests · 6 LOC · 1 file · introduces 0 tests · 6 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
2 ranges6 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
2 ranges6 lines · 1 file · Browse complete extent
All tests (intent)
35 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 specializationoperation.go ×2 · 6 introduced LOCoperation.go ×2sync_failed · 0 introduced LOCsync_failedtask_handler_helpers.go ×3 · 6 introduced LOCtask_handler_helpers.go …task_handler_helpers.go ×3 · 11 introduced LOCtask_handler_helpers.go …async_start · 0 introduced LOCasync_startoperation_tasks.go ×1 · 2 introduced LOCoperation_tasks.go ×1invocation.go ×1 · 7 introduced LOCinvocation.go ×1retryable-http-error · 0 introduced LOCretryable-http-errorexecutors.go ×1 · 4 introduced LOCexecutors.go ×1sync_failed · 0 introduced LOCsync_failedinvocable_outbound.go ×1 · 1 introduced LOCinvocable_outbound.go ×1invocable_outbound.go ×2 · 4 introduced LOCinvocable_outbound.go ×2executors.go ×4 · 9 introduced LOCexecutors.go ×4statemachine.go ×3 · 6 introduced LOCstatemachine.go ×3async_start · 0 introduced LOCasync_startexecutors.go ×1 · 4 introduced LOCexecutors.go ×1executors.go ×1 · 2 introduced LOCexecutors.go ×1executors.go ×1 · 7 introduced LOCexecutors.go ×1transient_error · 0 introduced LOCtransient_errorfailure · 0 introduced LOCfailureexecutors.go ×1 · 2 introduced LOCexecutors.go ×1transient_error · 0 introduced LOCtransient_errorfailure · 0 introduced LOCfailuresuccess_with_headers · 0 introduced LOCsuccess_with_headerssuccess · 0 introduced LOCsuccesstask_handler_helpers.go ×2 · 3 introduced LOCtask_handler_helpers.go …executors.go ×2 · 3 introduced LOCexecutors.go ×2success_with_headers · 0 introduced LOCsuccess_with_headerssuccess · 0 introduced LOCsuccessretryable-error · 0 introduced LOCretryable-errornexus_invocation.go ×1 · 1 introduced LOCnexus_invocation.go ×1nexus_invocation.go ×2 · 4 introduced LOCnexus_invocation.go ×2failure_converter.go ×1 · 1 introduced LOCfailure_converter.go ×1handle.go ×1 · 5 introduced LOChandle.go ×1client.go ×4 · 14 introduced LOCclient.go ×4client.go ×1 · 4 introduced LOCclient.go ×1client.go ×4 · 16 introduced LOCclient.go ×4TestCancel_HandleFromStart · 0 introduced LOCTestCancel_HandleFromSta…client.go ×1 · 2 introduced LOCclient.go ×1client.go ×4 · 16 introduced LOCclient.go ×4client.go ×1 · 2 introduced LOCclient.go ×1TestAsync · 0 introduced LOCTestAsyncclient.go ×7 · 15 introduced LOCclient.go ×7client.go ×1 · 2 introduced LOCclient.go ×1completion.go ×1 · 2 introduced LOCcompletion.go ×1server.go ×1 · 1 introduced LOCserver.go ×1client.go ×2 · 3 introduced LOCclient.go ×2server.go ×1 · 2 introduced LOCserver.go ×1TestCancel_RequestTimeoutHeaderOverridesContextDeadline · 0 introduced LOCTestCancel_RequestTimeou…TestCancel_HandleFromClient, TestCancel_ContextDeadlinePropagated · 0 introduced LOCTestCancel_HandleFromCli…TestCancel_TimeoutNotPropagated · 0 introduced LOCTestCancel_TimeoutNotPro…handle.go ×1 · 1 introduced LOChandle.go ×1handle.go ×2 · 3 introduced LOChandle.go ×2completion.go ×2 · 3 introduced LOCcompletion.go ×2server.go ×1 · 2 introduced LOCserver.go ×1client.go ×1 · 2 introduced LOCclient.go ×1server.go ×1 · 1 introduced LOCserver.go ×1client.go ×3 · 4 introduced LOCclient.go ×3client.go ×1 · 2 introduced LOCclient.go ×1client.go ×1 · 2 introduced LOCclient.go ×1client.go ×5 · 19 introduced LOCclient.go ×5client.go ×1 · 3 introduced LOCclient.go ×1client.go ×1 · 3 introduced LOCclient.go ×1client.go ×1 · 2 introduced LOCclient.go ×1TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/chasm/lib/callback/invocable_outbound.go · 110 LOCcallback/invocable_outbo…go.temporal.io/server/chasm/lib/nexusoperation/invocation.go · 295 LOCnexusoperation/invocatio…go.temporal.io/server/chasm/lib/nexusoperation/operation.go · 713 LOCnexusoperation/operation…go.temporal.io/server/chasm/lib/nexusoperation/operation_tasks.go · 413 LOCnexusoperation/operation…go.temporal.io/server/chasm/lib/nexusoperation/task_handler_helpers.go · 380 LOCnexusoperation/task_hand…go.temporal.io/server/common/nexus/nexusrpc/api.go · 295 LOCnexusrpc/api.gogo.temporal.io/server/common/nexus/nexusrpc/client.go · 502 LOCnexusrpc/client.gogo.temporal.io/server/common/nexus/nexusrpc/completion.go · 327 LOCnexusrpc/completion.gogo.temporal.io/server/common/nexus/nexusrpc/failure_converter.go · 213 LOCnexusrpc/failure_convert…go.temporal.io/server/common/nexus/nexusrpc/handle.go · 49 LOCnexusrpc/handle.gogo.temporal.io/server/common/nexus/nexusrpc/server.go · 404 LOCnexusrpc/server.gogo.temporal.io/server/components/callbacks/nexus_invocation.go · 111 LOCcallbacks/nexus_invocati…go.temporal.io/server/components/nexusoperations/executors.go · 1250 LOCnexusoperations/executor…go.temporal.io/server/components/nexusoperations/statemachine.go · 682 LOCnexusoperations/statemac…non-retryable-http-error · introduced test · go.temporal.io/server/chasm/lib/callback/TestExecuteInvocationTaskNexus_Outcomes/non-retryable-http-errornon-retryable-http-errorretryable-http-error · introduced test · go.temporal.io/server/chasm/lib/callback/TestExecuteInvocationTaskNexus_Outcomes/retryable-http-errorretryable-http-errorfailure · introduced test · go.temporal.io/server/chasm/lib/nexusoperation/TestCancellationInvocationTaskHandler_HTTP/failurefailuresuccess · introduced test · go.temporal.io/server/chasm/lib/nexusoperation/TestCancellationInvocationTaskHandler_HTTP/successsuccesssuccess_with_headers · introduced test · go.temporal.io/server/chasm/lib/nexusoperation/TestCancellationInvocationTaskHandler_HTTP/success_with_headerssuccess_with_headerstransient_error · introduced test · go.temporal.io/server/chasm/lib/nexusoperation/TestCancellationInvocationTaskHandler_HTTP/transient_errortransient_errorasync_start · introduced test · go.temporal.io/server/chasm/lib/nexusoperation/TestInvocationTaskHandler_HTTP/async_startasync_startoperation_timeout_header_set_by_StartToCloseTimeout · introduced test · go.temporal.io/server/chasm/lib/nexusoperation/TestInvocationTaskHandler_HTTP/operation_timeout_header_set_by_StartToCloseTimeoutoperation_timeout_header…sync_canceled · introduced test · go.temporal.io/server/chasm/lib/nexusoperation/TestInvocationTaskHandler_HTTP/sync_canceledsync_canceledsync_failed · introduced test · go.temporal.io/server/chasm/lib/nexusoperation/TestInvocationTaskHandler_HTTP/sync_failedsync_failedtoken_too_long · introduced test · go.temporal.io/server/chasm/lib/nexusoperation/TestInvocationTaskHandler_HTTP/token_too_longtoken_too_longtransient_error · introduced test · go.temporal.io/server/chasm/lib/nexusoperation/TestInvocationTaskHandler_HTTP/transient_errortransient_errorTestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…TestAsync · introduced test · go.temporal.io/server/common/nexus/nexusrpc/TestAsyncTestAsyncTestBadRequestCompletion · introduced test · go.temporal.io/server/common/nexus/nexusrpc/TestBadRequestCompletionTestBadRequestCompletionTestCancel_ContextDeadlinePropagated · introduced test · go.temporal.io/server/common/nexus/nexusrpc/TestCancel_ContextDeadlinePropagatedTestCancel_ContextDeadli…TestCancel_HandleFromClient · introduced test · go.temporal.io/server/common/nexus/nexusrpc/TestCancel_HandleFromClientTestCancel_HandleFromCli…TestCancel_HandleFromStart · introduced test · go.temporal.io/server/common/nexus/nexusrpc/TestCancel_HandleFromStartTestCancel_HandleFromSta…TestCancel_RequestTimeoutHeaderOverridesContextDeadline · introduced test · go.temporal.io/server/common/nexus/nexusrpc/TestCancel_RequestTimeoutHeaderOverridesContextDeadlineTestCancel_RequestTimeou…TestCancel_TimeoutNotPropagated · introduced test · go.temporal.io/server/common/nexus/nexusrpc/TestCancel_TimeoutNotPropagatedTestCancel_TimeoutNotPro…TestCustomFailureConverter · introduced test · go.temporal.io/server/common/nexus/nexusrpc/TestCustomFailureConverterTestCustomFailureConvert…TestHandlerErrorRetryBehavior · introduced test · go.temporal.io/server/common/nexus/nexusrpc/TestHandlerErrorRetryBehaviorTestHandlerErrorRetryBeh…TestUnsuccessful · introduced test · go.temporal.io/server/common/nexus/nexusrpc/TestUnsuccessfulTestUnsuccessfulnon-retryable-error · introduced test · go.temporal.io/server/components/callbacks/TestProcessInvocationTaskNexus_Outcomes/non-retryable-errornon-retryable-errorretryable-error · introduced test · go.temporal.io/server/components/callbacks/TestProcessInvocationTaskNexus_Outcomes/retryable-errorretryable-errorfailure · introduced test · go.temporal.io/server/components/nexusoperations/TestProcessCancelationTask/failurefailuresuccess · introduced test · go.temporal.io/server/components/nexusoperations/TestProcessCancelationTask/successsuccesssuccess_with_headers · introduced test · go.temporal.io/server/components/nexusoperations/TestProcessCancelationTask/success_with_headerssuccess_with_headerstransient_error · introduced test · go.temporal.io/server/components/nexusoperations/TestProcessCancelationTask/transient_errortransient_errorasync_start · introduced test · go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/async_startasync_startcancel_before_start · introduced test · go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/cancel_before_startcancel_before_startoperation_timeout_header_set_by_StartToCloseTimeout · introduced test · go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/operation_timeout_header_set_by_StartToCloseTimeoutoperation_timeout_header…sync_canceled · introduced test · go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/sync_canceledsync_canceledsync_failed · introduced test · go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/sync_failedsync_failedtoken_to_long · introduced test · go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/token_to_longtoken_to_longtransient_error · introduced test · go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/transient_errortransient_errorFocused concept · client.go ×2 · 6 introduced LOCclient.go ×2

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

go.temporal.io/server/common/nexus/nexusrpc/client.go 6 introduced LOC · 2 ranges

Open complete file

402 // body with an in-memory buffer.
403 // The body is replaced even when there was an error reading the entire body.
404 > func readAndReplaceBody(response *http.Response) ([]byte, error) { client.go
405 > responseBody := response.Body
406 > body, err := io.ReadAll(responseBody)
407 > if err := responseBody.Close(); err != nil {
408 return nil, err
409 }
410 > response.Body = io.NopCloser(bytes.NewReader(body)) client.go
411 > return body, err
412 }
413