makecindy / makecindy/cindy

taptap-maker 插件:maker_init 在任何形态下超时且无落盘(Windows)

Open
#3,501 2 comments 0 reactions 0 assignees View on GitHub
bug TapTapMaker
Dominant language
TypeScript
Stars
2.7k
Forks
401
Avg merge
21h 48m
Merged PRs (30d)
776

Description

**提交人**: 大王
**客户端版本**: 0.1.64

---

## 现象
TapTap Maker 插件的 `maker_init` 在 Windows 上稳定超时(约 60s 后工具报 TIMEOUT),无论绑定已有项目还是新建项目都不落盘:目标目录始终为空,没有 `.maker-mcp/config.json`、`.project/` 或任何残留文件。超时后无后台进程残留,crash log 也无新增错误(日志文件停留在早前的旧记录)。

## 复现步骤
1. 环境:Cindy 中打开空目录作为工作区。
2. 插件状态确认正常:账号已登录(PAT 存在)、`maker_status` 报告 Git 可见(git 2.55.0,位于系统 PATH)、网络可访问 Maker 服务与 dev-kit 下载地址(200)、动态工具列表正常返回。
3. 调用 `maker_init` 绑定一个已有项目(传 app_id),工具约 60s 超时。
4. 调用 `maker_init` 新建项目(create=true + name),同样超时。
5. 重复多次均复现。

## 期望行为
`maker_init` 应完成项目初始化(clone 或创建),并在工作区写入 `.maker-mcp/config.json` 等基础文件。

## 实际行为
工具调用超时,目录零落盘,无进程残留,无新增崩溃日志。

## 复现频率
每次必现(已复现 4 次以上,跨插件版本 0.0.28 与 0.0.32、跨重启)。

## 已尝试的解决办法
- 插件升级 0.0.28 → 0.0.32 后重启 Cindy,仍复现。
- 验证 Git 安装与 PATH、网络连通性、认证状态均正常。
- 绑定已有项目与新建项目两种 init 路径均失败。

(注:旧日志中存在 06:13 的 `spawnSync git ENOENT` 记录,但发生在 Git 环境变化之前;升级后 Git 已被 `maker_status` 正常识别,超时行为仍在,故单独列出以免误导排查。)
---
**版本区域**: CN
**OS**: win32 x64 (10.0.19045)
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

Start by tracing the maker_init entry point and its Windows-specific initialization paths, reproducing both existing-project and create=true cases. Compare the timeout and persistence behavior with the reported Git, network, and authentication checks; done means initialization completes and writes .maker-mcp/config.json or other expected project files without leaving a timeout.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, typescript
Domain
desktop, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.