Skip to content

fix: skip signoff check for ignored authors - #464

Merged
shenxianpeng merged 1 commit into
mainfrom
bugfix/signoff-respect-ignore-authors
Jul 9, 2026
Merged

fix: skip signoff check for ignored authors#464
shenxianpeng merged 1 commit into
mainfrom
bugfix/signoff-respect-ignore-authors

Conversation

@shenxianpeng

Copy link
Copy Markdown
Member

SignoffValidator used the base skip helper, so it was the only commit-level check that did not honor ignore_authors — a bot in the ignore list still had its signoff validated. Use _should_skip_commit_validation so signoff is skipped for ignored authors, consistent with the message, author, and body checks. Add a test covering the skip behavior.

SignoffValidator used the base skip helper, so it was the only commit-level
check that did not honor ignore_authors — a bot in the ignore list still had
its signoff validated. Use _should_skip_commit_validation so signoff is
skipped for ignored authors, consistent with the message, author, and body
checks. Add a test covering the skip behavior.
@netlify

netlify Bot commented Jul 9, 2026

Copy link
Copy Markdown

Deploy Preview for commit-check ready!

Name Link
🔨 Latest commit 92fc09b
🔍 Latest deploy log https://app.netlify.com/projects/commit-check/deploys/6a4f46597038d60008cfd659
😎 Deploy Preview https://deploy-preview-464--commit-check.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@shenxianpeng, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 45 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 7f000b4c-f834-49fd-97c3-e8801878df22

📥 Commits

Reviewing files that changed from the base of the PR and between df32a83 and 92fc09b.

📒 Files selected for processing (2)
  • commit_check/engine.py
  • tests/engine_test.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch bugfix/signoff-respect-ignore-authors

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

sonarqubecloud Bot commented Jul 9, 2026

Copy link
Copy Markdown

@shenxianpeng shenxianpeng added the bug Something isn't working label Jul 9, 2026
@shenxianpeng
shenxianpeng marked this pull request as ready for review July 9, 2026 07:00
@shenxianpeng
shenxianpeng requested a review from a team as a code owner July 9, 2026 07:00
@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.10%. Comparing base (df32a83) to head (92fc09b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #464      +/-   ##
==========================================
+ Coverage   97.02%   97.10%   +0.08%     
==========================================
  Files          12       12              
  Lines        1176     1176              
==========================================
+ Hits         1141     1142       +1     
+ Misses         35       34       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@codspeed-hq

codspeed-hq Bot commented Jul 9, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 91.46%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 1 improved benchmark
✅ 360 untouched benchmarks
🆕 1 new benchmark
⏩ 109 skipped benchmarks1

Performance Changes

Benchmark BASE HEAD Efficiency
test_empty_message_passes 1,433.6 µs 748.8 µs +91.46%
🆕 test_default_signoff_skips_ignored_author N/A 682.9 µs N/A

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing bugfix/signoff-respect-ignore-authors (92fc09b) with main (df32a83)

Open in CodSpeed

Footnotes

  1. 109 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@shenxianpeng
shenxianpeng merged commit 47bea45 into main Jul 9, 2026
32 checks passed
@shenxianpeng
shenxianpeng deleted the bugfix/signoff-respect-ignore-authors branch July 9, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant