mirror of
https://github.com/NanmiCoder/claude-code-haha.git
synced 2026-10-10 11:53:10 +08:00
feat(desktop): add safe data directory migration (#1433)
This commit is contained in:
@@ -8,6 +8,15 @@ type Check = {
|
||||
|
||||
const rootDir = process.cwd()
|
||||
const checks: Check[] = [
|
||||
{
|
||||
title: 'Data directory relocation metadata and legacy attachment aliases',
|
||||
command: ['bun', 'test', './src/utils/storageMigrationMetadata.test.ts', './src/utils/storageRelocations.test.ts'],
|
||||
},
|
||||
{
|
||||
title: 'Desktop data migration journal recovery and credential namespace copy',
|
||||
command: ['bun', 'run', 'test', '--', '--run', 'electron/services/dataMigration.test.ts', 'electron/services/migrationCredentials.test.ts'],
|
||||
cwd: 'desktop',
|
||||
},
|
||||
{
|
||||
title: 'Agent Teams plan sidecar compatibility and approval recovery',
|
||||
command: ['bun', 'test', './src/utils/swarm/teamPlanStore.test.ts', './src/server/services/teamPlanService.test.ts'],
|
||||
|
||||
Reference in New Issue
Block a user