Skip to content

fix: move vouch/skip checks before diff acquisition#47

Merged
Meru143 merged 1 commit intomainfrom
issue/29-fix2
Feb 24, 2026
Merged

fix: move vouch/skip checks before diff acquisition#47
Meru143 merged 1 commit intomainfrom
issue/29-fix2

Conversation

@Meru143
Copy link
Copy Markdown
Owner

@Meru143 Meru143 commented Feb 24, 2026

Move --vouch and --skip handling to before any diff acquisition (PR fetch, file reads, git show/diff) so they short-circuit immediately after CLI args are parsed.

Move --vouch and --skip handling to before any diff acquisition
(PR fetch, file reads, git show/diff) so they short-circuit
immediately after CLI args are parsed.
Copilot AI review requested due to automatic review settings February 24, 2026 12:50
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 24, 2026

Warning

Rate limit exceeded

@Meru143 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 18 minutes and 19 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between f129e62 and 966e171.

📒 Files selected for processing (1)
  • src/main.rs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch issue/29-fix2

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 and usage tips.

@Meru143 Meru143 merged commit 47d14a3 into main Feb 24, 2026
5 checks passed
@Meru143 Meru143 deleted the issue/29-fix2 branch February 24, 2026 12:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR optimizes the argus review command by moving --vouch and --skip flag checks to execute immediately after CLI argument parsing, before any diff acquisition operations (PR fetches, file reads, or git operations). This allows the command to short-circuit early and avoid unnecessary work when these flags are used.

Changes:

  • Moved --vouch and --skip checks to execute before diff acquisition operations
  • Simplified the vouch output message from a computed format to a static string

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Meru143 Meru143 mentioned this pull request Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants