[bug] CI: real OpenCode integration test can block the Python suite
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 48/100
研究方向
Start with tests/test_native_runtime.py::test_real_opencode_native_skill_and_gateway_write and the CI run linked in the issue; inspect PR #158's investigation for the suspected hang. Run the test with OPENDIRECTOR_REAL_CLI=1 under a bounded timeout, then trace and instrument the blocking stage and subprocess cleanup. Done when fresh and resumed cases finish or fail with useful diagnostics, timeout cleanup is verified, and reliable automated coverage is restored or its limitations are documented.
由索引模型根據 Issue 內容生成。
描述
Problem and impact
The real OpenCode integration path is currently excluded from PR #152's default Python suite because a previous release-check run stalled. This leaves the native Skill and gateway write path without that default integration coverage.
Evidence and reproduction
In run 42211182835, Python tests were cancelled after roughly 28.7 minutes and runner cleanup terminated an opencode.exe process. PR #158's investigation associated the hang with tests/test_native_runtime.py::test_real_opencode_native_skill_and_gateway_write after dependency installation made the bundled CLI available. This association is plausible but the exact blocking point has not been isolated, and the cancelled run alone does not prove which call hung.
On PR #152, the test can be selected with OPENDIRECTOR_REAL_CLI=1 python -m pytest tests/test_native_runtime.py::test_real_opencode_native_skill_and_gateway_write -q -ra. It uses the real bundled CLI and a mocked model transport; this is not a paid model call. A controlled reproduction of the hang has not yet been performed.
Expected and actual
- Expected: both fresh and resumed integration cases finish or fail within a bounded time with enough diagnostics to identify the stuck stage.
- Actual: the original CI job exhausted its 30-minute budget, preventing subsequent checks; the precise cause is unknown.
Acceptance criteria
- Reproduce or isolate the blocking stage with bounded execution and useful diagnostics.
- Verify fresh and resumed cases, including subprocess cleanup on timeout.
- Restore appropriate automated coverage once the path is reliable; document any remaining limitations.
- 主要語言
- TypeScript
- 星號
- 119
- 分支
- 16
- 平均合併
- 16 小時 13 分鐘
- 30 天內合併 PR
- 195
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
ThinkFlowLab/OpenDirector 的其他 Issue
-
area:provider
難度 2/5 1-3 小時 新手友好度 78/100
ThinkFlowLab/OpenDirector#477 · 1 則留言 ·
維護者通常 1 天內回覆
-
area:ci
難度 2/5 1-3 小時 新手友好度 76/100
ThinkFlowLab/OpenDirector#411 ·
維護者通常 1 天內回覆
-
[bug] agent: 长素材名在对话气泡中溢出,遮挡正文与素材栏可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉area:agent
難度 2/5 1-3 小時 新手友好度 88/100
ThinkFlowLab/OpenDirector#348 ·
維護者通常 1 天內回覆
-
area:provider
難度 2/5 1-3 小時 新手友好度 72/100
ThinkFlowLab/OpenDirector#311 ·
維護者通常 1 天內回覆
-
area:desktop area:install help wanted
難度 4/5 3-5 天 新手友好度 25/100
ThinkFlowLab/OpenDirector#475 ·
維護者通常 1 天內回覆
查看 ThinkFlowLab/OpenDirector 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
primer/primitives#1426 ·
-
Sign-in-only setup dialog describes API-key verification可能已有人在做 @roboclaw-bot 今天認領。 未關閉clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
難度 1/5 1 小時以內 新手友好度 78/100
openclaw/openclaw#204323 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 65/100
virtue-initiative/virtue-initiative#953 ·
維護者通常 1 天內回覆
-
needs-area-label
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 88/100
fumicode/bublys-org#261 ·
維護者通常 12 天內回覆