[01/10] docs: refine contributor guidance - #93
Conversation
|
Warning Review limit reached
Next review available in: 55 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
/agentic_review |
Code Review by Qodo
1. Ambiguous rebase guidance
|
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit 57dc4ed |
PR Summary by QodoDocs: refine contributor guidance in AGENTS.md
AI Description
High-Level Assessment
Files changed (1)
|
| - Follow-up review commits are acceptable. Do not rewrite published history merely to hide fixes. | ||
| - For stacked pull requests, wait for upstream changes to settle before rebasing and pushing downstream branches. Validate each rewritten layer. | ||
| - Keep pull requests focused. Use several meaningful, dependency-ordered commits when that makes a change easier to review, and include tests with the behavior they cover. | ||
| - Keep follow-up review commits instead of rewriting published history. Stabilize upstream changes before rebasing and validating stacked branches. |
There was a problem hiding this comment.
1. Ambiguous rebase guidance 🐞 Bug ⚙ Maintainability
AGENTS.md combines “don’t rewrite published history” with “stabilize upstream changes before rebasing stacked branches” without clarifying the intended scope (e.g., rebasing local/downstream stack branches vs. avoiding rewrites of broadly shared/merged history). This can confuse contributors about whether rebasing/force-pushing stacked branches is permitted under the same rule set.
Agent Prompt
### Issue description
`AGENTS.md` now states to avoid rewriting published history while also recommending rebasing stacked branches, but it does not spell out *when* rebasing is acceptable (local branch vs. already-shared branch) and how that fits with the “published history” rule.
### Issue Context
Rebasing is itself a history rewrite, so this guidance should explicitly distinguish the allowed workflow for stacked PR branches (often rebased/force-pushed) from the disallowed practice (rewriting already-merged or broadly relied-upon history, or rewriting merely to hide fixes).
### Fix Focus Areas
- AGENTS.md[98-103]
Suggested wording direction (example):
- Keep follow-up review commits; avoid rewriting history solely to hide fixes.
- Rebasing downstream/stacked branches is acceptable *when upstream is stable*; validate each rewritten layer and obtain the required approval before force-pushing.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
|
Code review by qodo was updated up to the latest commit 57dc4ed |
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai help |
ChatThere are 3 ways to chat with CodeRabbit:
CodeRabbit commands
Other keywords and placeholders
CodeRabbit configuration file (
|
|
@coderabbitai full review |
✅ Action performedFull review finished. Your included review limit is currently reached under our Fair Usage Limits Policy. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 56 minutes. |
Summary
Scope
Documentation-only layer. It is independently based on
master.Verification
prek run --all-filesmaster: 99.85%)master: 99.55%)