Check fadace disk for available space before cloning
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by locating the configured facade clone path, the existing anticipated repository clone-size check from #459, and the clone task entry point. Add configurable reserve space, compare available filesystem space minus that reserve with the anticipated clone size, and verify that insufficient space rejects the clone or fails the task chain.
由索引模型根据 Issue 内容生成。
描述
This is similar to #458, however instead of checking with a user defined per-repo limit, we should check against the actual on disk conditions.
In this issue i propose we add a config value (maybe: facade_clone_reserve_space) to allow the user to configure an amount of space that should be kept free for facade clones.
The purpose of this reserve space is to prevent full-disk scenarios and/or full system lockups.
We already plan to check anticipated repo clone sizes in #459. In addition we should:
- query the filesystem that the configured facade clone path is on and measure its available space
- subtract the configured reserve space from that value
- check whether the remaining space is enough for the anticipated clone (assuming it passed the per-repo clone size check)
- raise an error and reject the clone/fail the whole task chain if there is insufficient space
- 主要语言
- Python
- 星标
- 18
- 派生
- 33
- 平均合并
- 2 天 16 小时
- 30 天内合并 PR
- 12
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
chaoss/CollectOSS 的其他 Issue
-
CLI: connectivity check prints diagnostics to stdout, breaking piped output可能重新可做 @Nimisha987 于 10 天前认领,目前没有进行中的 PR。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
chaoss/CollectOSS#548 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
chaoss/CollectOSS#521 ·
维护者通常 1 天内回复
-
devops
难度 2/5 1-3 小时 新手友好度 68/100
chaoss/CollectOSS#406 · 3 条评论 ·
维护者通常 1 天内回复
-
Bump codeql SARIF upload Ci dependency to v4可能已有人在做 @Dipro-cyber 于 181 天前认领。 未关闭dependencies devops good first issue
难度 2/5 1-3 小时 新手友好度 68/100
chaoss/CollectOSS#349 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
chaoss/CollectOSS#307 · 3 条评论 ·
维护者通常 1 天内回复
查看 chaoss/CollectOSS 的全部 Issue
相似的 Issue
-
resource-submission validation-passed
难度 1/5 1 小时以内 新手友好度 68/100
hesreallyhim/awesome-claude-code#3875 · 1 条评论 ·
-
bug
难度 2/5 1-3 小时 新手友好度 77/100
bvis/aegis-hass#725 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 67/100
datasektionen/cashflow#468 ·
-
dont call alembic upgrade until we check whether or not the cache DB has an alembic version stamp未关闭
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Bug: AttributeError: 'GptOssConfig' object has no attribute 'rope_scaling_factor' with transformers >= 5.x可能已有人在做 @NimaVaziri 今天认领。 未关闭Pytorch
难度 2/5 1-3 小时 新手友好度 78/100
NVIDIA/TensorRT-LLM#23406 ·
维护者通常 1 天内回复