TAKES
How long should CI take?
Everyone wants CI faster. Nobody wants to delete their test.
- Alex: Ten minutes. After we build the remote cache platform.
- Jo: Less than it takes me to deploy without it.
- Riley: One command, ninety seconds, runs on my laptop too.
- Taylor: No idea. My agents wait for it, not me.
- Morgan: Long enough to scan the dependency you added this morning.
- Chris: Forty minutes on my own runners. Zero minutes on an invoice.
- Pat: Whatever the auditor signed off last year. Don't touch it.
- Maya: Why isn't it instant? Other companies are instant. Make it 10x.
- Nora: Shorter than the customer's wait for the fix it's blocking.
- Hugo: As long as it takes. All 14,000 tests. Required.
- Ruth: In 2009 it was a nightly build. We survived.
- Greg: Make the slow suite optional. We can always make it required.
๐ฏ SUPER REASONABLE
Super Reasonable, the advisor who never takes a side
CI should be fast enough that nobody routes around it and thorough enough that the bad day still goes through it. Keep a short required path for what guards money, data and security, and run slower suites nightly or non-blocking until they prove their worth.
- Engineers bypassing CI โ treat speed as a safety bug
- Check born from an incident โ keep it required, make it faster
- Unproven or slow suite โ non-blocking or nightly, with an owner
Related: ๐ฆ Continuous Integration ยท ๐ Just re-run it ยท ๐ Forty-one minutes