Skip to content

Add pull request size and scope guidelines - #614

Merged
dciangot merged 1 commit into
interlink-hq:mainfrom
dciangot:docs/pr-size-guidelines
Nov 21, 2026
Merged

dciangot merged 1 commit into
interlink-hq:mainfrom
dciangot:docs/pr-size-guidelines

Conversation

@dciangot

Copy link
Copy Markdown
Member

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 :

Copilot AI balanced review requested due to automatic review settings November 21, 2026 10:10
@netlify

netlify Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for interlink-dev ready!

Name Link
🔨 Latest commit 9f3f592
🔍 Latest deploy log https://app.netlify.com/projects/interlink-dev/deploys/6b016fb877dce789c501eea7
😎 Deploy Preview https://deploy-preview-614--interlink-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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

Comment thread .github/PULL_REQUEST_TEMPLATE.md Resolved
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
dciangot force-pushed the docs/pr-size-guidelines branch from 07ed456 to 9f3f592 Compare November 21, 2026 10:17
@dciangot
dciangot merged commit 080f93a into interlink-hq:main Nov 21, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants