MCPcopy Create free account

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

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

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:163
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
FunctiontestValidateInputsRejectsInvalidReasoningEffort
()
scripts/github-actions/action-contract.test.js:938
FunctiontestValidateInputsValidatesResolveOutdated
()
scripts/github-actions/action-contract.test.js:1026
FunctiontestValidateInputsValidatesStreamProgress
()
scripts/github-actions/action-contract.test.js:984
FunctiontestValidationPrecedesNpmInstall
()
scripts/github-actions/action-contract.test.js:636
FunctiontestZeroMaxTokensBudgetNormalizesToUnlimited
()
scripts/github-actions/action-contract.test.js:887
Methodtest_400_does_not_reconcile
(self)
examples/gitlab_ci/post_review_test.py:1211
Methodtest_400_line_failure_classifies_invalid
(self)
examples/gitlab_ci/post_review_test.py:1316
Methodtest_4xx_not_retried
(self)
examples/gerrit_ci/post_review_test.py:617
Methodtest_accepts_bare_list_shape
(self)
examples/codeup_ci/post_review_test.py:83
Methodtest_auth_failure_401
(self)
examples/gerrit_ci/post_review_test.py:339
Methodtest_auth_header_job_token
(self)
examples/gitlab_ci/post_review_test.py:1054
Methodtest_auth_header_private_token
(self)
examples/gitlab_ci/post_review_test.py:1041
Methodtest_b64_credentials_never_in_error_body
(self)
examples/gerrit_ci/post_review_test.py:354
Methodtest_bad_request_400_falls_back
(self)
examples/gerrit_ci/post_review_test.py:377
Methodtest_badge_prefix
(self)
examples/gitlab_ci/post_review_test.py:234
Methodtest_batch_metadata
(self)
examples/gerrit_ci/post_review_test.py:168
Methodtest_binary_file
(self)
examples/gitflic_ci/post_review_test.py:132
Methodtest_both
(self)
examples/gitlab_ci/post_review_test.py:300
← previousnext →6,801–6,900 of 7,169, ranked by callers