Skip to content

ci: pin a Rust nightly version#6513

Merged
gdesmott merged 1 commit intomasterfrom
nightly
Aug 21, 2025
Merged

ci: pin a Rust nightly version#6513
gdesmott merged 1 commit intomasterfrom
nightly

Conversation

@gdesmott
Copy link
Collaborator

Should prevent accidental breaking of the CI.

Mark if applicable

  • This PR introduces API changes
  • This PR introduces serialization changes

@gdesmott gdesmott requested a review from chesedo July 21, 2025 09:44
raz-mon
raz-mon previously approved these changes Jul 21, 2025
@gdesmott gdesmott added enforce:coverage Run coverage flow even on draft pull request enforce:sanitize Run sanitizer flow even on draft pull request labels Jul 21, 2025
@codecov
Copy link

codecov bot commented Jul 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.48%. Comparing base (08a333a) to head (ead9055).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6513      +/-   ##
==========================================
- Coverage   87.49%   87.48%   -0.02%     
==========================================
  Files         282      282              
  Lines       44840    44838       -2     
  Branches     7753     7751       -2     
==========================================
- Hits        39234    39225       -9     
- Misses       5486     5493       +7     
  Partials      120      120              
Flag Coverage Δ
flow 84.52% <ø> (-0.14%) ⬇️
unit 49.26% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

chesedo
chesedo previously approved these changes Jul 21, 2025
@gdesmott gdesmott force-pushed the nightly branch 2 times, most recently from e2e5c93 to 81c04d8 Compare July 21, 2025 13:43
@gdesmott
Copy link
Collaborator Author

@raz-mon : I'm afraid this is not going to work.

RedisJSON relies on nightly as well and no longer find it as it looks for the latest one:
https://github.com/RediSearch/RediSearch/actions/runs/16418681005/job/46391047723?pr=6513#step:18:231

So we need a way to pin the same version across repos. I'm not sure what would be a convenient way to do that?

Or we could install the latest nightly as part of the RedisJSON setup. If we just need to build it and use the module directly then it's fine having two different nightly version.

@gdesmott
Copy link
Collaborator Author

@chesedo @DarthB any suggestion?

@chesedo
Copy link
Collaborator

chesedo commented Jul 22, 2025

@chesedo @DarthB any suggestion?

No, sorry I don't see an easy way around this. The proper solution is having a unified system for all the CIs, but that is a big undertaking for another time.

Maybe using a pre-build (Rust) image for all the CI is a step in that direction and would be quicker to make. But that still requires some co-ordination.

@gdesmott
Copy link
Collaborator Author

@alonre24 I opened RedisJSON/RedisJSON#1362 on RedisJSON.

Another (ugly) option would be to install both nightly versions as a workaround; see my second commit in this PR.

@gdesmott gdesmott force-pushed the nightly branch 4 times, most recently from 7087e5e to a6aa30c Compare July 31, 2025 12:30
@gdesmott
Copy link
Collaborator Author

@alonre24 : I tested locally with version nightly-2025-07-30 which works fine.

So once RedisJSON has pinned this version as well we can merge this.

Should prevent accidental breaking of the CI.
@gdesmott
Copy link
Collaborator Author

For the record here are the PR pinning the same version in RediJSON and redismodule-rs:

@gdesmott gdesmott enabled auto-merge August 21, 2025 09:16
@gdesmott gdesmott added this pull request to the merge queue Aug 21, 2025
Merged via the queue into master with commit 588fb97 Aug 21, 2025
17 checks passed
@gdesmott gdesmott deleted the nightly branch August 21, 2025 10:48
@alonre24
Copy link
Collaborator

/backport

redisearch-backport-pull-request bot pushed a commit that referenced this pull request Aug 21, 2025
Should prevent accidental breaking of the CI.

(cherry picked from commit 588fb97)
@redisearch-backport-pull-request
Copy link
Contributor

Successfully created backport PR for 8.2:

nafraf pushed a commit that referenced this pull request Aug 21, 2025
Should prevent accidental breaking of the CI.
Itzikvaknin pushed a commit that referenced this pull request Aug 21, 2025
Should prevent accidental breaking of the CI.
@alonre24
Copy link
Collaborator

