Skip to content

Reference

Notifications

A passing run notifies nobody. When Oloproof sends a notification it means that something needs a decision or is about to stop working: a release a gate blocked, a managed run that ended, an allowance running out.

There are two layers. Each member chooses which kinds of email they receive. A workspace can also write alert rules that decide who hears of an event, by email, a signed webhook or Slack, how fast, and when to stay quiet.

What reaches you

On a hosted workspace, ten kinds of email:

  • Blocked releases: A run or comparison pushed to a project you belong to has a gate that blocks a release. The email names each result and each rule's decision, as the engine recorded them, and links to the result. Off by default for a Reviewer.
  • Managed runs: A run submitted with oloproof run --cloud finished or failed. It goes to the workspace's Owners, Admins and Members, because a managed run does not record who submitted it.
  • Usage: A workspace you own has used 80% or all of its monthly allowance. Once per threshold per month.
  • New members: Somebody joined a workspace you own or administer.
  • Reviews: A pushed result has a rule that needs a person to decide, or a sign-off is waiting for a second approver.
  • Payments: A payment for a workspace you own was received or refunded. A failed payment is always sent, to every Owner, and cannot be turned off.
  • Weekly digest: Each Monday, what the past week recorded in the workspaces you belong to.
  • Production monitor alarms: The confidence sequence that watches a metric of a project's pinned traffic evaluation crossed its rule's threshold (the project's Production page). Off unless you turn it on. Sent once per alarm. The email quotes the engine's level, threshold, interval and chance of a false alarm, and says what it is not: a monitor's alarm, not a release decision.
  • Workspace alert rules: Email from a rule that names you, as its owner or as a recipient.
  • Review reminders: The day before a review queue you are assigned to is due, and once it has passed, while you have cases left on it. Off unless you turn it on. Sent once per reminder.

Several blocked releases or ended runs in one project within fifteen minutes arrive as one email. No email carries a case's content.

Every email ends with a link that stops that kind of email, and your mail client's own unsubscribe button does the same without opening a page. All ten can be turned on or off from your account page.

A local workbench sends no email.

Alert rules

An Owner or Admin writes rules on the workspace's Alerts page. A rule names:

  • The event: a gate blocked a release, a result is waiting on a person, a managed run failed, a managed run finished, or a production monitor raised its alarm.
  • The project, or every project.
  • Its owner, a member who hears first.
  • Who else to tell: members by role, and members by name, after an optional delay in minutes.
  • The channels: email in each person's language, and any of the workspace's endpoints.
  • How fast: at once, or at most once per 15 or 60 minutes for each person and endpoint, with the events in between batched into the next delivery.
  • Quiet hours in a time zone: deliveries wait until they end, except a blocked release, which is a do-not-ship and breaks through, taking with it any event already batched beside it.

A rule fires at most once for each event, however often a result is pushed again or an alarm stays raised. Every event comes from a record the engine or the worker wrote: a stored gate's release action and decisions, a job's final state, a monitor's alarm. A rule decides nothing.

Once an enabled rule covers an event, that event's default email stops in the workspace: the workspace's rules decide who hears of it there. Payments, usage, new members and the digest have no rule and are unchanged.

A delivery lists at most 50 events; the webhook and Slack forms count the rest. A rule's email can be stopped by each recipient with the same one click, as the kind "Workspace alert rules". An endpoint is the workspace's and is stopped by turning the rule off or deleting the endpoint.

Endpoints

On the Integrations page an Owner or Admin adds an endpoint:

  • A signed webhook: any public https URL on port 443 or 8443. Each delivery is signed so you can check it came from this workspace. See Webhooks.
  • Slack: an incoming-webhook URL, https://hooks.slack.com/services/.... The message is one line per event, in English, with a link to each result. Slack turns a web address written in a rule's

name into a link.

The signing secret is shown once, when the endpoint is added. A test delivery can be sent from the page. Addresses that are private, loopback, link-local or a cloud metadata address are refused, and redirects are not followed.

Schedules

On the Schedules page a member who can start runs repeats a managed run hourly, daily or weekly, and an Owner or Admin draws a traffic sample of the last hours on a timer. A run schedule copies an existing job's suite, configuration and policy when it is made, and repeats exactly that.

Each run starts as the member who made the schedule, through the same checks, budgets and allowance as oloproof run --cloud, and carries the schedule's id on its job as its provenance. If that member leaves the workspace or loses the role, the schedule pauses and says why. A slot that passed while the deployment was down is skipped, not run late.

What reaches you without email

A blocked gate fails the job that ran it. oloproof run, oloproof gate and oloproof compare all exit with the gate's code, so a pull request check turns red and your CI provider tells whoever it tells about failed jobs.

oloproof gate latest --policy release.yaml
echo $?   # 3 when the gate blocks

What is not built

  • A pager, and an acknowledgement that stops the rest of a rule's recipients from being told.
  • Cron expressions for schedules.