rein-aharness/scripts/verify-runtime-contracts.sh
tegwick 3e4c976090
Some checks failed
Governed runtime contract / contract (push) Failing after 23s
Bind the metered owner route to worker leases and sandbox lifecycle
Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a07ff8-19d0-7820-b4d0-1353833cb7fc
2026-09-09 22:24:37 +02:00

21 lines
724 B
Bash
Executable file

#!/usr/bin/env bash
# CI/release gate: absence of optional runtime packages is a hard failure.
set -euo pipefail
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
cd "${REPO_ROOT}"
PYTHON_BIN="${REIN_CONTRACT_PYTHON:-${REPO_ROOT}/.venv/bin/python}"
"${PYTHON_BIN}" scripts/verify_runtime_lock.py
"${PYTHON_BIN}" -c 'import glas_harness.contract, llm_connect, sandboxer.models'
PYTHONPATH="${REPO_ROOT}:${REPO_ROOT}/../llm-connect" \
"${PYTHON_BIN}" -m pytest \
tests/test_native_limits.py \
tests/test_spend_admission.py \
tests/test_request_admission.py \
tests/test_messages_owner.py \
tests/test_glas_execution.py \
tests/test_ops_run_client.py \
tests/test_claim_loop.py \
tests/test_readiness.py \
-q