HEX
Server: LiteSpeed
System: Linux houston.panomity.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User: nudepix (1011)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //workspace/rollout/verify-mission-control-fix.sh
#!/usr/bin/env bash
set -euo pipefail

BASE_URL=${BASE_URL:-https://altaira.panomity.com/mc}
AUTH_TOKEN=${AUTH_TOKEN:-ztbHKAe1UYI66HCFvSAyo4wrAAD6frNCyAZ67aKVeSE}
BOARD_ID=${BOARD_ID:-2857b7e4-abd0-41ae-8185-4bc3c37cfee1}

check() {
  local label=$1
  local url=$2
  local want=${3:-200}
  local auth=${4:-bearer}
  local hdr=()
  if [[ $auth == bearer ]]; then
    hdr=(-H "Authorization: Bearer $AUTH_TOKEN")
  fi

  local code
  code=$(curl -sS -o /tmp/mcverify.body -D /tmp/mcverify.headers -w '%{http_code}' "${hdr[@]}" "$url")
  printf '%-12s %s\n' "$label" "$code"
  sed -n '1,8p' /tmp/mcverify.headers | sed 's/^/  /'
  head -c 220 /tmp/mcverify.body | tr '\n' ' '; echo
  echo
  [[ "$code" == "$want" ]]
}

fail=0
check healthz "$BASE_URL/healthz" 200 bearer || fail=1
check boards "$BASE_URL/api/v1/agent/boards" 200 bearer || fail=1
check tasks "$BASE_URL/api/v1/agent/boards/$BOARD_ID/tasks" 200 bearer || fail=1
check openapi "$BASE_URL/openapi.json" 200 none || fail=1

if [[ $fail -ne 0 ]]; then
  echo 'Verification failed.' >&2
  exit 1
fi

echo 'Verification passed.'