MCPcopy Create free account

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

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

↓ 1 callersMethodrecordContextFailure
(err error)
internal/agent/agent.go:862
↓ 1 callersMethodrecordGraceRoundLimit
recordGraceRoundLimit records which declared budget reached its grace round, and the round's verdict on the task. The verdict is part of the message b
internal/reviewtask/task.go:149
↓ 1 callersMethodrecordSessionModelPick
(model string)
cmd/opencodereview/provider_tui.go:586
↓ 1 callersMethodrecordToolFailureStreak
recordToolFailureStreak increments and returns the consecutive-failure count for one (taskKey, toolName) pair.
internal/reviewtask/tool_failure_streak.go:41
↓ 1 callersFunctionreferencedRuleFiles
referencedRuleFiles reads the embedded system_rules.json and returns the set of rule_docs filenames it references (default_rule + every path_rule_map
internal/config/rules/system_rules_test.go:1984
↓ 1 callersMethodrefreshBranches
(repo: any)
extensions/vscode/src/extension/services/GitService.ts:184
↓ 1 callersFunctionrefreshComments
()
internal/viewer/static/session.js:103
↓ 1 callersMethodrefreshDue
(now time.Time)
internal/chatgptauth/oauth.go:493
↓ 1 callersMethodrefreshModelSelectionForCustom
refreshModelSelectionForCustom moves the cursor to "Enter custom model name..." after the user adds models via the input field.
cmd/opencodereview/provider_tui.go:929
↓ 1 callersMethodrefreshRecentCommits
(repo: any)
extensions/vscode/src/extension/services/GitService.ts:193
↓ 1 callersFunctionreg
(id: string, fn: (...args: any[]) => any)
extensions/vscode/src/extension/commands.ts:13
↓ 1 callersFunctionregisterCommands
( comments: CommentProvider, openConfig: () => void, )
extensions/vscode/src/extension/commands.ts:8
↓ 1 callersMethodregisterCoverage
registerCoverage freezes the coverage denominator before any reuse or concurrent dispatch: it registers every non-deleted diff as a selected item and
internal/agent/agent.go:1267
↓ 1 callersFunctionreleaseLock
()
scripts/update.js:58
↓ 1 callersFunctionremoveHint
()
scripts/update.js:123
↓ 1 callersFunctionremoveWithRetries
(target)
bin/ocr.test.js:87
↓ 1 callersFunctionrenamedCoverage
(oldPath, newPath string)
internal/viewer/compare_test.go:40
↓ 1 callersFunctionrenamedPaths
renamedPaths returns normalized old-to-new path mappings for files whose verdict is current in the after run. Failed and waived files are excluded for
internal/session/compare.go:170
↓ 1 callersFunctionrenderDocsPage
(initialLang: Language = 'en', initialEntry = '/docs/quickstart')
pages/src/pages/DocsPage.test.tsx:113
↓ 1 callersFunctionrenderFooter
()
pages/src/components/Footer.test.tsx:16
↓ 1 callersFunctionrenderHero
()
pages/src/components/HeroSection.test.tsx:11
↓ 1 callersFunctionrenderMermaidBlocks
()
pages/src/components/MarkdownRenderer.tsx:127
↓ 1 callersFunctionrenderNotFound
(language: Language)
pages/src/pages/NotFoundPage.test.tsx:42
↓ 1 callersFunctionrenderProviders
()
pages/src/components/ProvidersSection.test.tsx:17
↓ 1 callersFunctionrepoLinkPattern
()
scripts/github-actions/check-plugin-contract.js:244
↓ 1 callersFunctionreporter
()
scripts/github-actions/check-pr-commit-policy.test.js:94
↓ 1 callersMethodrequestFailure
(ctx context.Context, trace *requestTrace, rawURL string, status int, cause error, detail string)
acp/internal/intent/llm/diagnostics.go:64
↓ 1 callersFunctionresetFixtures
()
pages/src/pages/DocsPage.test.tsx:94
↓ 1 callersMethodresetToolFailureStreak
resetToolFailureStreak clears the consecutive-failure count for one (taskKey, toolName) pair after it succeeds.
internal/reviewtask/tool_failure_streak.go:54
↓ 1 callersMethodresolveBatchStrategy
resolveBatchStrategy reads the strategy from the scan template, defaulting to BatchNone for unrecognized / empty values.
internal/scan/agent.go:661
↓ 1 callersFunctionresolveChunk
()
pages/src/hooks/useTransitionedLocation.test.tsx:17
↓ 1 callersFunctionresolveCommentAnchor
* Resolve a comment anchor: check for binary content first, then read the workspace file or try refs chosen by status. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentAnchor.kt:158
↓ 1 callersFunctionresolveCommentAnchor
( comment: ReviewComment, ctx: ReviewContext, deps: CommentAnchorDeps, )
extensions/vscode/src/extension/providers/commentAnchor.ts:126
↓ 1 callersFunctionresolveCommitHead
(ctx context.Context, args Args, ref string)
internal/agent/identity.go:102
↓ 1 callersMethodresolveDetail
(path string)
internal/config/rules/system_rules.go:166
↓ 1 callersFunctionresolveEffort
resolveEffort applies the standard precedence for the review effort preset: CLI flag > saved app config > EffortDefault.
cmd/opencodereview/shared.go:70
↓ 1 callersFunctionresolveLocale
* Locale resolution: only `zh-cn` (case-insensitive) counts as Simplified Chinese; * variants such as `zh-tw` / `zh-hk` fall back to English until th
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/model/Locale.kt:25
↓ 1 callersFunctionresolveLocationPath
resolveLocationPath rebuilds a Location's path from its parts and checks the two agree.
internal/session/delete.go:219
↓ 1 callersFunctionresolveOptionalConversation
(m *manifestConversation, name string)
internal/config/template/template.go:207
↓ 1 callersFunctionresolveOutputCommitPath
resolveOutputCommitPath preserves os.Create's behavior for an existing symlink: write through the link to its target instead of replacing the link its
cmd/opencodereview/shared.go:560
↓ 1 callersFunctionresolvePanelState
(config: OcrConfig | null, panelFocus?: ConfigPanelFocus | null)
extensions/frontend/src/webview/views/ConfigView.tsx:44
↓ 1 callersFunctionresolveSessionCwd
(ctx: PluginV2.Context, sessionID: string)
plugins/open-code-review/opencode/open-code-review.ts:520
↓ 1 callersFunctionresolveStepState
( active: boolean, checking: boolean, ok: boolean | undefined, )
extensions/frontend/src/webview/components/EnvSetupGuide.tsx:32
↓ 1 callersFunctionresolveVersion
(pkg)
scripts/install.js:75
↓ 1 callersFunctionresolve_line_range_boundary
Build a GitLab ``line_range`` boundary for ``new_line``. Returns ``None`` when the line is not a resolvable new-file position, so the caller
examples/gitlab_ci/post_review.py:579
↓ 1 callersFunctionresponseStatus
(status int)
acp/internal/intent/llm/diagnostics.go:118
↓ 1 callersFunctionresponsesClient
(url string, c *RetryCollector)
internal/llm/retry_boundary_test.go:37
↓ 1 callersMethodresponsesStreaming
(ctx context.Context, params responses.ResponseNewParams, opts ...openaiopt.RequestOption)
internal/llm/responses_client.go:244
↓ 1 callersMethodresponsesStreamingInner
(ctx context.Context, params responses.ResponseNewParams, opts ...openaiopt.RequestOption)
internal/llm/responses_client.go:260
↓ 1 callersMethodresumeItem
(fingerprint string)
internal/scan/agent.go:297
↓ 1 callersFunctionresumeProcessThreads
(pid int)
acp/internal/orchestrator/process/winapi_windows.go:126
↓ 1 callersFunctionresumeThread
(thread syscall.Handle)
acp/internal/orchestrator/process/winapi_windows.go:220
↓ 1 callersFunctionresumeThreadsBySnapshot
(pid int)
acp/internal/orchestrator/process/winapi_windows.go:150
↓ 1 callersFunctionresumeThreadsOnce
(pid int)
acp/internal/orchestrator/process/winapi_windows.go:171
↓ 1 callersMethodretained
retained reports whether the file stays in the agent's working diff set. Deletions are retained although they are never dispatched: they carry no new
internal/agent/selection.go:29
↓ 1 callersFunctionretryErrorPhrase
(a llm.AttemptRecord)
cmd/opencodereview/output.go:589
↓ 1 callersFunctionretryStageInfo
(taskType string)
cmd/opencodereview/output.go:557
↓ 1 callersMethodrevealInDiffSide
Reveal the anchored line on its side of the open diff editor without opening another file tab.
extensions/vscode/src/extension/providers/CommentProvider.ts:258
↓ 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 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:317
↓ 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:125
↓ 1 callersMethodrunGraceRound
(ctx context.Context, messages []llm.Message, taskKey string, sessionID string)
internal/llmloop/loop.go:478
↓ 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:55
↓ 1 callersMethodrunMainTask
(ctx context.Context, messages []llm.Message, taskKey string)
internal/llmloop/loop.go:293
↓ 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:273
↓ 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:5825
↓ 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:1459
↓ 1 callersMethodsafeEndpoint
(endpoint string)
internal/chatgptauth/oauth.go:51
↓ 1 callersFunctionsafeRead
(fs, p)
scripts/github-actions/post-review-comments.js:2549
↓ 1 callersFunctionsafeSegment
safeSegment validates that s is safe to use as a single path component and returns it unchanged. Every caller must join the returned value, not its ow
internal/viewer/store.go:479
↓ 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:105
↓ 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:83
↓ 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
← previousnext →2,501–2,600 of 7,169, ranked by callers