Skip to content

fix: bump enterprise function limit from 200k to 500k#265

Merged
DevanshuNEU merged 2 commits into
OpenCodeIntel:mainfrom
DevanshuNEU:fix/bump-enterprise-limit
Feb 28, 2026
Merged

fix: bump enterprise function limit from 200k to 500k#265
DevanshuNEU merged 2 commits into
OpenCodeIntel:mainfrom
DevanshuNEU:fix/bump-enterprise-limit

Conversation

@DevanshuNEU

@DevanshuNEU DevanshuNEU commented Feb 28, 2026

Copy link
Copy Markdown
Collaborator

Problem

Our limit was an arbitrary number that doesn't accommodate large real-world codebases.

Fix

Enterprise max_functions_per_repo: 200,000 -> 500,000

One line change. 289 tests pass.

Why 500k not unlimited

Enterprise still needs a ceiling to prevent abuse and runaway API costs. 500k covers the largest OSS codebases (Linux kernel ~27M LOC has ~300k functions) with generous headroom.

Real-world codebase (effect-ts) has 200,437 functions -- just 437 over
the old 200,000 cap. Enterprise tier should handle large codebases
without arbitrary limits causing friction.

289 tests pass.
@vercel

vercel Bot commented Feb 28, 2026

Copy link
Copy Markdown

@DevanshuNEU is attempting to deploy a commit to the Dev's projects Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Feb 28, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0011fff and 0c8f7d8.

📒 Files selected for processing (1)
  • backend/services/user_limits.py

📝 Walkthrough

Walkthrough

The enterprise tier's maximum function count per repository was increased from 200,000 to 500,000 in the user limits configuration file. This is a straightforward constant value adjustment with no behavioral changes.

Changes

Cohort / File(s) Summary
Enterprise Function Limit
backend/services/user_limits.py
Increased max_functions_per_repo limit for ENTERPRISE tier from 200,000 to 500,000.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A limit grows, as businesses soar,
Five hundred thousand functions, now much more!
Enterprise dreams expand so wide,
With larger bounds, they'll run with pride! 🚀

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: increasing the enterprise function limit from 200k to 500k, which directly matches the one-line code change in the pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

@DevanshuNEU

Copy link
Copy Markdown
Collaborator Author

@CodeRabbit review

@coderabbitai

coderabbitai Bot commented Feb 28, 2026

Copy link
Copy Markdown
✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@vercel

vercel Bot commented Feb 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
opencodeintel Ignored Ignored Preview Feb 28, 2026 3:19pm

@DevanshuNEU DevanshuNEU merged commit 7a563d3 into OpenCodeIntel:main Feb 28, 2026
7 checks passed
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.

1 participant