Repository navigation
Add pull request size and scope guidelines - #614
Merged
Merged
Conversation
✅ Deploy Preview for interlink-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The PR template’s relative contributor-guide link does not resolve from PR descriptions and should use an absolute URL to the guide on main.
1 open issue
What changed in this PR
Adds documentation-only guidance for keeping contributions small, focused, and reviewable. It aligns contributor instructions, the PR template, and reviewer checks without adding CI enforcement.
Changes:
- Sets size guidelines of roughly 500 changed lines and 15 files, with one logical change per PR.
- Describes splitting large work into tested, shippable steps and separating refactors from behavior changes.
- Adds an author checklist and reviewer checks for size and scope.
| File | Description |
|---|---|
REVIEWING.md |
Adds checks for PR size, focus, and separation of refactoring from behavior changes. |
CONTRIBUTING.md |
Documents size guidelines, testing expectations, and staged delivery of large changes. |
.github/PULL_REQUEST_TEMPLATE.md |
Adds testing prompts and a checklist covering scope, tests, commit sign-off/signing, and dependencies. |
Review effort: Balanced
Ask for PRs below about 500 changed lines with a single logical change, keep refactors separate from behavior changes, and describe how large work is split into a stack of PRs. Mirror the rules in the PR template and the reviewer checklist. Replace the dead external links in CONTRIBUTING.md and REVIEWING.md, which the link checker flags on every change to these files, and use an absolute URL for the contributing guide in the PR template, since a relative link does not resolve from a PR description. Signed-off-by: dciangot <dciangot@cern.ch>
dciangot
force-pushed
the
docs/pr-size-guidelines
branch
from
November 21, 2026 10:17
07ed456 to
9f3f592
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Adds pull request size and scope guidelines, so large changes land as small, reviewable PRs.
CONTRIBUTING.md: new "Pull request size and scope" section. Aim for about 500 changed lines or fewer and about 15 files or fewer, one logical change per PR, refactors kept apart from behavior changes, tests in the same PR as the code, and every commit builds. Large work is split as a stack: introduce, then migrate callers, then remove the old code..github/PULL_REQUEST_TEMPLATE.md: adds a short checklist covering size, scope, tests, signed commits and links to dependent PRs.REVIEWING.md: adds two reviewer checks, so a PR over the limits can be sent back to be split.Docs only, no code change. The limits are guidelines and are not enforced by CI.
Related issue :