♻️ refactor(vscode): 设置项 autoBuildBranch 换成发布分支前缀与 Jenkins 任务

Claude-Session: https://claude.ai/code/session_01HTMgwaE3woqM5yvsHiuSAa
This commit is contained in:
cruldra committed 2026-08-31 23:38:53 +08:00
1 parent fa32d4a88b
commit 6f59b4f3fd
13 files changed
+149 -66

No files matched your search

+17 -9
View File
@@ -88,7 +88,9 @@ export type ExtensionToWebview
autoReview: boolean
reviewPrompt: string
devBranch: string
autoBuildBranch: string
releaseBranchPrefix: string
jenkinsJob: string
jenkinsProdHost: string
worktreeDirectory: string
worktreeOpenWith: 'vscode' | 'pycharm'
pycharmCommand: string
@@ -124,13 +126,15 @@ export type ExtensionToWebview
| { type: 'logs/cleared' }
| { type: 'commit/state', running: boolean }
| { type: 'commit/has-changes', value: boolean }
// 发布点状态:nextBranch 是今天要切的分支全名,由扩展侧算好,webview 不自己拼日期。
| {
type: 'branch-sync/status'
behind: number
type: 'release/status'
devBranch: string
autoBuildBranch: string
unavailable?: boolean
reason?: string
current?: string
nextBranch: string
unreleased: number
unavailable?: string
running: boolean
}
| { type: 'env-lock/status', locked: boolean, fileCount: number, failedCount?: number }
| { type: 'issue/remove', issueNumber: number }
@@ -160,7 +164,9 @@ export type WebviewToExtension
autoReview: boolean
reviewPrompt: string
devBranch: string
autoBuildBranch: string
releaseBranchPrefix: string
jenkinsJob: string
jenkinsProdHost: string
worktreeDirectory: string
worktreeOpenWith: 'vscode' | 'pycharm'
pycharmCommand: string
@@ -215,8 +221,10 @@ export type WebviewToExtension
| { type: 'logs/clear' }
| { type: 'commit/run' }
| { type: 'session/close-tab', issueNumber: number, kind: 'brainstorm' | 'implement' | 'review' | 'test' }
| { type: 'branch-sync/check' }
| { type: 'branch-sync/run' }
| { type: 'release/check' }
| { type: 'release/cut' }
| { type: 'release/cherry-pick' }
| { type: 'release/deploy' }
| { type: 'env-lock/check' }
| { type: 'env-lock/toggle' }
| { type: 'issue/delete', issueNumber: number }