MCPcopy Create free account

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

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

FunctionTestVersionCaptureBoundsChildOutput
(t *testing.T)
acp/internal/orchestrator/resolve_test.go:95
FunctionTestVersionProbeAllowsBriefInheritedOutputWait
(t *testing.T)
acp/internal/orchestrator/resolve_probe_test.go:17
FunctionTestVersionProbeBoundsInheritedOutputWait
(t *testing.T)
acp/internal/orchestrator/resolve_probe_test.go:29
FunctionTestVersionTooOldError_Error
(t *testing.T)
internal/gitcmd/version_test.go:78
FunctionTestViewerCmd_DefaultAddr
(t *testing.T)
cmd/opencodereview/smallfiles_test.go:68
FunctionTestViewerCmd_RejectsInvalidOpenMode
TestViewerCmd_RejectsInvalidOpenMode pins the validation wiring: an unknown value must fail before the server binds a socket. RunE runs under a deadl
cmd/opencodereview/smallfiles_test.go:92
FunctionTestViewerReadsSessionEndLargerThanScannerLimit
(t *testing.T)
internal/viewer/store_load_test.go:301
FunctionTestVisibleRunesLen
(t *testing.T)
cmd/opencodereview/output_helpers_test.go:127
FunctionTestWaitBackground_JoinsCompressionBeforeFreeze
The run boundary joins background memory compression before the report is frozen. Without that join, Freeze can see a request that recorded attempts b
internal/llmloop/retry_background_test.go:65
FunctionTestWaitBackground_NoJobIsANoOp
WaitBackground must also be safe when no job ever started and when it is called twice, because the run boundary calls it unconditionally on every exit
internal/llmloop/retry_background_test.go:108
FunctionTestWaiveAfterFailedErrorsAndKeepsFailed
Within a single run, waiving an item that has already failed is a conflicting transition: it returns an error and the first terminal state wins.
internal/session/manifest_test.go:577
FunctionTestWaiveEmptyReasonRejected
A waived item requires a non-empty reason.
internal/session/manifest_test.go:411
FunctionTestWaivedResolvesToComplete
Waived items count as resolved (non-failed): a run with completed + waived and no failed is complete.
internal/session/manifest_test.go:272
FunctionTestWarningsForOutput
TestWarningsForOutput covers warningsForOutput: the early pass-through when there is no manifest, the all-filtered case that collapses to nil, and the
cmd/opencodereview/output_manifest_test.go:17
FunctionTestWholeRepoScanPathScopeResumeRoundTrip
(t *testing.T)
internal/session/persist_test.go:533
FunctionTestWhyExcluded_AllBranches
(t *testing.T)
internal/scan/coverage_test.go:168
FunctionTestWhyExcluded_BinaryFile
(t *testing.T)
internal/agent/preview_test.go:13
FunctionTestWhyExcluded_DefaultPathFilter
(t *testing.T)
internal/agent/preview_test.go:162
FunctionTestWhyExcluded_ExtensionFilter
(t *testing.T)
internal/agent/preview_test.go:100
FunctionTestWhyExcluded_IncludeAndExcludeInteraction
TestWhyExcluded_IncludeAndExcludeInteraction verifies priority: user exclude patterns take precedence over include patterns.
internal/agent/preview_test.go:349
FunctionTestWhyExcluded_IncludeBypassesDefaultPath
TestWhyExcluded_IncludeBypassesDefaultPath verifies that a file matching an include pattern is reviewed even when it would normally be excluded by the
internal/agent/preview_test.go:309
FunctionTestWhyExcluded_PriorityOrder
(t *testing.T)
internal/agent/preview_test.go:395
FunctionTestWhyExcluded_SecretPath
Scan must apply the same secret precedence as the review side, so a credential path is classified identically whichever selection path reaches it.
internal/scan/coverage_test.go:238
FunctionTestWhyExcluded_SecretPath
Credential paths are excluded before either user rule is consulted, so neither an include nor an exclude can change the outcome or the reason.
internal/agent/preview_test.go:416
FunctionTestWhyExcluded_SecretRename
(t *testing.T)
internal/agent/preview_test.go:506
FunctionTestWhyExcluded_UserExcludePattern
(t *testing.T)
internal/agent/preview_test.go:55
FunctionTestWhyExcluded_UserIncludePattern
(t *testing.T)
internal/agent/preview_test.go:210
FunctionTestWindowSizeMsg
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:564
FunctionTestWindowsCancellationWithoutConsole
(test *testing.T)
acp/internal/orchestrator/process_windows_test.go:39
FunctionTestWindowsJobObjectReapsGrandchild
(t *testing.T)
acp/internal/orchestrator/process_windows_test.go:63
FunctionTestWindowsPathWithSpacesAndNonASCII
(t *testing.T)
acp/internal/orchestrator/process_windows_test.go:96
FunctionTestWindowsRepeatedCancelDoesNotLeakJobs
(t *testing.T)
acp/internal/orchestrator/process_windows_test.go:113
FunctionTestWindows_OutputCancelledWithOrphanHoldingStderr
A stderr-only orphan must not keep the call alive either: stdout reaches EOF immediately, so only the owned stderr pipe can be the blocker.
internal/gitcmd/runner_pipe_windows_test.go:213
FunctionTestWindows_QueuedRequestProceedsAfterCancellation
A request already queued on a one-slot Runner must proceed once a cancelled call releases its slot. The first call is held open until the second one i
internal/gitcmd/runner_pipe_windows_test.go:241
FunctionTestWindows_RunSplitCancelledWithOrphanHoldingStdout
A cancelled RunSplit must return within the grace period, report the context cause, and not wait for a descendant that inherited only stdout.
internal/gitcmd/runner_pipe_windows_test.go:156
FunctionTestWindows_StreamCancelledWithOrphanHoldingStdout
The same bound and cause must hold for Stream, where the consumer blocks on the pipe before Wait is reached.
internal/gitcmd/runner_pipe_windows_test.go:183
FunctionTestWindows_SuccessWithLateDescendantOutput
A successful command whose descendant flushes late must still succeed with complete output, so the grace period never leaks into the success path.
internal/gitcmd/runner_pipe_windows_test.go:304
FunctionTestWireBusyDoesNotCancelRunningPrompt
(t *testing.T)
acp/internal/adapter/connection_test.go:128
FunctionTestWireCancelNotificationEndsPrompt
(t *testing.T)
acp/internal/adapter/connection_test.go:246
FunctionTestWireCommandsFollowSessionResponse
(t *testing.T)
acp/internal/adapter/discovery_test.go:51
FunctionTestWireDisconnectShutdownWaitsForTaskCleanup
(t *testing.T)
acp/internal/adapter/connection_test.go:167
FunctionTestWireInitializeAndUnsupportedMethods
(t *testing.T)
acp/internal/adapter/connection_test.go:222
FunctionTestWireRejectionPreservesVisibleGuidance
(t *testing.T)
acp/internal/adapter/connection_test.go:25
FunctionTestWireRejectsInvalidPromptSchema
(t *testing.T)
acp/internal/adapter/connection_test.go:209
FunctionTestWithProviderErrorBody_IsIdempotent
TestWithProviderErrorBody_IsIdempotent guards against the payload being appended twice. Enriching restores the body it read, so a second pass would ot
internal/llm/provider_error_test.go:201
FunctionTestWithProviderErrorBody_LeavesResponseBodyReadable
TestWithProviderErrorBody_LeavesResponseBodyReadable guards that enrichment does not starve later consumers of the response body.
internal/llm/provider_error_test.go:110
FunctionTestWithProviderErrorBody_ShortReadKeepsWhatArrived
TestWithProviderErrorBody_ShortReadKeepsWhatArrived documents the short-read path. The SDK buffers every non-2xx body before building the error, so th
internal/llm/provider_error_test.go:166
FunctionTestWithRequestMeta
(t *testing.T)
internal/llm/retry_meta_test.go:137
FunctionTestWithinBase
(t *testing.T)
internal/pathutil/path_test.go:12
FunctionTestWithinBase_AdditionalCases
(t *testing.T)
internal/pathutil/path_test.go:177
FunctionTestWithinBase_CaseInsensitiveVariant
(t *testing.T)
internal/pathutil/path_test.go:144
FunctionTestWithinBase_SameFileFallback
(t *testing.T)
internal/pathutil/path_test.go:119
FunctionTestWorkspaceBaseRejectsInvalidInputs
(test *testing.T)
internal/diff/workspace_test.go:114
FunctionTestWorkspaceBaseRemainsFrozen
(test *testing.T)
internal/diff/workspace_test.go:87
FunctionTestWorkspaceClarificationOnlyPreservesCompatibleOptions
(t *testing.T)
acp/internal/intent/natural_test.go:310
FunctionTestWorkspaceCodeAccess
(test *testing.T)
internal/tool/code_access_test.go:223
FunctionTestWorkspaceDiffNoCommitsIncludesStagedFiles
(t *testing.T)
internal/diff/git_test.go:479
FunctionTestWorkspaceDiffPreservesCQuotedUntrackedPath
(t *testing.T)
internal/diff/git_cquoted_test.go:107
FunctionTestWorkspaceDiffPreservesNonASCIIUntrackedPath
(t *testing.T)
internal/diff/git_test.go:385
FunctionTestWorkspaceDiffSkipsOversizedUntrackedFile
(t *testing.T)
internal/diff/git_test.go:410
FunctionTestWorkspaceDiffSurvivesExternalDiffTool
TestWorkspaceDiffSurvivesExternalDiffTool guards against issue #82: when a user has configured an external diff tool (GIT_EXTERNAL_DIFF or diff.extern
internal/diff/git_test.go:456
FunctionTestWorkspaceDiffUsesLiveTree
(test *testing.T)
internal/diff/workspace_test.go:18
FunctionTestWorkspaceIncludesTrackedFileMatchingGitignore
TestWorkspaceIncludesTrackedFileMatchingGitignore checks that a tracked file whose path matches the root .gitignore is still reviewed. Git does not ap
internal/diff/git_test.go:243
FunctionTestWorkspacePreviewAndReviewDoNotUseIndex
(test *testing.T)
internal/agent/workspace_test.go:59
FunctionTestWorkspacePreviewAndReviewShareBaseline
(test *testing.T)
internal/agent/workspace_test.go:15
FunctionTestWorkspaceResumeE2E_NormalizedInputBoundary
TestWorkspaceResumeE2E_NormalizedInputBoundary pins the documented contract: workspace resume identity is the selected, parsed/normalized diff, not a
cmd/opencodereview/workspace_resume_e2e_test.go:316
FunctionTestWorkspaceResumeE2E_RejectsInputChanges
(t *testing.T)
cmd/opencodereview/workspace_resume_e2e_test.go:259
FunctionTestWorkspaceResumeE2E_UnchangedInputReusesCompletedAndRetriesUnfinished
(t *testing.T)
cmd/opencodereview/workspace_resume_e2e_test.go:223
FunctionTestWorkspaceShallowHeadComparison
(test *testing.T)
internal/diff/workspace_test.go:144
FunctionTestWorkspaceToolDefinitions
(test *testing.T)
internal/config/toolsconfig/comparison_test.go:99
FunctionTestWorkspaceToolsReachModelAndManifest
(test *testing.T)
cmd/opencodereview/workspace_tools_test.go:21
FunctionTestWorkspaceTrackedFileChangedToSymlinkDoesNotReadExternalTarget
(t *testing.T)
internal/diff/git_test.go:655
FunctionTestWorkspaceUntrackedBinaryFileIsFlaggedNotReviewed
(t *testing.T)
internal/diff/git_test.go:552
FunctionTestWorkspaceUntrackedSymlinkDoesNotReadExternalTarget
(t *testing.T)
internal/diff/git_test.go:610
FunctionTestWrapByRunes
(t *testing.T)
cmd/opencodereview/output_helpers_test.go:66
FunctionTestWrapSingleRuneLine
(t *testing.T)
cmd/opencodereview/output_helpers_test.go:90
FunctionTestWriteOutError_NilAfterSuccessfulWrite
(t *testing.T)
cmd/opencodereview/output_file_test.go:585
FunctionTestWriteOutError_StdoutNil
(t *testing.T)
cmd/opencodereview/output_file_test.go:579
FunctionTestWriter_Default
(t *testing.T)
internal/stdout/stdout_test.go:13
FunctionTestZeroArgumentCommands_RejectUnexpectedArgs
(t *testing.T)
cmd/opencodereview/zero_args_test.go:13
FunctionTestZeroValueBuilderSafe
A zero-value builder (not via NewManifestBuilder) must not panic on use.
internal/session/manifest_test.go:820
FunctionThrower
({ msg })
pages/src/components/ErrorBoundary.test.tsx:8
FunctionToast
({ message, visible })
pages/src/components/QuickStartSection.tsx:16
MethodTool
()
internal/reviewtask/loop_execute_test.go:27
MethodTool
()
internal/reviewtask/tool_availability_test.go:25
MethodTool
()
internal/reviewtask/loop_test.go:91
MethodTool
()
internal/reviewtask/loop_test.go:495
MethodTool
()
internal/reviewtask/tool_failure_streak_test.go:152
MethodTool
()
internal/agent/coverage_test.go:649
MethodTool
()
internal/tool/file_read.go:37
MethodTool
()
internal/tool/definitions_test.go:135
MethodTool
()
internal/tool/code_search.go:30
MethodTool
()
internal/tool/file_read_diff.go:64
MethodTool
()
internal/tool/file_find.go:31
MethodTool
()
internal/tool/stub.go:16
MethodTool
()
internal/tool/stub.go:32
MethodToolCalls
ToolCalls returns per-tool call counts accumulated during review.
internal/agent/agent.go:529
MethodToolCalls
()
cmd/opencodereview/emit_run_result_test.go:52
MethodToolFailures
ToolFailures returns failed registered-tool calls accumulated during review.
internal/agent/agent.go:532
MethodToolFailures
()
cmd/opencodereview/emit_run_result_test.go:53
← previousnext →6,201–6,300 of 7,169, ranked by callers