Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

windows CI 下一层红:issue51 沙箱 env 测试 temp 路径不存在(os error 3)——#139 修复后暴露

已关闭
#141 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
68/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
rust
领域
testing

调研方向

Start with tests/issue51_sandbox_env_inheritance.rs, especially the failing test at line 135, and run cargo test -p recursive-agent --test issue51_sandbox_env_inheritance on Windows. Compare its workspace and temp-directory setup with other Windows-passing tests, then trace how the sandbox starts. Done means the test passes on windows-latest without the os error 3.

由索引模型根据 Issue 内容生成。

描述

场景 gap 单(okguitar 提报)· 优先级 P3 · 依赖:无

基线 HEAD = 19e569e8。

Summary

windows-latest 长期红的下一层(被 #139 的 wakeup_store 失败掩盖、#139 修复后暴露):tests/issue51_sandbox_env_inheritance.rs::sandbox_shell_does_not_inherit_host_env(:135)失败——

called Result::unwrap() on an Err value: Tool { name: "Bash", call_id: None, message: "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\.tmpWwjkIL: The system cannot find the path specified. (os error 3)" }

即 Bash 工具在 windows runner 上遇到的临时目录/沙箱路径不存在(os error 3)。

影响

windows 作业仍红(continue-on-error),run 结论继续被染红、掩盖真实回归信号。

证据(复现)

  • CI run(19e569e8)windows-latest 失败日志:lib 二进制已全绿(#139 生效)、该集成测试二进制 0 passed/1 failed;
  • 现场:tests/issue51_sandbox_env_inheritance.rs:135,temp 路径 …\\Temp\\.tmpWwjkIL 报不存在。

建议

排查该测试在 windows 的 workspace/temp 目录构造与沙箱启动路径(路径删除时序或分隔符处理);对齐仓内其他 windows 通过用例的 tempdir 用法。

验收

windows-latest 的 -p recursive-agent --test issue51_sandbox_env_inheritance 全绿(不再 os error 3)。

主要语言
Rust
星标
4
派生
0
平均合并
5 小时 32 分钟
30 天内合并 PR
7

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

jeffkit/recursive 的其他 Issue

查看 jeffkit/recursive 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。