Skip to content

chore: fix contributing changeset advice#4041

Closed
carderne wants to merge 1 commit into
mainfrom
fix/contributing-md
Closed

chore: fix contributing changeset advice#4041
carderne wants to merge 1 commit into
mainfrom
fix/contributing-md

Conversation

@carderne

Copy link
Copy Markdown
Contributor

Apparently existing advice is wrong

@changeset-bot

changeset-bot Bot commented Jun 25, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: b01e88a

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

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your contribution! We require all external PRs to be opened in draft status first so you can address CodeRabbit review comments and ensure CI passes before requesting a review. Please re-open this PR as a draft. See CONTRIBUTING.md for details.

@github-actions github-actions Bot closed this Jun 25, 2026

@devin-ai-integration devin-ai-integration Bot 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.

Devin Review found 2 potential issues.

Open in Devin Review

Comment thread CONTRIBUTING.md
| Only packages (`packages/`) | Changeset |
| Only server (`apps/`) | `.server-changes/` file |
| Both packages and server | Just the changeset |
| Both packages and server | Both |

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.

🟡 Contradictory contributor guidance for mixed-change PRs across documentation files

The updated guidance now tells contributors with both package and server changes to add "Both" a changeset and a server-changes file (CONTRIBUTING.md:289), but two related docs still say the opposite, so contributors following the README or agent instructions will skip the server-changes file.

Impact: Contributors reading .server-changes/README.md or CLAUDE.md will follow the old, now-incorrect instructions and omit server-change files for mixed PRs.

Inconsistent documentation sites that were not updated

.server-changes/README.md:9 still reads: "Mixed PRs (both packages and server): Just add a changeset as usual. No .server-changes/ file needed — the changeset covers it."

CLAUDE.md:95 still reads: "When modifying only server components (apps/webapp/, apps/supervisor/, etc.) with no package changes, add a .server-changes/ file instead."

Both directly contradict the new CONTRIBUTING.md guidance that mixed PRs should add both a changeset and a .server-changes/ file.

Prompt for agents
The PR updated CONTRIBUTING.md to say mixed PRs (both packages and server changes) should add both a changeset and a .server-changes/ file. However, two other documentation files still contain the old contradictory guidance:

1. .server-changes/README.md line 9 says: Mixed PRs (both packages and server): Just add a changeset as usual. No .server-changes/ file needed — the changeset covers it. This needs to be updated to say both are needed.

2. CLAUDE.md line 95 says: When modifying only server components (apps/webapp/, apps/supervisor/, etc.) with no package changes, add a .server-changes/ file instead. The words 'only' and 'with no package changes' and 'instead' should be removed/adjusted to match the new policy that server-changes files should be added whenever server components change, regardless of whether packages also change.

Update both files to be consistent with the new CONTRIBUTING.md guidance.
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Comment thread CONTRIBUTING.md
## Adding server changes

Changesets only track published npm packages. If your PR only changes server components (`apps/webapp/`, `apps/supervisor/`, `apps/coordinator/`, etc.) with no package changes, add a `.server-changes/` file so the change appears in release notes.
Changesets only track published npm packages. If your PR changes server components (`apps/webapp/`, `apps/supervisor/`, `apps/coordinator/`, etc.), add a `.server-changes/` file so the change appears in release notes.

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.

🚩 Policy change broadens when .server-changes files are required

The two edits work together to change the contribution policy: line 262 removes the word "only" so that .server-changes/ files are now required whenever server components change (not just for server-only PRs), and line 289 changes the table entry for mixed PRs from "Just the changeset" to "Both". This is a deliberate policy broadening. The consequence is that mixed PRs will now generate two changelog artifacts (a changeset for package release notes and a .server-changes/ file for server release notes), which may result in duplicate entries in release notes if the release tooling doesn't deduplicate. Worth confirming the release automation handles this gracefully.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

@coderabbitai

coderabbitai Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: f40eba31-69df-418a-9abc-b8c85e9fba58

📥 Commits

Reviewing files that changed from the base of the PR and between f163c89 and b01e88a.

📒 Files selected for processing (1)
  • CONTRIBUTING.md

Walkthrough

CONTRIBUTING.md was updated to change the rules for server-related PRs. The server-changes guidance now applies whenever server components change, and the PR guidance table now says changes to both packages and server require both a changeset and a .server-changes/ file.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/contributing-md

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.

@carderne carderne reopened this Jun 25, 2026
@carderne carderne marked this pull request as draft June 25, 2026 14:06
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your contribution! We require all external PRs to be opened in draft status first so you can address CodeRabbit review comments and ensure CI passes before requesting a review. Please re-open this PR as a draft. See CONTRIBUTING.md for details.

@github-actions github-actions Bot closed this Jun 25, 2026
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.

1 participant