line / line/centraldogma

Enforce hard-limit on file size

Open
#35 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

new feature
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.