We should add checks not only for jar files, but also for all large binary
files (e.g., >1 MB).

It looks like Checkstyle provides a file length check [1], though I’m not
sure if it can be applied to binary files.

[1] https://checkstyle.sourceforge.io/checks/sizes/filelength.html


Jingsong Li <jingsongl...@gmail.com> 于2025年8月28日周四 12:14写道:

> Hi everyone,
>
> In [1], We mistakenly created two large Jars in the code, which is not
> appropriate in the code. We cannot rely on too large Jars in the code.
>
> Apart from testing some functions, we should not rely on any Jars, so
> can we consider adding a GitHub check to avoid committing unexpected
> Jars to the code.
>
> What do you think?
>
> [1] https://github.com/apache/paimon/pull/6119
>
> Best,
> Jingsong
>

Reply via email to