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(main): repair two breakages on main (contributors JSON, auto_port test) (#1506)

xerj-orgb49561fa62c4
diff --git a/.contributors b/.contributors
index bd84ffe18..157693975 100644
--- a/.contributors
+++ b/.contributors
@@ -21,7 +21,7 @@
"fjjjuv",
"todie",
"mininxd",
- "Jarvis636431"
+ "Jarvis636431",
"leninworld",
"whelanh",
"bryanbans",
diff --git a/engine/crates/xerj-server/src/main.rs b/engine/crates/xerj-server/src/main.rs
index dea994539..51e85ff8c 100644
--- a/engine/crates/xerj-server/src/main.rs
+++ b/engine/crates/xerj-server/src/main.rs
@@ -3677,11 +3677,11 @@ mod auto_port_tests {
#[test]
fn auto_port_is_off_unless_asked_for() {
// No config file, no flag: a taken port must stay fatal (#465).
- let args = parse_args_from(["--insecure".to_string()].into_iter());
+ let args = parse_args_from(["--insecure".to_string()].into_iter()).unwrap();
if std::env::var_os("XERJ_AUTO_PORT").is_none() {
assert!(!load_config(&args).unwrap().server.auto_port);
}
- let args = parse_args_from(["--auto-port".to_string()].into_iter());
+ let args = parse_args_from(["--auto-port".to_string()].into_iter()).unwrap();
assert!(load_config(&args).unwrap().server.auto_port);
}