MCPcopy Create free account

hub / github.com/alibaba/open-code-review / functions

Functions7,169 in github.com/alibaba/open-code-review

MethodRun
(ctx context.Context, _ orchestrator.Request)
acp/internal/adapter/connection_test.go:92
MethodRun
(ctx context.Context, request orchestrator.Request)
acp/internal/adapter/resources_test.go:123
MethodRun
(context.Context, orchestrator.Request)
acp/internal/adapter/presentation/helpers_test.go:17
MethodRun
(context.Context, orchestrator.Request)
acp/internal/adapter/presentation/helpers_test.go:28
MethodRun
(ctx context.Context, request orchestrator.Request)
acp/internal/adapter/presentation/helpers_test.go:40
MethodRun
(ctx context.Context, _ orchestrator.Request)
acp/internal/adapter/presentation/helpers_test.go:47
MethodRun
(ctx context.Context, req orchestrator.Request)
acp/internal/adapter/presentation/helpers_test.go:64
MethodRun
Run starts asynchronous execution and returns immediately. The events channel closes after stream readers finish; it may drop best-effort events when
acp/internal/orchestrator/types.go:167
MethodRunManifest
()
cmd/opencodereview/emit_run_result_test.go:59
FunctionRunningView
({ logs, onCancel }: Props)
extensions/frontend/src/webview/views/RunningView.tsx:10
FunctionScrollToTop
({ pathname })
pages/src/App.tsx:19
FunctionSearchTrigger
({ placeholder, onClick, style }: SearchTriggerProps)
pages/src/components/SearchTrigger.tsx:15
FunctionSelect
({ value, options, placeholder, onChange }: Props)
extensions/frontend/src/webview/components/Select.tsx:19
MethodSessionID
()
cmd/opencodereview/emit_run_result_test.go:57
MethodSessionUpdate
(ctx context.Context, n acp.SessionNotification)
acp/internal/adapter/progress_test.go:27
MethodSessionUpdate
(ctx context.Context, n acp.SessionNotification)
acp/internal/adapter/prompt_test.go:49
MethodSessionUpdate
(_ context.Context, n acp.SessionNotification)
acp/internal/adapter/resources_test.go:207
MethodSessionUpdate
(_ context.Context, n acp.SessionNotification)
acp/internal/adapter/locations_test.go:76
MethodSessionUpdate
(ctx context.Context, p acp.SessionNotification)
acp/internal/adapter/transport/connection.go:79
MethodSetWriteDeadline
(t time.Time)
acp/cmd/ocr-acp/stdio.go:28
FunctionSwitchLangButton
({ to }: { to: Language })
pages/src/pages/DocsPage.test.tsx:87
FunctionTestA11yJS_Contract
(t *testing.T)
internal/viewer/server_extra_test.go:1552
FunctionTestACPProcessHelper
(t *testing.T)
acp/cmd/ocr-acp/main_test.go:47
FunctionTestAWSSettingsRejectedWhenEntryOverridesProtocol
TestAWSSettingsRejectedWhenEntryOverridesProtocol covers the same entry-level protocol override the resolver honours: a preset's protocol can be overr
cmd/opencodereview/bedrock_config_test.go:170
FunctionTestAccumulateResponseStream
(t *testing.T)
internal/llm/responses_client_test.go:810
FunctionTestAccumulateResponseStreamRejectsExcessOutput
(t *testing.T)
internal/llm/responses_client_test.go:875
FunctionTestAccumulateResponseStreamRejectsOversizedItem
(t *testing.T)
internal/llm/responses_client_test.go:897
FunctionTestAccumulateResponseStreamRejectsTerminalBeyondLimit
(t *testing.T)
internal/llm/responses_client_test.go:905
FunctionTestActiveModelForProvider
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1490
FunctionTestActiveModelForProvider_FallsBackToCfgModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1309
FunctionTestActiveModelForProvider_PrefersEntryModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1300
FunctionTestAddColorFlags
(t *testing.T)
cmd/opencodereview/color_test.go:163
FunctionTestAddNextMessage_NoStartThenCancelSameCall
(t *testing.T)
internal/llmloop/runner_test.go:603
FunctionTestAddOutputFlags_IncludesSarif
--- AC-11: --format flag includes sarif ---
cmd/opencodereview/sarif_test.go:360
FunctionTestAddToolFailure
(t *testing.T)
internal/session/history_test.go:509
FunctionTestAddToolResult
(t *testing.T)
internal/session/history_test.go:484
FunctionTestAdjustModelIdxAfterDelete
(t *testing.T)
cmd/opencodereview/provider_tui_rollback_test.go:194
FunctionTestAgentFilesReviewedCountsDispatchableDiffs
(t *testing.T)
internal/agent/coverage_test.go:76
FunctionTestAgentGettersNil
TestAgentGettersNil covers the defensive early returns in the accessor methods when the agent (or its session) was never fully constructed, so callers
internal/agent/agent_test.go:873
FunctionTestAgentGettersNilSafe
TestAgentGettersNilSafe covers the nil-safe guard paths of the small ResultProvider getters, which the happy-path budget/manifest tests do not exercis
internal/agent/getters_test.go:11
FunctionTestAgentLifecycleMethods
(t *testing.T)
acp/internal/adapter/server_test.go:61
FunctionTestAgentSessionAndPrompt
(t *testing.T)
acp/internal/adapter/server_test.go:41
FunctionTestAgent_Getters
(t *testing.T)
internal/scan/coverage_test.go:57
FunctionTestAgent_Getters
(t *testing.T)
internal/agent/coverage_test.go:23
FunctionTestAgent_RecordWarning
(t *testing.T)
internal/agent/coverage_test.go:92
FunctionTestAgent_TokenAccumulation
(t *testing.T)
internal/agent/agent_test.go:1309
FunctionTestAllowlistKeepsEveryTestedExtension
TestAllowlistKeepsEveryTestedExtension ties the explicit table in TestIsAllowedExt to supported_file_types.json. The table above can only test what it
internal/config/allowlist/allowed_ext_test.go:209
FunctionTestAmbientAuthFollowsTheEffectiveProtocol
TestAmbientAuthFollowsTheEffectiveProtocol covers the entry-level protocol override. An entry may override a preset's protocol, so reading ambient aut
internal/llm/bedrock_test.go:167
FunctionTestAnthropicAuthorizationHeader
(t *testing.T)
acp/internal/intent/llm/client_test.go:261
FunctionTestAnthropicCallTool
(t *testing.T)
acp/internal/intent/llm/client_test.go:171
FunctionTestAnthropicClient_ContextSessionKeyOverridesFallback
(t *testing.T)
internal/llm/client_test.go:1904
FunctionTestAnthropicClient_DefaultsToAuthorizationHeader
(t *testing.T)
internal/llm/client_test.go:471
FunctionTestAnthropicClient_ExtraBodyStreamDropped
True and non-boolean stream values must not request SSE while Messages.New expects JSON. Other extra_body keys must still be forwarded.
internal/llm/client_test.go:1425
FunctionTestAnthropicClient_ExtraBodyStreamFalseForwarded
(t *testing.T)
internal/llm/client_test.go:1493
FunctionTestAnthropicClient_ExtraBodyThinkingDroppedWhenBudgetExceedsMaxTokens
TestAnthropicClient_ExtraBodyThinkingDroppedWhenBudgetExceedsMaxTokens guards the real failure this reproduces: a provider config's extra_body.thinkin
internal/llm/client_test.go:1603
FunctionTestAnthropicClient_ExtraBodyThinkingDroppedWithForcedToolChoice
TestAnthropicClient_ExtraBodyThinkingDroppedWithForcedToolChoice verifies that extra_body.thinking — the supported way to turn on extended thinking to
internal/llm/client_test.go:1542
FunctionTestAnthropicClient_ExtraHeadersSent
(t *testing.T)
internal/llm/client_test.go:513
FunctionTestAnthropicClient_NativeOnlySetWhenThinkingPresent
TestAnthropicClient_NativeOnlySetWhenThinkingPresent guards the hasThinking gate in mapAnthropicResponse: an ordinary text + tool_use turn (no thinkin
internal/llm/native_turn_test.go:300
FunctionTestAnthropicClient_NoExtraHeadersWhenEmpty
(t *testing.T)
internal/llm/client_test.go:1384
FunctionTestAnthropicClient_ReplaysThinkingBlockBeforeToolUse
(t *testing.T)
internal/llm/native_turn_test.go:111
FunctionTestAnthropicClient_RetryCodesTriggersRetry
(t *testing.T)
internal/llm/client_test.go:2200
FunctionTestAnthropicClient_SessionKeyExpandedInExtraHeadersAndBody
(t *testing.T)
internal/llm/client_test.go:1783
FunctionTestAnthropicClient_UsesConfiguredAuthorizationHeader
(t *testing.T)
internal/llm/client_test.go:425
FunctionTestAnthropicClient_UsesConfiguredXAPIKeyHeader
(t *testing.T)
internal/llm/client_test.go:379
FunctionTestAnthropicErrors
(t *testing.T)
acp/internal/intent/llm/client_test.go:278
FunctionTestAnthropicForcedToolDisablesThinking
(t *testing.T)
acp/internal/intent/llm/client_test.go:207
FunctionTestAnyToAttr
(t *testing.T)
internal/telemetry/span_test.go:19
FunctionTestApiKeyStepCanConfirm
apiKeyStepCanConfirm gates the final Enter of `ocr config provider`. It has to mirror the resolver's precedence (static api_key -> api_key_cmd -> env
cmd/opencodereview/provider_tui_funcs_test.go:1899
FunctionTestAppendTaskRecord
(t *testing.T)
internal/session/history_test.go:120
FunctionTestAppendTaskRecord_CopiesNativeAndReasoningContent
TestAppendTaskRecord_CopiesNativeAndReasoningContent guards copyMessages' own "deep copy" contract: an assistant history message carrying replay state
internal/session/history_test.go:166
FunctionTestAppendTaskRecord_CopiesToolCallExtraContent
TestAppendTaskRecord_CopiesToolCallExtraContent guards copyMessages' deep-copy contract for the one tool-call field that is a byte slice: a plain elem
internal/session/history_test.go:649
FunctionTestAppendTaskRecord_DefensiveCopy
(t *testing.T)
internal/session/history_test.go:147
FunctionTestAppendTaskRecord_PersistsToolCallExtraContent
TestAppendTaskRecord_PersistsToolCallExtraContent guards the request half of the #1357 contract: a tool call's opaque provider metadata must survive i
internal/session/history_test.go:559
FunctionTestAppendTaskRecord_PersistsToolCallsAndNativePayload
TestAppendTaskRecord_PersistsToolCallsAndNativePayload guards copyMessagesForJSON: the llm_request record's messages must be a self-contained, replaya
internal/session/history_test.go:382
FunctionTestApplyCLIExcludes_AppendsPatterns
(t *testing.T)
cmd/opencodereview/shared_test.go:57
FunctionTestApplyCLIExcludes_Empty
(t *testing.T)
cmd/opencodereview/shared_test.go:49
FunctionTestApplyCLIExcludes_NilFileFilter
(t *testing.T)
cmd/opencodereview/shared_test.go:65
FunctionTestApplyCreateCustomProvider
TestApplyCreateCustomProvider covers the create-custom-provider handler: nil config guard, empty config path guard, empty name, duplicate name, succes
cmd/opencodereview/provider_tui_persist_test.go:177
FunctionTestApplyCustomProviderConfigInvalidName
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:292
FunctionTestApplyCustomProviderConfigNormalizesAuthHeader
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2735
FunctionTestApplyCustomProviderConfigPreservesModelOrder
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2665
FunctionTestApplyCustomProviderConfig_EmptyKeyClearsSavedAPIKey
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:390
FunctionTestApplyCustomProviderConfig_MissingModel
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:307
FunctionTestApplyCustomProviderConfig_MissingProvider
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:285
FunctionTestApplyDedupGroups_AcceptsMarkdownFences
(t *testing.T)
internal/scan/dedup_test.go:84
FunctionTestApplyDedupGroups_KeepCanonicalContentWhenNoMergedContent
(t *testing.T)
internal/scan/dedup_test.go:48
FunctionTestApplyDedupGroups_MergeAndKeep
(t *testing.T)
internal/scan/dedup_test.go:17
FunctionTestApplyDedupGroups_RejectsBadShapes
(t *testing.T)
internal/scan/dedup_test.go:64
FunctionTestApplyEditCustomProviderSave_ClearsAPIKeyWhenEditedEmpty
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:810
FunctionTestApplyEditCustomProviderSave_Guards
TestApplyEditCustomProviderSave_Guards covers the two early-return guards: a nil config and an empty config path.
cmd/opencodereview/provider_tui_editsave_test.go:14
FunctionTestApplyEditCustomProviderSave_PreservesAPIKeyWhenMasked
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:848
FunctionTestApplyEditCustomProviderSave_RenameReassignsActiveProvider
TestApplyEditCustomProviderSave_RenameReassignsActiveProvider covers the name-change branch where the edited provider is also the active provider: the
cmd/opencodereview/provider_tui_editsave_test.go:40
FunctionTestApplyEditCustomProviderSave_SaveFailureRestoresBackup
TestApplyEditCustomProviderSave_SaveFailureRestoresBackup covers the save-failure path where the reload also fails (config path is a directory, so bot
cmd/opencodereview/provider_tui_editsave_test.go:78
FunctionTestApplyEffort
(t *testing.T)
internal/config/template/effort_test.go:41
FunctionTestApplyExtraHeaders
(t *testing.T)
acp/internal/intent/llm/client_test.go:370
FunctionTestApplyLanguage
(t *testing.T)
internal/config/template/template_test.go:303
FunctionTestApplyLanguage
(t *testing.T)
internal/config/testconnection/testconnection_test.go:59
FunctionTestApplyLanguage_DefaultEnglish
(t *testing.T)
internal/config/template/template_test.go:322
FunctionTestApplyLanguage_EmptyLang
(t *testing.T)
internal/config/testconnection/testconnection_test.go:82
FunctionTestApplyLanguage_ScanTemplate
(t *testing.T)
internal/config/template/template_test.go:118
← previousnext →3,201–3,300 of 7,169, ranked by callers