# ocloud qa

Source: https://olef.dev/docs/reference/ocloud/qa

Generated from **ocloud 3.17.3**. [All ocloud commands](https://olef.dev/docs/reference/ocloud) · [Olef Cloud overview](https://olef.dev/docs/cloud/overview) · [`olef` commands](https://olef.dev/docs/reference/commands)

Dispatch deterministic Cloud QA runs and manage scoped CI tokens (`sdci_*`)

Global options (`--org`, `--project-root`, `--quiet`, `--redact`) apply across commands; see the [`ocloud` command catalog](https://olef.dev/docs/reference/ocloud#global-options).

## ocloud qa ci-token create

Mint a project-scoped `qa:run` CI token (`sdci_*`); the plaintext token is printed once and never shown again

```bash
ocloud qa ci-token create --help
```

| Argument | Description |
| --- | --- |
| `--project` | **Required.** Project id, slug, or repo (`owner/name`) |
| `--name` | **Required.** Human-readable label (e.g. `github-actions`) |
| `--expires-days` | Optional lifetime in days (1 to 3650) |

## ocloud qa ci-token list

List active CI tokens for a project (metadata only, never plaintext)

```bash
ocloud qa ci-token list --help
```

| Argument | Description |
| --- | --- |
| `--project` | **Required.** Project id, slug, or repo (`owner/name`) |

## ocloud qa ci-token revoke

Revoke an active CI token immediately

```bash
ocloud qa ci-token revoke --help
```

| Argument | Description |
| --- | --- |
| `--project` | **Required.** Project id, slug, or repo (`owner/name`) |
| `<id>` | **Required.** CI token id (`cit_...`) |

## ocloud qa run

Dispatch a deterministic QA suite to Olef Cloud (`/v1/qa/runs`, $0 LLM when passing; uses `OLEF_CI_TOKEN` or signed-in credentials)

```bash
ocloud qa run --help
```

| Argument | Description |
| --- | --- |
| `<paths>` | Test folders or scripts to run (defaults to the suite's configured jobs) |
| `--project` | Cloud project id, slug, or repo (`owner/name`; defaults to `.olef/config.json` `qa.project`) |
| `--suite` | QA suite name from `.olef/config.json` `qa.suites` (default: `pr`) |
| `--app-apk` | App APK artifact path or id under test |
| `--vcs-ref` | Git branch/tag/ref metadata (auto-detected from CI env / git when omitted) |
| `--context` | Extra JSON or plain-text context attached to the run |
| `--on-fail-inbox` | Agent inbox address to notify on failure (overrides `qa.on_failure.inbox`) |
| `--no-wait` | Return immediately after enqueuing the run instead of waiting for completion |
| `--repeat` | Run every test this many times |
| `--retries` | Rerun a failed test up to this many times |
| `--junit-out` | Write JUnit XML here when the run finishes |
| `--timeout-ms` | Maximum wait / run timeout in milliseconds |
