Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

desktop test: the stable-origin test no longer assumes port 47831 is free (an installed Strata holds it on this PC)

Niko122114acfc3b3c6c
diff --git a/apps/desktop/src-tauri/src/main.rs b/apps/desktop/src-tauri/src/main.rs
index 03a80fb85..8f5a4694f 100644
--- a/apps/desktop/src-tauri/src/main.rs
+++ b/apps/desktop/src-tauri/src/main.rs
@@ -836,7 +836,10 @@ mod tests {
// free (or already ours from a previous run): the same port every launch, so browser storage survives a restart
let first = pick_stable_port().unwrap();
let second = pick_stable_port().unwrap();
- assert_eq!(first, second);
+ if first == PREFERRED_PORT {
+ // (when another program already holds the preferred port, as an installed Strata does on a dev PC, every call falls back to a fresh port)
+ assert_eq!(first, second);
+ }
// held by another program: a different free port, not a failure
if first == PREFERRED_PORT {
let held = TcpListener::bind(("127.0.0.1", PREFERRED_PORT)).unwrap();