Add on-device verification for the inference path

Implemented-By: OpenCode session (model recorded in docs/implementer-log.md)
This commit is contained in:
2026-09-18 15:32:20 -07:00
parent f1d880568f
commit ad7bce88a4
3 changed files with 243 additions and 3 deletions
+8 -2
View File
@@ -17,6 +17,12 @@ gate:
audit:
cargo deny check advisories
# Checks that need straylight. Filled in from M2.
# Checks that need straylight. They go through a private inferproxy to the real server.
# Override the server with: make verify-device UPSTREAM=host:port
UPSTREAM ?= straylight:11434
verify-device:
@echo "verify-device: nothing to check until M2"
cargo build --workspace --locked
BOXMAKER_INFERPROXY=$(CURDIR)/target/debug/inferproxy BOXMAKER_UPSTREAM=$(UPSTREAM) \
cargo test -p loopd --test device --locked -- --ignored --test-threads=1
@echo "verify-device: ok"