MCPcopy Create free account

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

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

↓ 1 callersMethodprepareReviewFileStatus
Cache file statuses before a commit or branch review for use when attaching comments.
extensions/vscode/src/extension/services/GitService.ts:412
↓ 1 callersFunctionprepare_review_policy
(tree, base, head, env)
plugins/open-code-review/skills/open-code-review/scripts/review_pr.py:127
↓ 1 callersFunctionprepare_review_policy
(tree, base, head, env)
skills/open-code-review/scripts/review_pr.py:127
↓ 1 callersMethodpresentPatchDiff
As a last resort, show patch text only when the native diff fails.
extensions/vscode/src/extension/services/GitService.ts:374
↓ 1 callersMethodpresentRefDiff
In branch or commit mode, build both sides from Git refs or empty files for the native VS Code diff editor.
extensions/vscode/src/extension/services/GitService.ts:322
↓ 1 callersMethodpreview
preview runs the agent's file-selection logic and returns the preview result. No Template is passed, which leaves the per-file diff-size ceiling disa
cmd/opencodereview/delegate_cmd.go:133
↓ 1 callersFunctionpreviewFiles
(preview *agent.DiffPreview, reviewable bool)
cmd/opencodereview/delegate_cmd.go:296
↓ 1 callersFunctionpreviewJSON
(t *testing.T, repo string, extra ...string)
cmd/opencodereview/default_to_head_e2e_test.go:64
↓ 1 callersFunctionpreviewPathFmt
previewPathFmt pads paths to the widest one among the rows a section prints, so a long path in one section cannot push another section's columns out.
cmd/opencodereview/output.go:855
↓ 1 callersFunctionprintSessionCompare
printSessionCompare writes to stdout, matching the other `ocr session` subcommands.
cmd/opencodereview/session_cmd.go:480
↓ 1 callersFunctionprintSessionTable
(w io.Writer, summaries []session.Summary)
cmd/opencodereview/session_cmd.go:694
↓ 1 callersFunctionprobePath
probePath walks through each candidate path in order, returning the first int64 value found along with true. Returns (0, false) if none match.
internal/llm/usage_resolver.go:119
↓ 1 callersFunctionprocessHandleCount
()
acp/internal/orchestrator/process_alive_windows_test.go:45
↓ 1 callersFunctionproviderAcceptsAWSSettings
providerAcceptsAWSSettings reports whether aws_region / aws_profile mean anything for this provider. Storing them anywhere else would be dead config t
cmd/opencodereview/config_cmd.go:931
↓ 1 callersMethodproviderNameForModelStep
()
cmd/opencodereview/provider_tui.go:573
↓ 1 callersFunctionpublicDiagnosticField
Exempt only ordinary tracing, content-negotiation and version metadata. Unknown fields stay conservative, including custom authentication headers. Cre
acp/internal/intent/llm/diagnostics.go:181
↓ 1 callersFunctionpublish
Post the review result via the injectable ``poster`` object. Returns a stats dict with mutually-exclusive counts:: {total, inline, summa
examples/gitlab_ci/post_review.py:1251
↓ 1 callersFunctionpublish
Post the review result via the `post(discussion)` callable. `post` receives a discussion dict and must raise on failure. A general comment ca
examples/gitflic_ci/post_review.py:252
↓ 1 callersFunctionpublishBatch
({ chunk, github, owner, repo, prNumber, commitSha, reviewBody, REVIEW_TAG, log, diffCache
scripts/github-actions/post-review-comments.js:658
↓ 1 callersMethodpushConfig
(config: ReturnType<ConfigService['read']>)
extensions/vscode/src/extension/providers/SidebarProvider.ts:35
↓ 1 callersFunctionpushValue
(args: string[], flag: string, value: string | number | undefined)
plugins/open-code-review/opencode/open-code-review.ts:73
↓ 1 callersFunctionrandomValue
()
internal/chatgptauth/oauth.go:125
↓ 1 callersFunctionreadComparison
(github, variables, snapshot)
scripts/github-actions/check-pr-commit-policy.js:45
↓ 1 callersMethodreadContext
(args map[string]any)
internal/behaviortask/context.go:8
↓ 1 callersMethodreadFileAtRef
Reads a file's content at a given ref; returns null when the path does not exist at that ref. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:213
↓ 1 callersMethodreadFileAtRef
(ref: string, relPath: string)
extensions/vscode/src/extension/services/GitService.ts:427
↓ 1 callersMethodreadFromDisk
(path string)
internal/tool/filereader.go:85
↓ 1 callersMethodreadFromGitShow
(parentCtx context.Context, path string)
internal/tool/filereader.go:136
↓ 1 callersFunctionreadJsonOrNull
(repoRoot, file)
scripts/github-actions/check-plugin-contract.js:762
↓ 1 callersMethodreadLinesFromDisk
(path string, startLine, maxLines int)
internal/tool/filereader.go:213
↓ 1 callersMethodreadLinesFromGitShow
(ctx context.Context, path string, startLine, maxLines int)
internal/tool/filereader.go:227
↓ 1 callersMethodreadLoginCallback
(local string, denied bool)
internal/chatgptauth/login_recovery_test.go:126
↓ 1 callersFunctionreadObservation
(directory *os.Root, id string)
internal/viewer/analysis.go:170
↓ 1 callersFunctionreadStdout
(r io.Reader, limit int)
acp/internal/orchestrator/streams.go:52
↓ 1 callersMethodreadWorkspaceFile
Reads the file's current workspace content; returns null when the file does not exist. Paths are resolved against repoRoot: the comment paths the CLI
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:220
↓ 1 callersMethodreadWorkspaceFile
(relPath: string)
extensions/vscode/src/extension/services/GitService.ts:437
↓ 1 callersFunctionread_error_body
(e)
examples/gerrit_ci/post_review.py:313
↓ 1 callersFunctionreasonFor
(login)
scripts/github-actions/post-review-comments.test.js:5908
↓ 1 callersMethodrecordBatchCheckpoints
recordBatchCheckpoints persists safe per-file comments after batch dedup. New same-file groups use the canonical result. Reused items keep their sourc
internal/scan/agent.go:619
↓ 1 callersMethodrecordContextFailure
(err error)
internal/agent/agent.go:876
↓ 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:585
↓ 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:2077
↓ 1 callersMethodrefreshBranches
(repo: any)
extensions/vscode/src/extension/services/GitService.ts:184
↓ 1 callersFunctionrefreshComments
()
internal/viewer/static/session.js:128
↓ 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:928
↓ 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:1281
↓ 1 callersFunctionrelease
(folder, env)
plugins/open-code-review/skills/open-code-review/scripts/review_pr.py:105
↓ 1 callersFunctionrelease
(folder, env)
skills/open-code-review/scripts/review_pr.py:105
↓ 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:135
↓ 1 callersFunctionrenderFooter
()
pages/src/components/Footer.test.tsx:17
↓ 1 callersFunctionrenderHero
()
pages/src/components/HeroSection.test.tsx:11
↓ 1 callersFunctionrenderMermaidBlocks
()
pages/src/components/MarkdownRenderer.tsx:127
↓ 1 callersMethodrenderMessages
(values map[string]any)
internal/behaviortask/runner.go:206
↓ 1 callersFunctionrenderNotFound
(language: Language)
pages/src/pages/NotFoundPage.test.tsx:44
↓ 1 callersFunctionrenderProviders
()
pages/src/components/ProvidersSection.test.tsx:18
↓ 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:110
↓ 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:244
↓ 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:566
↓ 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:621
↓ 1 callersFunctionretryStageInfo
(taskType string)
cmd/opencodereview/output.go:589
↓ 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
← previousnext →2,601–2,700 of 7,484, ranked by callers