Skip to content

[CI] Add new CI test to detect large PRs - #627

Merged
yosefe merged 2 commits into
mainfrom
check_pr_size
Aug 14, 2025
Merged

yosefe merged 2 commits into
mainfrom
check_pr_size

Conversation

@dpressle

@dpressle dpressle commented Jul 28, 2025

Copy link
Copy Markdown
Contributor

Limit for single PR should be 500 added lines, except subprojects and new files.

What?

Add CI check for PR changed line number

Why?

We want to avoid very large PRs

How?

Add github workflow to detect large PRs

Comment thread .github/workflows/pr-size-check.yml Outdated
@dpressle
dpressle marked this pull request as ready for review August 3, 2025 13:29
@dpressle
dpressle requested a review from a team August 3, 2025 13:29
@dpressle
dpressle requested a review from a team as a code owner August 3, 2025 13:29
@dpressle

dpressle commented Aug 3, 2025

Copy link
Copy Markdown
Contributor Author

/build

Comment thread .github/workflows/pr-size-check.yml Outdated
@yosefe

yosefe commented Aug 4, 2025

Copy link
Copy Markdown
Contributor

@aranadive @barneuman @w1ldptr can you pls take a look if have agree with this approach in principle ?

@w1ldptr

w1ldptr commented Aug 5, 2025

Copy link
Copy Markdown
Contributor

@aranadive @barneuman @w1ldptr can you pls take a look if have agree with this approach in principle ?

I don't see much value in this automation since code owners are already free to reject all PRs marked as XXL, for example. But I'm not opposed to this either, assuming the check won't become "Required".

Limit for single PR should be 500 chnaged lines

Signed-off-by: Daniel Pressler <danielpr@nvidia.com>
@yosefe

yosefe commented Aug 14, 2025

Copy link
Copy Markdown
Contributor

/build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants