Ordinary database schema upgrades previously ran VACUUM on free pages and showed misleading history-cleanup progress. Separate structure upgrades from required legacy conversions, retaining reclamation intent only for retries within the same startup. Preserve released data without new schema versions or persistent migration markers; Agent and normal writes remain unchanged. Add real SQLite and Worker regressions, bilingual operation-specific startup copy, and migration documentation. Synchronize native Electron drag input with actual resize state without weakening layout assertions. Validation: 47 focused migration tests passed; typecheck, lint and diff checks passed. Final full suite: 5137 passed, 74 skipped, 2 unrelated Electron failures. Both failing Electron tests passed an isolated rerun; full CI remains unverified. Release note: 修复普通数据库结构升级再次整理历史和回收空间的问题;仅在需要转换旧数据时执行相关处理,启动页准确显示当前升级操作。
质量验证
本目录收录跨功能测试方法。功能验收结果仍记录在对应功能的 progress.md,不在此复制通过记录。
| 文档 | 职责 |
|---|---|
| Electron UI 自动化测试规范 | 测试分层、当前源码启动、视觉与原生交互取证、真实调用计数、脱敏报告和清理 |
| 复发缺陷与防复发规则 | 已重复出现的缺陷类型、对应的共享机制和自动发现测试 |
| 开发与构建 | 依赖、测试、类型检查、Lint 和构建命令 |
| UI 设计系统 | 全局视觉、交互和响应式验收要求 |
| 知识检索评估 | 检索数据集、指标及评估方法 |
| 真实 Runtime 测试 | 真实模型 Runtime E2E 的现有入口及范围 |
| 发布操作 | 候选 CI、发布构建及发布验证;开发期 UI 测试不替代发布检查 |