Skip to content

[8.2] [MOD-11616] Fix SVS info test to properly handle Alpine platform compression fallback#6922

Merged
redisearch-backport-pull-request[bot] merged 1 commit into8.2from
backport-6914-to-8.2
Sep 29, 2025
Merged

[8.2] [MOD-11616] Fix SVS info test to properly handle Alpine platform compression fallback#6922
redisearch-backport-pull-request[bot] merged 1 commit into8.2from
backport-6914-to-8.2

Conversation

@redisearch-backport-pull-request
Copy link
Contributor

@redisearch-backport-pull-request redisearch-backport-pull-request bot commented Sep 29, 2025

Description

Backport of #6914 to 8.2.


Note

Adjust SVS-VAMANA compression runtime test to detect Alpine Linux and fallback to GlobalSQ8 when Intel optimizations aren’t supported.

  • Tests (vecsim):
    • SVS-VAMANA info with compression: Detect Alpine Linux via distro and treat it as not supporting Intel SVS optimizations.
      • Add is_alpine() and compute is_intel_opt_supported = is_intel_cpu() and not is_alpine().
      • Set expected compression runtime to compression_type only if is_intel_opt_supported and BUILD_INTEL_SVS_OPT, otherwise GlobalSQ8.
      • Add import distro.

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

…ression fallback (#6914)

* check if alpine

* use distro.name().lower()

(cherry picked from commit 1577ac2)
@redisearch-backport-pull-request redisearch-backport-pull-request bot added this pull request to the merge queue Sep 29, 2025
Merged via the queue into 8.2 with commit fe53287 Sep 29, 2025
29 checks passed
@redisearch-backport-pull-request redisearch-backport-pull-request bot deleted the backport-6914-to-8.2 branch September 29, 2025 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant