fix: preserve bound project paths through progress and health checkpoints
Core regression / Python core and release configuration (push) Successful in 33s
Core regression / JavaScript syntax (push) Successful in 3s
Core regression / Python core and release configuration (pull_request) Successful in 31s
Core regression / JavaScript syntax (pull_request) Successful in 3s

This commit is contained in:
阿白叔 committed 2026-11-06 15:27:05 +08:00
1 parent 960c66b196
commit e78cdd3c97
4 files changed
+59 -3

No files matched your search

@@ -39,8 +39,10 @@ python -m pytest tests/v1_1/test_problem_workflow.py tests/v1_1/test_problem_ite
首次远端 Python 回归暴露项目键在 Linux 保留大小写、与库存及命令身份的 casefold 规则不一致,以及纯核心读取模块经 UI 包提前导入 Qt 的问题。另有一个 Qt 对话框用例混在无 Qt 的便携测试组中。
- `_path_key` 统一采用已有的大小写不敏感项目身份规则,未修改实际工程路径。
- 进度同步也使用同一项目键;源文件检查点从任务绑定工程查回实际路径读取,不把折叠的身份字符串当作文件路径。绑定缺失仍保持待核验。
- UI 包延迟导出主窗口,纯 execution_state/messages 导入不再要求 Qt;窗口的既有导出保持兼容。
- 对话框用例在有 PySide6/pytest-qt 的 Windows 环境仍执行,无依赖的便携环境明确跳过。
- 新增 `test_headless_core.py`,先复现项目键不一致和无 Qt 导入失败,再验证修复。
- 修复后的 Windows 定向回归:`test_headless_core.py`、`test_problem_workflow.py`、`tests/dsh/test_run_journal.py`、BOM 部分导入对话框用例和 `test_application.py` 共 **37 passed**,包含真实源码入口启动验证。
- 后续进度同步与源路径绑定修复后的 Windows 相关组:`test_headless_core.py`、`test_project_session_health.py`、`test_problem_workflow.py` 共 **23 passed**。覆盖源文件变化撤销放行、原生证明绑定、较新核验基线、旧轮次定向重试等保护条件。
- 独立审查未发现新的必要修复或保护放宽;远端最终结果见 PR 的最新提交状态。