When submission size exceed free disk space on sandbox don't even send it to the sandbox
还没有人认领这个 Issue。
评估
调研方向
No file or test is named in the issue. Start by locating the submission packaging and sandbox-dispatch paths, then trace how the 164M submission reaches the sandbox. Done means an oversized submission is warned about and rejected before sandbox transfer, without exhausting sandbox disk space.
由索引模型根据 Issue 内容生成。
描述
e.g. https://tmc.mooc.fi/mooc/submissions/759113#logs contained 164M text file and we run out of space on sandbox.
Really we should have just warned that submission exceeds max submission size.
[3.296072] tar: ./src/sanat.txt: Wrote only 4096 of 10240 bytes
[4.461435] tar: ./src/sanakirja/Main.java: Cannot write: No space left on device
[4.461547] tar: ./src/sanakirja/MuistavaSanakirja.java: Cannot write: No space left on device
[4.461805] tar: ./test/tmp/tmp65111.txt: Cannot write: No space left on device
[4.461988] tar: ./test/MuistavaSanakirjaTest.java: Cannot write: No space left on device
[4.462106] tar: ./test/sanat.txt: Cannot write: No space left on device
[4.469226] tar: Exiting with failure status due to previous errors
[4.469559] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
- 主要语言
- Ruby
- 星标
- 51
- 派生
- 42
- 平均合并
- 1 小时 27 分钟
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
testmycode/tmc-server 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
testmycode/tmc-server#590 ·
-
难度 4/5 3-5 天 新手友好度 20/100
testmycode/tmc-server#576 ·
-
难度 3/5 1-2 天 新手友好度 35/100
testmycode/tmc-server#488 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
testmycode/tmc-server#487 ·
-
难度 3/5 1-2 天 新手友好度 35/100
testmycode/tmc-server#477 · 2 条评论 ·
查看 testmycode/tmc-server 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
hanami/hanami-cli#449 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
resque/resque-scheduler#826 ·
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 75/100