Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/open-code-review
/ functions
Functions
7,169 in github.com/alibaba/open-code-review
⨍
Functions
7,169
◇
Types & classes
774
↓ 1 callers
Method
recordContextFailure
(err error)
internal/agent/agent.go:862
↓ 1 callers
Method
recordGraceRoundLimit
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 callers
Method
recordSessionModelPick
(model string)
cmd/opencodereview/provider_tui.go:586
↓ 1 callers
Method
recordToolFailureStreak
recordToolFailureStreak increments and returns the consecutive-failure count for one (taskKey, toolName) pair.
internal/reviewtask/tool_failure_streak.go:41
↓ 1 callers
Function
referencedRuleFiles
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 callers
Method
refreshBranches
(repo: any)
extensions/vscode/src/extension/services/GitService.ts:184
↓ 1 callers
Function
refreshComments
()
internal/viewer/static/session.js:103
↓ 1 callers
Method
refreshDue
(now time.Time)
internal/chatgptauth/oauth.go:493
↓ 1 callers
Method
refreshModelSelectionForCustom
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 callers
Method
refreshRecentCommits
(repo: any)
extensions/vscode/src/extension/services/GitService.ts:193
↓ 1 callers
Function
reg
(id: string, fn: (...args: any[]) => any)
extensions/vscode/src/extension/commands.ts:13
↓ 1 callers
Function
registerCommands
( comments: CommentProvider, openConfig: () => void, )
extensions/vscode/src/extension/commands.ts:8
↓ 1 callers
Method
registerCoverage
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 callers
Function
releaseLock
()
scripts/update.js:58
↓ 1 callers
Function
removeHint
()
scripts/update.js:123
↓ 1 callers
Function
removeWithRetries
(target)
bin/ocr.test.js:87
↓ 1 callers
Function
renamedCoverage
(oldPath, newPath string)
internal/viewer/compare_test.go:40
↓ 1 callers
Function
renamedPaths
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 callers
Function
renderDocsPage
(initialLang: Language = 'en', initialEntry = '/docs/quickstart')
pages/src/pages/DocsPage.test.tsx:113
↓ 1 callers
Function
renderFooter
()
pages/src/components/Footer.test.tsx:16
↓ 1 callers
Function
renderHero
()
pages/src/components/HeroSection.test.tsx:11
↓ 1 callers
Function
renderMermaidBlocks
()
pages/src/components/MarkdownRenderer.tsx:127
↓ 1 callers
Function
renderNotFound
(language: Language)
pages/src/pages/NotFoundPage.test.tsx:42
↓ 1 callers
Function
renderProviders
()
pages/src/components/ProvidersSection.test.tsx:17
↓ 1 callers
Function
repoLinkPattern
()
scripts/github-actions/check-plugin-contract.js:244
↓ 1 callers
Function
reporter
()
scripts/github-actions/check-pr-commit-policy.test.js:94
↓ 1 callers
Method
requestFailure
(ctx context.Context, trace *requestTrace, rawURL string, status int, cause error, detail string)
acp/internal/intent/llm/diagnostics.go:64
↓ 1 callers
Function
resetFixtures
()
pages/src/pages/DocsPage.test.tsx:94
↓ 1 callers
Method
resetToolFailureStreak
resetToolFailureStreak clears the consecutive-failure count for one (taskKey, toolName) pair after it succeeds.
internal/reviewtask/tool_failure_streak.go:54
↓ 1 callers
Method
resolveBatchStrategy
resolveBatchStrategy reads the strategy from the scan template, defaulting to BatchNone for unrecognized / empty values.
internal/scan/agent.go:661
↓ 1 callers
Function
resolveChunk
()
pages/src/hooks/useTransitionedLocation.test.tsx:17
↓ 1 callers
Function
resolveCommentAnchor
* 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 callers
Function
resolveCommentAnchor
( comment: ReviewComment, ctx: ReviewContext, deps: CommentAnchorDeps, )
extensions/vscode/src/extension/providers/commentAnchor.ts:126
↓ 1 callers
Function
resolveCommitHead
(ctx context.Context, args Args, ref string)
internal/agent/identity.go:102
↓ 1 callers
Method
resolveDetail
(path string)
internal/config/rules/system_rules.go:166
↓ 1 callers
Function
resolveEffort
resolveEffort applies the standard precedence for the review effort preset: CLI flag > saved app config > EffortDefault.
cmd/opencodereview/shared.go:70
↓ 1 callers
Function
resolveLocale
* 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 callers
Function
resolveLocationPath
resolveLocationPath rebuilds a Location's path from its parts and checks the two agree.
internal/session/delete.go:219
↓ 1 callers
Function
resolveOptionalConversation
(m *manifestConversation, name string)
internal/config/template/template.go:207
↓ 1 callers
Function
resolveOutputCommitPath
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 callers
Function
resolvePanelState
(config: OcrConfig | null, panelFocus?: ConfigPanelFocus | null)
extensions/frontend/src/webview/views/ConfigView.tsx:44
↓ 1 callers
Function
resolveSessionCwd
(ctx: PluginV2.Context, sessionID: string)
plugins/open-code-review/opencode/open-code-review.ts:520
↓ 1 callers
Function
resolveStepState
( active: boolean, checking: boolean, ok: boolean | undefined, )
extensions/frontend/src/webview/components/EnvSetupGuide.tsx:32
↓ 1 callers
Function
resolveVersion
(pkg)
scripts/install.js:75
↓ 1 callers
Function
resolve_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 callers
Function
responseStatus
(status int)
acp/internal/intent/llm/diagnostics.go:118
↓ 1 callers
Function
responsesClient
(url string, c *RetryCollector)
internal/llm/retry_boundary_test.go:37
↓ 1 callers
Method
responsesStreaming
(ctx context.Context, params responses.ResponseNewParams, opts ...openaiopt.RequestOption)
internal/llm/responses_client.go:244
↓ 1 callers
Method
responsesStreamingInner
(ctx context.Context, params responses.ResponseNewParams, opts ...openaiopt.RequestOption)
internal/llm/responses_client.go:260
↓ 1 callers
Method
resumeItem
(fingerprint string)
internal/scan/agent.go:297
↓ 1 callers
Function
resumeProcessThreads
(pid int)
acp/internal/orchestrator/process/winapi_windows.go:126
↓ 1 callers
Function
resumeThread
(thread syscall.Handle)
acp/internal/orchestrator/process/winapi_windows.go:220
↓ 1 callers
Function
resumeThreadsBySnapshot
(pid int)
acp/internal/orchestrator/process/winapi_windows.go:150
↓ 1 callers
Function
resumeThreadsOnce
(pid int)
acp/internal/orchestrator/process/winapi_windows.go:171
↓ 1 callers
Method
retained
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 callers
Function
retryErrorPhrase
(a llm.AttemptRecord)
cmd/opencodereview/output.go:589
↓ 1 callers
Function
retryStageInfo
(taskType string)
cmd/opencodereview/output.go:557
↓ 1 callers
Method
revealInDiffSide
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 callers
Method
review
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/CliService.kt:214
↓ 1 callers
Method
review
(opts: CliRunOptions, cwd: string, onLog: (l: LogLine) => void)
extensions/vscode/src/extension/services/CliService.ts:149
↓ 1 callers
Function
reviewClarifyQuestion
(missing []string)
acp/internal/intent/parser.go:225
↓ 1 callers
Function
reviewedManifest
(items ...CoverageItem)
internal/session/compare_test.go:299
↓ 1 callers
Method
revokeSession
(ctx context.Context, auth *Auth)
internal/chatgptauth/oauth.go:617
↓ 1 callers
Method
rightRefFor
* 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 callers
Function
route_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 callers
Function
run
()
scripts/verify-english-only.go:207
↓ 1 callers
Function
runBlock
(cfg config, cleanup bool)
acp/testdata/ocr-stub/main.go:221
↓ 1 callers
Function
runChild
()
acp/testdata/ocr-stub/main.go:278
↓ 1 callers
Function
runCommand
(command, mode string, cfg config)
acp/testdata/ocr-stub/main.go:139
↓ 1 callers
Function
runDocsCheck
({ env = process.env } = {})
scripts/github-actions/check-translation-sync.js:317
↓ 1 callers
Function
runEnvCheck
(dispatch: (action: { type: 'checkingEnv' }) => void)
extensions/frontend/src/webview/ConfigPanelApp.tsx:11
↓ 1 callers
Function
runExit3MCPServer
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 callers
Method
runGitGrep
(parentCtx context.Context, cmdArgs []string)
internal/tool/code_search.go:125
↓ 1 callers
Method
runGraceRound
(ctx context.Context, messages []llm.Message, taskKey string, sessionID string)
internal/llmloop/loop.go:478
↓ 1 callers
Function
runHangingMCPServer
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 callers
Function
runLLMTest
()
cmd/opencodereview/llm_cmd.go:55
↓ 1 callers
Method
runMainTask
(ctx context.Context, messages []llm.Message, taskKey string)
internal/llmloop/loop.go:293
↓ 1 callers
Function
runManualReview
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 callers
Function
runPagedTestMCPServer
()
internal/mcp/stdio_test.go:121
↓ 1 callers
Function
runPartialReview
()
extensions/frontend/src/webview/__tests__/FailedView.test.ts:17
↓ 1 callers
Function
runPathIdentity
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 callers
Function
runReadmeCheck
({ repoRoot = process.cwd(), files = README_FILES } = {})
scripts/github-actions/check-translation-sync.js:273
↓ 1 callers
Function
runReview
(backgroundFile?: string)
plugins/open-code-review/opencode/open-code-review.ts:410
↓ 1 callers
Function
runSession
runSession provides test compatibility for the old dispatch function.
cmd/opencodereview/compat_test.go:118
↓ 1 callers
Function
runSessionRmAnywhere
runSessionRm deletes one persisted session, confirming first unless --yes.
cmd/opencodereview/session_cmd.go:544
↓ 1 callers
Function
runSlowExitMCPServer
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 callers
Function
runTestMCPServer
()
internal/mcp/stdio_test.go:111
↓ 1 callers
Function
runVersion
(cfg config)
acp/testdata/ocr-stub/main.go:104
↓ 1 callers
Function
runWith
(over)
scripts/github-actions/post-review-comments.test.js:5825
↓ 1 callers
Function
run_ocr_review
Run `ocr review --format json` and return the parsed JSON output.
examples/codeup_ci/post_review.py:73
↓ 1 callers
Function
run_tag_from_env
(env)
examples/gitlab_ci/post_review.py:1459
↓ 1 callers
Method
safeEndpoint
(endpoint string)
internal/chatgptauth/oauth.go:51
↓ 1 callers
Function
safeRead
(fs, p)
scripts/github-actions/post-review-comments.js:2549
↓ 1 callers
Function
safeSegment
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 callers
Function
safe_fence
Pick a backtick fence long enough to enclose ``content`` (min 3).
examples/gitlab_ci/post_review.py:240
↓ 1 callers
Function
sameFileWithinBase
(base, target string)
internal/pathutil/path.go:34
↓ 1 callers
Function
sameSequence
(a, b)
scripts/github-actions/check-translation-sync.js:105
↓ 1 callers
Function
same_comment_span
IoU-based same-comment predicate (strict: equal-to-threshold is NOT a match).
examples/gitlab_ci/post_review.py:455
↓ 1 callers
Function
sanitizeMarkdownText
(document ast.Node, source []byte)
cmd/opencodereview/markdown.go:83
↓ 1 callers
Function
sarifResults
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
← previous
next →
2,501–2,600 of 7,169, ranked by callers