---
title: "The Scary Thing About Automating Deploys"
description: "Slack's ReleaseBot automates deploys of its monolithic Webapp, shipping 30-40 times a day with a median of 3 PRs per deploy."
url: "https://swe.quest/articles/the-scary-thing-about-automating-deploys-ae6313eca408ff10"
canonical: "https://slack.engineering/the-scary-thing-about-automating-deploys/"
source: "Slack Engineering"
published: "2024-01-18"
difficulty: "medium"
kind: "Case study"
reading_minutes: 14
tags: ["deployment","observability","ci-cd","python"]
---

# The Scary Thing About Automating Deploys

A post on [Slack Engineering](https://swe.quest/sources/slack.md), published 2024-01-18, 14 min read, Case study. Original: [https://slack.engineering/the-scary-thing-about-automating-deploys/](https://slack.engineering/the-scary-thing-about-automating-deploys/)

## Summary

Slack's ReleaseBot automates deploys of its monolithic Webapp, shipping 30-40 times a day with a median of 3 PRs per deploy. It replaced rotating human Deploy Commanders after running in parallel with them for a quarter and catching issues faster. The core idea is that deploy monitoring is about anomalies, not absolute thresholds: z scores over a 3-hour window (usually a threshold of ±3) flag statistical spikes. Static and dynamic thresholds serve as lower-confidence signals. Practical tips cover handling zero standard deviation, one-sided thresholds, snoozing expected shifts, and watching unusual metrics such as status-page traffic, log volume and Envoy panic routing.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [CI/CD](https://swe.quest/tags/ci-cd.md) (Reliability & operations)
- [Python](https://swe.quest/tags/python.md) (Languages)

## Prerequisites

- basic statistics
- monitoring and alerting ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))
- continuous deployment ([easy posts on Deployment](https://swe.quest/tags/deployment.md?difficulty=easy))

## Keywords

ReleaseBot, z score, scipy, PromQL, Envoy, Slack Webapp

## Related posts

- [Deploy Safety: Reducing customer impact from change](https://swe.quest/articles/deploy-safety-reducing-customer-impact-from-change-bf60c2f10d4d0449.md): Slack Engineering · 2025-10-07 · Easy · 9 min read · Deployment, SRE, Incidents & postmortems, Engineering management
  Slack's Deploy Safety Program cut customer impact hours from change-triggered incidents by 90% from the 2024 peak, after finding that 73% of customer-facing incidents came from Slack's own changes, mostly code deploys.
- [Continuous Load Testing](https://swe.quest/articles/continuous-load-testing-cb6889189cd6bc8f.md): Slack Engineering · 2022-04-29 · Medium · 13 min read · Testing, Performance engineering, Resilience, Kubernetes, Deployment
  Slack moved to running its Koi Pond load-testing clients continuously, 24/7, against an organization 4x the size of its largest customer.
- [Balancing Safety and Velocity in CI/CD at Slack](https://swe.quest/articles/balancing-safety-and-velocity-in-ci-cd-at-slack-cd559ba9ba4be498.md): Slack Engineering · 2022-02-18 · Medium · 12 min read · CI/CD, Testing, Developer productivity, Deployment
  Slack restructured CI for its Webapp monorepo from mostly pre-merge end-to-end testing into three tiers: a small pre-merge set (\<1% of e2e tests) that blocks merges, a post-merge set (\<10%) that blocks deploys, and a bi-hourly batched regression pipeline for low-criticality features.
- [Slowing Down to Speed Up – Circuit Breakers for Slack’s CI/CD](https://swe.quest/articles/slowing-down-to-speed-up-circuit-breakers-for-slack-s-ci-cd-9aadbea59ffc838e.md): Slack Engineering · 2022-08-19 · Medium · 16 min read · Resilience, CI/CD, Developer productivity, Observability
  Slack added orchestration-level circuit breakers to Checkpoint, its CI/CD orchestration service, to stop cascading failures between internal systems such as GitHub Enterprise, Jenkins, test environments, Flannel, Vitess and search.
- [Reducing our pager load](https://swe.quest/articles/reducing-our-pager-load-9bf7f4a021b251f9.md): incident.io · 2022-04-22 · Medium · 7 min read · Incidents & postmortems, Observability, Go, SRE
  incident.io pages on every Sentry error, and cut the resulting noise with four quick changes instead of switching to error-rate alerting.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
