# V2 Build Notifications

`.github/workflows/v2-build-notifications.yml` listens for completed
`workflow_run` events from the V2 build workflows and renders Slack and Discord
payloads with `V2/ue/Tools/render-v2-build-notification.py`. The contract is
`V2/ue/Build/Notifications/v2-build-notifications.json`.

The workflow watches:

- `V2 Unreal Build`
- `V2 Rust Pre-Merge Validation`
- `V2 Multi-Platform Build Matrix`

Webhook URLs are never stored in the repository. Configure
`V2_BUILD_SLACK_WEBHOOK_URL` and `V2_BUILD_DISCORD_WEBHOOK_URL` as GitHub
Actions secrets. If either secret is missing, that channel is skipped and the
other channel can still send.

Required gates:

- `build-notification-workflow-registered`
- `build-notification-slack-declared`
- `build-notification-discord-declared`
- `build-notification-success-failure-coverage`

The primary coverage metric is `build.notifications.success_failure_coverage`.
The CI validator is:

```bash
python3 V2/ue/Tools/check-v2-build-notifications.py
```
