refact(frank-zealot): serve gates run on the shared gate library
The three -e gates (runtime, GGUF, mmproj) are require_file calls: the refusal now names the artifact class, the exact path and the script that produces it. The seam asserts that observable triple instead of the old sentence order.
This commit is contained in:
1 parent
028afdeb58
commit
f31e7c5ed8
2 files changed
+24
-7
No files matched your search
@@ -253,15 +253,20 @@ run_stage() {
|
||||
}
|
||||
|
||||
@test "the serve script refuses a missing runtime, GGUF or projector" {
|
||||
# The refusal is the shared gate library's: it names the artifact class,
|
||||
# the exact path, and the script that produces it.
|
||||
rm -f "$MODEL_DIR/$MM_STUB"
|
||||
serve_argv
|
||||
[ "$status" -ne 0 ]
|
||||
[[ "$output" == *"frank-zealot: missing"* ]]
|
||||
[[ "$output" == *"frank-zealot:"* ]]
|
||||
[[ "$output" == *"mmproj"*"missing"*"$MM_STUB"* ]]
|
||||
[[ "$output" == *"download-frank-zealot.sh"* ]]
|
||||
|
||||
rm -f "$RUNTIME_DIR/bin/llama-server"
|
||||
serve_argv
|
||||
[ "$status" -ne 0 ]
|
||||
[[ "$output" == *"frank-zealot: missing"* ]]
|
||||
[[ "$output" == *"runtime"*"missing"*"llama-server"* ]]
|
||||
[[ "$output" == *"build-llama-master-cuda.sh"* ]]
|
||||
}
|
||||
|
||||
@test "the deploy handler gates on binary, GGUF and projector, then MainPID-hardens health" {
|
||||
|
||||
Reference in new issue
Block a user