CI: Continuous Improvement
summary
SimplePractice runs ~55,000 backend tests (51,000 unit/integration), 4,000 end‑to‑end tests and 7,000 frontend tests; serial times: backend 3.2h, e2e 4.8h, frontend 1h, with ~103 CI builds/day and 3% test growth monthly. Optimization uses knapsack_pro parallelization, Semaphore change detection to run frontend tests only on frontend changes, a single parent build cached for all nodes, removal of ~83 flaky tests, Dockerized CI plus Semaphore container registry, Broccoli→Embroider frontend switch, and a noticeable month‑after drop in CI costs.
AI-written summary · about
chapters (12)
- 0:00Introduction and speaker background
- 1:24Company and tech stack overview
- 3:55Rising CI costs and initial diagnosis
- 6:03Key CI process problems identified
- 8:32Short-term optimization plan
- 11:26Failing fast and conditional test execution
- 13:16Addressing flaky tests and testing culture
- 14:22Dockerizing CI and container registry switch
- 15:50Frontend build tool migration to Embroider
- 16:53Cost reduction results and trends
- 17:59Future optimization steps and strategy
- 21:50Summary and ongoing CI improvement
