Repository navigation
Align master to 8.10 & bump version to 8.9.81 - #1616
Conversation
MOD-13014 removed user data from errors but left the JSONPath engine's trace logs, which still emitted document values, query literals and paths at Redis `debug` log level (trace! maps to RedisLogLevel::Debug). Gate those traces behind a cached mirror of Redis core's `hide-user-data-from-log` server config: a new `trace_user_data!` macro suppresses the message when the flag is on. The module reads the config at load and refreshes it on CONFIG SET via a config-changed event handler. Structural traces (grammar rules, "missing operand" diagnostics) stay on plain trace! and are unaffected. Co-authored-by: Claude Opus 4.8 <[email protected]>
* MOD-16366 LLAPI flow tests * remove `#[cfg(not(feature = "as-library"))]` from `sync_hide_user_data_from_log` * remove `#[cfg(not(feature = "as-library"))]` from `sync_hide_user_data_from_log` * fail if module not available * fixes * CR * . * CR
* alma8 +rhel8+rhel9+bionic +focal passes * fix for alpine * fix for bionic * fix * fix mariner * fix bionic bootstrap * fix bionic * fix bionic * fi bionic * fix bionic * install aws cli for json * bionic fix * fix bionic * fix for focal * fix for focak * fix for bionic & focal &mariner&alpine * apply fixes * fix remarks * fix for alpine * try another methood * ci: source $HOME/.cargo/env in flow-clippy so cargo is on PATH Match flow-linter.yml; getrust.sh now installs Rust user-scoped, so later Actions steps don't see cargo without sourcing the env. * CI was failing because getrust.sh ran twice. install_script.sh already invokes it from the repo root (works), but the workflow then called ./getrust.sh sudo again from working-directory: .install — where rust-toolchain.toml doesn't exist, so its `sed rust-toolchain.toml` errored with "No such file or directory" (exit 2). Removed the redundant ./getrust.sh line from flow-linter.yml and flow-clippy.yml; install_script.sh handles Rust install on its own. * ci(macos): add rust-toolchain.toml to sparse checkout The macOS "Deps checkout" fetches only .install and test requirements, then runs install_script.sh -> getrust.sh, which reads rust-toolchain.toml from the repo root to resolve the pinned toolchain. That file wasn't in the sparse list, so getrust failed with "sed: rust-toolchain.toml: No such file or directory". Add it to the sparse-checkout.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 8.10 #1616 +/- ##
==========================================
+ Coverage 76.29% 85.99% +9.69%
==========================================
Files 15 15
Lines 5177 5177
==========================================
+ Hits 3950 4452 +502
+ Misses 1227 725 -502 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…eat/bootstrap_update_to_8_10
Cargo.lock & Cargo.toml
b900353 to
c030e22
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ 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 c030e22. Configure here.
| } | ||
| n++; | ||
| } | ||
| RedisModule_ReplySetArrayLength(ctx, n); |
There was a problem hiding this comment.
Array reply mixes error elements
Medium Severity
LLAPI.OPEN_GET and LLAPI.KEYVALUES open a postponed-length array, then call RedisModule_ReplyWithError inside the loop when getJSON fails. That emits a top-level error reply while the client still expects array elements, so the RESP payload can be malformed and RLTest may hang or mis-parse results.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit c030e22. Configure here.


alma8 +rhel8+rhel9+bionic +focal passes
fix for alpine
fix for bionic
fix
fix mariner
fix bionic bootstrap
fix bionic
fix bionic
fi bionic
fix bionic
install aws cli for json
bionic fix
fix bionic
fix for focal
fix for focak
fix for bionic & focal &mariner&alpine
apply fixes
fix remarks
fix for alpine
try another methood
ci: source $HOME/.cargo/env in flow-clippy so cargo is on PATH
Match flow-linter.yml; getrust.sh now installs Rust user-scoped, so later Actions steps don't see cargo without sourcing the env.
sed rust-toolchain.tomlerrored with "No such file or directory" (exit 2).Removed the redundant ./getrust.sh line from flow-linter.yml and flow-clippy.yml; install_script.sh handles Rust install on its own.
The macOS "Deps checkout" fetches only .install and test requirements, then runs install_script.sh -> getrust.sh, which reads rust-toolchain.toml from the repo root to resolve the pinned toolchain. That file wasn't in the sparse list, so getrust failed with "sed: rust-toolchain.toml: No such file or directory". Add it to the sparse-checkout.
Note
Medium Risk
Bootstrap and toolchain changes affect all platforms and CI; LLAPI tests add build-time C compilation but do not change the production module API surface.
Overview
Hardens bootstrap and CI so RedisJSON builds reliably on Alma/RHEL, Ubuntu (bionic/focal), Alpine (musl), Mariner/Azure Linux, and shared build hosts without stepping on other checkouts.
getrust.shis now user-scoped (no/usr/localsymlinks, no global default toolchain orrustup update); workflows rely oninstall_script.shonly, source~/.cargo/envfor clippy/lint, and macOS sparse checkout includesrust-toolchain.toml. Per-OS installers gain idempotent cmake, sharedinstall_aws_cli, non-interactive apt (tzdata/debconf), gcc-toolset symlinks on EL8/EL9, Alpinelibclang.sofor bindgen, musltarget-feature=-crt-static, and gcc-10 alternatives only when the active compiler is older than 10. The Makefile only exportsRUSTFLAGS/RUSTDOCFLAGSwhen set.Adds end-to-end coverage for the RedisJSON shared C API (LLAPI): a small
llapi_testconsumer module (via newdeps/RedisModulesSDKsubmodule) exposesLLAPI.*commands;tests.shbuilds it andtest_llapi.pyexercises happy and error paths against a live module. Patch version 8.9.80 → 8.9.81.Reviewed by Cursor Bugbot for commit c030e22. Bugbot is set up for automated code reviews on this repo. Configure here.