MCPcopy Create free account

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

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

FunctionTestPendingFailureCauseSweepsWithoutForcingFailed
A pending failure cause attributes the undecided items without escalating the run: it is a controlled coverage truncation, so anything already covered
internal/session/manifest_test.go:176
FunctionTestPendingFailureCauseWithNoCoverageIsFailed
When the truncation leaves nothing covered, the same coverage rule that produced partial above produces failed here — no run_failure needed. This is t
internal/session/manifest_test.go:203
FunctionTestPendingLoginConcurrentAccountOperations
(t *testing.T)
internal/chatgptauth/recovery_test.go:225
FunctionTestPendingRefreshLogoutAndClear
(t *testing.T)
internal/chatgptauth/refresh_recovery_test.go:187
FunctionTestPendingRefreshRecoversAfterIDAndAccessExpiry
(t *testing.T)
internal/chatgptauth/refresh_recovery_test.go:227
FunctionTestPendingRefreshRejectsUnverifiedIdentity
(t *testing.T)
internal/chatgptauth/refresh_recovery_test.go:110
FunctionTestPersistAddedModelName
TestPersistAddedModelName covers modelTUIModel.persistAddedModelName: empty name, nil config, custom success, official success, and both save failures
cmd/opencodereview/provider_tui_persist_test.go:280
FunctionTestPersistCustomModelName
TestPersistCustomModelName covers the providerTUIModel.persistCustomModelName branches: empty name, nil config, custom-tab success, official-tab succe
cmd/opencodereview/provider_tui_persist_test.go:17
FunctionTestPhaseEnabled
(t *testing.T)
internal/scan/coverage_test.go:1303
FunctionTestPhaseEnabled_GatedByTemplateAndFlag
(t *testing.T)
internal/scan/estimate_test.go:150
FunctionTestPhaseEvent_Success
(t *testing.T)
internal/telemetry/events_test.go:131
FunctionTestPhaseEvent_WithError
(t *testing.T)
internal/telemetry/events_test.go:137
FunctionTestPlanEnabledFor
(t *testing.T)
internal/scan/agent_test.go:216
FunctionTestPlanRequired
(t *testing.T)
internal/config/template/template_test.go:502
FunctionTestPlanToolReferencesRemainReferenceOnly
(test *testing.T)
internal/agent/coverage_test.go:655
FunctionTestPositionalSignature
(t *testing.T)
cmd/opencodereview/arg_errors_test.go:260
FunctionTestPostErrors
(t *testing.T)
acp/internal/intent/llm/client_test.go:342
FunctionTestPreparationAndArtifactFailures
(test *testing.T)
internal/behaviortask/context_test.go:117
FunctionTestPrepareFixedInput
(test *testing.T)
internal/behaviortask/prepare_test.go:105
FunctionTestPreparePreservesInventoryAcrossRenameLimit
(test *testing.T)
internal/behaviortask/scope_regression_test.go:17
FunctionTestPrepareRejectsWorkspace
(test *testing.T)
internal/behaviortask/prepare_test.go:98
FunctionTestPrepareRenameExclusion
(test *testing.T)
internal/behaviortask/prepare_test.go:208
FunctionTestPrepareReviewCodeTools
(test *testing.T)
cmd/opencodereview/code_access_test.go:20
FunctionTestPrepareReviewCodeToolsErrors
(test *testing.T)
cmd/opencodereview/code_access_test.go:78
FunctionTestPrepareRootAndEmptyRange
(test *testing.T)
internal/behaviortask/prepare_test.go:187
FunctionTestPreparedReplaySmoke
(test *testing.T)
internal/behaviortask/replay_test.go:18
FunctionTestPreterminatedRequestDoesNotStartOCR
(t *testing.T)
acp/internal/orchestrator/termination_test.go:30
FunctionTestPreview
TestPreview exercises Agent.Preview against a real workspace diff so the full preview-building path (loadDiffs + whyExcluded + entry assembly) runs.
internal/agent/preview_run_test.go:58
FunctionTestPreviewEmptyEntriesNotNil
TestPreviewEmptyEntriesNotNil pins that a clean workspace still yields a non-nil Entries slice, so JSON output marshals `"files":[]` instead of `"file
internal/agent/preview_run_test.go:396
FunctionTestPreviewEntry_ExcludeReasonOmitEmpty
(t *testing.T)
internal/model/model_test.go:64
FunctionTestPreviewEntry_JSONRoundTrip
(t *testing.T)
internal/model/model_test.go:39
FunctionTestPreviewKeepsChangesetOrder
TestPreviewKeepsChangesetOrder pins issue #1236: provider-directory entries sit where Git lists them rather than ahead of every other file, so the pre
internal/agent/preview_run_test.go:167
FunctionTestPreviewMarksOversizedDiffTooLarge
TestPreviewMarksOversizedDiffTooLarge pins that preview applies the per-file diff-size ceiling the real run applies before dispatch, and reports it un
internal/agent/preview_run_test.go:250
FunctionTestPreviewMatchesRunSelectedCoverage
TestPreviewMatchesRunSelectedCoverage is the property #782 asked for: preview's will_review set must equal the set a fresh, non-resumed, unbudgeted ru
internal/agent/preview_run_test.go:293
FunctionTestPreviewMaxTokensMatchesRun
TestPreviewMaxTokensMatchesRun pins the one input preview and the run do not share: the per-file token ceiling. Both resolve it through the same resol
cmd/opencodereview/review_helpers_test.go:262
FunctionTestPreviewOmitsUntrackedProviderDirFile
TestPreviewOmitsUntrackedProviderDirFile pins the tracked-only scope of issue #1235: an untracked file under a provider directory is dropped before a
internal/agent/preview_run_test.go:134
FunctionTestPreviewReportsGitignoredTrackedFile
TestPreviewReportsGitignoredTrackedFile checks that a tracked file the repository's .gitignore matches is reported as excluded. If it were dropped fro
internal/agent/preview_run_test.go:424
FunctionTestPreviewShowsProviderExcludedVendorDiff
TestPreviewShowsProviderExcludedVendorDiff pins issue #1197: a tracked file under vendor/ is intentionally not reviewable, but Preview must still show
internal/agent/preview_run_test.go:88
FunctionTestPreview_DoesNotMutateAgentItems
TestPreview_DoesNotMutateAgentItems guards against re-introducing a side-effect that pre-populated a.items, which made subsequent Run calls on the sam
internal/scan/agent_test.go:103
FunctionTestPreview_EmptyResultEntriesIsNonNilSlice
TestPreview_EmptyResultEntriesIsNonNilSlice prevents `"files":null` in JSON output when there is nothing reviewable to enumerate.
internal/scan/agent_test.go:127
FunctionTestPrintDiffLine
(t *testing.T)
cmd/opencodereview/output_helpers_test.go:663
FunctionTestPrintDiffLine_NoColor
(t *testing.T)
cmd/opencodereview/output_color_test.go:66
FunctionTestPrintToolCallError
(t *testing.T)
internal/telemetry/events_test.go:239
FunctionTestPrintToolCallFinished
(t *testing.T)
internal/telemetry/events_test.go:235
FunctionTestPrintToolCallStarted_NoArgs
(t *testing.T)
internal/telemetry/events_test.go:231
FunctionTestPrintToolCallStarted_WithArgs
(t *testing.T)
internal/telemetry/events_test.go:227
FunctionTestPrintTraceSummary_NoTokenDetails
(t *testing.T)
internal/telemetry/events_test.go:181
FunctionTestPrintTraceSummary_WithCacheTokens
(t *testing.T)
internal/telemetry/events_test.go:166
FunctionTestPrintTraceSummary_WithSessionID
(t *testing.T)
internal/telemetry/events_test.go:195
FunctionTestPrintTraceSummary_WithTokenDetails
(t *testing.T)
internal/telemetry/events_test.go:152
FunctionTestPrintTraceSummary_WithoutSessionID
(t *testing.T)
internal/telemetry/events_test.go:211
FunctionTestPrintVersion_Dev
(t *testing.T)
cmd/opencodereview/smallfiles_test.go:15
FunctionTestPrintVersion_WithCommitAndDate
(t *testing.T)
cmd/opencodereview/smallfiles_test.go:40
FunctionTestPrintWizardCancelled
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:545
FunctionTestProbeGitDir_GitRepo
(t *testing.T)
cmd/opencodereview/git_test.go:218
FunctionTestProbeGitDir_MissingGitBinary
TestProbeGitDir_MissingGitBinary pins the other half of the classification: with no git to ask, "is this inside a repository" has no answer, so the pr
cmd/opencodereview/git_test.go:231
FunctionTestProbeGitDir_PlainDir
(t *testing.T)
cmd/opencodereview/git_test.go:182
FunctionTestProbeVersionAcceptsExactLimit
(t *testing.T)
acp/internal/orchestrator/resolve_test.go:111
FunctionTestProbeVersionRejectsOutputLimitAndTimeout
(t *testing.T)
acp/internal/orchestrator/resolve_test.go:84
FunctionTestProgressCancellationFinishesToolAfterCleanup
(t *testing.T)
acp/internal/adapter/presentation/progress_test.go:205
FunctionTestProgressDetailsArriveBeforeRunnerCompletes
(t *testing.T)
acp/internal/adapter/presentation/progress_test.go:75
FunctionTestProgressLogPreservesLinesAndBounds
(t *testing.T)
acp/internal/adapter/presentation/progress_format_test.go:17
FunctionTestProgressOutputFailureWaitsForCleanup
(t *testing.T)
acp/internal/adapter/presentation/progress_test.go:129
FunctionTestProgressStartFailureDoesNotRunOCR
(t *testing.T)
acp/internal/adapter/presentation/progress_test.go:55
FunctionTestProgressStyleConcurrentWrites
(test *testing.T)
internal/stdout/style_test.go:57
FunctionTestProgressStylePreservesText
(test *testing.T)
internal/stdout/style_test.go:19
FunctionTestProgressStyleWriteErrors
(test *testing.T)
internal/stdout/style_test.go:81
FunctionTestProgressTerminalStates
(t *testing.T)
acp/internal/adapter/presentation/progress_test.go:176
FunctionTestProgressTitleIsSingleLineBoundedAndEscaped
(t *testing.T)
acp/internal/adapter/presentation/progress_format_test.go:52
FunctionTestProgressUsesOneCollapsibleToolAndKeepsLogsOutOfChat
(t *testing.T)
acp/internal/adapter/progress_test.go:96
FunctionTestPromptContentCanonicalResourcePath
(t *testing.T)
acp/internal/adapter/resources_test.go:101
FunctionTestPromptContentRejectsUnavailableResources
(t *testing.T)
acp/internal/adapter/resources_test.go:70
FunctionTestPromptContentRejectsUnreadableResource
(t *testing.T)
acp/internal/adapter/resources_test.go:93
FunctionTestPromptContentResources
(t *testing.T)
acp/internal/adapter/resources_test.go:19
FunctionTestPromptErrorsAndCancel
(t *testing.T)
acp/internal/adapter/server_test.go:120
FunctionTestPromptFindingsAppearOnlyInFinalMessage
(t *testing.T)
acp/internal/adapter/locations_test.go:81
FunctionTestPromptOutcomeBranches
(t *testing.T)
acp/internal/adapter/server_test.go:111
FunctionTestPromptProgressFailurePreservesErrorAndFinalizesTool
(t *testing.T)
acp/internal/adapter/progress_test.go:145
FunctionTestPromptRejectAndClarify
(t *testing.T)
acp/internal/adapter/server_test.go:99
FunctionTestPromptScanAndTimeout
(t *testing.T)
acp/internal/adapter/server_test.go:136
FunctionTestPromptTokenLimit
(t *testing.T)
internal/llmloop/compression_test.go:298
FunctionTestPromptTokenLimitMatchesReplacedExpression
TestPromptTokenLimitMatchesReplacedExpression pins the one-time migration: PromptTokenLimit replaced a literal `maxTokens*4/5` at four call sites, so
internal/llmloop/compression_test.go:327
FunctionTestProviderAmbientProtocolOverrideCanBeSaved
(t *testing.T)
cmd/opencodereview/provider_gateway_test.go:81
FunctionTestProviderDirPrefix
(t *testing.T)
internal/diff/gitignore_test.go:35
FunctionTestProviderErrorSpansUseSafeSummary
(test *testing.T)
internal/llmloop/request_budget_test.go:20
FunctionTestProviderGatewayKeySurvivesModelSelection
(t *testing.T)
cmd/opencodereview/provider_gateway_test.go:13
FunctionTestProviderGatewayOverrideRequiresCredential
(t *testing.T)
cmd/opencodereview/provider_gateway_test.go:110
FunctionTestProviderIsEmittedEvenWhenEmpty
provider is required but may be empty: an empty string stably denotes an unnamed endpoint and must not be omitted.
internal/llm/retry_report_test.go:807
FunctionTestProviderReloadConfigAfterSaveFailure
(t *testing.T)
cmd/opencodereview/provider_tui_rollback_test.go:170
FunctionTestProviderTUINonConfigCredentialProviderDropsPreviousKey
(t *testing.T)
cmd/opencodereview/bedrock_config_test.go:356
FunctionTestProviderTUINonConfigCredentialProviderSkipsAPIKeyStep
TestProviderTUINonConfigCredentialProviderSkipsAPIKeyStep pins the wizard flow: the model step is the last one for a provider with no key to collect.
cmd/opencodereview/bedrock_config_test.go:307
FunctionTestProviderTUIResult_ManualProtocolIsCanonical
TestProviderTUIResult_ManualProtocolIsCanonical makes sure result() for the Manual tab returns the canonical protocol name picked from manualProtocols
cmd/opencodereview/provider_tui_test.go:2991
FunctionTestProviderTUIResult_ResolvedModel
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:489
FunctionTestProviderTUIView_CustomForm_AllSteps
--- viewCustomProviderForm field steps ---
cmd/opencodereview/provider_tui_funcs_test.go:2125
FunctionTestProviderTUIView_CustomForm_WithError
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:2138
FunctionTestProviderTUIView_ManualForm_AllSteps
--- viewManualTab field steps ---
cmd/opencodereview/provider_tui_funcs_test.go:2151
FunctionTestProviderTUIView_ManualForm_URLErrorUnderField
The URL error is rendered under the URL input, so the user sees it next to the value to fix instead of below the other fields.
cmd/opencodereview/provider_tui_funcs_test.go:2177
FunctionTestProviderTUIView_ManualForm_WithError
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:2164
FunctionTestProviderTUIView_ManualTab_WithExistingConfig
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:2200
FunctionTestProviderTUIView_OfficialTab_ShowsActiveModelSuffix
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:106
← previousnext →5,201–5,300 of 7,599, ranked by callers