test:run-hypershift

SkillDev tools

Run E2E tests on HyperShift cluster

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the test:run-hypershift skill

What this skill tells your AI

The instructions your AI receives, as published by rossoctl/rossoctl in .claude/skills/test:run-hypershift/SKILL.md and read by ahel’s review.

Auto-approved: All test execution on hosted HyperShift clusters is auto-approved.

Context-Safe Execution (MANDATORY)

Test output MUST go to files. Test runs produce hundreds of lines.

export LOG_DIR=/tmp/rossoctl/tdd/${WORKTREE:-$CLUSTER}
mkdir -p $LOG_DIR

# Pattern: redirect test output
command > $LOG_DIR/test-run.log 2>&1; echo "EXIT:$?"
# On failure: Task(subagent_type='Explore') with Grep to find FAILED|ERROR

When to Use

  • Running full E2E tests including MLflow, Phoenix, auth
  • Validating before merging to main
  • Testing OpenShift-specific features

Run All Tests

KUBECONFIG=~/clusters/hcp/rossoctl-hypershift-custom-$CLUSTER/auth/kubeconfig \
  ./.github/scripts/local-setup/hypershift-full-test.sh $CLUSTER --include-test \
  > $LOG_DIR/test-all.log 2>&1; echo "EXIT:$?"

Run Specific Tests

KUBECONFIG=~/clusters/hcp/rossoctl-hypershift-custom-$CLUSTER/auth/kubeconfig \
  ./.github/scripts/local-setup/hypershift-full-test.sh $CLUSTER \
  --include-test --pytest-filter "test_agent or test_mlflow" \
  > $LOG_DIR/test-filtered.log 2>&1; echo "EXIT:$?"

Run from Worktree

KUBECONFIG=~/clusters/hcp/rossoctl-hypershift-custom-$CLUSTER/auth/kubeconfig \
  .worktrees/$WORKTREE/.github/scripts/local-setup/hypershift-full-test.sh $CLUSTER \
  --include-test --pytest-filter "test_agent"

Test Categories

FilterTestsNotes
test_agentAgent conversation testsNeeds LLM (OpenAI)
test_mlflowMLflow traces, authHyperShift only
test_agent or test_mlflowBoth (recommended)Traces need fresh agent calls

Related Skills

  • test:run-kind - Run on Kind (faster, no MLflow)
  • test:review - Review test quality
  • tdd:hypershift - Full TDD loop on HyperShift
  • hypershift:cluster - Create cluster if needed

Signals

GitHub stars
300
Forks
107
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
test-run-hypershift
Source
github.com/rossoctl/rossoctl