test_cloudflare_mount_rejects_read_only_extra_path_grant fails on Windows: expected path is hard-coded POSIX
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
阅读 tests/extensions/sandbox/test_cloudflare.py 并检查 test_cloudflare_mount_rejects_read_only_extra_path_grant。使用 str(Path('/tmp/protected/data')) 构造预期路径,使断言使用平台原生分隔符,然后运行该测试和整个测试文件;在 Windows 上两者都通过后即完成。
由索引模型根据 Issue 内容生成。
描述
tests/extensions/sandbox/test_cloudflare.py::test_cloudflare_mount_rejects_read_only_extra_path_grant fails on Windows on current main:
- failed to write archive for path: /tmp/protected/data
+ failed to write archive for path: \tmp\protected\data
Cause. For a host-backed root, _raise_if_read_only_grant in sandbox/workspace_paths.py keeps the native Path, so the message and context['path'] use the platform separator. The test compares against a hard-coded POSIX string.
Proposed fix (test only). Build the expected value with str(Path('/tmp/protected/data')). The whole file then passes (96). Branch: https://github.com/Mahdi-Hasan/openai-agents-python/tree/fix/cloudflare-test-windows-paths
- 主要语言
- Python
- 星标
- 30.5k
- 派生
- 5k
- 平均合并
- 18 小时 26 分钟
- 30 天内合并 PR
- 142
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
openai/openai-agents-python 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
openai/openai-agents-python#5550 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
openai/openai-agents-python#5498 ·
维护者通常 1 天内回复
-
Preserve wire aliases when converting Responses output items to input可能已有人在做 @LVsarff 于 4 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
openai/openai-agents-python#5477 · 2 条评论 ·
维护者通常 1 天内回复
-
Voice: default sentence splitter never splits Chinese/Japanese, so TTS waits for the whole reply未关闭
难度 2/5 1-3 小时 新手友好度 78/100
openai/openai-agents-python#5475 · 1 条评论 ·
维护者通常 1 天内回复
-
tool_choice naming a function tool called web_search, file_search, mcp, etc. selects the built-in tool instead可能已有人在做 @LVsarff 于 4 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
openai/openai-agents-python#5472 · 3 条评论 ·
维护者通常 1 天内回复
查看 openai/openai-agents-python 的全部 Issue
相似的 Issue
-
[BUG]: Compliance rules never see Unity Catalog views as views可能已有人在做 @wagnercsantos 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
databrickslabs/ontos#1348 ·
维护者通常 3 天内回复
-
`forum_pr_poster` action will always return `none` when checking for pre-existing feedback threads, even if a feedback thread already exists.可能已有人在做 @pgmzeta 今天认领。 未关闭E-Verified P-Major
难度 2/5 1-3 小时 新手友好度 79/100
goonstation/goonstation#28259 ·
维护者通常 2 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 65/100
woonstadrotterdam/monumenten#70 ·
维护者通常 15 天内回复
-
binding:python bug
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
The Browser tab fails with a Wayland error when Open Terminal runs from a Wayland desktop session未关闭
难度 2/5 1-3 小时 新手友好度 78/100
open-webui/open-terminal#210 ·