MCPcopy Create free account

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

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

↓ 2 callersMethodlist_notes
Return all MR notes, or None when the read failed.
examples/gitlab_ci/post_review.py:972
↓ 2 callersFunctionllmTestTimeout
(taskSeconds int, endpointTimeout time.Duration)
cmd/opencodereview/llm_cmd.go:171
↓ 2 callersFunctionloadFile
(t *testing.T, relPath string)
internal/release/asset_naming_test.go:47
↓ 2 callersFunctionloadGlobalRule
()
internal/config/rules/system_rules.go:371
↓ 2 callersFunctionloadJob
(cmd *exec.Cmd)
acp/internal/orchestrator/process/process_windows.go:100
↓ 2 callersFunctionloadPackageJson
()
scripts/install.js:64
↓ 2 callersFunctionloadResumeState
(repoDir, sessionID string, skipUnparseable bool)
internal/session/resume.go:111
↓ 2 callersFunctionloadRuleFile
(path string)
internal/config/rules/system_rules.go:392
↓ 2 callersFunctionlocalOutcomeError
(cause error, cleanupErrs ...error)
acp/internal/orchestrator/runner.go:300
↓ 2 callersFunctionlocalTermination
localTermination is a synchronous observation, not a watcher notification. Once an observation selects a cause, callers retain it throughout cleanup.
acp/internal/orchestrator/runner.go:204
↓ 2 callersFunctionlog
(msg)
examples/gerrit_ci/post_review.py:61
↓ 2 callersFunctionlog
(msg)
examples/gitflic_ci/post_review.py:47
↓ 2 callersMethodlogExclusions
logExclusions reports the files the selection dropped: the static gates first with their rollup, then the size gate with its own, so the two groups st
internal/agent/agent.go:2049
↓ 2 callersFunctionlogRateLimitQuota
(response, tag, log)
scripts/github-actions/post-review-comments.js:1992
↓ 2 callersMethodlogSelection
(decisions []scanSelection)
internal/scan/agent.go:461
↓ 2 callersFunctionlooksLikeObjC
looksLikeObjC reports whether the first non-blank line of content looks like Objective-C rather than MATLAB. It returns false (keeping the default MAT
internal/config/rules/sniffer.go:162
↓ 2 callersFunctionmakeSelfLoginResolver
(github, log)
scripts/github-actions/post-review-comments.js:3170
↓ 2 callersMethodmanifestInput
manifestInput builds the frozen input identity per the input-mode field matrix: range carries both requested refs, commit carries only the requested h
internal/agent/agent.go:984
↓ 2 callersMethodmanualAuthTokenCmd
manualAuthTokenCmd returns the configured llm.auth_token_cmd, which the resolver runs when llm.auth_token is empty. Trimmed for the same reason as api
cmd/opencodereview/provider_tui.go:1146
↓ 2 callersMethodmarkdown
()
acp/internal/adapter/presentation/progress_format.go:48
↓ 2 callersFunctionmarksStorageKey
()
internal/viewer/static/session.js:192
↓ 2 callersFunctionmaskKey
(key string)
cmd/opencodereview/provider_cmd.go:453
↓ 2 callersFunctionmatchGitignoreBody
matchGitignoreBody reports whether relPath matches a single pattern body — the pattern with any leading "!" already stripped.
internal/diff/git.go:351
↓ 2 callersFunctionmatchProjectRuleEntry
(pr *ProjectRule, path string)
internal/config/rules/system_rules.go:535
↓ 2 callersFunctionmatchesFilters
(card)
internal/viewer/static/session.js:79
↓ 2 callersFunctionmaximumArgs
maximumArgs behaves like cobra.MaximumNArgs(n) but reports too many arguments with the command's own usage information.
cmd/opencodereview/arg_errors.go:45
↓ 2 callersMethodmergeBase
(root: string, from: string, to: string)
extensions/vscode/src/extension/services/GitService.ts:402
↓ 2 callersFunctionmergeModelLists
(...lists: string[][])
extensions/frontend/src/shared/providers.ts:36
↓ 2 callersMethodmergeWithSystemRule
(path, rule string)
internal/config/rules/system_rules.go:489
↓ 2 callersFunctionmergeWorkspaceFiles
Merges tracked changes with untracked files, deduplicating by path with tracked entries taking priority. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitMap.kt:69
↓ 2 callersFunctionmergeWorkspaceFiles
(tracked: FileChange[], untrackedPaths: string[])
extensions/vscode/src/extension/services/gitMap.ts:57
↓ 2 callersFunctionmessageTokens
messageTokens counts visible text plus the Native replay payload and tool calls that ExtractText() does not see.
internal/llmloop/compression.go:67
↓ 2 callersFunctionminimumArgs
minimumArgs behaves like cobra.MinimumNArgs(n) but reports too few arguments with the command's own usage information.
cmd/opencodereview/arg_errors.go:34
↓ 2 callersFunctionmodeWarning
modeWarning mirrors the only comparability warning `ocr session compare` emits (cmd/opencodereview/session_cmd.go, runSessionCompare): a differing rev
internal/viewer/handler.go:144
↓ 2 callersFunctionnativeTurnForJSON
(n llm.NativeTurn)
internal/session/history.go:467
↓ 2 callersFunctionnewBlockingCompressionClient
(c *llm.RetryCollector)
internal/llmloop/retry_background_test.go:31
↓ 2 callersFunctionnewCommentId
(runTag)
scripts/github-actions/post-review-comments.js:2181
↓ 2 callersMethodnewDiffProvider
newDiffProvider resolves the configured input to a diff provider.
internal/agent/agent.go:554
↓ 2 callersFunctionnewDivergedBranchRepo
newDivergedBranchRepo builds a repository where main and feature both have commits after the merge-base, and the feature worktree also carries an unco
cmd/opencodereview/default_to_head_e2e_test.go:22
↓ 2 callersFunctionnewJSONLWriter
newJSONLWriter creates and opens a new JSONL writer for the given session.
internal/session/persist.go:45
↓ 2 callersFunctionnewKeyCmd
newKeyCmd builds the OS-specific shell invocation (sh -c on Unix) that runs a credential command under ctx, so its timeout and cancellation are honore
internal/llm/keycmd_unix.go:32
↓ 2 callersFunctionnewOutputPipe
()
internal/gitcmd/runner.go:78
↓ 2 callersFunctionnewPagedTestMCPServer
newPagedTestMCPServer returns a server that publishes toolCount tools one page at a time, so a client reading a single page sees only the first one.
internal/mcp/stdio_test.go:88
↓ 2 callersFunctionnewResponsesSessionTestServer
newResponsesSessionTestServer returns an httptest server that captures each request's headers and JSON body and responds with a minimal completed resp
internal/llm/responses_client_test.go:1087
↓ 2 callersFunctionnewStdoutMetricExporter
newStdoutMetricExporter creates a console metric exporter with pretty-print output.
internal/telemetry/exporter.go:30
↓ 2 callersFunctionnewStdoutTraceExporter
newStdoutTraceExporter creates a console trace exporter with pretty-print output.
internal/telemetry/exporter.go:25
↓ 2 callersFunctionnewWorkspaceResumeFixture
newWorkspaceResumeFixture builds the repo, runs one workspace review in which c.go fails permanently and the other two files complete, then clears the
cmd/opencodereview/workspace_resume_e2e_test.go:77
↓ 2 callersFunctionnewWorkspaceResumeFixtureWithUntracked
newWorkspaceResumeFixtureWithUntracked is newWorkspaceResumeFixture plus untracked files that join the parent review input.
cmd/opencodereview/workspace_resume_e2e_test.go:84
↓ 2 callersFunctionnoLine
(path)
scripts/github-actions/post-review-comments.test.js:6807
↓ 2 callersFunctionnonNegativeMillis
nonNegativeMillis converts d to milliseconds, flooring at zero. Timestamps taken from time.Now carry a monotonic reading, so a real attempt can never
internal/llm/retry_report.go:362
↓ 2 callersFunctionnormalizeDiffTarget
(from, to, commit string)
cmd/opencodereview/shared_flags.go:122
↓ 2 callersFunctionnormalizeExtraContent
normalizeExtraContent drops absent, empty and null values so that a provider sending "extra_content": null produces the same wire format as one omitti
internal/llm/client.go:1058
↓ 2 callersFunctionnormalizeScanPaths
(paths []string)
internal/session/resume.go:317
↓ 2 callersFunctionnormalizedCommentCategory
(category string)
internal/viewer/server.go:229
↓ 2 callersFunctionofficialAPIKeyEnvSetHint
(envVar string, hasSavedKey bool)
cmd/opencodereview/provider_tui.go:2581
↓ 2 callersFunctionofficialProviderEnvKeySet
(p llm.Provider)
cmd/opencodereview/provider_tui.go:938
↓ 2 callersMethodofficialProviderUsesExternalCredentials
()
cmd/opencodereview/provider_tui.go:986
↓ 2 callersFunctiononDiskName
onDiskName returns the name of the directory entry under dir that the filesystem resolves as name, preferring an entry spelled exactly. The listing is
internal/scan/provider.go:401
↓ 2 callersMethodonMessage
(handler: (msg: HostToWebview) => void)
extensions/frontend/src/webview/bridge.ts:15
↓ 2 callersMethodonState
Identity check: cancel() kills the process without detaching callbacks, so the old run may still call onState and friends from another thread; if a ne
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/SidebarRouter.kt:172
↓ 2 callersMethodonly
(t *testing.T)
internal/agent/retry_identity_test.go:42
↓ 2 callersFunctionopenAIChatURL
(rawURL string)
acp/internal/intent/llm/client.go:234
↓ 2 callersFunctionopenBrowser
openBrowser resolves the candidate list for this host and runs it.
internal/viewer/browser.go:203
↓ 2 callersMethodopenDiff
* Opens a file's changes in the IDEA diff viewer. An added file gets empty left-side content and a deleted * file empty right-side content instea
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:320
↓ 2 callersFunctionotlpSignalURL
otlpSignalURL builds the URL for one signal from the configured endpoint. OTEL_EXPORTER_OTLP_ENDPOINT is defined by the OpenTelemetry specification a
internal/telemetry/exporter.go:69
↓ 2 callersFunctionoutputJSON
(comments []model.LlmComment)
cmd/opencodereview/output.go:359
↓ 2 callersFunctionoutputJSONNoFiles
(traceID string, llmIdentity *jsonLLMIdentity, out io.Writer)
cmd/opencodereview/output.go:652
↓ 2 callersFunctionoutputPreviewJSON
(p *agent.DiffPreview, out io.Writer)
cmd/opencodereview/output.go:754
↓ 2 callersFunctionoutputText
(comments []model.LlmComment)
cmd/opencodereview/output.go:27
↓ 2 callersFunctionoverlapsComments
(reviewComment, comments, threshold = DEFAULT_OVERLAP_THRESHOLD)
scripts/github-actions/post-review-comments.js:1397
↓ 2 callersFunctionparseBatchStrategy
parseBatchStrategy normalizes a user-supplied strategy string. Unknown or empty values fall back to BatchNone (safe v1 behavior).
internal/scan/batch.go:28
↓ 2 callersFunctionparseCliResult
(stdout: string)
extensions/vscode/src/extension/services/cliParse.ts:39
↓ 2 callersFunctionparseCommentsInner
(args map[string]any, defaultPath string)
internal/tool/code_comment.go:101
↓ 2 callersFunctionparseConfig
(raw: string)
extensions/vscode/src/extension/services/configParse.ts:30
↓ 2 callersFunctionparseDiffHeaderLine
parseDiffHeaderLine extracts the two pathnames from a "diff --git" line, preferring the split a bare header names twice and falling back to parseQuote
internal/diff/parser.go:61
↓ 2 callersFunctionparseDiffHunkInventory
(patch)
scripts/github-actions/post-review-comments.js:2777
↓ 2 callersFunctionparseFilterResponse
parseFilterResponse extracts comment indices from the LLM filter response. Returns a set of 0-based indices. Invalid IDs or out-of-range indices are i
internal/agent/agent.go:2024
↓ 2 callersFunctionparseFilterToolCalls
parseFilterToolCalls extracts comment indices from the filter tool call response. Returns nil if no matching tool call is found, allowing fallback to
internal/agent/agent.go:1992
↓ 2 callersFunctionparseGroupingGroups
parseGroupingGroups parses the grouping LLM response into label + integer indices. It mirrors parseGroupingResponse's one-shot Unmarshal and markdown-
internal/viewer/store.go:418
↓ 2 callersFunctionparseLogLine
(raw: string)
extensions/vscode/src/extension/services/cliParse.ts:80
↓ 2 callersFunctionparseModelListValue
(value string)
cmd/opencodereview/config_cmd.go:937
↓ 2 callersFunctionparseOTLPEndpoint
parseOTLPEndpoint strips a http:// or https:// scheme from the endpoint and reports whether the connection should be plaintext (insecure). Scheme matc
internal/telemetry/exporter.go:41
↓ 2 callersFunctionparseRepairedComments
parseRepairedComments attempts the deterministic repair of a serialized `comments` string. It returns (nil, nil) when the text needed no repair, the r
internal/tool/comment_args_repair.go:275
↓ 2 callersFunctionparseRetryAfterMS
parseRetryAfterMS reports the server's retry hint in milliseconds, mirroring the SDKs' parseRetryAfterHeader: Retry-After-Ms wins over Retry-After, ea
internal/llm/retry_observer.go:109
↓ 2 callersFunctionparseRetryDirective
parseRetryDirective reads x-should-retry, the header both SDKs consult ahead of the status code (and without excluding 2xx). Only the two values they
internal/llm/retry_observer.go:85
↓ 2 callersFunctionparseSteps
(text)
scripts/github-actions/action-contract.test.js:68
↓ 2 callersFunctionparseTimeoutEnv
parseTimeoutEnv reads and validates the OCR_LLM_TIMEOUT environment variable. Returns the parsed duration and true if set, or 0 and false if unset/emp
internal/llm/resolver.go:212
↓ 2 callersFunctionparseTimeoutSeconds
(value string)
cmd/opencodereview/config_cmd.go:895
↓ 2 callersFunctionparseUntrackedList
Parses the untracked path list produced by `git ls-files --others --exclude-standard`. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitMap.kt:65
↓ 2 callersFunctionparseUntrackedList
(output: string)
extensions/vscode/src/extension/services/gitMap.ts:52
↓ 2 callersFunctionparseVersionOutput
(output)
scripts/version.js:9
↓ 2 callersMethodpassThroughManualInput
(msg tea.Msg)
cmd/opencodereview/provider_tui.go:1813
↓ 2 callersFunctionpathMatches
pathMatches reports whether f is want itself or lies under it as a directory, so `src` also matches `src/loader.go` but never `srcx.go`.
internal/scan/provider.go:429
↓ 2 callersMethodpersistAddedModelName
persistAddedModelName appends a model to the provider's Models list in config and saves to disk. It does not change the active model.
cmd/opencodereview/provider_tui.go:2847
↓ 2 callersMethodpersistCustomModelName
persistCustomModelName appends a single model name to the active provider's Models list (official or custom) and saves the config. It does not change
cmd/opencodereview/provider_tui.go:815
↓ 2 callersFunctionpickRepoRoot
(roots: string[], workspacePath?: string)
extensions/vscode/src/extension/services/gitMap.ts:90
↓ 2 callersFunctionplaced
(path, line)
scripts/github-actions/post-review-comments.test.js:6806
↓ 2 callersFunctionpluginEntries
(json)
scripts/github-actions/check-plugin-contract.js:125
↓ 2 callersMethodpost
(self, review_input, body=b")]}'\n{}")
examples/gerrit_ci/post_review_test.py:531
↓ 2 callersMethodpost_note
(self, body)
examples/gitlab_ci/post_review.py:952
← previousnext →1,601–1,700 of 7,128, ranked by callers