Enforce hard-limit on file size
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 668
- Forks
- 135
- Avg merge
- 4d 19h
- Merged PRs (30d)
- 7
Description
We currently do not enforce any limit of the size of a file, which can cause troubles such as OOME when a user attempts to push a very large file.
We currently enforce 10 MiB hard limit on request content, but a user may want to increase the maximum allowed content length while limiting the size of an individual file. Think about a commit that contains multiple files whose total size is greater than 10 MiB while their each size is less than 1 MiB.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by locating the existing 10 MiB request-content limit and trace how multi-file commits are processed. Done means individual files are subject to a hard size limit while the total request limit can still be increased independently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100