MCPcopy Create free account

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

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

↓ 1 callersMethodValidate
()
internal/config/template/behavior.go:53
↓ 1 callersMethodValidate
Validate checks that a ScanTemplate has the minimum fields populated.
internal/config/template/template.go:339
↓ 1 callersMethodWithAttributeSource
(revision string)
internal/gitcmd/runner.go:72
↓ 1 callersMethodWrite
(p []byte)
internal/gitcmd/runner.go:282
↓ 1 callersMethodWrite
(p []byte)
cmd/opencodereview/shared.go:699
↓ 1 callersMethodWrite
(frame []byte)
acp/internal/adapter/transport/discovery.go:23
↓ 1 callersMethodWrite
(p []byte)
acp/internal/orchestrator/resolve.go:194
↓ 1 callersMethodWriteLLMError
WriteLLMError writes an llm_error entry recording a failed LLM request.
internal/session/persist.go:332
↓ 1 callersMethodWriteLLMRequest
WriteLLMRequest writes a request entry with the resolved messages.
internal/session/persist.go:274
↓ 1 callersMethodWriteLLMResponse
WriteLLMResponse writes a response entry with model, content, reasoning, tool calls, and usage.
internal/session/persist.go:296
↓ 1 callersMethodWriteResumeLineage
WriteResumeLineage writes the one resume_lineage record of a resumed run. Readers that do not know this event type ignore it, so it costs older toolin
internal/session/persist.go:385
↓ 1 callersMethodWriteReviewItemDone
WriteReviewItemDone writes a file-level resume checkpoint for a completed diff.
internal/session/persist.go:225
↓ 1 callersMethodWriteReviewItemFailed
WriteReviewItemFailed writes a file-level checkpoint for a failed diff.
internal/session/persist.go:235
↓ 1 callersMethodWriteReviewItemReused
WriteReviewItemReused writes a checkpoint reused from a previous session.
internal/session/persist.go:230
↓ 1 callersMethodWriteSessionEnd
WriteSessionEnd writes the final session_end summary record and closes the file. When manifest is non-nil it is embedded under "run_manifest", and whe
internal/session/persist.go:423
↓ 1 callersMethodWriteToolCall
WriteToolCall writes a tool call result entry.
internal/session/persist.go:358
↓ 1 callersMethod__init__
(self, note_outcomes=None, disc_outcomes=None, notes=None, notes_read_failure=False,
examples/gitlab_ci/post_review_test.py:130
↓ 1 callersFunction_default_ref
Build an `origin/<branch>` ref from a CODEUP_*_BRANCH env var, if set.
examples/codeup_ci/post_review.py:228
↓ 1 callersFunction_env_flag
(name: str, default: bool = False)
examples/codeup_ci/post_review.py:221
↓ 1 callersMethod_failed_result
(resp, reason=None)
examples/gitlab_ci/post_review.py:1201
↓ 1 callersFunction_get_comments
Normalize the top-level shape of ocr's JSON output to a list of comments.
examples/codeup_ci/post_review.py:109
↓ 1 callersFunction_git
(repo, *args)
examples/gitflic_ci/post_review.py:381
↓ 1 callersMethod_is_comment_posted
True/False when the read succeeds; None when the read API failed.
examples/gitlab_ci/post_review.py:1153
↓ 1 callersFunction_maybe_reached_server
True when a failed request may still have landed on the server.
examples/gitlab_ci/post_review.py:958
↓ 1 callersFunction_old_line_in_hunk
Walk a hunk's lines tracking both counters until reaching new_line.
examples/gitflic_ci/post_review.py:196
↓ 1 callersFunction_parse_bool
(value, default=False)
examples/gitlab_ci/post_review.py:1652
↓ 1 callersFunction_pick_version
Select the MR diff version that matches what OCR reviewed. Prefers an exact ``head_commit_sha`` (and ``base_commit_sha`` when both are suppli
examples/gitlab_ci/post_review.py:997
↓ 1 callersFunction_require_env
(name: str)
examples/codeup_ci/post_review.py:214
↓ 1 callersMethod_success_result
(resp, reconciled=False)
examples/gitlab_ci/post_review.py:1195
↓ 1 callersFunctionacquireLock
()
scripts/update.js:35
↓ 1 callersFunctionadapter_binary
()
acp/testdata/python-client-smoke.py:88
↓ 1 callersFunctionadd
(c)
scripts/github-actions/post-review-comments.test.js:362
↓ 1 callersFunctionaddConcurrencyFlags
(cmd *cobra.Command, concurrency, timeout, maxTools, maxGitProcs, maxTokens, maxTokensBudget *int)
cmd/opencodereview/shared_flags.go:54
↓ 1 callersFunctionaddPreviewFlag
(cmd *cobra.Command, target *bool)
cmd/opencodereview/shared_flags.go:71
↓ 1 callersFunctionallFixtureFiles
(root)
scripts/github-actions/action-contract.test.js:343
↓ 1 callersMethodallowSimilarityCheck
(changes []model.Diff)
internal/behaviortask/prepare.go:133
↓ 1 callersFunctionallowedPrefix
(file string)
scripts/verify-english-only.go:153
↓ 1 callersFunctionanalysisMarkdownBoundaries
(markdown string)
cmd/opencodereview/analysis_output.go:142
↓ 1 callersFunctionanalysisObservations
(body []byte)
cmd/opencodereview/analysis_test.go:221
↓ 1 callersFunctionanalysisOutputOf
(provider ResultProvider)
cmd/opencodereview/analysis.go:226
↓ 1 callersFunctionanalysisStopReason
(reason string)
cmd/opencodereview/analysis_output.go:91
↓ 1 callersFunctionanthropicHeaders
(ep Endpoint)
acp/internal/intent/llm/client.go:265
↓ 1 callersFunctionanthropicThinkingBudgetTokens
anthropicThinkingBudgetTokens extracts budget_tokens from an extra_body.thinking map. Returns ok=false for unrecognized shapes.
internal/llm/client.go:1467
↓ 1 callersFunctionappendCheckpoint
(body, manifest)
scripts/github-actions/post-review-comments.js:252
↓ 1 callersFunctionappendChunk
( chunks: Uint8Array[], currentBytes: number, chunk: Uint8Array, maxBytes: number, )
plugins/open-code-review/opencode/open-code-review.ts:241
↓ 1 callersMethodapplyInputIdentity
applyInputIdentity fills the manifest's frozen input identity and repository identity, then hands them to the builder through its single setters. It i
internal/agent/agent.go:1017
↓ 1 callersFunctionapplyMarkState
(card, state)
internal/viewer/static/session.js:273
↓ 1 callersFunctionapplyProviderField
Only these 6 provider fields are recognized; every other key is ignored. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigDraft.kt:91
↓ 1 callersMethodapplyRaw
(ctx context.Context, st *State, raw *rawIntent)
acp/internal/intent/natural.go:81
↓ 1 callersMethodassertClean
(t *testing.T, wantCalls int)
internal/scan/retry_identity_test.go:42
↓ 1 callersFunctionassertDelegatePatch
(t *testing.T, patch, want string)
internal/delegate/instructions_test.go:435
↓ 1 callersMethodassertGroupingRecognized
assertGroupingRecognized fails if no request matched groupingSystemPrompt. Without it a reworded GROUPING_TASK system prompt would degrade these tests
cmd/opencodereview/retry_fake_llm_test.go:92
↓ 1 callersFunctionassertJSONValue
(t *testing.T, root map[string]any, path []string, want any)
cmd/opencodereview/config_cmd_test.go:1802
↓ 1 callersFunctionassert_execution
(updates, status, expected_lines)
acp/testdata/python-client-smoke.py:129
↓ 1 callersFunctionassignProcessToJob
(job syscall.Handle, pid int)
acp/internal/orchestrator/process/winapi_windows.go:104
↓ 1 callersFunctionat
(rc)
scripts/github-actions/post-review-comments.test.js:3198
↓ 1 callersFunctionattachProcessGroup
(*exec.Cmd)
acp/internal/orchestrator/process/process_unix.go:21
↓ 1 callersMethodattachSidebar
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/ReviewProjectService.kt:109
↓ 1 callersFunctionauthFailures
(core)
scripts/github-actions/post-review-comments.test.js:7215
↓ 1 callersFunctionawaitStreams
(streams streamHandle)
acp/internal/orchestrator/runner.go:310
↓ 1 callersFunctionb64
(s)
scripts/github-actions/post-review-comments.test.js:4225
↓ 1 callersFunctionbatchCallCount
()
scripts/github-actions/post-review-comments.test.js:153
↓ 1 callersFunctionbatchKeyFunc
batchKeyFunc returns the grouping key extractor for a strategy.
internal/scan/batch.go:82
↓ 1 callersFunctionbatchPostedComments
()
scripts/github-actions/post-review-comments.test.js:131
↓ 1 callersFunctionbedrockContext
bedrockContext reports the region and profile a Bedrock client resolved. ok is false for every other client, which keeps the test output unchanged for
cmd/opencodereview/llm_cmd.go:250
↓ 1 callersMethodbedrockWhere
bedrockWhere describes the region and profile in one clause, for error text.
internal/llm/client.go:1391
↓ 1 callersMethodbeginTurn
beginTurn marks the session busy and installs its cancellation context under the agent lock. Every successful call must be paired with endTurn.
acp/internal/adapter/session.go:111
↓ 1 callersMethodbindConfigPanel
(open: (focus?: ConfigPanelFocus) => void)
extensions/vscode/src/extension/providers/SidebarProvider.ts:31
↓ 1 callersFunctionblockForCancel
(sigCh chan os.Signal)
acp/testdata/mock-ocr/main.go:257
↓ 1 callersFunctionbodyColors
background-color / color out of a `body { ... }` block.
pages/src/index.html.test.ts:35
↓ 1 callersFunctionboolPtr
(v bool)
internal/llm/retry_observer_test.go:689
↓ 1 callersFunctionbotComments
(n)
scripts/github-actions/post-review-comments.test.js:6452
↓ 1 callersFunctionbrowserEnvArgv
browserEnvArgv turns one $BROWSER entry into an argv, or nil if it is blank.
internal/viewer/browser.go:142
↓ 1 callersFunctionbuildAdvanceMarker
(manifest)
scripts/github-actions/post-review-comments.js:224
↓ 1 callersMethodbuildAnchorDeps
(root: string, ctx: ReviewContext)
extensions/vscode/src/extension/providers/CommentProvider.ts:100
↓ 1 callersMethodbuildCommentDiffUris
Build the URIs for both diff sides and the Git ref used to attach comments.
extensions/vscode/src/extension/services/GitService.ts:448
↓ 1 callersFunctionbuildConfirmedCommentsBlock
buildConfirmedCommentsBlock renders confirmed findings from prior rounds into a compact text block for injection into the next round's prompt. Returns
internal/agent/util.go:55
↓ 1 callersMethodbuildCoverageLocked
buildCoverageLocked assembles the sorted, non-nil coverage sets from the current item and exclusion maps. Caller must hold b.mu.
internal/session/manifest.go:963
↓ 1 callersFunctionbuildCreateEntries
()
extensions/frontend/src/webview/views/ConfigView.tsx:458
↓ 1 callersFunctionbuildCustomUpdateSaveEntries
(params: { name: string; protocol: string; url: string; model: string; models: string; apiKey: str
extensions/frontend/src/shared/configUtils.ts:143
↓ 1 callersFunctionbuildDelegateCommandPrompt
(userText?: string)
plugins/open-code-review/opencode/open-code-review.ts:701
↓ 1 callersFunctionbuildDelegatePreviewArgs
( input: DelegatePreviewInput, repo: string, backgroundFile?: string, )
plugins/open-code-review/opencode/open-code-review.ts:150
↓ 1 callersFunctionbuildEditEntries
()
extensions/frontend/src/webview/views/ConfigView.tsx:468
↓ 1 callersFunctionbuildFileFilter
buildFileFilter picks the highest-priority layer that has any include/exclude configured. Priority order: custom (--rule) > project > global.
internal/config/rules/system_rules.go:352
↓ 1 callersFunctionbuildFlatDocList
()
pages/src/pages/DocsPage.tsx:123
↓ 1 callersMethodbuildMainTaskMessages
buildMainTaskMessages renders the MAIN_TASK messages for one review round. planResult is "" for round 2+ (stripped via stripEmptyPlanBlock). confirmed
internal/agent/agent.go:1381
↓ 1 callersFunctionbuildMessageXML
(msgs []llm.Message)
internal/agent/util.go:110
↓ 1 callersFunctionbuildPreReviewSummaryBody
(totalCount, summaryComments, routedComments, warnings, heading, scopeNote = "")
scripts/github-actions/post-review-comments.js:2593
↓ 1 callersFunctionbuildUrl
(pattern, vars)
scripts/install.js:87
↓ 1 callersFunctionbuild_config
Build the config dict from environment variables (with defaults).
examples/gitlab_ci/post_review.py:1665
↓ 1 callersFunctionbuild_endpoint
Join base URL (context path kept, trailing slash tolerated) and route.
examples/gerrit_ci/post_review.py:192
↓ 1 callersFunctionbuild_line_range
Resolve a multiline ``span`` into a GitLab ``line_range`` from ``diff``. Returns ``None`` when the inventory lacks per-line positions for ``path`
examples/gitlab_ci/post_review.py:757
↓ 1 callersFunctionbuild_new_line_positions
Map each new-file line number to its diff position within a patch. Returns ``{new_line: {"type": "new"|"context", "old_line": int|None}}``. A
examples/gitlab_ci/post_review.py:693
↓ 1 callersFunctionbuild_policy
Parse the publication policy from the raw opt-in inputs. Returns a normalized policy dict, or :data:`NO_ROUTING` when no routing is requested
examples/gitlab_ci/post_review.py:246
↓ 1 callersFunctionbuild_review_input
Map `ocr review --format json` output to one Gerrit ReviewInput dict.
examples/gerrit_ci/post_review.py:98
↓ 1 callersFunctionbuild_summary_body
Merged summary header. Counts are mutually exclusive and sum to total.
examples/gitlab_ci/post_review.py:517
↓ 1 callersMethodcallAnthropic
(ctx context.Context, req intent.LLMRequest)
acp/internal/intent/llm/client.go:149
↓ 1 callersMethodcallOpenAI
(ctx context.Context, req intent.LLMRequest)
acp/internal/intent/llm/client.go:94
↓ 1 callersFunctioncanResumeSlash
canResumeSlash permits only a direct answer to a pending range clarification. Every other slash command begins a new request so stale values cannot ch
acp/internal/intent/slash.go:125
↓ 1 callersMethodcancelActiveSession
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/SidebarRouter.kt:230
← previousnext →2,101–2,200 of 7,599, ranked by callers