CI: keep PR review plan comment checkout in sync#339
Conversation
|
Warning Review limit reached
More reviews will be available in 2 minutes and 57 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ 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 |
|
This advisory review plan was generated from changed file names using trusted base-branch code. DeePTB PR Review Plan / DeePTB PR 审查计划Risk / 风险等级: Medium (中) · Changed files / 变更文件: 1 Why / 风险来源
Recommended Review / 建议审查重点
Detailed risk areas
Human review focus
Local commands and hold conditionsSuggested local commands:
Hold conditions:
Advisory only. / 仅作为审查辅助。 |
Summary
Root Cause
For PR #330, the workflow file from current main invoked
pr_review_plan.py --format github-comment, but the job checked outgithub.event.pull_request.base.sha, which pointed at an older main commit that did not support that flag. The script exited with code 2 before updating the comment.Validation
ruby -e 'require yaml; YAML.load_file(.github/workflows/pr_review_plan_comment.yml)'python3 scripts/ci/check_repository_hygiene.pypython3 scripts/ci/pr_review_plan.py --stdin --format github-comment