Repository navigation
align 8.10 to master and bump version to 8.9.81 - #1031
Conversation
* install aws if and only if it is not installed yet * add another build fixes * fix build for amazonlinux2 * fix(al2): add cc symlink to devtoolset-11 to fix LTO version mismatch * alma8 +rhel8+rhel9+bionic +focal passes * fix for bionic * fix * bump rltest * fix bionic bootstrap * fix azurelinux3 * bionic fix * fix for bullesye * fix focal ci * fix the test due to bump rltest version * fix for bionic and focal * fix * fix remarks
| $SUDO ln -sf /opt/rh/gcc-toolset-11/root/usr/bin/as /usr/local/bin/as || true | ||
| $SUDO ln -sf /opt/rh/gcc-toolset-11/root/usr/bin/make /usr/local/bin/make || true | ||
| $SUDO update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 2000000 | ||
| $SUDO update-alternatives --set python3 /usr/bin/python3.11 |
There was a problem hiding this comment.
Wrong alternatives command on EL8
High Severity
el8_default_install pins system python3 with update-alternatives, which is a Debian/Ubuntu utility. Rocky/Alma/RHEL 8 expose the same role via alternatives. With set -e in install_script.sh, a missing update-alternatives aborts EL8 bootstrap before the venv step.
Reviewed by Cursor Bugbot for commit 9361432. Configure here.
| try: | ||
| self.cmd('CF.INSERT', 'cf', 'ITEMS', *["1 "]*140000) | ||
| except ResponseError: | ||
| pass |
There was a problem hiding this comment.
Overflow test asserts nothing
Medium Severity
test_counter_overflow_with_large_number_of_items now wraps the large CF.INSERT in try/except ResponseError: pass. The test always passes whether the insert succeeds or Redis returns an error, so it no longer checks overflow or capacity behavior the name implies.
Reviewed by Cursor Bugbot for commit 9361432. Configure here.
…eat/bootstrap_update_to_8_10
9361432 to
e107d9b
Compare
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
There are 3 total unresolved issues (including 2 from previous reviews).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit e107d9b. Configure here.
| install_aws_cli() { | ||
| if command -v aws &>/dev/null; then | ||
| return 0 | ||
| fi |
There was a problem hiding this comment.
Azure skips AWS CLI v2
Low Severity
Replacing pip3 install awscli --upgrade with install_aws_cli means any host that already has the pip v1 aws on PATH never installs AWS CLI v2, because the helper returns immediately when aws exists.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit e107d9b. Configure here.
* MOD-16514 - fix the bootstrap and build (#1028) * install aws if and only if it is not installed yet * add another build fixes * fix build for amazonlinux2 * fix(al2): add cc symlink to devtoolset-11 to fix LTO version mismatch * alma8 +rhel8+rhel9+bionic +focal passes * fix for bionic * fix * bump rltest * fix bionic bootstrap * fix azurelinux3 * bionic fix * fix for bullesye * fix focal ci * fix the test due to bump rltest version * fix for bionic and focal * fix * fix remarks * try another methood (#1030) * bump version 8.9.81





Note
Medium Risk
Changes affect CI/bootstrap on many distros (compiler defaults, python3 on EL8, apt under sudo); mistakes could break builds or alter global host state, but intent is to reduce cross-checkout interference.
Overview
Hardens
.installbootstrap so repeated runs and shared CI hosts with multiple Redis module checkouts converge instead of fighting over global toolchain state.Idempotency and safety:
install_cmake.shskips when PATH already has cmake ≥ 3.25.1 and installs via a temp dir. Sharedinstall_aws_cli()replaces duplicated curl/unzip blocks on Rocky, Mariner, Azure Linux, and Amazon Linux 2 (skips ifawsexists).Debian/Ubuntu:
apt_installpassesDEBIAN_FRONTEND=noninteractivethroughsudoso debconf (e.g. tzdata on focal) cannot hang.debian_default_installno longer pins gcc viaupdate-alternatives; bionic gets debconf preseeding, manual PPA key setup, gcc-10 only if current gcc < 10, conditional cmake 3.28 build, anddataclassesvia pip; focal uses the same “only upgrade compiler, never downgrade” rule; bullseye explicitly restores gcc-10 forcc/gcc/g++after clang hijackscc.RHEL family: EL8 adds python3.11-pip, symlinks gcc-toolset-11 tools under
/usr/local/bin, and sets python3 to 3.11; EL9 and Amazon Linux 2 (devtoolset-11) get similar compiler/make symlinks.Also bumps patch version to 8.9.81, upgrades flow tests to RLTest 0.7.27 with
numpy<2, and relaxes one cuckoo overflow test to ignoreResponseErroron huge inserts.Reviewed by Cursor Bugbot for commit e107d9b. Bugbot is set up for automated code reviews on this repo. Configure here.