MCPcopy Create free account

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

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

↓ 1 callersFunctionreview
(folder, base, head, background, env)
plugins/open-code-review/skills/open-code-review/scripts/review_pr.py:147
↓ 1 callersMethodreview
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/CliService.kt:214
↓ 1 callersMethodreview
(opts: CliRunOptions, cwd: string, onLog: (l: LogLine) => void)
extensions/vscode/src/extension/services/CliService.ts:149
↓ 1 callersFunctionreviewClarifyQuestion
(missing []string)
acp/internal/intent/parser.go:225
↓ 1 callersFunctionreviewedManifest
(items ...CoverageItem)
internal/session/compare_test.go:299
↓ 1 callersMethodrevokeSession
(ctx context.Context, auth *Auth)
internal/chatgptauth/oauth.go:617
↓ 1 callersMethodrightRefFor
* The diff's right-side (after the change) ref; returns null for workspace mode, which has no notion of a ref. * Unlike [readRightSide], there is
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:415
↓ 1 callersFunctionroute_comment
Decide whether a comment routes to the summary per the policy. Returns ``{"routed": True, "reason": str}`` or ``{"routed": False}``. A findin
examples/gitlab_ci/post_review.py:197
↓ 1 callersFunctionrun
()
scripts/verify-english-only.go:207
↓ 1 callersFunctionrun
({ github, context, core })
scripts/github-actions/check-pr-commit-policy.js:130
↓ 1 callersFunctionrun
(number, repo, background, env, offline)
plugins/open-code-review/skills/open-code-review/scripts/review_pr.py:198
↓ 1 callersFunctionrunBlock
(cfg config, cleanup bool)
acp/testdata/ocr-stub/main.go:221
↓ 1 callersFunctionrunChild
()
acp/testdata/ocr-stub/main.go:278
↓ 1 callersFunctionrunCommand
(command, mode string, cfg config)
acp/testdata/ocr-stub/main.go:139
↓ 1 callersFunctionrunDocsCheck
({ env = process.env } = {})
scripts/github-actions/check-translation-sync.js:320
↓ 1 callersFunctionrunEnvCheck
(dispatch: (action: { type: 'checkingEnv' }) => void)
extensions/frontend/src/webview/ConfigPanelApp.tsx:11
↓ 1 callersFunctionrunExit3MCPServer
runExit3MCPServer behaves like the normal server but exits with status 3 once stdin closes, so Close deterministically reports a child error.
internal/mcp/stdio_test.go:145
↓ 1 callersMethodrunGitGrep
(parentCtx context.Context, cmdArgs []string)
internal/tool/code_search.go:126
↓ 1 callersFunctionrunHangingMCPServer
runHangingMCPServer serves MCP normally but never exits: it ignores SIGTERM and blocks forever once stdin closes, so only the SDK's SIGKILL escalation
internal/mcp/stdio_test.go:131
↓ 1 callersFunctionrunLLMTest
()
cmd/opencodereview/llm_cmd.go:56
↓ 1 callersMethodrunMainTask
(ctx context.Context, messages []llm.Message, taskKey string)
internal/llmloop/loop.go:294
↓ 1 callersFunctionrunManualReview
runManualReview mirrors executeReview's wiring up to the point P5 will hook into, and returns everything the P5 output layer will read.
cmd/opencodereview/manual_e2e_retry_test.go:44
↓ 1 callersFunctionrunPagedTestMCPServer
()
internal/mcp/stdio_test.go:121
↓ 1 callersFunctionrunPartialReview
()
extensions/frontend/src/webview/__tests__/FailedView.test.ts:17
↓ 1 callersFunctionrunPathIdentity
runPathIdentity replays what the run itself selects — the same diff load followed by the same selectFiles pass — and reads the identity off that selec
internal/agent/sealed_input_test.go:102
↓ 1 callersFunctionrunReadmeCheck
({ repoRoot = process.cwd(), files = README_FILES } = {})
scripts/github-actions/check-translation-sync.js:276
↓ 1 callersFunctionrunReview
(backgroundFile?: string)
plugins/open-code-review/opencode/open-code-review.ts:410
↓ 1 callersFunctionrunSession
runSession provides test compatibility for the old dispatch function.
cmd/opencodereview/compat_test.go:118
↓ 1 callersFunctionrunSessionRmAnywhere
runSessionRm deletes one persisted session, confirming first unless --yes.
cmd/opencodereview/session_cmd.go:544
↓ 1 callersFunctionrunSlowExitMCPServer
runSlowExitMCPServer models a cooperative but slow server: it serves MCP until stdin closes (the parent's Close), then takes a while to wind down its
internal/mcp/stdio_test.go:154
↓ 1 callersFunctionrunTestMCPServer
()
internal/mcp/stdio_test.go:111
↓ 1 callersFunctionrunVersion
(cfg config)
acp/testdata/ocr-stub/main.go:104
↓ 1 callersFunctionrunWith
(over)
scripts/github-actions/post-review-comments.test.js:5829
↓ 1 callersFunctionrun_ocr_review
Run `ocr review --format json` and return the parsed JSON output.
examples/codeup_ci/post_review.py:73
↓ 1 callersFunctionrun_tag_from_env
(env)
examples/gitlab_ci/post_review.py:1468
↓ 1 callersMethodsafeEndpoint
(endpoint string)
internal/chatgptauth/oauth.go:51
↓ 1 callersFunctionsafeRead
(fs, p)
scripts/github-actions/post-review-comments.js:2552
↓ 1 callersFunctionsafe_fence
Pick a backtick fence long enough to enclose ``content`` (min 3).
examples/gitlab_ci/post_review.py:240
↓ 1 callersFunctionsameFileWithinBase
(base, target string)
internal/pathutil/path.go:34
↓ 1 callersFunctionsameSequence
(a, b)
scripts/github-actions/check-translation-sync.js:108
↓ 1 callersFunctionsame_comment_span
IoU-based same-comment predicate (strict: equal-to-threshold is NOT a match).
examples/gitlab_ci/post_review.py:455
↓ 1 callersFunctionsanitizeMarkdownText
(document ast.Node, source []byte)
cmd/opencodereview/markdown.go:84
↓ 1 callersFunctionsarifResults
sarifResults converts a slice of LlmComment to SARIF result objects. Returns a non-nil empty slice when comments is empty or nil so that JSON serialis
cmd/opencodereview/sarif.go:195
↓ 1 callersFunctionsavedSecretReplaceHintLine
(original string)
cmd/opencodereview/provider_tui.go:2591
↓ 1 callersFunctionscan
(file string)
scripts/verify-english-only.go:173
↓ 1 callersFunctionscrollToFragmentWhenReady
(id: string)
pages/src/pages/DocsPage.tsx:44
↓ 1 callersFunctionscrub
Never let the HTTP credentials reach CI logs, even via echoed error bodies.
examples/gerrit_ci/post_review.py:297
↓ 1 callersFunctionseedAttributedSession
(t *testing.T, repoDir, sessionID string)
internal/session/delete_test.go:31
↓ 1 callersMethodsessionModelPickFor
(providerName string)
cmd/opencodereview/provider_tui.go:113
↓ 1 callersMethodsessionModelPickSnapshot
()
cmd/opencodereview/provider_tui.go:120
↓ 1 callersFunctionsetConfigValue
(cfg: RawConfig, key: string, value: string)
extensions/vscode/src/extension/services/configDraft.ts:84
↓ 1 callersFunctionsetLlmField
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigDraft.kt:149
↓ 1 callersMethodsetMany
* Writes several config entries in order. Order matters: `provider` must take effect before `model`, * otherwise the model lands at the top level
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigService.kt:195
↓ 1 callersMethodsetMany
(entries: { key: string; value: string }[])
extensions/vscode/src/extension/services/ConfigService.ts:93
↓ 1 callersFunctionsetMark
(markID, state)
internal/viewer/static/session.js:294
↓ 1 callersMethodsetPendingFocus
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/ConfigPanelRouter.kt:51
↓ 1 callersFunctionsetPlatform
(platform: NodeJS.Platform)
extensions/vscode/src/extension/services/__tests__/CliService.cancel.test.ts:18
↓ 1 callersFunctionsetProviderValue
`providers.<name>.<field>`: if name is a built-in provider, write to providers; otherwise write to custom_providers. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigDraft.kt:125
↓ 1 callersFunctionsetProviderValue
(cfg: RawConfig, key: string, value: string)
extensions/vscode/src/extension/services/configDraft.ts:68
↓ 1 callersFunctionsetStatsOutputs
(out, stats, batchCounters, batchSize)
scripts/github-actions/post-review-comments.js:1065
↓ 1 callersFunctionsetTestHome
setTestHome redirects the user home resolved by os.UserHomeDir() to dir for the duration of the test. Setting HOME alone is NOT enough on Windows: os.
internal/scan/test_home_test.go:13
↓ 1 callersFunctionsettle
(result)
bin/ocr.js:124
↓ 1 callersFunctionshellCommand
(ctx context.Context, script string)
cmd/opencodereview/shell_unix.go:13
↓ 1 callersFunctionshieldsEscape
(value)
scripts/github-actions/post-review-comments.js:2247
↓ 1 callersMethodshow
Display review comments as threads when their locations can be resolved in a Git or workspace snapshot; otherwise show them only in the sidebar.
extensions/vscode/src/extension/providers/CommentProvider.ts:53
↓ 1 callersMethodshowAtRef
showAtRef reads path's content at s.ref via `git show <ref>:<path>`. Returns "" when the file does not exist at that ref or git fails.
internal/config/rules/sniffer.go:126
↓ 1 callersMethodshowJumpFailed
(index: number)
extensions/vscode/src/extension/providers/CommentProvider.ts:222
↓ 1 callersMethodsidebar
Sidebar page. [bridgeScript] is produced by `JBCefJSQuery.inject("json")`. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/WebviewHtml.kt:22
↓ 1 callersFunctionsilenceStderr
silenceStderr redirects os.Stderr to /dev/null for the duration of fn so the MCP init warnings do not clutter test logs.
cmd/opencodereview/review_mcp_more_test.go:16
↓ 1 callersFunctionsl
(n)
scripts/github-actions/post-review-comments.test.js:1621
↓ 1 callersFunctionsleeps
(delay)
scripts/github-actions/post-review-comments.test.js:7067
↓ 1 callersFunctionsmoke
()
acp/testdata/python-client-smoke.py:157
↓ 1 callersFunctionsortFindings
sortFindings orders a bucket by (path, start line, category, content, snippet) and guarantees a non-nil slice so empty buckets encode as [] rather tha
internal/session/compare.go:119
↓ 1 callersFunctionsortItems
(items []CoverageItem)
internal/session/manifest.go:1028
↓ 1 callersFunctionsort_to_send
Deterministically order items (path -> start_line -> end_line -> index). Returns a NEW list. Stable ordering means identical reruns produce ident
examples/gitlab_ci/post_review.py:220
↓ 1 callersFunctionspansIntersect
(span, currentSpans)
scripts/github-actions/post-review-comments.js:1718
↓ 1 callersFunctionspawnChild
(sigCh chan os.Signal)
acp/testdata/mock-ocr/main.go:287
↓ 1 callersFunctionsplitCoverage
splitCoverage is fullCoverage's counterpart for a run that stopped early: every path is selected, only some are completed. It is what separates sessio
internal/viewer/compare_test.go:49
↓ 1 callersFunctionsplitHeaderPairs
splitHeaderPairs splits a comma-separated string while respecting double-quoted segments. Commas inside quotes are part of the value, not pair separat
internal/llm/resolver.go:931
↓ 1 callersFunctionsplitHeaderPaths
splitHeaderPaths splits the text after "diff --git " into its two pathnames, each still carrying its "a/" or "b/" prefix. A bare pathname can hold ne
internal/diff/quotedpath.go:103
↓ 1 callersFunctionsplitSamePathHeader
splitSamePathHeader reports the split of a bare operand pair whose two sides are the same pathname, which is the shape git writes for every header tha
internal/diff/parser.go:80
↓ 1 callersFunctionstale
()
scripts/github-actions/post-review-comments.test.js:7095
↓ 1 callersFunctionstatOCRBinary
(path string)
acp/internal/orchestrator/resolve.go:110
↓ 1 callersFunctionstderrPollution
()
acp/testdata/mock-ocr/main.go:221
↓ 1 callersFunctionstepText
(job, name)
scripts/github-actions/release-contract.test.js:27
↓ 1 callersFunctionstickyComment
()
scripts/github-actions/post-review-comments.test.js:5358
↓ 1 callersMethodstop
(child)
scripts/github-actions/test_review_pr.py:131
↓ 1 callersMethodstopped
()
acp/cmd/ocr-acp/stdio_windows.go:208
↓ 1 callersFunctionstoreHideMarked
(value)
internal/viewer/static/session.js:92
↓ 1 callersFunctionstoredHideMarked
()
internal/viewer/static/session.js:84
↓ 1 callersFunctionstrAt
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigDraft.kt:66
↓ 1 callersFunctionstripEmptyConfirmedBlock
stripEmptyConfirmedBlock removes the confirmed-findings wrapper when no round has produced confirmed comments yet (round 1). Must run before ReplaceAl
internal/agent/util.go:42
↓ 1 callersFunctionstripMarkdownFences
stripMarkdownFences is the package-private workhorse used by the internal compression code paths.
internal/llmloop/compression.go:108
↓ 1 callersFunctionstripMarkdownFences
stripMarkdownFences removes ```json and ``` wrappers that some models add around structured outputs.
internal/agent/util.go:93
↓ 1 callersFunctionstripUnsafeChars
stripUnsafeChars removes control characters and Unicode line separators that would let escape sequences (ANSI/ANSI-CSI) or line breaks survive into a
internal/session/manifest.go:695
↓ 1 callersFunctionstrip_xssi
Strip Gerrit's ")]}'" anti-XSSI prefix (possibly stacked) from a response.
examples/gerrit_ci/post_review.py:184
↓ 1 callersFunctionstructuralSignature
(markdown)
scripts/github-actions/check-translation-sync.js:104
↓ 1 callersFunctionstubV2Context
({ directory, commands = [], failSessionLookup = false } = {})
plugins/open-code-review/opencode/test/open-code-review.test.mjs:701
↓ 1 callersFunctionstyleProgressLine
(line string)
internal/stdout/style.go:67
↓ 1 callersFunctionsuccessRemaining
()
scripts/github-actions/post-review-comments.test.js:120
← previousnext →2,701–2,800 of 7,484, ranked by callers