debug-aro-hcp-e2e

Troubleshooting instructions for failed ARO HCP end-to-end tests. ARO HCP is a hosted control-plane setup on Microsoft Azure, and end-to-end tests check a system across its full workflow.

In plain words
What is it for?
Use them to diagnose failed Azure HCP tests by locating control-plane, management-cluster, and test-run evidence.
Why use it?
They point developers to the relevant CI logs, pod manifests, deployments, and test artifacts for faster failure investigation.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/openshift/hypershift/debug-aro-hcp-e2e
Clone the repo
git clone --depth 1 https://github.com/openshift/hypershift

Made for: Cursor.

Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,703 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00017 $0.01703
Opus 5 $0.00009 $0.00851
Sonnet 5 $0.00003 $0.00341
Haiku 4.5 $0.00002 $0.00170

Measured yesterday against content hash 86fc95c20511, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

debug-aro-hcp-e2e scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/debug-aro-hcp-e2e.mdc · 128 lines

How it starts

The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Debugging ARO HCP e2e Tests

Use this rule when a PR or CI job for ARO HCP (Azure) e2e tests fails. It points to where to look in artifacts, and prescribes fast triage workflows. See also: docs/content/reference/test-information-debugging/Azure/test-artifacts-directory-structure.md

  • Hosted control plane components
    • Control plane pod deployments: artifacts/e2e-aks/hypershift-azure-run-e2e/artifacts/Test*/namespaces/e2e-clusters-*/apps/deployments/
    • Control plane pod manifests: artifacts/e2e-aks/hypershift-azure-run-e2e/artifacts/Test*/namespaces/e2e-clusters-*/core/pods/
    • Control plane pod logs: artifacts/e2e-aks/hypershift-azure-run-e2e/artifacts/Test*/namespaces/e2e-clusters-*/core/pods/logs/
  • HyperShift management cluster (namespace hypershift/)
    • Operator deployment: .../namespaces/hypershift/apps/deployments/operator.yaml
    • External DNS deployment: .../namespaces/hypershift/apps/deployments/external-dns.yaml
    • Operator logs: .../namespaces/hypershift/core/pods/logs/operator-*-operator.log
    • External DNS logs: .../namespaces/hypershift/core/pods/logs/external-dns-*-external-dns.log
  • Primary test directory: artifacts/e2e-aks/hypershift-azure-run-e2e/
  • Top-level CI files
    • Build log: artifacts/build-log.txt
    • CI operator log: artifacts/ci-operator-*/ci-operator.log
    • JUnit: artifacts/e2e-aks/hypershift-azure-run-e2e/artifacts/junit.xml
    • Job result: finished.json

Start here: critical HyperShift resources

Check the status of these first; their .status often names the failing subsystem:

  • HostedCluster: .../namespaces/e2e-clusters-*/hypershift.openshift.io/hostedclusters/*.yaml
  • HostedControlPlane: .../namespaces/e2e-clusters-*-{test-name}-*/hypershift.openshift.io/hostedcontrolplanes/*.yaml
  • NodePool: .../namespaces/e2e-clusters-*/hypershift.openshift.io/nodepools/*.yaml

Expect to see:

  • Overall readiness conditions
  • Infra provisioning state
  • Control plane component health
  • NodePool scaling/readiness
  • Failure reasons/messages

Read the full file on GitHub · 128 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 128 lines · 17 tokens per session scan A 86fc95c20511

Subscribe to this mod's changes

debug-aro-hcp-e2e is a cursor rule published in the GitHub repository openshift/hypershift (538 stars, last pushed yesterday), licensed Apache-2.0. It adds 17 tokens to every session and 1,703 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.