Repository navigation
fix(config): repair Windows init and backup - #302
Merged
Merged
Conversation
Fix Windows configuration database initialization and backup by reopening completed SQLite files in read/write mode before syncing. Run existing initialization and backup/restore regressions on Windows CI before tagging.
Override the Linux pytest base directory for the Windows configuration lifecycle checks.
Add the verified Windows initialization and backup fix to the v1.16.2 release notes.
Keep the bundled changelog reference aligned with the v1.16.2 Windows configuration fix.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Windows 首次初始化 LLM 配置数据库时,数据库同步步骤使用只读文件句柄,导致发行包 smoke 失败;备份使用相同打开模式。本次将这两处改为读写模式,保留原有文件同步、原子发布和 SQLite 备份流程。
CI 增加 Windows Python 3.11 上的配置生命周期检查,直接运行既有跨进程初始化与备份/恢复测试。
验证:
26eedc316450cb5fb08e4191cbf01ff96d4acf3b的 Windows 生命周期、Python 3.11/3.12 和前端 CI 全部通过:run 38545109467。Windows 实际通过并发初始化与备份/恢复两项既有测试;CI 使用 runner 的临时目录。发行背景:v1.16.2 流水线的 Windows 初始化 smoke 失败,GitHub Release 创建被跳过;Docker 已构建并公开。维护者已明确授权沿用 1.16.2,合并本修复后重建 v1.16.2 Tag 和镜像,并完成发行及 dev 回灌。本 PR 将修复说明汇入 1.16.2 CHANGELOG。
CHANGELOG 草稿:修复 Windows 首次初始化和备份 LLM 配置数据库时的文件同步错误。