Repository navigation
Tell chat setup users with no licence to activate one - #1448
Merged
Merged
Conversation
helpcodeai
enabled auto-merge (squash)
November 2, 2026 12:42
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
Found while testing the chat setup end to end on Cloud (claude.ai, workspace with no licence):
setup_install_connectorwas refused because the workspace has no active licence, which is right, but the answer told the user to "Choose a plan with more connectors, or remove a connector." For an empty workspace without a licence neither helps, and Claude itself pointed out that the hint was misleading.planLimitAnswernow checks the licence usage first. With no licence at all (plannull: ended trial or lapsed plan):The trial and paid-plan answers are unchanged.
Cloud only in practice:
checkCanCreateConnectorrefuses nothing on self-hosted.Changes
packages/backend/src/adapters/connector-setup.service.ts: no-licence branch inplanLimitAnswer.packages/backend/src/adapters/connector-setup.service.spec.ts: two new cases; the defaultgetUsagemock now carriesplan: 'trial'so the existing cases keep their meaning.Type
Testing