Repository navigation
Give the Cloud trial Team limits for File Search and code mode - #1599
Merged
Merged
Conversation
This was referenced Nov 9, 2026
helpcodeai
enabled auto-merge (squash)
November 9, 2026 09:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Cloud trial now has the Team limits for File Search and code mode. People can try everything before they pick a plan. Before checkout, the paywall will tell a workspace above Starter what Starter does not include (follow-up PR). The connector, MCP server and user limits of the trial come from the licence site and change there.
Changes
file-search-quotas.ts: the Cloudtrialentry is Team's: 3 File Search connectors, 2,000 files, 2 GB, 50 MB per file, 3 manual syncs and the Team File Share. Previously it had Starter limits and no File Share.nextPlan()points a Cloud trial at Enterprise, like the self-hosted evaluation.code-mode-quotas.ts:effectiveCodeModePlantakes acloudflag. Every Cloud trial is treated as Team for code mode, with or without a card: inline code and 20 saved code tools. A self-hosted trial is unchanged.code-run-quotas.ts: newcodeRunQuotaPlan. A trial with a card runs on the Team quotas (5,000 a month, 3 at once). A trial without a card keeps a small budget to protect the shared runner, raised from 100 to 500 runs a month, still 1 at once.LicenseGuardService.codeRunPlanForOrg: used by the run-quota check indynamic-mcp-tools.ts. When a trial without a card hits its budget, the message says to add a payment card to raise it to 5,000.docs/connectors/file-search.md(limits table, File Share),docs/code-mode.md(gating and quotas), and a note indocs/plans/file-search.md, whose trial column described the old design.Cloud vs self-hosted: only Cloud trials change. The self-hosted evaluation already had Team limits for File Search, and its code-mode plan is unchanged.
Type
Testing
In
packages/backend, afternpx prisma generate:npx jest --maxWorkers=4 src/license src/file-search src/mcp-server: 73 suites passed, 2 skipped; 1,119 tests passed, 5 skipped.npm run lint: 0 errors. The 11 warnings already exist on main.npx tsc --noEmit -p tsconfig.json: clean.New or updated specs:
nextPlan('trial', true)returns Enterprise.Checklist
npm test)Related Issues
First step of the Team-trial plan: trial limits = Team. Next: plan-fit warnings before checkout, then the automatic downgrade.