Skip to content

Lint: address govet issue#722

Merged
aramprice merged 1 commit intomainfrom
lint-fix
May 4, 2026
Merged

Lint: address govet issue#722
aramprice merged 1 commit intomainfrom
lint-fix

Conversation

@aramprice
Copy link
Copy Markdown
Member

Fast follow of #721

Copilot AI review requested due to automatic review settings May 4, 2026 22:46
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 4, 2026

Warning

Rate limit exceeded

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

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ 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.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: c66b5932-b9f4-4401-b221-6c28447d0066

📥 Commits

Reviewing files that changed from the base of the PR and between 022b4c1 and 1fc93e9.

📒 Files selected for processing (1)
  • index/file_index.go
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch lint-fix

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.

Copy link
Copy Markdown

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 is a follow-up to #721 that resolves a newly flagged govet “inline constant” lint issue in the file index kind-to-string map.

Changes:

  • Replace deprecated reflect.Ptr usage (and its //nolint:govet suppression) with reflect.Pointer to satisfy govet.

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

@aramprice aramprice merged commit e786ee9 into main May 4, 2026
50 checks passed
@aramprice aramprice deleted the lint-fix branch May 4, 2026 22:50
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.

3 participants