Skip to content

armgit / xerj

Public Imported from GitHub
0

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.

fix(ci): the toolkit job's MCP schema gate looked for a release binary the job never builds

xerj-org8f8e5444eb89
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3b3bf69da..5e2d44f51 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -125,7 +125,15 @@ jobs:
# The published MCP schema must match the served tools byte-for-byte;
# regenerating it is scripts/mcp-schema-check.sh --write.
+ # XERJ_BIN must be set explicitly: this job builds with --profile
+ # ci-test, so the binary the Toolkit-tests loop compiled lands in
+ # target/ci-test/, while the script's default is target/release/ —
+ # a binary this job never builds (the step as #977 shipped it failed
+ # "MCP server binary not found" every run; the same interaction is
+ # already solved this way in the smoke job below).
- name: Published MCP schema drift
+ env:
+ XERJ_BIN: ${{ github.workspace }}/engine/target/ci-test/xerj
run: ./scripts/mcp-schema-check.sh
# #489: this script existed, worked, and had been failing locally for three