Skip to content

Replace hardcoded MAX_LIST_SIZE with Number.MAX_SAFE_INTEGER#341

Merged
brianmhunt merged 1 commit into
mainfrom
pc/use_const_max_int
Apr 20, 2026
Merged

Replace hardcoded MAX_LIST_SIZE with Number.MAX_SAFE_INTEGER#341
brianmhunt merged 1 commit into
mainfrom
pc/use_const_max_int

Conversation

@phillipc
Copy link
Copy Markdown
Member

Use MAX_SAFE_INTEGER instead of a magic number

@phillipc phillipc requested a review from brianmhunt April 20, 2026 18:16
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 20, 2026

Warning

Rate limit exceeded

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

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 42 minutes and 50 seconds.

⌛ 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: a4d974b2-8358-4793-8b26-b0b4e304b3ba

📥 Commits

Reviewing files that changed from the base of the PR and between 802ac55 and 1b8a062.

📒 Files selected for processing (1)
  • packages/binding.foreach/src/foreach.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch pc/use_const_max_int

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.

@brianmhunt brianmhunt merged commit 4e08ea5 into main Apr 20, 2026
9 checks passed
@brianmhunt brianmhunt deleted the pc/use_const_max_int branch April 20, 2026 18:35
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