Not yet rehearsed end to end: the kill-switch and rollback steps have not been followed by a
second maintainer against testnet. The walkthrough will correct this page.
Severities
The severity of an alert is the one in the monitoring plan; anything reported by a person gets one here.
When in doubt, pick the higher severity. Lowering it later costs nothing.
Who may act
Any maintainer with access to the Cloud Run service may, without waiting for anyone else:- turn a kill switch off (and back on once the cause is fixed),
- roll traffic back to a known-good revision,
- rotate a key by the rotation runbooks.
First fifteen minutes
- Decide the severity from the table above, and post it with the alert or report that triggered it.
-
Stop the harm. For a SEV1 or SEV2, turn off the affected path with its kill switch, or roll back. A switch is read on every request, refuses the path before it builds anything, and so never leaves a close half done:
Expected: the update ends with
Done.and the new revision serving 100 percent of traffic, about 20 seconds after it began (measured on 2026-11-17); the read-back listsMEDIATOR_FORWARD_ENABLEDwith valuefalse. Do not flip a switch while a deploy run is in progress: check withgh run list --workflow deploy-api.yml --status in_progress, and if one is running, let it finish first, since the run can carry the flip into its candidate or undo it. The full list and the pinned-traffic case are in RELEASING.md, Kill switches. For a deploy that went bad, follow Bad deploy instead. -
Confirm the path is off from outside. For the relay account:
Expected:
503with"code":"exchange_forward_paused". A plan for an affected close lists the path as a blocker. - Open a private incident record with the severity, the time the alert fired, and every command run so far.
- Post the public update below if users can notice: any SEV1, and a SEV2 lasting more than 15 minutes.
Resolving
- Fix the cause by the matching runbook.
- Turn the switch back on and read it back:
--update-env-vars=MEDIATOR_FORWARD_ENABLED=true, then thedescribeabove. Expected:true. - Confirm the path works: one testnet close through it (see each runbook’s confirmation step), then the on-chain monitors run green from the Actions tab.
- Post the resolved update, and write the post-mortem within five working days for any SEV1 or SEV2.
Public update template
Post on GitHub (pinned issue or discussion) and the community channels. Say what users see and what to do; never post an address, a key detail or an unconfirmed cause.Status page
On the hosted status page (its probes are listed in the monitoring plan), the maintainer who declares the incident also updates the page. The probes set the component states on their own; the incident log and its subscriber notifications are written by hand.- Who declares: the maintainer who acts, as in Who may act. A second maintainer reviews the entry afterwards.
- States: mark a component
outagefor a SEV1, or a SEV2 that stops the path for everyone;degradedfor any other SEV2 and for a SEV3 users can notice. A dependency outage goes on the dependency’s row, not the API’s. - Text: the public update template, posted at the same times as the GitHub update.
- Resolve the incident on the page only after step 3 of Resolving confirms the path works.