feat: add fix-patch-path output variable#378
Conversation
|
Warning Review limit reached
More reviews will be available in 49 minutes and 51 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?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 credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. 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, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughAdds a ChangesAuto-fix patch file generation and output
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
|
@shenxianpeng This is the preferred solution to compliment cpp-linter/cpp-linter-action#439 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #378 +/- ##
==========================================
+ Coverage 92.41% 92.54% +0.12%
==========================================
Files 23 23
Lines 3637 3700 +63
==========================================
+ Hits 3361 3424 +63
Misses 276 276 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
resolves #376 If there are any auto-fixes available, then a patch full of them is created and its path is set to a new output `fix-patch-path` output variable. If there were no auto-fixes, then the output variable is not set, which is treated as an empty in `steps.linter.outputs.fix-patch-path` context).
resolves #376
This is the result of
If there are any auto-fixes available, then a patch full of them is created and its path is set to a new output
fix-patch-pathoutput variable.If there were no auto-fixes, then the output variable is not set. Remember, an unset output variable is treated as an empty string (a false value) in
steps.linter.outputs.fix-patch-pathcontext.Summary by CodeRabbit
Release Notes
New Features
fix-patch-pathoutput (with normalized forward slashes) pointing to the generated patch when present.Bug Fixes
Tests
build/**and added validation for the generated patch file contents.