AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
ci(fuzz): pin nightly-2026-10-30 (rustc 2026-10-31 E0391 regression breaks every PR's fuzz job) (#2832)
xerj-orgb90d72848467
diff --git a/.github/scripts/fuzz-smoke.sh b/.github/scripts/fuzz-smoke.shindex 186c1de0e..e1ad0c819 100755--- a/.github/scripts/fuzz-smoke.sh+++ b/.github/scripts/fuzz-smoke.sh@@ -40,7 +40,10 @@ FUZZ_SECONDS="${FUZZ_SECONDS:-20}"FUZZ_TIMEOUT="${FUZZ_TIMEOUT:-25}"FUZZ_RSS_MB="${FUZZ_RSS_MB:-4096}"-if ! cargo +nightly fuzz --version >/dev/null 2>&1; then+# CI may pin a dated nightly (see ci.yml); locally this floats.+FUZZ_TOOLCHAIN="${FUZZ_TOOLCHAIN:-nightly}"++if ! cargo +"$FUZZ_TOOLCHAIN" fuzz --version >/dev/null 2>&1; thenecho "fuzz-smoke: needs a nightly toolchain and cargo-fuzz." >&2echo " rustup toolchain install nightly" >&2echo " cargo install cargo-fuzz --locked" >&2@@ -63,12 +66,12 @@ if [ ! -f fuzz/Cargo.lock ]; thenfiecho "==> building fuzz targets (ASan + libFuzzer)"-cargo +nightly fuzz build+cargo +"$FUZZ_TOOLCHAIN" fuzz build# The target list comes from the crate, never from a list pasted into this# script: a target that is added and not wired up here would otherwise be# claimed-but-not-run, which is the whole reason this file exists.-mapfile -t TARGETS < <(cargo +nightly fuzz list)+mapfile -t TARGETS < <(cargo +"$FUZZ_TOOLCHAIN" fuzz list)if [ "${#TARGETS[@]}" -eq 0 ]; thenecho "fuzz-smoke: no fuzz targets found in engine/fuzz — refusing to pass." >&2exit 1@@ -89,7 +92,7 @@ for target in "${TARGETS[@]}"; docp -f "$seeds"/* "$corpus"/echo "--- $target ($(ls -1 "$seeds" | wc -l) seeds)"- cargo +nightly fuzz run "$target" -- \+ cargo +"$FUZZ_TOOLCHAIN" fuzz run "$target" -- \-max_total_time="$FUZZ_SECONDS" \-timeout="$FUZZ_TIMEOUT" \-rss_limit_mb="$FUZZ_RSS_MB" \diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex c36417c1f..dea9c0fee 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -423,8 +423,15 @@ jobs:# libFuzzer + the sanitizer runtimes are nightly-only.- name: Install Rust (nightly)- uses: dtolnay/rust-toolchain@7c8d7d138f5c09cef361f8214cf96882cd029cdb # nightly (pinned action ref; toolchain itself floats by design)+ uses: dtolnay/rust-toolchain@7c8d7d138f5c09cef361f8214cf96882cd029cdb # nightly (pinned action ref)with:+ # Temporarily pinned: rustc 1.101.0-nightly (f9ceb4a4d 2026-10-31)+ # fails to compile xerj-engine with E0391 ("cycle detected when+ # computing when `xerj_fts::search::Query` needs async drop"), a+ # compiler regression; nightly-2026-10-30 (rustc 92b5b8c87+ # 2026-10-29) built and ran every target. Drop this line to float+ # again once a newer nightly compiles the engine.+ toolchain: nightly-2026-10-30components: rustfmt- name: Cache@@ -450,6 +457,10 @@ jobs:run: cargo fmt --manifest-path fuzz/Cargo.toml --check- name: Build + run every fuzz target+ env:+ # Must match the pinned toolchain above; the script defaults to the+ # runner's floating `nightly`, which is the broken 2026-10-31 build.+ FUZZ_TOOLCHAIN: nightly-2026-10-30run: bash .github/scripts/fuzz-smoke.sh# A crashing input is the entire product of this job; losing it would