Skip to content

updates for 0.6.0#621

Merged
rbs333 merged 3 commits into
mainfrom
feat/sql-redis-0.6.0-regression-tests
May 27, 2026
Merged

updates for 0.6.0#621
rbs333 merged 3 commits into
mainfrom
feat/sql-redis-0.6.0-regression-tests

Conversation

@rbs333
Copy link
Copy Markdown
Collaborator

@rbs333 rbs333 commented May 27, 2026

This closes open customer feedback address with latest release https://github.com/redis-developer/sql-redis/releases/tag/v0.6.0


Note

Low Risk
Changes are dependency pins, broader error-string matching in MCP, and test coverage; no core query or runtime logic beyond MCP index detection.

Overview
This PR aligns redisvl with sql-redis 0.6.0 and locks related optional deps: sql-redis is raised from >=0.5.0 to >=0.6.0 (including the all extra), and mistralai is capped at <2 in both mistralai and all extras.

MCP startup now treats more RediSearch “missing index” error strings as absent indexes (search_index_not_found, index not found), so misconfigured index names fail with a clear error across RediSearch versions.

Tests drop the xfail on numeric IN in hash and JSON SQL integration suites, and add TestSQLRedis060Regression on hash storage—end-to-end coverage for ten customer-reported sql-redis fixes (negated filters, tag pipes, numeric IN, invalid LIKE/BETWEEN, double-quoted literals, DISTINCT, multi-column ORDER BY).

Reviewed by Cursor Bugbot for commit 3687385. Bugbot is set up for automated code reviews on this repo. Configure here.

Copilot AI review requested due to automatic review settings May 27, 2026 20:14
@jit-ci
Copy link
Copy Markdown

jit-ci Bot commented May 27, 2026

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

@rbs333 rbs333 force-pushed the feat/sql-redis-0.6.0-regression-tests branch from d668cb9 to c4853e1 Compare May 27, 2026 20:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the project’s optional sql-redis integration to align with sql-redis v0.6.0, refreshing dependency constraints and adjusting integration tests to validate the fixed query semantics.

Changes:

  • Bump sql-redis optional dependency floor from >=0.4.0 to >=0.6.0 (including all extra).
  • Refresh uv.lock to resolve sql-redis==0.6.0.
  • Update SQL integration tests (remove xfail for numeric IN; add a regression suite covering v0.6.0 fixes).

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
pyproject.toml Raises the sql-redis optional dependency minimum version to 0.6.0.
uv.lock Updates locked dependencies to include sql-redis 0.6.0 and related resolution changes.
tests/integration/test_sql_redis_hash.py Removes xfail for numeric IN and adds new end-to-end regression tests for sql-redis 0.6.0 behaviors.
tests/integration/test_sql_redis_json.py Removes xfail for numeric IN now that sql-redis supports it.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +1590 to +1595
"""Regression tests for the 10 trial-user findings fixed in sql-redis 0.6.0.

Each test exercises one of the defects end-to-end through SQLQuery +
SearchIndex. Assertions are behavior-only (result-set membership or
ValueError on inputs that previously emitted garbage queries) so they
do not depend on the exact RediSearch query-string formatting.
@rbs333 rbs333 requested a review from nkanu17 May 27, 2026 20:17
@rbs333 rbs333 added the auto:release Create a release when this PR is merged label May 27, 2026
Copy link
Copy Markdown
Collaborator

@nkanu17 nkanu17 left a comment

Choose a reason for hiding this comment

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

lgtm

Copilot AI review requested due to automatic review settings May 27, 2026 20:41
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

Comment thread pyproject.toml
Comment on lines 59 to 64
sql-redis = [
"sql-redis>=0.5.0",
"sql-redis>=0.6.0",
]
all = [
"mistralai>=1.0.0",
"mistralai>=1.0.0,<2",
"openai>=1.1.0",
Comment on lines +1637 to +1639
def test_not_equals_on_tag_is_negated(self, sql_index):
"""Case 3 (TAG side): NOT category = 'electronics' must exclude electronics."""
results = sql_index.query(
@rbs333 rbs333 merged commit f9c46cf into main May 27, 2026
148 of 152 checks passed
@rbs333 rbs333 deleted the feat/sql-redis-0.6.0-regression-tests branch May 27, 2026 21:01
@applied-ai-release-bot
Copy link
Copy Markdown

🚀 PR was released in v0.19.0 🚀

@applied-ai-release-bot applied-ai-release-bot Bot added the released This issue/pull request has been released. label May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto:release Create a release when this PR is merged released This issue/pull request has been released.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants