#!/usr/bin/env bash
set -euo pipefail

ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"

run() {
  local name="$1"
  local script="$2"
  echo "[INFO] === ${name} ==="
  bash "$script"
  echo "[OK] === ${name} ==="
}

run "gateway_delivery_priority" "$ROOT/ops/canary_gateway_delivery_priority.sh"
run "router_contract" "$ROOT/ops/canary_router_contract.sh"
run "daarwizz_awareness" "$ROOT/ops/check_daarwizz_awareness.sh"
run "helion_stack_smoke" "$ROOT/ops/smoke_helion_stack.sh"

echo "[OK] all canaries passed"
