---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?source=slack&tag=refactoring"
---

# Posts

Filtered by topics: Refactoring & migrations, source: Slack Engineering.

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

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

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

## 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-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-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).

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

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

## 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&tag=refactoring](https://swe.quest/feed.xml?source=slack&tag=refactoring). 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)
