Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 6583 - Fix CI on older branches - 1.4.4 #6586

Draft
wants to merge 2 commits into
base: 389-ds-base-1.4.4
Choose a base branch
from

Conversation

vashirov
Copy link
Member

@vashirov vashirov commented Feb 5, 2025

Bug Description:
Test execution on older branches (1.4.x, some 2.x) fails. We use the same Fedora base image across all branches, but it contains newer toolchain and doesn't have some build dependencies.

Fix Description:
Use appropriate images: EL8 for 1.4.x, EL9 for 2.x, EL10/Fedora for 3.x.

Fixes: #6583

@vashirov vashirov changed the title Issue 6583 - Fix CI on older branches Issue 6583 - Fix CI on older branches - 1.4.4 Feb 5, 2025
Description: Run cargo update --manifest-path=./src/Cargo.toml.
Add minimum supported rust version field to the manifests.
Fix minor 'variable does not need to be mutable' error.

Another error:
error: using `.borrow()` on a double reference, which returns
`&concread::cowcell::CowCellReadTxn<CacheStats>` instead of borrowing the inner type

We're getting the error about borrowing a double reference because
we're trying to borrow a type that is already a reference.
Fix - use the type directly.
Set rust-version to 1.70 for better compatibility.

Related: 389ds#5853
Fixes: 389ds#5861

Reviewed by: @vashirov (Thanks!), @Firstyear (Thanks for the rust-version idea!)
Bug Description:
Test execution on older branches (1.4.x, some 2.x) fails. We use the
same Fedora base image across all branches, but it contains newer
toolchain and doesn't have some build dependencies.

Fix Description:
Use appropriate images: EL8 for 1.4.x, EL9 for 2.x, EL10/Fedora for 3.x.

Fixes: 389ds#6583
@vashirov vashirov marked this pull request as draft February 5, 2025 20:02
Copy link
Contributor

@progier389 progier389 left a comment

Choose a reason for hiding this comment

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

LGTM

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.

3 participants