Merge pull request #7495 from deepseek-harness/feat/desktop-update-channels

feat(desktop): 在设置中切换更新渠道
This commit is contained in:
winewill
2026-11-03 14:03:04 +08:00
committed by GitHub
110 changed files with 3285 additions and 248 deletions
+6
View File
@@ -481,6 +481,12 @@ describe('CI workflow', () => {
expect(windowsWorkflow.jobs['windows-observational']).toBeUndefined()
expect(windowsBuild['continue-on-error']).not.toBe(true)
const channelCheck = buildCommands.find(step => step.name === 'Verify Desktop updater dependency versions')
expect(channelCheck).toMatchObject({ shell: 'pwsh' })
expect(channelCheck?.['continue-on-error']).not.toBe(true)
expect(channelCheck?.run).toContain('node apps/desktop/tests/updates/electron-updater/check-versions.mjs')
expect(buildCommands.indexOf(channelCheck!))
.toBeGreaterThan(buildCommands.findIndex(step => step.run === 'pnpm run check:ci:windows-blocking'))
const observational = buildCommands.find(step => step.id === 'observational')
expect(observational).toMatchObject({
run: 'pnpm run check:ci:windows-observational-ready',