MCPcopy Create free account

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

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

↓ 2 callersFunctionemitGroupingSkipped
emitGroupingSkipped records a partition that was decided without an LLM round trip. Both skip paths report through here so their attribute sets cannot
internal/agent/grouping.go:163
↓ 2 callersMethodemitSync
()
extensions/vscode/src/extension/providers/CommentProvider.ts:43
↓ 2 callersFunctionemitWarning
(file, message)
scripts/github-actions/check-translation-sync.js:214
↓ 2 callersFunctionemitWarning
(file, message, line)
scripts/github-actions/check-plugin-contract.js:742
↓ 2 callersFunctionemptyMarks
()
internal/viewer/static/session.js:213
↓ 2 callersFunctionemptyResponse
()
internal/reviewtask/retry_identity_test.go:62
↓ 2 callersFunctionemptyResponse
()
internal/llmloop/retry_identity_test.go:57
↓ 2 callersFunctionencodingForModel
(modelName string)
internal/llm/client.go:585
↓ 2 callersFunctionendpointURL
(rawURL, suffix string)
acp/internal/intent/llm/client.go:241
↓ 2 callersFunctionenglishDocFiles
()
pages/english-doc-identifiers.cjs:6
↓ 2 callersFunctionensureSummaryAnchor
({ github, owner, repo, prNumber, body, sticky, tag, appSlug = "", resolveSelfLogin = null,
scripts/github-actions/post-review-comments.js:1253
↓ 2 callersMethodensureTelemetry
()
cmd/opencodereview/config_cmd.go:1219
↓ 2 callersFunctionensure_summary_anchor
Phase 1: find-or-create the summary note before posting discussions. Runs in both sticky and non-sticky modes so the pre-review body ("⏳ Post
examples/gitlab_ci/post_review.py:1365
↓ 2 callersFunctionerrBedrockNotConfigurable
errBedrockNotConfigurable explains why the two url+token strategies reject the bedrock protocol. Both describe a single HTTP endpoint and carry no pla
internal/llm/resolver.go:253
↓ 2 callersFunctionerrCaller
()
acp/internal/testutil/stub.go:96
↓ 2 callersFunctionerrOutput
(err error, out []byte)
acp/internal/testutil/stub.go:105
↓ 2 callersFunctionescapeAnnotationData
(s)
scripts/github-actions/check-plugin-contract.js:732
↓ 2 callersFunctionescapeControl
escapeControl returns the JSON escape for a control character. JSON forbids every byte below 0x20 in a string, so those without a short form get \u00X
internal/tool/comment_args_repair.go:42
↓ 2 callersFunctionestimateDiffCost
estimateDiffCost projects token usage for reviewing the given diffs. It is the diff-path analogue of scan.estimateCost and is used for the pre-review
internal/agent/estimate.go:73
↓ 2 callersMethodexchange
(ctx context.Context, a attempt, code, id string, old *Auth)
internal/chatgptauth/oauth.go:243
↓ 2 callersFunctionexecuteScanContext
(ctx context.Context, opts scanOptions)
cmd/opencodereview/scan_cmd.go:114
↓ 2 callersMethodexecuteTool
Check the current request before dispatch so restricted rounds cannot invoke providers or completion actions that were only available in earlier round
internal/llmloop/loop.go:479
↓ 2 callersFunctionexecutionStats
executionStats shows aggregate CLI facts, not inferred per-invocation tool calls.
acp/internal/adapter/presentation/progress_format.go:137
↓ 2 callersFunctionexportTo
exportTo runs `session export` against repoDir, writing to a file under t.TempDir(), and returns the file's contents. The command reads its flags from
cmd/opencodereview/session_cmd_test.go:1101
↓ 2 callersFunctionextFromPath
(path string)
internal/scan/agent.go:524
↓ 2 callersMethodextFromPath
extFromPath returns the file extension with leading dot, lowercased.
internal/agent/agent.go:2118
↓ 2 callersFunctionextractBlockText
(block ContentBlock)
internal/llm/client.go:266
↓ 2 callersFunctionextractCliError
(stderr: string)
extensions/vscode/src/extension/services/cliParse.ts:73
↓ 2 callersFunctionextractCodeBlock
extractCodeBlock extracts the content of the first fenced code block from text. Returns empty string if no code block is found.
internal/diff/relocation.go:99
↓ 2 callersFunctionextractTopLevelJSON
Some OpenAI-compatible gateways forward a model's raw completion text verbatim as tool-call arguments. A model whose response format leaks control tok
internal/reviewtask/tool_args_json.go:34
↓ 2 callersFunctionfallback
(_e: Error, reset: () => void)
pages/src/components/ErrorBoundary.test.tsx:81
↓ 2 callersMethodfalsePositive
(index: number)
extensions/vscode/src/extension/providers/CommentProvider.ts:177
↓ 2 callersFunctionfenced_block
Render ``content`` as a fenced code block with a safe fence.
examples/gitlab_ci/post_review.py:328
↓ 2 callersFunctionfileReadRef
fileReadRef picks the ref file_read resolves paths against. A sealed input replaces the ref the user typed with the commit that ref resolved to at ad
cmd/opencodereview/review_cmd.go:517
↓ 2 callersMethodfinalizeReview
finalizeReview validates slots, builds argv, checks refs, and updates state.
acp/internal/intent/parser.go:150
↓ 2 callersMethodfinalizeScan
(ctx context.Context, st *State, s *pendingSlots)
acp/internal/intent/parser.go:199
↓ 2 callersFunctionfindLinesByExistingCode
(content: string, existingCode: string)
extensions/vscode/src/extension/providers/commentAnchor.ts:71
↓ 2 callersFunctionfindSkipDirectives
(message)
scripts/github-actions/check-pr-commit-policy.js:23
↓ 2 callersFunctionfindSummaryIssueComment
({ github, owner, repo, prNumber, sticky, tag, appSlug = "", resolveSelfLogin = null, log, }
scripts/github-actions/post-review-comments.js:1224
↓ 2 callersFunctionfind_summary_note
Return the newest note carrying the summary marker (or per-run tag). ``tag`` selects the matching needle: when provided, match this run's per
examples/gitlab_ci/post_review.py:1319
↓ 2 callersFunctionfinish
(callback: () => void)
plugins/open-code-review/opencode/open-code-review.ts:282
↓ 2 callersMethodfinishSend
(ctx context.Context, id acp.SessionId, err error, reason acp.StopReason)
acp/internal/adapter/prompt.go:122
↓ 2 callersFunctionfirstNonBlankLine
(content string)
internal/config/rules/sniffer.go:180
↓ 2 callersFunctionfirstNonEmpty
(values ...string)
acp/internal/intent/llm/resolve.go:156
↓ 2 callersFunctionfixtureChatGPTClient
(t *testing.T, handler http.HandlerFunc)
internal/llm/chatgpt_roundtrip_test.go:23
↓ 2 callersMethodfocusManualStep
()
cmd/opencodereview/provider_tui.go:1812
↓ 2 callersFunctionfoldIgnoreByte
(value byte, ignoreCase bool)
internal/diff/gitignore_match.go:28
↓ 2 callersFunctionformatComment
(comment, id)
scripts/github-actions/post-review-comments.js:2359
↓ 2 callersFunctionformatDiffEntry
formatDiffEntry renders one changed file as STATUS path (+N/-M). It is the shared shape for both the grouping file list and the other-changed-files
internal/agent/agent.go:1713
↓ 2 callersFunctionformatReviewResult
(result: RunResult, preview: boolean)
plugins/open-code-review/opencode/open-code-review.ts:399
↓ 2 callersFunctionformatTime
(t time.Time)
internal/viewer/server.go:188
↓ 2 callersFunctiongenerateHeadingId
(text: string)
pages/src/utils/headingId.ts:27
↓ 2 callersMethodget
(ctx context.Context, endpoint string, target any)
internal/chatgptauth/oauth.go:65
↓ 2 callersFunctiongetAuthenticatedLogin
(github, log)
scripts/github-actions/post-review-comments.js:1315
↓ 2 callersMethodgetBranchDiff
Compare branches using a three-dot diff from the merge base.
extensions/vscode/src/extension/services/GitService.ts:207
↓ 2 callersFunctiongetBreakpoints
()
pages/src/hooks/useResponsive.ts:24
↓ 2 callersMethodgetCachedEnvironment
()
extensions/vscode/src/extension/services/CliService.ts:43
↓ 2 callersFunctiongetMeter
()
internal/telemetry/metrics.go:32
↓ 2 callersFunctiongetPlatformPackageName
()
scripts/platform.js:21
↓ 2 callersFunctiongetRawContent
(slug: BlogSlug, language: string)
pages/src/content/blog/index.ts:85
↓ 2 callersMethodgetReviewFileStatus
The change status of this path within the current review; returns null when it is out of scope. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:289
↓ 2 callersMethodgetState
* Refreshes and returns the git state for the given review mode. * Only the data the current mode needs is queried: workspace mode does not need
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:90
↓ 2 callersMethodgetState
(mode: ReviewMode)
extensions/vscode/src/extension/services/GitService.ts:70
↓ 2 callersFunctiongetTracer
()
internal/telemetry/span.go:19
↓ 2 callersFunctiongraceRoundCommentResponse
()
internal/reviewtask/loop_test.go:696
↓ 2 callersMethodhandle
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/SidebarRouter.kt:60
↓ 2 callersFunctionhandleCompare
handleCompare renders the `ocr session compare` result for two sessions of the same repo. repo is the on-disk directory name, passed through from the
internal/viewer/handler.go:168
↓ 2 callersFunctionhandler
(e: MouseEvent)
pages/src/components/Navbar.tsx:61
↓ 2 callersMethodhasContent
Whether the config still has real content. Empty strings do not count -- a blank string is falsy in this check. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigService.kt:112
↓ 2 callersMethodhasErrorAttempt
()
internal/llm/retry_report.go:241
↓ 2 callersFunctionhasLine
hasLine reads bounded fragments even for an arbitrarily long source line. A trailing newline terminates its line; it does not create another one.
acp/internal/adapter/workspace/files.go:96
↓ 2 callersFunctionhasOddQuotes
hasOddQuotes reports whether v carries an odd number of double quotes — the signature of a value cut short at a misjudged terminator. Number a value'
internal/tool/comment_args_repair.go:231
↓ 2 callersMethodhasSuggestion
(c: ReviewComment)
extensions/vscode/src/extension/providers/CommentProvider.ts:120
↓ 2 callersFunctionhasSuspectTruncation
hasSuspectTruncation reports whether any entry carries a value a misjudged terminator may have cut short. Such a batch is refused outright rather than
internal/tool/comment_args_repair.go:242
↓ 2 callersFunctionheader
(name)
scripts/github-actions/post-review-comments.js:1916
↓ 2 callersFunctionholdDuration
(cfg config)
acp/testdata/ocr-stub/main.go:237
↓ 2 callersFunctionhostOnly
hostOnly returns the bare host portion of a Host header value, with any port stripped and surrounding brackets removed from IPv6 literals. Empty or ma
internal/viewer/hostguard.go:20
↓ 2 callersFunctionhunkHeader
(line string)
internal/diff/hunk.go:38
↓ 2 callersFunctionidentityArgs
(dir string, maxTokens int)
internal/agent/identity_test.go:35
↓ 2 callersFunctionids
ids renders a bucket as "path:startline" entries, so a case pins both the membership and the order Compare promises.
internal/session/compare_test.go:28
↓ 2 callersFunctioninCommentSeverityOrder
(comments []model.LlmComment, findings []T)
cmd/opencodereview/output.go:28
↓ 2 callersFunctioninfo
(msg)
scripts/install.js:19
↓ 2 callersFunctioninitConsoleProviders
initConsoleProviders sets up stdout exporters for traces and metrics.
internal/telemetry/exporter.go:184
↓ 2 callersFunctioninitIdentityRepo
initIdentityRepo builds a workspace with two reviewable files, one the extension rules drop, and one large enough for the token filter to drop.
internal/agent/identity_test.go:19
↓ 2 callersMethodinitManifest
initManifest seeds the run manifest with this run's input identity and execution provenance. It is nil-safe (the builder is absent on the delegate pre
internal/agent/agent.go:967
↓ 2 callersFunctioninitRepoWithCQuotedChange
initRepoWithCQuotedChange creates a repository with one committed file whose path forces git's C-quoting, then modifies it in the working tree. It mir
internal/diff/git_cquoted_test.go:31
↓ 2 callersFunctioninitRepoWithCommit
initRepoWithCommit creates a real git repository with a single commit whose message is `message`, and returns the repo directory and the commit hash.
cmd/opencodereview/background_file_test.go:294
↓ 2 callersFunctioninitRepoWithNonASCIIChange
initRepoWithNonASCIIChange creates a repository whose changed file path contains both non-ASCII characters and Next.js-style route groups. It forces G
internal/diff/git_test.go:315
↓ 2 callersMethodinitScanFingerprints
(items []model.ScanItem)
internal/scan/agent.go:254
↓ 2 callersMethodinjectDiffMap
injectDiffMap builds a read-only DiffMap from parsed diffs and sets it on the FileReadDiffProvider. Must be called after loadDiffs and before any conc
internal/agent/agent.go:631
↓ 2 callersFunctioninstallSignalHandlers
(child, platform, signalTarget)
bin/ocr.js:35
↓ 2 callersFunctionisBinaryFile
isBinaryFile reads up to binarySniffWindow bytes from path and reports whether they contain a NUL byte (git's "binary" heuristic).
internal/scan/provider.go:452
↓ 2 callersFunctionisLegalEscape
isLegalEscape reports whether s[i] opens a valid JSON escape sequence, given that s[i-1] is a backslash. \u additionally requires four hex digits.
internal/tool/comment_args_repair.go:61
↓ 2 callersFunctionisLineResolutionFailure
(error)
scripts/github-actions/post-review-comments.js:2860
↓ 2 callersFunctionisLoopbackHost
isLoopbackHost reports whether host is a loopback name or IP literal that is always safe to accept regardless of operator configuration.
internal/viewer/hostguard.go:42
↓ 2 callersFunctionisNoGitRepoProbe
Git uses exit 128 for both discovery misses and repository access errors.
cmd/opencodereview/shared.go:255
↓ 2 callersFunctionisPerlRegexpCompileError
(stderr string)
internal/tool/code_search.go:291
↓ 2 callersFunctionisProcessRunning
(pid)
plugins/open-code-review/opencode/test/open-code-review.test.mjs:90
↓ 2 callersFunctionisValidProviderName
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigDraft.kt:116
↓ 2 callersFunctionjcefUnsupportedPlaceholder
* Fallback notice for when JCEF is unavailable (all of the plugin's UI is then unusable). * [locale] defaults to the IDE UI language: reaching this p
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/JcefReviewPanel.kt:100
← previousnext →1,601–1,700 of 7,599, ranked by callers