Skip to content

docs: add note about single-issue PRs to contributing guide#3044

Merged
ericallam merged 1 commit intomainfrom
claude/slack-clarify-single-issue-prs-dn6eI
Feb 13, 2026
Merged

docs: add note about single-issue PRs to contributing guide#3044
ericallam merged 1 commit intomainfrom
claude/slack-clarify-single-issue-prs-dn6eI

Conversation

@matt-aitken
Copy link
Member

Add a prominent notice at the top of CONTRIBUTING.md clarifying that we only accept PRs addressing a single issue, not multiple fixes.

https://claude.ai/code/session_011ZNQd5zkf38piSMhWbgiWt

Add a prominent notice at the top of CONTRIBUTING.md clarifying that
we only accept PRs addressing a single issue, not multiple fixes.

https://claude.ai/code/session_011ZNQd5zkf38piSMhWbgiWt
@changeset-bot
Copy link

changeset-bot bot commented Feb 13, 2026

⚠️ No Changeset found

Latest commit: 53cac42

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 13, 2026

Walkthrough

This pull request updates the CONTRIBUTING.md file to add a new policy requirement stating that pull requests must address a single issue. The change explicitly prohibits including multiple unrelated fixes or features within the same pull request. This is a documentation-only modification with no impact on code logic or behavior.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning The description is incomplete; it lacks most required template sections including Testing, Changelog, and the checklist, though it does provide a basic explanation of the change. Complete the PR description by filling out the template sections: add Closes #issue reference, complete the checklist, add Testing and Changelog sections, and remove the external link.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: adding documentation about the single-issue PR policy to the contributing guide.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into main

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch claude/slack-clarify-single-issue-prs-dn6eI

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@ericallam ericallam merged commit bfe417f into main Feb 13, 2026
34 of 36 checks passed
@ericallam ericallam deleted the claude/slack-clarify-single-issue-prs-dn6eI branch February 13, 2026 10:07
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@CONTRIBUTING.md`:
- Around line 9-10: Wrap or reflow lines in CONTRIBUTING.md to ensure no line
exceeds 100 characters per Prettier's printWidth: 100; specifically reformat the
paragraph starting "**Important:** We only accept PRs that address a single
issue..." (and any other long lines in the file) so each line is <=100 chars,
then run Prettier (or your editor's format command) to apply consistent Markdown
formatting before committing.
📜 Review details

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ba320a4 and 53cac42.

📒 Files selected for processing (1)
  • CONTRIBUTING.md
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{js,ts,jsx,tsx,json,md,yaml,yml}

📄 CodeRabbit inference engine (AGENTS.md)

Format code using Prettier before committing

Files:

  • CONTRIBUTING.md
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (27)
  • GitHub Check: units / internal / 🧪 Unit Tests: Internal (1, 8)
  • GitHub Check: units / internal / 🧪 Unit Tests: Internal (2, 8)
  • GitHub Check: units / internal / 🧪 Unit Tests: Internal (8, 8)
  • GitHub Check: units / internal / 🧪 Unit Tests: Internal (5, 8)
  • GitHub Check: units / webapp / 🧪 Unit Tests: Webapp (4, 8)
  • GitHub Check: units / internal / 🧪 Unit Tests: Internal (4, 8)
  • GitHub Check: units / webapp / 🧪 Unit Tests: Webapp (7, 8)
  • GitHub Check: units / webapp / 🧪 Unit Tests: Webapp (1, 8)
  • GitHub Check: units / internal / 🧪 Unit Tests: Internal (6, 8)
  • GitHub Check: units / internal / 🧪 Unit Tests: Internal (7, 8)
  • GitHub Check: units / internal / 🧪 Unit Tests: Internal (3, 8)
  • GitHub Check: units / webapp / 🧪 Unit Tests: Webapp (2, 8)
  • GitHub Check: units / webapp / 🧪 Unit Tests: Webapp (5, 8)
  • GitHub Check: units / webapp / 🧪 Unit Tests: Webapp (8, 8)
  • GitHub Check: units / webapp / 🧪 Unit Tests: Webapp (6, 8)
  • GitHub Check: units / webapp / 🧪 Unit Tests: Webapp (3, 8)
  • GitHub Check: e2e / 🧪 CLI v3 tests (windows-latest - pnpm)
  • GitHub Check: units / packages / 🧪 Unit Tests: Packages (1, 1)
  • GitHub Check: e2e / 🧪 CLI v3 tests (ubuntu-latest - npm)
  • GitHub Check: e2e / 🧪 CLI v3 tests (ubuntu-latest - pnpm)
  • GitHub Check: sdk-compat / Node.js 20.20 (ubuntu-latest)
  • GitHub Check: sdk-compat / Bun Runtime
  • GitHub Check: sdk-compat / Cloudflare Workers
  • GitHub Check: e2e / 🧪 CLI v3 tests (windows-latest - npm)
  • GitHub Check: sdk-compat / Deno Runtime
  • GitHub Check: typecheck / typecheck
  • GitHub Check: sdk-compat / Node.js 22.12 (ubuntu-latest)
🔇 Additional comments (1)
CONTRIBUTING.md (1)

9-10: Excellent placement and clear policy statement!

The single-issue PR policy is clearly communicated and positioned prominently where contributors will see it early. The wording is professional and provides actionable guidance.

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.

Comment on lines +9 to +10
> **Important:** We only accept PRs that address a single issue. Please do not submit PRs containing multiple unrelated fixes or features. If you have multiple contributions, open a separate PR for each one.

Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check if Prettier is available and verify formatting status

# First, check if prettier is installed (either locally or globally)
if command -v prettier &> /dev/null; then
  echo "Prettier found in PATH"
  prettier --version
elif [ -f "node_modules/.bin/prettier" ]; then
  echo "Prettier found in node_modules"
  ./node_modules/.bin/prettier --version
else
  echo "Checking for Prettier in package.json..."
  if [ -f "package.json" ]; then
    grep -q "prettier" package.json && echo "Prettier is in package.json" || echo "Prettier NOT in package.json"
  fi
fi

# Check if CONTRIBUTING.md exists
if [ -f "CONTRIBUTING.md" ]; then
  echo -e "\n=== File exists ==="
  wc -l CONTRIBUTING.md
  
  # Try to run prettier check if available
  if command -v prettier &> /dev/null; then
    echo -e "\n=== Prettier check result ==="
    prettier --check CONTRIBUTING.md 2>&1 || echo "File needs formatting or prettier failed"
  elif [ -f "node_modules/.bin/prettier" ]; then
    echo -e "\n=== Prettier check result ==="
    ./node_modules/.bin/prettier --check CONTRIBUTING.md 2>&1 || echo "File needs formatting or prettier failed"
  else
    echo -e "\n=== Prettier not available, showing first 20 lines ==="
    head -20 CONTRIBUTING.md
  fi
else
  echo "CONTRIBUTING.md not found"
fi

Repository: triggerdotdev/trigger.dev

Length of output: 1509


🏁 Script executed:

#!/bin/bash
# Check prettier configuration in the repo
if [ -f ".prettierrc" ] || [ -f ".prettierrc.json" ] || [ -f ".prettierrc.js" ] || [ -f ".prettierrc.yaml" ] || [ -f ".prettierrc.yml" ] || [ -f "prettier.config.js" ]; then
  echo "=== Prettier configuration found ==="
  ls -la | grep -i prettier
  [ -f ".prettierrc" ] && echo -e "\n.prettierrc content:" && cat .prettierrc
  [ -f ".prettierrc.json" ] && echo -e "\n.prettierrc.json content:" && cat .prettierrc.json
fi

# Check package.json for prettier config
if [ -f "package.json" ]; then
  echo -e "\n=== Checking package.json for prettier config ==="
  jq '.prettier // .devDependencies.prettier // "No prettier config"' package.json 2>/dev/null || echo "Could not parse package.json"
fi

Repository: triggerdotdev/trigger.dev

Length of output: 306


🏁 Script executed:

#!/bin/bash
# Read prettier configuration
echo "=== prettier.config.js ==="
cat prettier.config.js

echo -e "\n=== .prettierignore ==="
cat .prettierignore

echo -e "\n=== Reading full CONTRIBUTING.md to check formatting ==="
cat -n CONTRIBUTING.md

Repository: triggerdotdev/trigger.dev

Length of output: 14232


Ensure this markdown file complies with Prettier formatting (printWidth: 100).

Multiple lines in CONTRIBUTING.md exceed the configured 100-character line width. The file should be formatted with Prettier before committing, as required by the coding guidelines for markdown files.

🤖 Prompt for AI Agents
In `@CONTRIBUTING.md` around lines 9 - 10, Wrap or reflow lines in CONTRIBUTING.md
to ensure no line exceeds 100 characters per Prettier's printWidth: 100;
specifically reformat the paragraph starting "**Important:** We only accept PRs
that address a single issue..." (and any other long lines in the file) so each
line is <=100 chars, then run Prettier (or your editor's format command) to
apply consistent Markdown formatting before committing.

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.

3 participants