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++

matrix: STRATA_MATRIX_LOGS keeps the server and engine logs of each case

Niko1221f31f24c8dc4d
diff --git a/tests/terminal/lifecycle_matrix.py b/tests/terminal/lifecycle_matrix.py
index 1d6f75cf8..f7e5f83fe 100644
--- a/tests/terminal/lifecycle_matrix.py
+++ b/tests/terminal/lifecycle_matrix.py
@@ -374,6 +374,12 @@ def serve_case(rig: Rig, name: str, action, *, graceful: bool | None, vram: bool
psutil.Process(i.pid).kill()
except psutil.Error:
pass
+ keep = os.environ.get("STRATA_MATRIX_LOGS") # keep the server's and engine's logs as evidence
+ if keep:
+ Path(keep).mkdir(parents=True, exist_ok=True)
+ for log in ("serve.log", "engine.log"):
+ if (rig.root / log).exists():
+ (Path(keep) / f"{name}.{log}").write_bytes((rig.root / log).read_bytes())
(rig.root / "serve.log").write_bytes(b"")