Skip to content

fix: stabilize FreeOS 0.0.6 desktop runtime - #93

Merged
XYAIStudio merged 3 commits into
mainfrom
hotfix/0.0.6-windows-startup
Sep 28, 2026
Merged

XYAIStudio merged 3 commits into
mainfrom
hotfix/0.0.6-windows-startup

Conversation

@XYAIStudio

@XYAIStudio XYAIStudio commented Sep 22, 2026 •

Copy link
Copy Markdown
Owner

FreeOS 0.0.6 的 Windows 桌面运行时在升级、托盘恢复和组织模块启动路径上存在稳定性问题;部分 Ollama 本地模型还会因不支持 tools 而反复返回 stream_error。本热修统一处理这些问题,并补齐 Windows 可执行的前端构建脚本。

主要修复:

  • 修复 Windows 最小化到托盘后点击“显示 FreeOS”一闪又缩回的问题;托盘点击统一恢复主窗口,并正确消费延迟关闭事件。
  • 修复单实例互斥锁访问拒绝和桌面日志句柄未关闭问题。
  • 组织页自动拉起 openXYOS 前后端,明确展示启动错误;桌面托管运行时不再与 Python sidecar 生命周期互相争抢。
  • openXYOS 数据库存储改为临时文件原子替换,避免零字节/读请求触发整库写入;模块开关即时生效并持久化。
  • 对明确返回“不支持 tools”的 Ollama 模型仅做一次无工具回退,使 qwen2.5vl:3b 等模型可继续普通对话;其他异常保持原样上抛。
  • dashboard 生产构建改为跨平台的 vite build --mode production,修复 Windows CMD 无法识别 NODE_ENV=production。
  • 更新 0.0.6 中文安装指南、CHANGELOG 和代码审计报告。

验证:

  • make all:3575 passed, 114 skipped,Ruff 与 mypy(587 个源文件)通过。
  • 提交钩子:Ruff、mypy、UTF-8 Windows 回归和 dashboard production build 全部通过。
  • openXYOS:16 项服务/持久化/模块测试通过;前端 219 个测试文件、1070 项测试通过。
  • Windows:go test ./... 与 Wails/NSIS 构建通过;真实桌面连续 10 次最小化→托盘恢复均保持 visible/focused。
  • 组织模块真实 UI:一键登录、模块关闭即时隐藏、刷新后保持、重新开启恢复均通过。
  • 本地 Ollama 复现:qwen2.5vl:3b 普通请求 200,带 tools 请求 400;新增中间件测试验证仅对该能力错误回退。

本 PR 合并到 main 后再创建 v0.0.6 标签,触发六个平台安装包/便携包构建。Windows 安装包当前未做 Authenticode 代码签名。

@XYAIStudio XYAIStudio changed the title fix(desktop): stop Windows update loop and GPU hangs fix: stabilize FreeOS 0.0.6 desktop runtime Sep 28, 2026
@XYAIStudio
XYAIStudio merged commit 4b357cc into main Sep 28, 2026
12 checks passed
@XYAIStudio
XYAIStudio deleted the hotfix/0.0.6-windows-startup branch September 28, 2026 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant