Skip to content

Expose connectors in GET /info Features and add IsPluginEnabled extension#5527

Open
nortonandreev wants to merge 1 commit intomasterfrom
feature/info-connectors-feature-flag
Open

Expose connectors in GET /info Features and add IsPluginEnabled extension#5527
nortonandreev wants to merge 1 commit intomasterfrom
feature/info-connectors-feature-flag

Conversation

@nortonandreev
Copy link
Contributor

@nortonandreev nortonandreev commented Feb 24, 2026

Adds a connectors entry to the Features object returned by GET /info when the Connectors plugin is enabled, so clients can detect connector support. Introduces ClusterVNodeOptions.IsPluginEnabled(name) in Core and uses it for this flag and in PluginsService.

Note: PluginsService.IsPluginEnabled is now case-insensitive.

Screenshot 2026-02-24 at 15 11 08

This won't be immediately useful since it only applies to new deployments running the latest/upcoming version. In the meantime, we can detect connector support by checking for error code 12 (Unimplemented) from the connectors list endpoint, so that's what we'll use for now. That said, I'd prefer to eventually rely on this flag instead — making requests that we expect to fail isn't ideal when there's a cleaner way to check for capability.

…sion

- Add 'connectors' to the Features dictionary in /info when Connectors plugin is enabled
- Add ClusterVNodeOptions.IsPluginEnabled(name) extension in Core for consistent plugin checks
- Use IsPluginEnabled in PluginsService and in ClusterVNode for the connectors feature flag

Co-authored-by: Cursor <cursoragent@cursor.com>
@nortonandreev nortonandreev self-assigned this Feb 24, 2026
@nortonandreev nortonandreev changed the title Expose connectors in GET /info Features and add IsPluginEnabled extension Expose connectors in GET /info Features and add IsPluginEnabled extension Feb 24, 2026
@nortonandreev nortonandreev marked this pull request as ready for review February 24, 2026 13:12
@nortonandreev nortonandreev requested a review from a team as a code owner February 24, 2026 13:12
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