-
Notifications
You must be signed in to change notification settings - Fork 505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat:流水线代码变更记录,支持 AI 生成摘要 #11228 #11349
Open
hejieehe
wants to merge
16
commits into
TencentBlueKing:master
Choose a base branch
from
hejieehe:feat_11228
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 12 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
7fb684f
feat:流水线代码变更记录,支持 AI 生成摘要 #11228
hejieehe 3084f53
feat:流水线代码变更记录,支持 AI 生成摘要 #11228
hejieehe af33a4f
feat:流水线代码变更记录,支持 AI 生成摘要 #11228
hejieehe 62f82b3
Merge branch 'master' of https://github.com/TencentBlueKing/bk-ci int…
hejieehe 553db99
feat:流水线代码变更记录,支持 AI 生成摘要 #11228
hejieehe 62d6648
feat:流水线代码变更记录,支持 AI 生成摘要 #11228
hejieehe b47ebc0
feat:流水线代码变更记录,支持 AI 生成摘要 #11228
hejieehe 0320a6f
feat:流水线代码变更记录,支持 AI 生成摘要 #11228
hejieehe 0283636
feat:流水线代码变更记录,支持 AI 生成摘要 #11228
hejieehe 4485637
feat:流水线代码变更记录,支持 AI 生成摘要 #11228
hejieehe 8ff9ada
feat:流水线代码变更记录,支持 AI 生成摘要 #11228
hejieehe da84276
feat:流水线代码变更记录,支持 AI 生成摘要 #11228 补充SQL
hejieehe 8a24267
Merge branch 'master' of https://github.com/TencentBlueKing/bk-ci int…
hejieehe 596b279
feat:流水线代码变更记录,支持 AI 生成摘要 #11228 补充SQL
hejieehe f511906
feat:流水线代码变更记录,支持 AI 生成摘要 #11228
hejieehe 4c1d5e7
feat:流水线代码变更记录,支持 AI 生成摘要 #11228
hejieehe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
.../core/common/common-scm/src/main/kotlin/com/tencent/devops/scm/enums/AISummaryRateType.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* Tencent is pleased to support the open source community by making BK-CI 蓝鲸持续集成平台 available. | ||
* | ||
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. | ||
* | ||
* BK-CI 蓝鲸持续集成平台 is licensed under the MIT license. | ||
* | ||
* A copy of the MIT License is included in this file. | ||
* | ||
* | ||
* Terms of the MIT License: | ||
* --------------------------------------------------- | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated | ||
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation the | ||
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to | ||
* permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
* | ||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of | ||
* the Software. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT | ||
* LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN | ||
* NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
*/ | ||
package com.tencent.devops.scm.enums | ||
|
||
/** | ||
* 针对[AI 摘要]的评论类型 | ||
*/ | ||
enum class AISummaryRateType constructor(val value: String) { | ||
UP("up"), | ||
DOWN("down") | ||
} |
26 changes: 26 additions & 0 deletions
26
...re/common/common-scm/src/main/kotlin/com/tencent/devops/scm/pojo/CodeGitCopilotSummary.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.tencent.devops.scm.pojo | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema | ||
|
||
/** | ||
* 工蜂Copilot摘要返回值 | ||
*/ | ||
@Schema(title = "工蜂Copilot摘要返回值") | ||
data class CodeGitCopilotSummary( | ||
@get:Schema(title = "id") | ||
val number: Int? = null, | ||
@get:Schema(title = "任务id, 后续好评差评使用的是这个 id") | ||
val processId: String? = null, | ||
@get:Schema(title = "状态 1:运行中 3:失败 5:已生成") | ||
val status: Int, | ||
@get:Schema(title = "大模型回答原始文本") | ||
val resultRaw: String? = null, | ||
@get:Schema(title = "markdown 渲染后的回答文本") | ||
val resultHtml: String? = null, | ||
@get:Schema(title = "随机值") | ||
val lastPatchSetId: String? = null, | ||
@get:Schema(title = "创建时间") | ||
val createdAt: Long? = null, | ||
@get:Schema(title = "仓库名称") | ||
var projectName: String? = null | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个字段应该是scm_type