> ## Documentation Index
> Fetch the complete documentation index at: https://empirical.run/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Test run configuration

> Where test runs execute, how they shard across workers, and which reporters post their results

This page covers the settings that shape every test run in a project: the region it runs in, how
many shards it uses, and which reporters post its results.

## Region

Each project runs in one of these AWS regions:

| Region | Code | Best for |
| - | - | - |
| US East (N. Virginia) | `us-east-1` | North America |
| Asia (Mumbai) | `ap-south-1` | Asia & Europe |

Region selection is managed by Empirical. Contact [hey@empirical.run](mailto:hey@empirical.run) if your tests should run in a different supported region.

## Shards

Sharding splits a suite across parallel workers to reduce run time. A project's configured shard count is a maximum from 1 to 50; smaller filtered runs may use fewer shards so workers are not started with too little work.

The run report shows each shard's progress and logs. The public trigger API does not expose a shard override, and regular project members cannot change the project maximum in the dashboard. Contact [hey@empirical.run](mailto:hey@empirical.run) to adjust it.

## Report notifications

Each run reports through **reporters**:

| Reporter | `reporter_type` | Posts |
| - | - | - |
| Slack run status | `slack_run_status` | Run status updates to the Slack channels you choose |
| GitHub check | `github_check` | A check run on the build commit |
| GitHub PR comment | `github_pr_comment` | A comment on the pull request for the build branch |
| Linked test changes | `github_linked_changes` | A check on the application pull request that fails while its test branch has unmerged changes ([details](https://empirical.run/docs/features/linked-test-changes.md)) |
| Email report | `email_run_report` | A report by email when the run ends, to everyone in your organization's email domains |
| Slack DM | `slack_creator_dm` | A Slack DM to whoever started the run, when it ends (runs only) |

A run uses its environment's reporters unless the trigger request names its own. A run without an environment has no reporters unless the request names them. A run started by a person (from the dashboard, the CLI or an agent session) also gets `slack_creator_dm` unless the trigger request names its own reporters; the DM arrives if that person has linked their Slack account under **Settings → Profile**. Runs triggered with a project API key have no one to DM. Environments cannot hold `slack_creator_dm`.

### Setting up reporters

* **Slack:** install the Slack app and register channels ([Slack setup](https://empirical.run/docs/integrations/slack.md)), then choose an environment's channels under **Settings → Environments**.
* **GitHub:** install the [GitHub Reporter](https://empirical.run/docs/integrations/github.md) on the repositories your builds come from. The GitHub reporters only post for runs whose `build.repo` is one of those repositories. Installing the app turns the GitHub reporters on for your environments, and new environments include them; remove them from an environment under **Settings → Environments** to stop posting there.
* **Email:** turn on the email report for an environment under **Settings → Environments**. It goes to everyone whose email address is in one of your organization's email domains.

The [List reporters API](https://empirical.run/docs/api-reference/reporter-configuration/list-reporters.md) returns what your project can use: the registered Slack channels (with their `C…` ids); for each GitHub reporter, whether it can post and for which repositories; the email report; and whether runs you trigger can send you the Slack DM (no for project API keys, whose runs have no one to DM).

### Choosing reporters for a run

When starting or rerunning a test from the dashboard, the **Notifications** tab lists the reporters you can use, pre-selected from the environment. Selections apply only to that run.

From the API, pass `reporters` when [triggering a run](https://empirical.run/docs/api-reference/test-runs/trigger-a-test-run.md). The list replaces the environment's reporters for that run; reporters you leave out do not post, and `[]` turns them all off:

```json theme={null}
"reporters": [
  { "reporter_type": "slack_run_status", "slack_channels": ["C0123456789"] },
  { "reporter_type": "github_check" },
  { "reporter_type": "github_pr_comment" }
]
```

Slack channels can be given as Slack channel ids (`slack_channels`) or as registered ids from the List reporters API (`slack_channel_ids`). A request naming an unknown channel is rejected without creating a run. See [From CI/CD pipelines](https://empirical.run/docs/triggers/ci-cd.md#reporters) for a full example.

> [!WARNING]
>
> Empirical ignores `send_notifications`. To turn off every reporter, including the Slack DM, send
> `"reporters": []`. See [Deprecations](https://empirical.run/docs/deprecations.md#send_notifications-on-trigger-requests).

See [Slack notifications](https://empirical.run/docs/features/slack-notifications.md) for notification behavior.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.