Add cherry_picker config and update valid prefixes#2164
Conversation
Include the prefix used for backports which will be the release branch name in brackets such as "[release/0.6]".
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (7)
📜 Recent review details⏰ Context from checks skipped due to timeout. (13)
|
| Layer / File(s) | Summary |
|---|---|
PR title policy and guidance .github/pr-title-checker-config.json, AGENTS.md, CONTRIBUTING.md, docs/demos/lcore/contributing_guidelines.md, docs/devel_doc/contributing_guide.md |
PR title rules now support [release/ prefixes, remove RHDHPAI-, and are documented consistently. Minor guidance formatting is also normalized. |
Cherry-picker backport workflow .cherry_picker.toml, CONTRIBUTING.md, docs/branching.md |
Adds cherry_picker repository configuration and documents backport commands, conflict handling, aborting, and branching references. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Possibly related PRs
- lightspeed-core/lightspeed-stack#1937: Updates related branching and cherry-picking documentation.
- lightspeed-core/lightspeed-stack#2159: Updates related CI-enforced PR title guidance.
Suggested reviewers: tisnik
🚥 Pre-merge checks | ✅ 7
✅ Passed checks (7 passed)
| Check name | Status | Explanation |
|---|---|---|
| Description Check | ✅ Passed | Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check | ✅ Passed | The title clearly matches the main changes: adding cherry_picker config and expanding valid PR title prefixes. |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Performance And Algorithmic Complexity | ✅ Passed | No blocking perf issues: src/llama_stack_configuration.py:785-818 adds one O(n) scan over tool_runtime; other PR changes are docs/config only. |
| Security And Secret Handling | ✅ Passed | Only docs/config files changed; scans found no hardcoded secrets, auth/injection issues, data leaks, or secret-manifest ownerRef problems. |
✨ Finishing Touches
🧪 Generate unit tests (beta)
- Create PR with unit tests
✨ Simplify code
- Create PR with simplified code
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 @coderabbitai help to get the list of available commands.
|
The cherry_picker config needs to be backported to each release branch. |
Description
Add configuration for cherry_picker to make backports easier.
Update valid prefixes to include the format used for back port PRs which should be the branch name in brackets such as "[release/0.6]".
Once this is merged and backported to release branches, back ports can be made using
cherry_picker [commit hash] [target branch]. If the commit hash is a merge commit, use[merge-commit hash]^-. That will cherry-pick all commits in the merge commit individually.Ideally we would avoid merge commits in the
mainbranch to make the history cleaner and make back ports much easier to apply.Type of change
Tools used to create PR
Related Tickets & Documents
None
Checklist before requesting a review
Testing
Summary by CodeRabbit
Documentation
Chores