ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as assert from 'assert';
import { ensureNoDisposablesAreLeakedInTestSuite } from '../../../../base/test/common/utils.js';
import { AgentMergeConfiguration, AGENT_MERGE_UNKNOWN_COMMIT, evaluateAgentMerge, getNonMergeSessionConfigValues, readAgentMergeSessionState, shouldStopMergingAfterAgentChanges } from '../../common/agentMerge.js';
import { SessionConfigKey } from '../../common/sessionConfigKeys.js';
import { PullRequestSnapshot } from '../../../github/common/githubPullRequestService.js';
suite('Agent Merge gate', () => {
configuration AgentMergeConfiguration
addressReviews
fixCI
resolveConflicts
mergePullRequest
mergeMethod
replyAttribution
snapshot
reviewThreads
id
isResolved
path
line
comments
id author login association body
id author login association body
id author login association body
topLevelComments
id author login association body createdAt
id author login association body createdAt
checks
id type name required status conclusion
id type name required status conclusion
expectedContext
pullRequestUrl
title
headSha
baseRef
headRef
reviewThreads
id
path
line
comments
author body
author body
reviewSummaries
newComments
failedChecks
behind
conflicting
commentWatermark
assertsnapshot configuration
kind
actions
fingerprint actions context expectedContext
context expectedContext
assert configuration kind
result
submittedReviews
id author id login association state body submittedAt
id author id login association state body submittedAt
configuration
assertresultkind resultactions resultkind
result
checks id type name required status
configuration
assertresult
kind
waitingOnChecks
fingerprint
actions
context
pullRequestUrl
title
headSha
baseRef
headRef
reviewThreads
reviewSummaries
newComments
failedChecks
behind
conflicting
commentWatermark
result
reviewThreads length _ index
id
isResolved
comments length _ comment
id
author login association
body
configuration
context resultkind resultcontext
totalBodyLength contextreviewThreads
thread threadcomments
total comment total commentbodylength
assert
threads contextreviewThreadslength
commentsPerThread contextreviewThreadscommentslength
withinBudget totalBodyLength
threads
commentsPerThread
withinBudget
failing
assert
failing
checks
status
complete
error kind statusCode message
configuration
failing
mergeability status complete
configuration
kind reason cause
kind reason cause
assert
SessionConfigKeyAgentMerge enabled overrides fixCI
SessionConfigKeyAgentMergeController
target
branchName
pullRequestUrl
enabledAt
commentWatermark
lastPromptFingerprint
enabled
overrides fixCI
target
branchName
pullRequestUrl
enabledAt
commentWatermark
lastPromptFingerprint
mergePullRequest
SessionConfigKeyAgentMerge enabled overrides mergePullRequest
overrides
assert
legacyTrue
legacyFalse
ifUnchanged
legacyTrue mergePullRequest
legacyFalse mergePullRequest
ifUnchanged mergePullRequest
gateFor mergePullRequest AgentMergeConfiguration
configuration mergePullRequest kind
assert
always
ifUnchanged
always
ifUnchanged
ifUnchanged AgentMergeConfiguration configuration mergePullRequest
enabled enabled
assert
noRepairYet ifUnchanged enabled
repairCommittedNothing ifUnchanged enabled repairBaseCommit
repairCommitted ifUnchanged enabled repairBaseCommit
worktreeUnreadable ifUnchanged enabled repairBaseCommit
baselineUnknown ifUnchanged enabled repairBaseCommit
always configuration mergePullRequest enabled repairBaseCommit
configuration mergePullRequest enabled repairBaseCommit
noRepairYet
repairCommittedNothing
repairCommitted
worktreeUnreadable
baselineUnknown
always
values
SessionConfigKeyAgentMerge enabled
SessionConfigKeyAgentMergeController
injectedConfiguration
previous
autoApprove
mode
permissionMode
applied
autoApprove
mode
permissionMode
autoApprove
mode
permissionMode
permissions allow
assertvalues
SessionConfigKeyAgentMerge enabled
SessionConfigKeyAgentMergeController valuesSessionConfigKeyAgentMergeController
autoApprove
mode
permissionMode
permissions allow
values
SessionConfigKeyAgentMerge enabled
autoApprove
mode
permissionMode
assertvalues values
overrides
topLevelComments NonNullablePullRequestSnapshot
submittedReviews NonNullablePullRequestSnapshot
reviewThreads NonNullablePullRequestSnapshot
checks NonNullablePullRequestSnapshot
PullRequestSnapshot
ref host accountId owner repo
generation
headGeneration
core
status
complete
value
repositoryNameWithOwner
title
url
state
draft
headSha
headRef
baseSha
baseRef
topLevelComments status complete value overridestopLevelComments
submittedReviews status complete value overridessubmittedReviews
inlineComments status complete
reviewThreads status complete headSha value overridesreviewThreads
checks
status
complete
headSha
value headSha requirednessComplete expectedSuites expectedSuitesComplete checks overrideschecks
mergeability
status
complete
headSha
value
headSha
baseSha
mergeable
mergeStateStatus
viewerCanUpdate
viewerCanMerge
viewerCanEnableAutoMerge
allowedMergeMethods
autoMergeEnabled
mergeQueueRequired
queueRequirementKnown
participants status complete