MCPcopy Create free account

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

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

MethodreadRaw
Reads the raw snake_case JSON, preserving all unknown fields. Parse failures are logged (same as [read]) and an empty config is returned. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigService.kt:45
MethodreadResource
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/WebviewHtml.kt:83
MethodreadRightSide
The diff's right-side (after the change) content. Workspace mode reads the workspace; the other modes read the corresponding ref. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:425
MethodrebuildInlinePanels
Rebuild the inline panel with the latest status and expansion state; skip if no existing panel is found. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentService.kt:373
MethodrefreshBranches
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:137
MethodrefreshCurrentBranch
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:116
MethodrefreshGutter
Refresh gutter icons, tooltips, error stripes, and inline panels when status changes. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentService.kt:345
MethodrefreshRecentCommits
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:147
MethodrefreshWorkspaceFiles
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:125
FunctionrenderCommentState
(state)
internal/viewer/static/session.js:134
FunctionrequestModeFiles
(mode: ReviewMode, from?: string, to?: string, commit?: string)
extensions/frontend/src/webview/App.tsx:38
MethodresolveDetail
resolveDetail mirrors Resolve while preserving the wrapped layer's matched Pattern verbatim (it stays a plain glob) and recording the override in Snif
internal/config/rules/sniffer.go:66
MethodresolveGitRef
* Resolves a user-entered branch name to a ref that actually exists. * Tries the candidates from [branchRefCandidates] in order (add the origin/
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:193
FunctionresolveMutationCalls
()
scripts/github-actions/post-review-comments.test.js:195
MethodresolveProjectFile
* Resolve a CLI path within the repository, rejecting paths outside repoRoot. * Git diff comment paths are repository-relative. If the project is
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentService.kt:734
MethodresolveWebviewView
(view: vscode.WebviewView)
extensions/vscode/src/extension/providers/SidebarProvider.ts:39
Methodresult
extensions/idea/src/test/kotlin/com/alibaba/opencodereview/idea/services/ReviewSessionTest.kt:76
MethodresyncPixelDensity
* Syncs the OSR renderer's pixel density to the DPI of the screen the component is now on. * After a screen change a mismatch scales the picture
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/OcrWebview.kt:142
MethodreviewCwd
* Determines the working directory for the review. * * Prefers the project root; when the project root is not inside a git repository it fal
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/SidebarRouter.kt:201
Methodrgba
* Emits `rgba()`, multiplying [extraAlpha] by the color's own alpha (not overriding it: the * scrollbar variables are "foreground plus a layer of
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/IdeaTheme.kt:146
MethodrunFailedCli
extensions/idea/src/test/kotlin/com/alibaba/opencodereview/idea/services/ReviewSessionTest.kt:21
MethodrunGitOrNull
* Runs one git command and returns its stdout. Any failure (non-zero exit, timeout, missing git) returns null, * and callers treat "nothing retur
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:531
FunctionrunLLMTestWithConfigPath
(configPath string)
cmd/opencodereview/llm_cmd.go:63
FunctionrunLauncherIntegrationTests
(fixture)
bin/ocr.test.js:252
MethodsafeRef
Validates a user-entered ref/sha: non-empty after trim, not starting with `-`, and free of whitespace/control characters; otherwise returns null (so i
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:518
Functionsave
()
extensions/frontend/src/webview/views/ConfigView.tsx:365
MethodscheduleFullRepaint
Forces a full repaint after a resize, fixing the large white areas that appear after a * resize in off-screen rendering mode. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/OcrWebview.kt:117
MethodscheduleRefresh
()
extensions/vscode/src/extension/services/GitService.ts:107
Methodscheme
Used only for the editor font name — colors always go through [ui], see rule 2 above. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/IdeaTheme.kt:131
FunctionsearchBlog
(query: string, language: string)
pages/src/content/blog/index.ts:112
MethodsendInit
* Answers the frontend's `ready` message with the three pieces of data initialization needs. * * All three fields must be present: without `
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/SidebarRouter.kt:132
MethodsendInit
* Response to `readyConfigPanel`. `env` deliberately comes from the cache rather than a fresh * probe: the panel sends `checkEnvironment` itself
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/ConfigPanelRouter.kt:139
MethodsendModeFiles
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/SidebarRouter.kt:136
Methodsession_update
(self, session_id, update, **kwargs)
acp/testdata/python-client-smoke.py:120
FunctionsetConfigValue
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigDraft.kt:153
FunctionsetOutput
(name, value)
scripts/github-actions/post-review-comments.test.js:413
MethodsetStatus
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentService.kt:333
FunctionsetTestHome
setTestHome redirects the user home resolved by os.UserHomeDir() to dir for the duration of the test. Setting HOME alone is NOT enough on Windows: os.
internal/reviewtask/test_home_test.go:13
FunctionsetTestHome
setTestHome redirects the user home resolved by os.UserHomeDir() to dir for the duration of the test. Setting HOME alone is NOT enough on Windows: os.
internal/llmloop/test_home_test.go:13
MethodsetUp
(self)
examples/gitflic_ci/post_review_test.py:69
FunctionsetupV2
(ctx: PluginV2.Context)
plugins/open-code-review/opencode/open-code-review.ts:531
FunctionseverityCounts
(comments []*ReviewComment)
internal/viewer/server.go:266
Methodshell
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ShellEnv.kt:107
FunctionshellCommand
(ctx context.Context, script string)
cmd/opencodereview/shell_windows.go:13
Methodsnapshot
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentService.kt:307
Functionsort_key
(c)
examples/codeup_ci/post_review.py:136
MethodstartReview
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/SidebarRouter.kt:151
MethodstatusLabel
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentService.kt:401
Functionstep
Reads `ConfigPanelFocus.step`. The host does not interpret the rest of the focus, only this * number. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/ConfigPanelRouter.kt:197
FunctionstrAt
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigParse.kt:24
Methodsummary_call_count
Total summary note operations (anchor post + finalize update).
examples/gitlab_ci/post_review_test.py:194
MethodtakePendingFocus
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/ConfigPanelRouter.kt:55
MethodtakeRecords
()
pages/src/pages/DocsPage.test.tsx:186
Functiontest
()
extensions/frontend/src/webview/views/ConfigView.tsx:370
FunctiontestActionOcrInvocationsDisableSelfUpdate
()
scripts/github-actions/action-contract.test.js:1942
FunctiontestConfigureBuildsCompleteLlmConfig
()
scripts/github-actions/action-contract.test.js:1278
FunctiontestConfigureClearsStaleExtraHeadersBeforeTokenCommand
()
scripts/github-actions/action-contract.test.js:1559
FunctiontestConfigureClearsStaleRetryCodesBeforeEndpointConfig
()
scripts/github-actions/action-contract.test.js:1592
FunctiontestConfigureHonoursExplicitProtocol
()
scripts/github-actions/action-contract.test.js:1404
FunctiontestConfigureMergesReasoningEffortIntoExtraBody
()
scripts/github-actions/action-contract.test.js:1142
FunctiontestConfigureNeutralizesStaleProviderAndStaticToken
()
scripts/github-actions/action-contract.test.js:1339
FunctiontestConfigureNeverPersistsToken
()
scripts/github-actions/action-contract.test.js:1310
FunctiontestConfigurePreservesLegacyUseAnthropicResolution
()
scripts/github-actions/action-contract.test.js:1510
FunctiontestConfigureProtocolTracksUseAnthropic
()
scripts/github-actions/action-contract.test.js:1381
FunctiontestConfigureRejectsMalformedExtraBodyWithActionableError
()
scripts/github-actions/action-contract.test.js:1224
FunctiontestConfigureRejectsNonObjectExtraBody
()
scripts/github-actions/action-contract.test.js:1248
FunctiontestConfigureRejectsReasoningEffortOnAnthropic
()
scripts/github-actions/action-contract.test.js:1201
FunctiontestContractHarnessFailsClosedOnUnsupportedYamlShapes
()
scripts/github-actions/action-contract.test.js:1820
FunctiontestContractsRunInDedicatedWorkflow
()
scripts/github-actions/action-contract.test.js:2021
FunctiontestDefaultLlmTimeoutExportedSeparatelyFromReviewTimeout
()
scripts/github-actions/action-contract.test.js:699
FunctiontestEffortAndBudgetNormalizeAndForwardAcrossSteps
()
scripts/github-actions/action-contract.test.js:836
FunctiontestEmptyEffortAndBudgetOmitTheFlags
()
scripts/github-actions/action-contract.test.js:901
FunctiontestEmptyLlmTimeoutNormalizesBeforeReviewInvocation
()
scripts/github-actions/action-contract.test.js:731
FunctiontestExampleReadmeDocumentsPrNumberResolution
()
scripts/github-actions/action-contract.test.js:584
FunctiontestExampleReadmeDocumentsTimeoutAndVersionContracts
()
scripts/github-actions/action-contract.test.js:2044
FunctiontestInstallEnforcesAuthTokenCommandVersionFloor
()
scripts/github-actions/action-contract.test.js:1769
FunctiontestInstallRejectsEffortBelowV1100
()
scripts/github-actions/action-contract.test.js:1736
FunctiontestInstallRejectsStreamProgressBelowV198
()
scripts/github-actions/action-contract.test.js:1703
FunctiontestLlmExtraBodyDefaultDisablesThinking
()
scripts/github-actions/action-contract.test.js:1133
FunctiontestLlmTimeoutInputDefault
()
scripts/github-actions/action-contract.test.js:621
FunctiontestOfficialNpmPackageInstallIsPreserved
()
scripts/github-actions/action-contract.test.js:1686
FunctiontestPostReviewCommentsWiresAppSlug
()
scripts/github-actions/action-contract.test.js:2071
FunctiontestPrNumberFailsBeforeAnyReviewWork
()
scripts/github-actions/action-contract.test.js:456
FunctiontestPrNumberInputIsOptionalAndDocumented
()
scripts/github-actions/action-contract.test.js:410
FunctiontestPrNumberRejectsValuesThatAreNotAPrNumber
()
scripts/github-actions/action-contract.test.js:507
FunctiontestPrNumberResolutionOrder
()
scripts/github-actions/action-contract.test.js:429
FunctiontestPrNumberWiredIntoBothGithubScriptSteps
()
scripts/github-actions/action-contract.test.js:562
FunctiontestRequiredStepTopologyAndEnvironmentContracts
()
scripts/github-actions/action-contract.test.js:1882
FunctiontestResolvedPrNumberReachesTheHeadFetch
()
scripts/github-actions/action-contract.test.js:528
FunctiontestReviewTaskTimeoutInputNameAndScope
()
scripts/github-actions/action-contract.test.js:597
FunctiontestReviewTimeoutForwardedSeparatelyFromLlmTimeout
()
scripts/github-actions/action-contract.test.js:656
FunctiontestReviewTimeoutLeadingZeroIsNormalizedAcrossSteps
()
scripts/github-actions/action-contract.test.js:763
FunctiontestReviewTimeoutValidationAcceptsBoundaries
()
scripts/github-actions/action-contract.test.js:626
FunctiontestReviewTimeoutValidationRejectsMalformedValues
()
scripts/github-actions/action-contract.test.js:630
FunctiontestRunFailsClosedWhenValidatedTaskTimeoutIsMissing
()
scripts/github-actions/action-contract.test.js:1653
FunctiontestRunKeepsAgentAudienceAndLogFileByDefault
()
scripts/github-actions/action-contract.test.js:1070
FunctiontestRunRetainsExtraHeadersEnvironmentOverride
()
scripts/github-actions/action-contract.test.js:1624
FunctiontestRunStreamsProgressWhenOptedIn
()
scripts/github-actions/action-contract.test.js:1105
FunctiontestStreamProgressInputDefaultsToFalse
()
scripts/github-actions/action-contract.test.js:970
FunctiontestValidateInputsRejectsInvalidEffortAndBudget
()
scripts/github-actions/action-contract.test.js:806
← previousnext →7,001–7,100 of 7,390, ranked by callers