Execution time limit not forced by compute worker
维护者通常 5 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start in compute_worker at _run_container_engine_cmd (line 1124) and follow start(), client.wait, and the container log/attach path. Verify that a submission exceeding 20 minutes ends the container, reports "Execution Time Limit exceeded," and keeps the event loop and websocket keepalive responsive.
由索引模型根据 Issue 内容生成。
描述
Issue
Long submissions (e.g. from MUnit Quest challenge) are not shut down by the compute worker after 20 minutes. The worker get stuck waiting for the scoring to actually finish, and send this log when trying to stop the container:
2026-09-29 13:26:15.941 | ERROR | compute_worker:_run_container_engine_cmd:1124 - There was an error while starting the container and getting the logs:
Fix
-
Enforce the limit: a threading.Timer force-removes the containers when time runs out. That ends the attach stream and unblocks client.wait, and start() then reports "Execution Time Limit exceeded" from a flag.
-
Stop blocking the loop: run the blocking docker calls (log iteration and wait) through asyncio.to_thread or run_in_executor. The event loop and the websocket keepalive then stay responsive.
- 主要语言
- Python
- 星标
- 197
- 派生
- 82
- 平均合并
- 6 天 18 小时
- 30 天内合并 PR
- 34
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
codalab/codabench 的其他 Issue
-
Wrong count for failed submissions in Resource interface可能已有人在做 @ihsaan-ullah 于 26 天前认领。 未关闭Bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 5 天内回复
-
难度 4/5 1-2 天 新手友好度 20/100
codalab/codabench#2697 · 1 条评论 ·
维护者通常 5 天内回复
-
Bug
难度 4/5 3-5 天 新手友好度 25/100
codalab/codabench#2687 · 2 条评论 ·
维护者通常 5 天内回复
-
难度 3/5 1-2 天 新手友好度 55/100
维护者通常 5 天内回复
-
Post-it
难度 3/5 1-2 天 新手友好度 70/100
codalab/codabench#2676 · 2 条评论 ·
维护者通常 5 天内回复
查看 codalab/codabench 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
yt-project/yt#5624 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
NousResearch/hermes-agent#148376 ·
维护者通常 1 天内回复
-
Analysis
难度 2/5 1-3 小时 新手友好度 72/100
SACGF/variantgrid#2615 ·
维护者通常 1 天内回复