The RTX 3090 left Dankserver; two AMD Radeon AI PRO R9700 cards (Navi 48, gfx1201, 32,624 MiB each) replaced it. FreeToken/CUDA cannot run there at all, so the `frank-small` service is retired and `frank-medium` takes the endpoint. New service: charlie12345/ROCmFPX llama.cpp (built for gfx1201 against the fork's self-contained ROCm 7.14 toolchain, so the host's stale /opt/rocm-6.3.3 never participates) serving kingjones777/Qwen3.8-27B-ROCmFPX-Q8_0-AGENT-GGUF -- a Q8_0_ROCMFPX_AGENT (ftype 115) checkpoint that stock llama.cpp cannot load. Placeholder config: --split-mode tensor across both cards, 131072 context, 1 slot, f16 KV, MTP draft head on ROCm0. deploy-remote.sh grows retire_root_llm_small(): the CUDA-era unit is stopped, disabled and moved to ~/.AGENTTRASH/20260915-frank-small-retire/host-units before frank-medium starts, because `systemctl disable` has been observed to delete the unit file itself on this host (2026-08-26 incident). The retired frank-small repo files (env, unit, serve script) move to scripts/.AGENTTRASH/, and the planner, dispatcher, service allow-list and the deployment test seams now name frank-medium.
31 lines
1.2 KiB
Bash
31 lines
1.2 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 a service script to its focused tests" {
|
|
run bash "$REPO_ROOT/scripts/test-changed.sh" --list --paths scripts/serve-frank-medium.sh
|
|
[ "$status" -eq 0 ]
|
|
[[ "$output" == *"tests/scripts_syntax.bats"* ]]
|
|
[[ "$output" == *"tests/llm_units.bats"* ]]
|
|
[[ "$output" == *"tests/llm_secrets.bats"* ]]
|
|
}
|