How to Test a Milion Lines of Code without Writing a Single Test
summary
An open Community Build continuously pulls projects from Scaladex, maps published versions to GitHub tags, and runs staged builds on Kubernetes/Jenkins with SBT and Mill, publishing artifacts to a private repository. It currently exercises 940 projects covering about 7.5 million lines of code, takes roughly 20 hours to run, and uses scalafix to patch Mill builds and a planner to order dependency stages. The system reports failures, produces logs and reproductions, and has found 12 regressions so far.
AI-written summary · about
chapters (7)
- 0:00Introduction and background
- 3:14Current Scala compiler testing
- 10:16Introducing Open Community Build
- 21:35How Open Community Build works
- 30:58Finding and fixing regressions
- 41:37Impact and future of Open Community Build
- 43:45Q&A session
related talks
47mEasy Scala Builds with the Mill Build Tool
44mA Deep Dive into the Mill Scala Build Tool
45mSimpler Scala Builds with Functional and Object-Oriented Programming
33mMigration Without Tears: 2,000 Projects, One New LTS
30mScripting on the JVM with Scala
45mUsing AI, statistics, and set theory to know what to test
37mScala with Bazel
48mMassively Parallel Distributed Scala Compilation And You
