-
-
Notifications
You must be signed in to change notification settings - Fork 637
Document edge cases for /run-skipped-ci workflow #2129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
WalkthroughAdds documentation to CONTRIBUTING.md: an "Important Notes" subsection under CI control commands documenting that /run-skipped-ci runs against the commit SHA at comment time (force-push caveat) and warning against deleting or force-pushing branches while workflows run. Also expands Install Generator guidance with step-by-step gem and yalc instructions. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ 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). (1)
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 |
Code Review ✅This is a documentation-only PR that adds important clarifications to the ✅ Strengths
📝 Minor Suggestions (Optional)While the current documentation is clear, consider these minor enhancements for even better clarity:
However, these are truly optional - the current documentation is already clear and follows the project's style of being concise. 🎯 ConclusionLGTM (Looks Good To Me) ✅ This PR:
The markdown will render correctly in GitHub, and the changes align perfectly with the project's contributing guidelines. Review performed by Claude Code |
26d5d1c to
cb9339a
Compare
Add important notes about force-push and branch deletion edge cases to the CI Control Commands section in CONTRIBUTING.md. Closes #2002 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
cb9339a to
84c3f9f
Compare
Code ReviewOverviewThis PR adds important documentation about edge cases for the ✅ Strengths
📝 Suggestions for Improvement1. Force-Push Explanation Could Be More AccurateThe current text states:
Issue: This might slightly confuse users about the behavior. The wording "subsequent pushes will automatically run full CI" could be misread as referring to the same workflow run continuing. Suggested rewording: - **Force-pushes:** The `/run-skipped-ci` command adds the `full-ci` label to your PR and triggers workflows against the commit SHA at the time of the comment. If you force-push after commenting, the initial workflow run will still test the old commit. However, the `full-ci` label persists, so any subsequent pushes will automatically trigger full CI on the new commits.This makes it clearer that:
2. Consider Adding a "When This Matters" ContextThe current documentation tells users to avoid force-pushing during workflow runs, but doesn't explain when this actually becomes a problem. Consider adding: - **Branch operations:** Avoid deleting or force-pushing branches while workflows are running, as this may cause checkout failures. Wait for workflows to complete before performing branch operations, or be prepared to re-run the `/run-skipped-ci` command on the new commit.This addition:
3. Minor: Consider Cross-Referencing Related DocumentationThe PR description mentions this closes #2002, which has excellent context about these edge cases. Consider adding a reference for maintainers: #### Important Notes
<!-- See issue #2002 for detailed edge case analysis -->
- **Force-pushes:** ...
- **Branch operations:** ...🎯 Alignment with CLAUDE.md Guidelines
🧪 Testing VerificationAs noted in the test plan, this is a documentation-only change with no functional changes. The markdown renders correctly (verified via the diff). Final VerdictLGTM with minor suggestions ✨ The core documentation is solid and addresses a real user need. The suggestions above are optional refinements to make the edge cases even clearer, but the PR is mergeable as-is. Great work documenting these edge cases before they confuse users! This is exactly the kind of proactive documentation that prevents support questions. Review conducted with attention to CLAUDE.md guidelines and React on Rails documentation standards. |
Summary
/run-skipped-ciworkflow in CONTRIBUTING.mdCloses #2002
Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.