/backport

@redisearch-backport-pull-request
Copy link
Contributor

Backport failed for 2.8, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin 2.8
git worktree add -d .worktree/backport-6513-to-2.8 origin/2.8
cd .worktree/backport-6513-to-2.8
git switch --create backport-6513-to-2.8
git cherry-pick -x 588fb97b3f209d26bd77071cae48986d539feebe

@redisearch-backport-pull-request
Copy link
Contributor

Backport failed for 2.6, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin 2.6
git worktree add -d .worktree/backport-6513-to-2.6 origin/2.6
cd .worktree/backport-6513-to-2.6
git switch --create backport-6513-to-2.6
git cherry-pick -x 588fb97b3f209d26bd77071cae48986d539feebe

@redisearch-backport-pull-request
Copy link
Contributor

Backport failed for 2.10, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin 2.10
git worktree add -d .worktree/backport-6513-to-2.10 origin/2.10
cd .worktree/backport-6513-to-2.10
git switch --create backport-6513-to-2.10
git cherry-pick -x 588fb97b3f209d26bd77071cae48986d539feebe

@alonre24 alonre24 mentioned this pull request Aug 24, 2025
2 tasks
github-merge-queue bot pushed a commit that referenced this pull request Aug 24, 2025
* Close pipe file descriptors in periodic callback to prevent resource leaks

* Add open file count check in OOM test

* build_utils: factor out link_static_libraries() (#6673)

Will help implementing the iterator bencher.

* [MOD-10771] bump svs version (#6652)

* bump vecsim

* vecsim with fix

* test crash

* code change to trigger tests

* revert code chnage

* ci: pin a Rust nightly version (#6513)

Should prevent accidental breaking of the CI.

* get open fds using psutil.num_fds()

---------

Co-authored-by: Guillaume Desmottes <[email protected]>
Co-authored-by: meiravgri <[email protected]>
redisearch-backport-pull-request bot pushed a commit that referenced this pull request Aug 24, 2025
* Close pipe file descriptors in periodic callback to prevent resource leaks

* Add open file count check in OOM test

* build_utils: factor out link_static_libraries() (#6673)

Will help implementing the iterator bencher.

* [MOD-10771] bump svs version (#6652)

* bump vecsim

* vecsim with fix

* test crash

* code change to trigger tests

* revert code chnage

* ci: pin a Rust nightly version (#6513)

Should prevent accidental breaking of the CI.

* get open fds using psutil.num_fds()

---------

Co-authored-by: Guillaume Desmottes <[email protected]>
Co-authored-by: meiravgri <[email protected]>
(cherry picked from commit 56f6f0e)
github-merge-queue bot pushed a commit that referenced this pull request Aug 24, 2025
MOD-10975: Fix fd leak when OOM (#6672)

* Close pipe file descriptors in periodic callback to prevent resource leaks

* Add open file count check in OOM test

* build_utils: factor out link_static_libraries() (#6673)

Will help implementing the iterator bencher.

* [MOD-10771] bump svs version (#6652)

* bump vecsim

* vecsim with fix

* test crash

* code change to trigger tests

* revert code chnage

* ci: pin a Rust nightly version (#6513)

Should prevent accidental breaking of the CI.

* get open fds using psutil.num_fds()

---------



(cherry picked from commit 56f6f0e)

Co-authored-by: nafraf <[email protected]>
Co-authored-by: Guillaume Desmottes <[email protected]>
Co-authored-by: meiravgri <[email protected]>
Itzikvaknin added a commit that referenced this pull request Aug 25, 2025
github-merge-queue bot pushed a commit that referenced this pull request Sep 3, 2025
ci: pin a Rust nightly version (#6513)

Should prevent accidental breaking of the CI.

(cherry picked from commit 588fb97)

Co-authored-by: Guillaume Desmottes <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.6 backport 2.8 backport 2.10 enforce:coverage Run coverage flow even on draft pull request enforce:sanitize Run sanitizer flow even on draft pull request size:S size:XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants