[8.4] Rust CI improvements#7559
Merged
redisearch-backport-pull-request[bot] merged 2 commits into8.4from Dec 1, 2025
Merged
Conversation
* Move nightly version to a standalone .rust-nightly file. All nightly-related references to build.sh have been updated to use .rust-nightly as the source of truth. * Copy `.rust-nightly` rather than `build.sh` into the CI container. It gets rid of unnecessary rebuilds, since the nightly version was the only thing we cared about from `build.sh` when building the container. * Use a specific stable version of Rust. Using a specific version, the CI container is correctly rebuilt whenever that version changes. It also moves the Rust toolchain file to the root of the repository, to ease copying it into the container during build. * Cache Rust packages in CI. * Only use the cache action if Node is supported. * Trigger build with cache hit (cherry picked from commit 7bc0ece)
Merged
2 tasks
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 8.4 #7559 +/- ##
==========================================
- Coverage 85.92% 85.86% -0.06%
==========================================
Files 330 331 +1
Lines 52536 52667 +131
Branches 12001 12004 +3
==========================================
+ Hits 45139 45224 +85
- Misses 7230 7276 +46
Partials 167 167
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
meiravgri
approved these changes
Dec 1, 2025
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Backport of #7520 to
8.4.Note
Centralizes the pinned Rust nightly via
.rust-nightly, adds a rootrust-toolchain.toml, enables Rust caching in CI, and updates scripts and.dockerignoreaccordingly.Swatinem/rust-cache@v2in/.github/workflows/task-test.ymlwith workspacesrc/redisearch_rs -> ../../bin/redisearch_rs..rust-nightly(pinnednightly-2025-07-30) and consume it inbuild.sh,.install/test_deps/install_rust_deps.sh, andtests/deps/setup_rejson.sh.rust-toolchain.toml(channel = "1.91.1") and removesrc/redisearch_rs/rust-toolchain.toml..dockerignoreto include.rust-nightlyandrust-toolchain.tomlin build context.Written by Cursor Bugbot for commit a1f42fa. This will update automatically on new commits. Configure here.