Skip to content

Update Vector Search feature flag#5626

Open
valkirilov wants to merge 2 commits intomainfrom
feature/vector-search-v2-feature-flag-migration
Open

Update Vector Search feature flag#5626
valkirilov wants to merge 2 commits intomainfrom
feature/vector-search-v2-feature-flag-migration

Conversation

@valkirilov
Copy link
Member

@valkirilov valkirilov commented Mar 11, 2026

What

Replace the old vectorSearch and dev-vectorSearch feature flags with a single vectorSearchV2 flag.

  • The dead vectorSearch flag is removed entirely, and all code previously gated by dev-vectorSearch is now gated by vectorSearchV2.
  • Stale TODO comments referencing the old flags are cleaned up.
  • Config version bumped to 3.4 with the flag enabled by default.

Testing

  • Verify the Search nav item appears when vectorSearchV2 is enabled and hidden when disabled
  • Confirm the onboarding tour correctly skips/shows the vector search step based on the flag
  • Confirm "Create Index" in BrowserPage redirects to vector search only when the flag is on

Note

Low Risk
Low risk: this is primarily a feature-flag rename/consolidation affecting routing/navigation and onboarding flow, with no changes to data handling or auth. Main risk is misconfiguration causing the Search page/nav/onboarding step to appear or be skipped unexpectedly.

Overview
Consolidates Vector Search gating behind a single vectorSearchV2 feature flag across API and UI, removing the old vectorSearch/dev-vectorSearch flags.

Bumps features-config.json version to 3.4 and enables vectorSearchV2 by default; updates backend known-features/strategy wiring and switches UI route, nav menu, Browser "Create Index" redirect, and onboarding step skipping logic/tests to use the new flag.

Written by Cursor Bugbot for commit 1d312c6. This will update automatically on new commits. Configure here.

The vectorSearch flag is no longer used — all deprecated components
that referenced it have been deleted. Clean up its definition from
frontend and backend config/constants.

Made-with: Cursor
@valkirilov valkirilov changed the title Feature/vector search v2 feature flag migration Update Vector Search feature flag Mar 11, 2026
@valkirilov valkirilov self-assigned this Mar 11, 2026
@valkirilov valkirilov marked this pull request as ready for review March 11, 2026 16:16
@jit-ci
Copy link

jit-ci bot commented Mar 11, 2026

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

@github-actions
Copy link
Contributor

Code Coverage - Backend unit tests

St.
Category Percentage Covered / Total
🟢 Statements 92.64% 14926/16111
🟡 Branches 75.02% 4640/6185
🟢 Functions 86.44% 2333/2699
🟢 Lines 92.45% 14259/15423

Test suite run success

3286 tests passing in 303 suites.

Report generated by 🧪jest coverage report action from 2d6d123

Introduce the new vectorSearchV2 flag to re-gate all UI code that was
previously behind dev-vectorSearch: routing, navigation, onboarding
tour/features, BrowserPage index-panel redirect, and RediSearch indexes
list. Remove stale TODO comments. Bump features-config version to 3.4
and enable the flag by default.

Made-with: Cursor
@valkirilov valkirilov force-pushed the feature/vector-search-v2-feature-flag-migration branch from 2d6d123 to 1d312c6 Compare March 11, 2026 16:24
@github-actions
Copy link
Contributor

Code Coverage - Integration Tests

Status Category Percentage Covered / Total
🟢 Statements 80.67% 17154/21262
🟡 Branches 63.51% 7813/12301
🟡 Functions 69.3% 2407/3473
🟢 Lines 80.26% 16126/20091

@github-actions
Copy link
Contributor

Code Coverage - Frontend unit tests

St.
Category Percentage Covered / Total
🟢 Statements 82.15% 22894/27870
🟡 Branches 67.37% 9627/14290
🟡 Functions 77.17% 6210/8047
🟢 Lines 82.58% 22413/27142

Test suite run success

6352 tests passing in 759 suites.

Report generated by 🧪jest coverage report action from 1d312c6

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