You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[windows][less-computer][dsh] Windows 上 dsh 后端必然失败:生成的 openless.patch.yml 缩进丢失,界面只显示 Node 版本号 #1204
Ok(format!("# Generated by OpenLess. Applied as the last patch layer for one headless run.\n\- insert:\n\ - id: dsh-events\n\ name: {path}\n\- id: headless-runner\n\ config:\n\ task: {task}\n"))
# Generated by OpenLess. Applied as the last patch layer for one headless run.
- insert:
- id: dsh-eventsname: "C:\\...\\dsh-events.mjs"
- id: headless-runnerconfig:
task: "..."
这不是合法 YAML,dsh 解析补丁时直接崩溃退出:
Error: dsh: failed to parse overlay ...\openless.patch.yml: YAMLException: end of the stream or a document separator is expected (4:1)
...
Node.js v24.18.1
Activity
HKLHaoBin commentedon Oct 19, 2026
@xnqycs 感谢在 #1204 / #1205 中定位并验证原因。已从当前上游
beta(ec938209)建立 fork 测试分支,采用与 #1205 一致的最小修复方向,并保留三处不含敏感内容的诊断探针,想请你验证原始 Windows 场景。测试分支:
HKLHaoBin/openless:fix/issue-1204-dsh-patch精确提交:
6eab6c7e295ca84cb0e9fa9db8c02b920d3f4062。未创建新的 PR,也未修改上游分支。测试下载与 Actions
ok。以上三个运行均对应上述精确提交。修复包含:
concat!保留 YAML 缩进、error:的 ASCII 大小写不敏感匹配、缩进和转义/错误摘要回归测试。探针只记录补丁缩进布尔值、进程结果枚举、摘要是否匹配错误行等状态,不记录提示词、路径、原始 stderr 或真实会话标识。尚未完成你的 Windows 环境中的完整桌面端实机验证,因此不把 CI/产物构建成功当作原始故障已确认消失。请你用修复版复现 bug:
0.2.0-rc.2),发送一次最小、非敏感的文字任务。Node.js v24.18.1。%LOCALAPPDATA%\OpenLess\Logs\dsh-1204-12fe622d.ndjson。请保留且不要编辑/清空该日志;若未生成,也请说明。无需上传可能含敏感信息的完整应用日志或原始 stderr。