makecindy / makecindy/cindy

test(pi): Windows grouped path probe 仅返回 path-process 导致单测失败

Open
#4,147 6 comments 0 reactions 1 assignee Claimed by @dashhuang View on GitHub
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

### 问题

PR #4146 的旧提交 `218142466` 在 Windows unit tests (2/2) 出现一个现有 maker-core 测试失败:

- 文件:`packages/maker-core/src/agents/pi/windows-git-path-powershell.test.ts`
- 用例:`executes grouped path probes in Windows PowerShell`
- 断言位置:149 行,预期包含有效 Git 目录的 `D\t` 记录。
- 实际输出仅为 `__CINDY_WINDOWS_GIT_PATH_DIAGNOSTIC__\tpath-process\r\n`。
- 该包结果:1 failed、2188 passed、10 skipped。

[失败作业与完整日志](https://github.com/makecindy/cindy/actions/runs/34255566780/job/102160524576)

### 已核对

授权卡 PR 未修改该测试及 `windows-git-path-powershell.ts`。测试调用真实 Windows PowerShell,探测预算 3000ms;脚本的路径进程启动或预算耗尽可能产生上述诊断,但单次日志尚不能确认根因,不能直接判为偶发超时。需要在 Windows 上复现并区分进程启动失败、预算耗尽与真实路径探测回归,保留有效目录/文件输出断言。

### 跟踪边界

作为已有 Windows 路径探测测试问题单独跟踪,不在授权卡 PR 中修改 Pi 探测行为或放宽断言。#4146 最新提交 `b3b99c60b` 已启动新一轮 CI,结果待核对:[最新运行](https://github.com/makecindy/cindy/actions/runs/34257169595)。

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.