Release / release (push) Successful in 12m32s
Kaname keeps two jobs: the model downloader and benchmarks. Benchmarks now run against endpoints (any OpenAI-compatible server added by URL, with an optional server-side API key and hand-written hardware notes) instead of deployments Kaname started itself. Removed: runtimes, deployments, sweeps, resource telemetry, hardware detection, the /api/v1 API with tokens and guardrails, and all Docker access. The quality eval's coding tests run in a network-less sandbox container that shares only an exchange folder with the worker. The previous state is kept in branch backup / tag backup-0.14.3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
524 B
Bash
11 lines
524 B
Bash
#!/bin/sh
|
|
# Healthcheck for both roles (see docker-entrypoint.sh).
|
|
case "$(cat /tmp/kaname-role 2>/dev/null)" in
|
|
# The worker touches this file on every heartbeat (every 5s).
|
|
worker) find /tmp/kaname-worker-alive -mmin -1 | grep -q . ;;
|
|
# The sandbox touches this every 2s.
|
|
sandbox) find "${SANDBOX_DIR:-/sandbox}/.alive" -mmin -1 | grep -q . ;;
|
|
web) node -e 'fetch("http://127.0.0.1:" + (process.env.PORT || 3000) + "/login").then((r) => process.exit(r.ok ? 0 : 1), () => process.exit(1))' ;;
|
|
*) exit 0 ;;
|
|
esac
|