---
title: "Slack Engineering"
description: "Posts from Slack Engineering on swe.quest."
url: "https://swe.quest/sources/slack?per=96"
---

# Slack Engineering

Posts from [Slack Engineering](https://slack.engineering), newest first.

Posts 1–76 of 76, page 1 of 1, newest first.

## 2026-07-14

- [Shipyard: How We Built Slack’s Next-Generation EC2 Platform](https://swe.quest/articles/shipyard-how-we-built-slack-s-next-generation-ec2-platform-3563d688d7e86781.md): Slack Engineering · 2026-07-14 · Medium · 13 min read · Deployment, Cloud platforms, Infrastructure as code, Configuration management, System design
  Shipyard is Slack's EC2 platform that replaces continuously Chef-converged, long-lived instances with immutable, layered AMIs deployed through progressive, metric-gated rollouts.

## 2026-06-11

- [Agentic Testing: Where Agents Fit in the E2E Testing Stack](https://swe.quest/articles/agentic-testing-where-agents-fit-in-the-e2e-testing-stack-fa760680a95bc5c9.md): Slack Engineering · 2026-06-11 · Medium · 11 min read · Testing, AI agents, LLMs, Cost optimization
  Across 200+ agent-driven E2E runs against Slack test workspaces, agents using Playwright MCP were the most reliable (0% failures on a simple thread-reply flow, ~12% on a longer search flow).

## 2026-05-28

- [Slack AI: The Path to Multi-Cloud](https://swe.quest/articles/slack-ai-the-path-to-multi-cloud-ce2850c85b697c97.md): Slack Engineering · 2026-05-28 · Medium · 14 min read · Inference & serving, Cloud platforms, Resilience, LLMs, Capacity planning
  Slack AI's LLM serving evolved over three years through four phases: self-managed AWS SageMaker endpoints in an escrow VPC, Amazon Bedrock Provisioned Throughput, a hybrid of Provisioned Throughput and On-Demand with spillover routing, and finally a multi-cloud setup adding GCP Vertex AI.

## 2026-05-05

- [From SSH to REST: A Security-Driven Modernization of Slack’s EMR Data Pipelines](https://swe.quest/articles/from-ssh-to-rest-a-security-driven-modernization-of-slack-s-emr-data-pipelines-36e08660699cdbd7.md): Slack Engineering · 2026-05-05 · Medium · 13 min read · Data pipelines, Security, Refactoring & migrations, Cloud platforms, Scheduling
  Slack replaced 700+ SSH-based Airflow operators that ran jobs directly on EMR master nodes with REST-based submission through Quarry, its internal job gateway.

## 2026-04-13

- [Managing context in long-run agentic applications](https://swe.quest/articles/managing-context-in-long-run-agentic-applications-295891442705f8fe.md): Slack Engineering · 2026-04-13 · Medium · 13 min read · AI agents, LLMs, Threat detection, System design
  Slack's multi-agent security investigation service keeps long-running agent teams coherent through three context channels rather than accumulating full message history.

## 2026-03-31

- [From Custom to Open: Scalable Network Probing and HTTP/3 Readiness with Prometheus](https://swe.quest/articles/from-custom-to-open-scalable-network-probing-and-http-3-readiness-with-c89283e47468651e.md): Slack Engineering · 2026-03-31 · Easy · 4 min read · Observability, Networking, Open source, Go
  Slack's HTTP/3 rollout exposed a client-side observability gap: HTTP/3 runs over QUIC on UDP, and neither the commercial SaaS probing tools Slack evaluated nor the Prometheus Blackbox Exporter could probe QUIC endpoints.

## 2026-03-19

- [How Slack Rebuilt Notifications 📣](https://swe.quest/articles/how-slack-rebuilt-notifications-6d74dae5d4cbcb88.md): Slack Engineering · 2026-03-19 · Medium · 7 min read · Product engineering, Schema migrations, Mobile, Communications
  Slack replaced four conflicting desktop/mobile notification preference systems with one unified model that separates what to be notified about (All new posts, Mentions, Mute) from how notifications arrive (independent desktop and mobile push toggles).

## 2025-12-01

- [Streamlining Security Investigations with Agents](https://swe.quest/articles/streamlining-security-investigations-with-agents-7900a47757fc2126.md): Slack Engineering · 2025-12-01 · Medium · 9 min read · AI agents, Threat detection, LLMs, Incidents & postmortems, System design
  Slack's Security Engineering team replaced a single-prompt prototype for triaging security alerts with a multi-agent system that chains narrowly scoped model invocations, each constrained by a JSON-schema structured output.

## 2025-11-19

- [Android VPAT journey](https://swe.quest/articles/android-vpat-journey-439f8202d752a0b0.md): Slack Engineering · 2025-11-19 · Medium · 9 min read · Accessibility, Mobile, Design systems
  After a third-party VPAT audit following its IA4 redesign, Slack's Android team triaged recurring accessibility issues and fixed most of them: TalkBack now announces errors from OutlinedTextField and SKBanner, list headings are marked, and a custom SKListAccessibilityDelegate overrides CollectionInfo so decorative dividers aren't counted as list items.

## 2025-11-06

- [Build better software to build software better](https://swe.quest/articles/build-better-software-to-build-software-better-5c6078f2e1d6c4da.md): Slack Engineering · 2025-11-06 · Medium · 17 min read · Build systems, Developer productivity, CI/CD, Refactoring & migrations, Caching
  Slack cut the 60-minute build pipeline for Quip and Slack Canvas's backend by applying classic software engineering principles (hermetic, idempotent, granular units of work and clean separation of concerns) before adopting Bazel.

## 2025-10-23

- [Advancing Our Chef Infrastructure: Safety Without Disruption](https://swe.quest/articles/advancing-our-chef-infrastructure-safety-without-disruption-fc96edfc3e0961ec.md): Slack Engineering · 2025-10-23 · Medium · 13 min read · Configuration management, Deployment, Infrastructure as code, Resilience, Cloud platforms
  Slack split its single production Chef environment into six AZ-mapped environments (prod-1 to prod-6) so newly provisioned nodes no longer pull a possibly bad config from one shared source during scale-outs. prod-1 acts as an hourly canary taking the latest cookbook artifact, while prod-2 through prod-6 advance on a release train where a new version starts only after the previous one reaches prod-6.

## 2025-10-07

- [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.

## 2025-04-14

- [Optimizing Our E2E Pipeline](https://swe.quest/articles/optimizing-our-e2e-pipeline-880da9c129e2726b.md): Slack Engineering · 2025-04-14 · Medium · 5 min read · CI/CD, Build systems, Testing, Developer productivity, Cost optimization
  Slack cut redundant frontend builds in its monorepo E2E pipeline by using \`git diff\` three-dot notation against \`main\` to detect whether a PR touches frontend code, and when it doesn't, serving a recent production frontend build from S3 through an internal CDN instead of rebuilding.

## 2025-03-07

- [How we built enterprise search to be secure and private](https://swe.quest/articles/how-we-built-enterprise-search-to-be-secure-and-private-9bbeb6f1e852b588.md): Slack Engineering · 2025-03-07 · Easy · 5 min read · Search, Identity & auth, RAG & retrieval, Privacy, Security
  Slack's enterprise search, which brings Google Drive and GitHub results into Slack search and AI Answers, uses a federated, real-time design instead of an index.

## 2025-01-07

- [Automated Accessibility Testing at Slack](https://swe.quest/articles/automated-accessibility-testing-at-slack-ada6bed3cb3ffab2.md): Slack Engineering · 2025-01-07 · Medium · 12 min read · Accessibility, Testing, Frontend, CI/CD
  Slack added automated accessibility checks to its desktop end-to-end tests by integrating Axe into Playwright via @axe-core/playwright, after embedding checks in Jest/React Testing Library proved impractical with its custom Jest setup.

## 2024-12-16

- [Migration Automation: Easing the Jenkins → GHA shift with help from AI](https://swe.quest/articles/migration-automation-easing-the-jenkins-gha-shift-with-help-from-ai-33309f9411d86fc7.md): Slack Engineering · 2024-12-16 · Medium · 13 min read · CI/CD, AI for coding, Refactoring & migrations, LLMs
  Slack built a conversion tool to move 242 Jenkins pipelines to GitHub Actions by layering corrections on top of GitHub's Actions Importer, which fully converted about 50% of pipelines, partially converted 45% and failed on 5%.

## 2024-12-10

- [Break Stuff on Purpose](https://swe.quest/articles/break-stuff-on-purpose-87dc2221ffb9f4a6.md): Slack Engineering · 2024-12-10 · Medium · 5 min read · Chaos engineering, Incidents & postmortems, Observability, SRE
  Slack's internal Kibana cluster failed in January 2024 after running out of disk, a consequence of co-locating its Elasticsearch storage on the same hosts as the application.

## 2024-12-09

- [Slack Audit Logs and Anomalies](https://swe.quest/articles/slack-audit-logs-and-anomalies-9433e81574c3d83d.md): Slack Engineering · 2024-12-09 · Medium · 8 min read · Threat detection, Observability, Security
  Slack Enterprise Grid audit logs record platform actions and include anomaly events that flag unusual behaviour such as new user agents, excessive downloads, unexpected scraping, IP address changes and session fingerprint mismatches.

## 2024-11-18

- [Astra Dynamic Chunks: How We Saved by Redesigning a Key Part of Astra](https://swe.quest/articles/astra-dynamic-chunks-how-we-saved-by-redesigning-a-key-part-of-astra-2ad19dfa88650f39.md): Slack Engineering · 2024-11-18 · Medium · 6 min read · Search, Cost optimization, Storage systems, Algorithms, Deployment
  Slack's Astra log search engine replaced fixed-size chunk slots on cache nodes with dynamically sized chunks, because undersized chunks wasted allocated disk space and oversized chunks from recovery tasks could overflow their slots.

## 2024-11-08

- [Empowering Engineers with AI](https://swe.quest/articles/empowering-engineers-with-ai-c490ba73d4a1f2fc.md): Slack Engineering · 2024-11-08 · Easy · 7 min read · AI for coding, RAG & retrieval, LLMs, Developer productivity, ML platforms
  Slack built a set of internal generative-AI developer tools that it estimates will save 10,000+ engineering hours this year.

## 2024-10-10

- [We’re All Just Looking for Connection](https://swe.quest/articles/we-re-all-just-looking-for-connection-b10700c8e0417e48.md): Slack Engineering · 2024-10-10 · Medium · 7 min read · Python, Networking, Debugging, Concurrency, Incidents & postmortems
  Spikes of EOFError on SQL queries in Quip's Python backend (which also powers Slack canvas) traced back to connection-state checks that only tracked closes initiated by the application.

## 2024-09-17

- [Advancing Our Chef Infrastructure](https://swe.quest/articles/advancing-our-chef-infrastructure-a81877d9ae534820.md): Slack Engineering · 2024-09-17 · Medium · 12 min read · Configuration management, Deployment, Infrastructure as code, Cloud platforms, Scaling
  Slack evolved its Chef setup for tens of thousands of EC2 instances from a single stack, where every cookbook change hit all environments at once on the hour, into multiple sharded Chef stacks with versioned cookbook rollouts.

## 2024-07-31

- [Unified Grid: How We Re-Architected Slack for Our Largest Customers](https://swe.quest/articles/unified-grid-how-we-re-architected-slack-for-our-largest-customers-0ecd04c49320fd50.md): Slack Engineering · 2024-07-31 · Medium · 10 min read · Multi-tenancy, Refactoring & migrations, System design, Distributed databases, Testing
  Slack re-architected its backend and clients to replace the workspace-centric model, where session tokens carried a workspace ID used for shard routing and access control, with an org-wide Unified Grid view for Enterprise Grid customers.

## 2024-07-02

- [Unlocking Efficiency and Performance: Navigating the Spark 3 and EMR 6 Upgrade Journey at Slack](https://swe.quest/articles/unlocking-efficiency-and-performance-navigating-the-spark-3-and-emr-6-upgrade-56a4dac14be6617c.md): Slack Engineering · 2024-07-02 · Medium · 9 min read · Data pipelines, Analytics & OLAP, Performance engineering, Cloud platforms, Refactoring & migrations
  Slack migrated 60+ EMR clusters serving 40+ teams from EMR 5 (Spark 2.4/Hive 2) to EMR 6 with Spark 3 as the single compute engine.

## 2024-06-28

- [Proactive Measures Against Password Breaches and Cookie Hijacking](https://swe.quest/articles/proactive-measures-against-password-breaches-and-cookie-hijacking-c53a75efe0f4bdb5.md): Slack Engineering · 2024-06-28 · Easy · 6 min read · Identity & auth, Threat detection, Security
  Slack automatically invalidates user credentials that show up in threat intelligence feeds from breaches, dark web forums, botnets and infostealer malware.

## 2024-06-24

- [Catching Compromised Cookies](https://swe.quest/articles/catching-compromised-cookies-83776372ceccd1c9.md): Slack Engineering · 2024-06-24 · Medium · 10 min read · Identity & auth, Threat detection, Application security, System design
  Slack detects stolen session cookies by spotting session forking: a last-access timestamp is stored in both the cookie and the database, and a mismatch on a later request means more than one copy of the cookie is in use.

## 2024-06-15

- [Advanced Rollout Techniques: Custom Strategies for Stateful Apps in Kubernetes](https://swe.quest/articles/advanced-rollout-techniques-custom-strategies-for-stateful-apps-in-kubernetes-a422eb29cf5ed2f0.md): Slack Engineering · 2024-06-15 · Medium · 10 min read · Kubernetes, Deployment, Go
  Slack built the Bedrock Rollout Operator, a Kubebuilder-based Kubernetes operator that drives StatefulSet rollouts through a StatefulsetRollout custom resource.

## 2024-05-22

- [Balancing Old Tricks with New Feats: AI-Powered Conversion From Enzyme to React Testing Library at Slack](https://swe.quest/articles/balancing-old-tricks-with-new-feats-ai-powered-conversion-from-enzyme-to-react-0b1af45f56ad7d09.md): Slack Engineering · 2024-05-22 · Medium · 15 min read · Testing, AI for coding, Refactoring & migrations, React, LLMs
  Slack converted over 15,000 Enzyme tests to React Testing Library ahead of its React 18 upgrade by combining AST codemods with an LLM (Claude 2.1).

## 2024-04-18

- [How We Built Slack AI To Be Secure and Private](https://swe.quest/articles/how-we-built-slack-ai-to-be-secure-and-private-8e548d6f05ad3aa4.md): Slack Engineering · 2024-04-18 · Easy · 7 min read · Privacy, LLMs, RAG & retrieval, Security, System design
  Slack AI was designed around four principles: customer data never leaves Slack's trust boundary, no LLM training on customer data, the AI only sees what the requesting user can see, and all existing compliance controls still apply.

## 2024-01-18

- [The Scary Thing About Automating Deploys](https://swe.quest/articles/the-scary-thing-about-automating-deploys-ae6313eca408ff10.md): Slack Engineering · 2024-01-18 · Medium · 14 min read · Deployment, Observability, CI/CD, Python
  Slack's ReleaseBot automates deploys of its monolithic Webapp, shipping 30-40 times a day with a median of 3 PRs per deploy.

## 2023-12-12

- [Our Journey Migrating to AWS IMDSv2](https://swe.quest/articles/our-journey-migrating-to-aws-imdsv2-7a3bae8a33284213.md): Slack Engineering · 2023-12-12 · Medium · 10 min read · Cloud platforms, Security, Application security, Infrastructure as code, Identity & auth
  Slack enforced IMDSv2 across roughly 60,000 EC2 instances in hundreds of AWS accounts.

## 2023-12-05

- [Building Custom Animations in the Workflow Builder](https://swe.quest/articles/building-custom-animations-in-the-workflow-builder-94f541be651a6e1e.md): Slack Engineering · 2023-12-05 · Medium · 7 min read · React, Frontend, Product engineering
  Slack's Workflow Builder added drag-and-drop from a new steps sidebar into workflows by moving react-beautiful-dnd's DragDropContext to wrap the whole builder page, with two draggable/droppable lists.

## 2023-11-28

- [Managing Slack Connect](https://swe.quest/articles/managing-slack-connect-caad7a7b33cd97bf.md): Slack Engineering · 2023-11-28 · Medium · 9 min read · Configuration management, MySQL, Search, System design, Scaling
  Slack built per-connection configuration for Slack Connect using a single MySQL table keyed by source and target team ID, with org-level defaults modeled as target team 0 and settings stored as a Protobuf blob to avoid per-setting columns and tables.

## 2023-11-15

- [The Query Strikes Again](https://swe.quest/articles/the-query-strikes-again-fa807954ef58b362.md): Slack Engineering · 2023-11-15 · Medium · 13 min read · Incidents & postmortems, MySQL, Resilience, Replication, Distributed databases
  A customer's bulk removal of users triggered Slack's "forget user" async job, which fanned out into a huge number of "leave channel" jobs.

## 2023-09-28

- [Executing Cron Scripts Reliably At Scale](https://swe.quest/articles/executing-cron-scripts-reliably-at-scale-300d2911de10f9b3.md): Slack Engineering · 2023-09-28 · Medium · 5 min read · Scheduling, System design, Kubernetes, Go, Queues & messaging
  Slack replaced a single cron box running all scripts from one crontab with a distributed cron execution service built mostly from existing infrastructure.

## 2023-08-28

- [Traffic 101: Packets Mostly Flow](https://swe.quest/articles/traffic-101-packets-mostly-flow-e9828aceea724731.md): Slack Engineering · 2023-08-28 · Medium · 9 min read · Networking, Load balancing, DNS, Resilience, CDN & edge
  A Slack request reaches its main region in AWS us-east-1 through a chain of hops.

## 2023-08-22

- [Slack’s Migration to a Cellular Architecture](https://swe.quest/articles/slack-s-migration-to-a-cellular-architecture-7c9634739e313402.md): Slack Engineering · 2023-08-22 · Medium · 8 min read · Resilience, Load balancing, Distributed systems, Cloud platforms, SRE
  Slack moved its critical user-facing services in us-east-1 to a cellular architecture where each availability zone is a cell that can be drained, after a 2021 gray-failure network outage in one AZ caused user-visible errors across all AZs.

## 2023-07-26

- [Service Delivery Index: A Driver for Reliability](https://swe.quest/articles/service-delivery-index-a-driver-for-reliability-d701cfa0b843f256.md): Slack Engineering · 2023-07-26 · Easy · 8 min read · SRE, Observability, Engineering management
  Slack's Service Delivery Index – Reliability (SDI-R) is a company-wide composite metric that multiplies status-site uptime (minutes key user workflows like sending messages fall below a threshold) by API availability (successful/total requests), expressed in 9s and tracked hourly and daily against quarterly targets.

## 2023-04-11

- [Real-time Messaging](https://swe.quest/articles/real-time-messaging-63eff1981479ebae.md): Slack Engineering · 2023-04-11 · Medium · 6 min read · Real-time systems, System design, Distributed systems, Communications, Scaling
  Slack's real-time messaging runs on four Java services: stateful in-memory Channel Servers sharded by consistent hashing, regionally deployed Gateway Servers holding websocket subscriptions, stateless Admin Servers bridging the Webapp backend, and Presence Servers tracking online users.

## 2023-04-04

- [Tracing Notifications](https://swe.quest/articles/tracing-notifications-050fff7612252fe6.md): Slack Engineering · 2023-04-04 · Medium · 10 min read · Observability, Communications, Distributed systems, Analytics & OLAP
  Slack models every notification as its own distributed trace, using the notification\_id as the trace\_id and span links back to the sender's message trace, so notification flows can be sampled at 100% while ordinary backend requests stay at 1%.

## 2023-02-08

- [Hakana: Taking Hack Seriously](https://swe.quest/articles/hakana-taking-hack-seriously-564898cdb11987b5.md): Slack Engineering · 2023-02-08 · Medium · 5 min read · Static analysis, PHP, Application security, Rust, Open source
  Slack has open-sourced Hakana, a Rust-based type checker and static analyzer for Hack, built on Psalm's design and reusing the Hack parser bundled with HHVM.

## 2023-02-01

- [It’s a non-transitive R class world](https://swe.quest/articles/it-s-a-non-transitive-r-class-world-dc7be71b63e01554.md): Slack Engineering · 2023-02-01 · Medium · 5 min read · Mobile, Build systems, Refactoring & migrations, Static analysis, Developer productivity
  Slack migrated its 400+ module Android codebase to non-transitive R classes, where each module's R class contains only its own resources, yielding ~14% faster incremental builds after resource or layout changes and an ~8.5% (about 5.5MB) APK/DEX size reduction.

## 2023-01-24

- [What We Learned from Building GovSlack](https://swe.quest/articles/what-we-learned-from-building-govslack-cc74a0b8f76f117d.md): Slack Engineering · 2023-01-24 · Medium · 9 min read · Cloud platforms, Infrastructure as code, Security, DNS, Networking
  Standing up GovSlack on AWS GovCloud took Slack's Cloud Foundations team nearly two quarters, mostly spent adapting tooling to partition differences.

## 2022-10-25

- [How We Use Terraform At Slack](https://swe.quest/articles/how-we-use-terraform-at-slack-a1596aae0a45b4a5.md): Slack Engineering · 2022-10-25 · Medium · 14 min read · Infrastructure as code, Cloud platforms, CI/CD, Developer tools
  Slack runs roughly 1,400 Terraform state files across AWS, GCP, DigitalOcean and NS1, split per account, region and large service so each change touches fewer resources.

## 2022-10-12

- [Mobile Developer Experience at Slack](https://swe.quest/articles/mobile-developer-experience-at-slack-f2b2b79d74a881fd.md): Slack Engineering · 2022-10-12 · Medium · 14 min read · Developer productivity, Mobile, CI/CD, Testing, Build systems
  A dedicated mobile Developer Experience team grew from 3 to 8 engineers and cut CI feedback time and failure rates by targeting the pain points that surveys, NPS and metrics like time to merge showed hurt developers most. iOS test time fell from about 50 minutes to an average of 9 by moving from Xcodebuild to Bazel with disk caching and bazel-diff, so only affected targets are tested.

## 2022-09-06

- [Recommend API](https://swe.quest/articles/recommend-api-7ecced73a1a24709.md): Slack Engineering · 2022-09-06 · Medium · 10 min read · Recommendations & ranking, ML platforms, Privacy, System design
  Slack built a unified Recommend API so product teams can bootstrap new ML recommenders from reusable components (fetchers, filters, feature augmentation via a Feature Store, model scoring and rerankers) instead of building bespoke systems.

## 2022-08-31

- [BuildRock: A Build Platform at Slack](https://swe.quest/articles/buildrock-a-build-platform-at-slack-c8b3b87d529426f6.md): Slack Engineering · 2022-08-31 · Medium · 10 min read · CI/CD, Kubernetes, Infrastructure as code, Build systems, Developer productivity
  Slack consolidated its sprawling, hand-managed "snowflake" Jenkins clusters into BuildRock, a build-as-a-service platform.

## 2022-08-19

- [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.

## 2022-06-28

- [Remote Development at Slack](https://swe.quest/articles/remote-development-at-slack-6777fb2e88a1e9d8.md): Slack Engineering · 2022-06-28 · Medium · 8 min read · Developer productivity, Cloud platforms, Developer tools
  Slack moved webapp development off laptops (where Hack/HHVM, a 30-minute clone and Docker-based setups were slow and brittle) onto short-lived AWS EC2 remote environments accessed through VSCode Remote SSH.

## 2022-06-07

- [Building Background Effects for Clips](https://swe.quest/articles/building-background-effects-for-clips-cb745a4b3f0b9f4c.md): Slack Engineering · 2022-06-07 · Medium · 6 min read · Computer vision, Video & media, WebAssembly, Browsers, Performance engineering
  Slack's Clips background blur and image replacement run as a browser and desktop pipeline.

## 2022-05-04

- [Scaling Slack’s Mobile Codebases: Modernization](https://swe.quest/articles/scaling-slack-s-mobile-codebases-modernization-950b9c539d5b5770.md): Slack Engineering · 2022-05-04 · Medium · 12 min read · Mobile, Refactoring & migrations, Swift, Java & JVM, Build systems
  Slack's year-and-a-half Duplo initiative concluded by modernizing its iOS and Android codebases: iOS moved to a custom VIPER-style feature architecture, stricter SwiftLint rules banning singletons and NotificationCenter, Combine (via CombineX until iOS 12 was dropped), and broader SlackKit adoption, while Android replaced Gson with Moshi, Android Priority Job Queue with WorkManager, and handwritten API calls with an internal Retrofit-based library, and introduced coroutines and Compose incrementally. iOS ended 68% modernized and 81% modularized with CI stability rising from 77% to 90% and average time-to-merge down 64%, Android reached 92% modularization, and local builds later dropped nearly 50% with Bazel and M1 Macs.

## 2022-04-29

- [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.

## 2022-04-26

- [Slack’s Incident on 2-22-22](https://swe.quest/articles/slack-s-incident-on-2-22-22-7a35cde32cfb5fd8.md): Slack Engineering · 2022-04-26 · Medium · 12 min read · Incidents & postmortems, Caching, Resilience, MySQL, Distributed systems
  A Consul agent rolling restart caused Mcrib, Slack's memcached control plane, to replace and flush cache nodes, dropping hit rates during peak traffic.

## 2022-04-05

- [Handling Flaky Tests at Scale: Auto Detection & Suppression](https://swe.quest/articles/handling-flaky-tests-at-scale-auto-detection-suppression-77980e444545e1fa.md): Slack Engineering · 2022-04-05 · Medium · 14 min read · Testing, CI/CD, Mobile, Developer productivity
  Slack's mobile DevXp team cut CI test job failures from 57% of failing builds to under 5% by automating flaky test detection and suppression across 27,000+ iOS and Android tests.

## 2022-03-28

- [Scaling Slack’s Mobile Codebases: Modularization](https://swe.quest/articles/scaling-slack-s-mobile-codebases-modularization-70662aadd976d6a5.md): Slack Engineering · 2022-03-28 · Medium · 11 min read · Mobile, Build systems, Refactoring & migrations, Developer productivity, Swift
  Slack split its monolithic iOS and Android app targets into owned Feature, Service and Library modules with strict linking rules, such as interface/implementation pairs on iOS, to cut build times, untangle dependencies and clarify code ownership.

## 2022-02-18

- [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.

## 2022-02-11

- [Building Self-driving Kafka clusters using open source components](https://swe.quest/articles/building-self-driving-kafka-clusters-using-open-source-components-f376c07215769703.md): Slack Engineering · 2022-02-11 · Medium · 11 min read · Queues & messaging, Scaling, SRE, Chaos engineering, Infrastructure as code
  Slack standardized roughly 10 Kafka clusters (0.7 PB, 6.5 Gbps peak) onto Kafka 2.0.1 and automated their operation with Chef, Terraform ASGs, Consul-assigned Zookeeper IDs, Cruise Control, Kafka Manager and a Prometheus offset exporter.

## 2022-01-12

- [Stabilize, Modularize, Modernize: Scaling Slack’s Mobile Codebases](https://swe.quest/articles/stabilize-modularize-modernize-scaling-slack-s-mobile-codebases-6744c42390a79288.md): Slack Engineering · 2022-01-12 · Easy · 14 min read · Mobile, Refactoring & migrations, Swift, Java & JVM, Developer productivity
  Slack chose to refactor its iOS and Android codebases in place through Project Duplo, a cross-platform effort in three phases: Stabilization, Modularization and Modernization.

## 2021-12-14

- [A Simple Kubernetes Admission Webhook](https://swe.quest/articles/a-simple-kubernetes-admission-webhook-50cc4dc0d3369d0a.md): Slack Engineering · 2021-12-14 · Medium · 10 min read · Kubernetes, Go
  A Kubernetes validating and mutating admission webhook can be a minimal, stateless Go HTTPS server that receives AdmissionReview requests and returns allow/deny decisions or base64-encoded JSON patches.

## 2021-11-29

- [The Case of the Recursive Resolvers](https://swe.quest/articles/the-case-of-the-recursive-resolvers-401d01cc3239f3e3.md): Slack Engineering · 2021-11-29 · Medium · 15 min read · DNS, Incidents & postmortems, Cryptography, Cloud platforms
  Slack's third attempt to enable DNSSEC on slack.com caused a 24-hour outage for under 1% of users.

## 2021-11-04

- [How Two Interns Are Helping Secure Millions of Lines of Code](https://swe.quest/articles/how-two-interns-are-helping-secure-millions-of-lines-of-code-daa936f3b67e08a6.md): Slack Engineering · 2021-11-04 · Medium · 6 min read · Static analysis, Application security, PHP, Functional programming, Open source
  Slack added Hack support to Semgrep so its 5+ million lines of Hack could be scanned for security vulnerabilities, since no static analysis tools exist for the language.

## 2021-10-20

- [Building the Next Evolution of Cloud Networks at Slack – A Retrospective](https://swe.quest/articles/building-the-next-evolution-of-cloud-networks-at-slack-a-retrospective-d090221ea56ede12.md): Slack Engineering · 2021-10-20 · Medium · 10 min read · Cloud platforms, Networking, DNS, Testing
  A year after launching Whitecastle, its AWS network redesign built on Transit Gateway, Slack found that proxy environment variables (http\_proxy/no\_proxy) were the biggest migration drag.

## 2021-10-07

- [Infrastructure Observability for Changing the Spend Curve](https://swe.quest/articles/infrastructure-observability-for-changing-the-spend-curve-815f49a6391b6804.md): Slack Engineering · 2021-10-07 · Medium · 10 min read · CI/CD, Cost optimization, Observability, Resilience, Capacity planning
  Slack bent the growth curve of its webapp CI spend, which had been rising about 10% month over month, by using observability (dashboards, metrics and tracing) to drive three changes.

## 2021-08-25

- [Building Android Conversation Bubbles](https://swe.quest/articles/building-android-conversation-bubbles-874909de6c53cf84.md): Slack Engineering · 2021-08-25 · Medium · 10 min read · Mobile, Java & JVM, Product engineering
  Slack added Android 11 Conversation Bubbles for DMs on top of MessagingStyle notifications, Sharing Shortcuts and BubbleMetadata.

## 2021-08-17

- [Data Lineage at Slack](https://swe.quest/articles/data-lineage-at-slack-fbf2aa4b9e9054d0.md): Slack Engineering · 2021-08-17 · Medium · 8 min read · Data pipelines, Privacy, Analytics & OLAP
  Slack built a central Data Lineage Service that automatically captures table- and column-level lineage by hooking Airflow success callbacks and dashboard audit logs, then parsing the submitted SQL with ANTLR (backed by a large unit-test suite).

## 2021-08-11

- [How We Design Our APIs at Slack](https://swe.quest/articles/how-we-design-our-apis-at-slack-ca59bf52b556b781.md): Slack Engineering · 2021-08-11 · Medium · 11 min read · API design, Developer productivity
  Slack's public API design rests on six principles: do one thing well, minimize time to first "Hello world", keep naming consistent, return meaningful errors, design for scale, and avoid breaking changes.

## 2021-07-28

- [Email Classification](https://swe.quest/articles/email-classification-eca32c5c2123a429.md): Slack Engineering · 2021-07-28 · Medium · 11 min read · MySQL, Consistency models, System design, Scaling
  Slack classifies invited email addresses as internal or external, so it can steer users toward Workspace Invites or Slack Connect.

## 2021-07-20

- [Extending Anvil for Fun and Profit](https://swe.quest/articles/extending-anvil-for-fun-and-profit-7f2a4cd8f637a17a.md): Slack Engineering · 2021-07-20 · Hard · 6 min read · Mobile, Java & JVM, Build systems, Compilers
  Slack's Android app replaced dagger-android activity injection with a custom Anvil code generator: annotating an activity with @InjectWith(scope) generates an AnvilInjector wrapping Dagger's intrinsic MembersInjector plus a @ContributesTo binding module that adds it to a scope-level multibinding map.

## 2021-07-13

- [Managing Focus Transitions in Slack](https://swe.quest/articles/managing-focus-transitions-in-slack-0a96821594858656.md): Slack Engineering · 2021-07-13 · Medium · 7 min read · Accessibility, React, Frontend, Design systems
  Slack built FocusTransitionManager, a React Context-based coordinator that lets sender components request focus moves via transitionFocusTo({focusKey}) and receiver components claim them via shouldTransitionFocus, so keyboard and screen-reader users don't lose focus when React re-renders remove the focused element.

## 2021-06-03

- [How a Jenkins Job Broke our Jenkins UI](https://swe.quest/articles/how-a-jenkins-job-broke-our-jenkins-ui-6502137def464d6c.md): Slack Engineering · 2021-06-03 · Medium · 6 min read · CI/CD, Debugging, Sandboxing & isolation, Java & JVM
  After a Jenkins and plugin upgrade, Slack's Jenkins UI broke whenever an integrity job marked a node offline using a custom Groovy OfflineMessage class extending Localizable.

## 2021-05-24

- [Role Management at Slack](https://swe.quest/articles/role-management-at-slack-b07a74302caf6820.md): Slack Engineering · 2021-05-24 · Medium · 9 min read · Identity & auth, System design, Microservices, Deployment, Go
  Slack replaced its coarse guest/member/admin/owner hierarchy with a role-based access control system that grants granular permissions such as ARCHIVE\_CHANNEL scoped to an enterprise or workspace entity.

## 2021-04-23

- [Load Testing with Koi Pond](https://swe.quest/articles/load-testing-with-koi-pond-0d1865c57c75034d.md): Slack Engineering · 2021-04-23 · Medium · 14 min read · Testing, Performance engineering, Scaling, Real-time systems, Capacity planning
  Koi Pond is Slack's load-testing tool that boots lightweight simulated clients (koi), grouped into schools of up to 5,000, which open real websocket connections and call Web APIs.

## 2021-03-24

- [Client Tracing: Understanding Mobile and Desktop Application Performance at Scale](https://swe.quest/articles/client-tracing-understanding-mobile-and-desktop-application-performance-at-scale-21a4a4d3c10c520b.md): Slack Engineering · 2021-03-24 · Medium · 17 min read · Observability, Mobile, Performance engineering, SQLite
  Slack extended its backend distributed tracing to iOS, Android and JavaScript clients so engineers could pinpoint why client actions like channel switches are slow.

## 2021-03-15

- [Migrating Millions of Concurrent Websockets to Envoy](https://swe.quest/articles/migrating-millions-of-concurrent-websockets-to-envoy-b99b542be70019c3.md): Slack Engineering · 2021-03-15 · Medium · 11 min read · Load balancing, Real-time systems, Deployment, Configuration management, Networking
  Slack moved its websocket ingress tier, serving millions of concurrent connections, from HAProxy to Envoy Proxy.

## 2020-04-14

- [Hacklang at Slack: A Better PHP](https://swe.quest/articles/hacklang-at-slack-a-better-php-0c5b2d46ded07bab.md): Slack Engineering · 2020-04-14 · Medium · 7 min read · PHP, Type systems, Static analysis, Refactoring & migrations, Concurrency
  Slack moved its PHP 5 backend to HHVM in 2016 for speed and stayed for Hack, whose static type checker reports type errors as code is typed rather than at runtime.

## 2017-10-30

- [Growing Pains: Migrating Slack’s Desktop App to BrowserView](https://swe.quest/articles/growing-pains-migrating-slack-s-desktop-app-to-browserview-f50a911d01b50f04.md): Slack Engineering · 2017-10-30 · Medium · 11 min read · Frontend, Refactoring & migrations, TypeScript, JavaScript, Testing
  Slack rewrote its Electron desktop app (Slack 3.0) to replace the buggy Chromium webview, which sometimes failed to render after being hidden, with BrowserView, a window-like API that can only be created from the main process.

Same list as RSS: [https://swe.quest/feed.xml?source=slack](https://swe.quest/feed.xml?source=slack). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

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)
