iop/scripts/e2e-smoke.sh
toki 7b90b7e5af refactor(chronos): IOP 경계를 분리한다
Chronos 이전 완료 증거를 보존하면서 IOP에는 provider 실행 책임만 남기기 위해 검토된 마일스톤 변경을 하나의 승격 커밋으로 고정한다.
2026-08-02 19:29:30 +09:00

16 lines
715 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
cd "$REPO_ROOT"
echo "[e2e] verifying provider-only Node command and cancellation boundary"
go test -count=1 ./apps/node/internal/node \
-run 'Test(NodeCommandProviderAllowlist|NodeCommandRejectsUnknownAgentAndShell|SessionIDIsCorrelationOnly|CancelByRunIDOnly)'
echo "[e2e] verifying Edge dispatch, provider tunnel, queue, and reconnect fencing"
go test -count=1 ./apps/edge/internal/service ./apps/edge/internal/transport \
-run 'Test(Provider|Submit|Queue|Reconnect|Ready|Cancel|ServiceExecuteCommand|NodeCommand)'
echo "[e2e] provider-only Edge-Node smoke PASSED"