Skip to content

Reduce PORT parsing boilerplate#84

Merged
raeperd merged 4 commits into
mainfrom
refactor/use-errors-is
May 5, 2026
Merged

Reduce PORT parsing boilerplate#84
raeperd merged 4 commits into
mainfrom
refactor/use-errors-is

Conversation

@raeperd
Copy link
Copy Markdown
Owner

@raeperd raeperd commented May 5, 2026

Summary

  • store parsed PORT as uint64 to assign ParseUint directly
  • remove unnecessary conversion in server startup logging

Test

  • go test ./...

raeperd added 2 commits April 11, 2026 01:04
Use errors.Is instead of direct equality check for more robust
error matching against wrapped errors.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 5, 2026

Warning

Rate limit exceeded

@raeperd has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 17 minutes and 58 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: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9e30f2e4-9fec-45b7-85ae-3ed05c05d4a2

📥 Commits

Reviewing files that changed from the base of the PR and between 4eb0324 and 7c5070c.

📒 Files selected for processing (1)
  • main.go
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/use-errors-is

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.

@raeperd raeperd self-assigned this May 5, 2026
@coveralls
Copy link
Copy Markdown

coveralls commented May 5, 2026

Coverage Status

coverage: 79.739%. remained the same — refactor/use-errors-is into main

@raeperd raeperd merged commit 93ac24b into main May 5, 2026
4 checks passed
@raeperd raeperd deleted the refactor/use-errors-is branch May 5, 2026 16:33
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