Rootless Quadlet on dankserver serving just1moremodel/Qwen3.8-27B-Uncensored-MXFP4-awq (the radiance stack's designated alternate target; ships its fp8 MTP head, no rewrite step) with the DFlash2-FP8 drafter at SPEC=7 on the 2x R9700s (TP=2, host network, :7770, alias frank-medium unchanged). - dankserver/frank-medium/: quadlet unit, container entrypoint (fork of serve-mxfp4.sh's patch block at pinned clone commit 97353293), healthcheck - dispatcher retires the root llama.cpp unit, re-tags the registry image to the localhost alias, installs the quadlet, waits on /health - planner maps dankserver/frank-medium/* to frank-medium; scripts-era mappings removed - ROCmFPX-era env/serve/unit/download scripts staged in scripts/.AGENTTRASH with .rocmfpx suffix; seams updated (frank_medium_quadlet.bats new)
31 lines
1.3 KiB
Bash
31 lines
1.3 KiB
Bash
#!/usr/bin/env bats
|
|
# Seam: the changed-test wrapper selects only the tests associated with
|
|
# staged paths and refuses to silently run the entire suite.
|
|
|
|
load helpers
|
|
|
|
@test "changed-test wrapper is executable and uses staged diff by default" {
|
|
[ -x "$REPO_ROOT/scripts/test-changed.sh" ]
|
|
[ -x "$REPO_ROOT/.githooks/pre-commit" ]
|
|
run grep -F 'scripts/test-changed.sh' "$REPO_ROOT/.githooks/pre-commit"
|
|
[ "$status" -eq 0 ]
|
|
run grep -F 'git diff --cached' "$REPO_ROOT/scripts/test-changed.sh"
|
|
[ "$status" -eq 0 ]
|
|
}
|
|
|
|
@test "changed-test wrapper maps a compose change to compose and environment tests" {
|
|
run bash "$REPO_ROOT/scripts/test-changed.sh" --list --paths dankserver/compose.yaml
|
|
[ "$status" -eq 0 ]
|
|
[[ "$output" == *"tests/compose_validity.bats"* ]]
|
|
[[ "$output" == *"tests/env_consistency.bats"* ]]
|
|
[[ "$output" != *"tests/homepage_pages.bats"* ]]
|
|
}
|
|
|
|
@test "changed-test wrapper maps the frank-medium quadlet to its focused tests" {
|
|
run bash "$REPO_ROOT/scripts/test-changed.sh" --list --paths dankserver/frank-medium/quadlet/frank-medium.container
|
|
[ "$status" -eq 0 ]
|
|
[[ "$output" == *"tests/frank_medium_quadlet.bats"* ]]
|
|
[[ "$output" == *"tests/deployment_scoping.bats"* ]]
|
|
[[ "$output" != *"tests/llm_units.bats"* ]]
|
|
}
|