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

feat(desktop): 在设置中切换更新渠道
This commit is contained in:
winewill authored and GitHub committed 2026-11-03 14:03:04 +08:00
commit ece8f7cb77
110 files changed
+3285 -248

No files matched your search

+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',