sdaf-quality-assurance
Skill145 starsChanged 3 months agoMITView on GitHub
Validate a deployed SDAF SAP system through the SDAF-owned QA entry points: the local quality-assurance menu and the documented Azure DevOps pipeline 13 path. Choose configuration checks vs functional tests, apply `TEST_GROUPS` / `TEST_CASES` safely, interpret `quality_assurance/` and `logs/`, and enforce the documented boundary that the GitHub Actions wrapper is still pending. Use when a user says "run quality assurance", "run configuration checks", "pipeline 13 QA", "offline HA validation", or "why does the report say No test results found". Do NOT use to deploy the SAP system or generate `sap-parameters.yaml` / `<SID>_hosts.yaml` (see `sdaf-sap-system`), or for a generic failed-run report with no QA-stage context (see `sdaf-failure-triage`).
In this repository21 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- Webapp/.github/copilot-instructions.mdCopilot instructions
- code-reviewSkill
- sdaf-bom-selectionSkill
- sdaf-control-plane-bootstrapSkill
- sdaf-failure-triageSkill
- sdaf-ha-diagnosticsSkill
- sdaf-ha-topologySkill
- sdaf-media-acquisitionSkill
- sdaf-media-diagnosticsSkill
- sdaf-orientation-and-surfaceSkill
- sdaf-plan-and-test-semanticsSkill
- sdaf-readiness-checkSkill
- sdaf-safe-removalSkill
- sdaf-sap-installationSkill
- sdaf-sap-systemSkill
- sdaf-sovereign-cloudSkill
- sdaf-state-managementSkill
- sdaf-workload-zoneSkill
- sdaf-workspace-and-tfvarsSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
Do NOT trigger on: deploying the SAP-system infrastructure, generating sap-parameters.yaml or <SID>_hosts.yaml, software download, or a …
- Distinctive: line 74
Start with configuration checks:
- Very specific: line 99
Always set TEST_GROUPS when setting TEST_CASES.
- Distinctive: line 108
When an SDAF ADO environment already exposes pipeline 13, this skill owns the stage semantics:
- Distinctive: line 119
If the operator cannot point to an actual wired pipeline-13 path, stop at the documented availability boundary rather than assuming the …
- Distinctive: line 143
Do not infer undocumented STAF-side behaviour or additional surfaces.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SDAF Quality Assurance
Action-loop skill. Validate an already deployed and installed SAP system
through SDAF's own QA surfaces only. Durable anchors and the full test matrix
live in references/qa-entrypoints.md.
When to invoke
Trigger on: "run quality assurance", "run configuration checks", "run SAP functional tests", "pipeline 13 QA", "offline HA validation", "read the QA report", "why does the report say No test results found", or "which TEST_GROUPS / TEST_CASES should I use".
Do NOT trigger on: deploying the SAP-system infrastructure, generating
sap-parameters.yaml or <SID>_hosts.yaml, software download, or a generic
"my SDAF run failed" report that is not yet tied to the QA stage.
Surface availability
| Surface | Availability | What to do |
| Local / scripted | Fully documented and runnable through the quality-assurance menu | Use this skill directly. |
| Azure DevOps | The operator documentation describes pipeline 13; the public bootstrap wrapper is still documented as proposed | Use this skill only if the operator already has a real pipeline-13 path. |
| GitHub Actions | Wrapper workflow is still documented as pending | Say the docs mark it pending and stop; do not invent the workflow. |
Preconditions
- The SAP system is already installed and running; QA validates a configured system and does not install one.
- The system workspace contains
sap-parameters.yamland<SAP_SID>_hosts.yaml. - Azure sign-in works and the operator can read the workload-zone Key Vault.
- The execution host can reach every inventory host over SSH.
- Local runs additionally require outbound
https://github.com,sudo, andARM_CLIENT_IDon multi-identity hosts. - Azure DevOps runs additionally require a self-hosted agent.
Safety and test modes
ConfigurationChecksand offline HA validation are non-disruptive.- Online
SAPFunctionalTestsare disruptive; require an approved maintenance window. - Supported functional families are DB HA, SCS HA, and Azure Backup DB.
- Exact menu / pipeline / framework playbook mapping is in the reference file.
Local path
- Change to the system workspace:
cd "$CONFIG_REPO_PATH/WORKSPACES/SYSTEM/<SAP_SYSTEM>" Confirm required artifacts:
test -f sap-parameters.yaml test -f "<SAP_SID>_hosts.yaml"Start with configuration checks:
run_with_key_cleanup() ( set -e; trap 'rm -f -- "$PWD/sshkey"' EXIT "$@" ) run_with_key_cleanup \ "$SAP_AUTOMATION_REPO_PATH/deploy/ansible/quality_assurance_menu.sh" \ && test ! -e "$PWD/sshkey"- Narrow a functional run only by exporting the selection first:
TEST_GROUPS="HA_SCS" \ TEST_CASES="ascs-migration" \ run_with_key_cleanup \ "$SAP_AUTOMATION_REPO_PATH/deploy/ansible/quality_assurance_menu.sh" \ && test ! -e "$PWD/sshkey"
Selection rules
TEST_GROUPSis one exact group name.TEST_CASESis a comma-separated list of frameworktask_namevalues, not display names; e.g.ascs-migration, notManual ASCS Migration.- Always set
TEST_GROUPSwhen settingTEST_CASES. - The preparation playbook writes the resolved selection to
artifacts/qa_test_selection.json; use it to confirm the requested scope. - Validate group and case names against the pinned framework version from
deploy/ansible/vars/ansible-input-api.yaml. - Offline HA runs additionally require
offline_validation/<inventory host>/cib; otherwise stop before the playbook.
Azure DevOps contract
When an SDAF ADO environment already exposes pipeline 13, this skill owns the stage semantics:
- queue-time selection lives in
test_type,sap_functional_test_type,test_groups,test_cases, andoffline_mode; - the prep script validates
extra_paramsas-e key=valueonly; - the run performs Quality Assurance Setup, then Quality Assurance Execution for the selected framework;
- logs and reports are collected from
SYSTEM/<config>/logsandSYSTEM/<config>/quality_assurance.
If the operator cannot point to an actual wired pipeline-13 path, stop at the documented availability boundary rather than assuming the proposed wrapper is present.
Validate
Confirm all of the following:
quality_assurance/contains the HTML report.logs/<test_group_invocation_id>.logexists; it is the machine-readable JSONL result record.logs/execution_<timestamp>.logexists and matches the completion banner.No test results found.means no results log was produced, not that the run passed.- For functional tests, the cluster returned to its expected state before the maintenance window closed.
Routing boundaries
- Need to deploy the system first or generate
sap-parameters.yaml/<SID>_hosts.yaml→sdaf-sap-system. - Generic failed-run triage or a non-QA symptom →
sdaf-failure-triage. - Asked for a GitHub Actions QA wrapper → say the docs mark it pending and stop.
- Do not infer undocumented STAF-side behaviour or additional surfaces.
See also
references/qa-entrypoints.mdsdaf-sap-system,sdaf-failure-triagedocs/local/07-10-quality-assurance.md,docs/deployment-options.md,docs/documentation-source-map.md,docs/supportability.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

